<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://lambda-the-ultimate.org">
<channel>
 <title>Lambda the Ultimate - Logic/Declarative</title>
 <link>http://lambda-the-ultimate.org/taxonomy/term/13/0</link>
 <description></description>
 <language>en</language>
<item>
 <title>A unified approach to solving seven programming problems </title>
 <link>http://lambda-the-ultimate.org/node/5470</link>
 <description>&lt;p &gt;A &lt;a href=&quot;http://dl.acm.org/citation.cfm?id=3110252&amp;amp;CFID=805521128&amp;amp;CFTOKEN=83435544&amp;amp;preflayout=flat&quot;&gt;fun pearl&lt;/a&gt; by William E. Byrd, Michael Ballantyne, Gregory Rosenblatt, and Matthew Might from ICFP: seven programming challenges solved (easily!) using a &lt;I &gt;relational&lt;/I&gt; interpreter. One challenge, for example, is to find quines. Another is to find programs that produce different results with lexical vs. dynamic scope.&lt;/p&gt;
&lt;p &gt;The interpreter is implemented in miniKanren (of course), inside Racket (of course).  &lt;/p&gt;</description>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/5">Fun</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/11">Functional</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/13">Logic/Declarative</category>
 <pubDate>Mon, 04 Sep 2017 18:44:29 +0000</pubDate>
</item>
<item>
 <title>Ceptre: A Language for Modeling Generative Interactive Systems.</title>
 <link>http://lambda-the-ultimate.org/node/5216</link>
 <description>&lt;p &gt;
&lt;a href=&quot;http://www.cs.cmu.edu/~cmartens/ceptre.pdf&quot;&gt;Ceptre: A Language for Modeling Generative Interactive Systems.&lt;/a&gt;&lt;br &gt;
Chris Martens&lt;br &gt;
2015
&lt;/p&gt;

&lt;blockquote &gt;
&lt;p &gt;
We present a rule specification language called Ceptre,
intended to enable rapid prototyping for experimental
game mechanics, especially in domains that depend on
procedural generation and multi-agent simulation.
&lt;/p&gt;&lt;p &gt;
Ceptre can be viewed as an explication of a new
methodology for understanding games based on linear
logic, a formal logic concerned with resource usage. We
present a correspondence between gameplay and proof
search in linear logic, building on prior work on generating narratives. In Ceptre, we introduce the ability to
add interactivity selectively into a generative model, enabling inspection of intermediate states for debugging
and exploration as well as a means of play.
&lt;/p&gt;&lt;p &gt;
We claim that this methodology can support game designers and researchers in designing, anaylzing, and debugging the core systems of their work in generative,
multi-agent gameplay. To support this claim, we provide two case studies implemented in Ceptre, one from
interactive narrative and one from a strategy-like domain.
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p &gt;Some choice quotes from the artice follow.&lt;/p&gt;

&lt;p &gt;Simple examples of the rule language:&lt;/p&gt;

&lt;blockquote &gt;
&lt;p &gt;The meaning of &lt;code &gt;A -o B&lt;/code&gt;, to a first approximation, is
that whenever the predicates in &lt;code &gt;A&lt;/code&gt; are present, they may be
replaced with &lt;code &gt;B&lt;/code&gt;. One example of a rule is:&lt;/p&gt;

&lt;code &gt;&lt;pre &gt;
do/compliment:
     at C L * at C’ L * likes C C’
  -o at C L * at C’ L * likes C C’ * likes C’ C.
&lt;/pre&gt;&lt;/code&gt;

&lt;p &gt;[...]&lt;/p&gt;

&lt;p &gt;Note that because of the replacement semantics of the
rule, we need to reiterate everything on the right-hand side
of the &lt;code &gt;-o&lt;/code&gt; that we don’t want to disappear, such as the character locations and original likes fact. We use the syntactic sugar of prepending &lt;code &gt;$&lt;/code&gt; to anything intended not to be
removed in order to reduce this redundancy:&lt;/p&gt;
&lt;code &gt;&lt;pre &gt;
do/compliment: $at C L * $at C’ L * $likes C C’ -o likes C’ C.
&lt;/pre&gt;&lt;/code&gt;

&lt;p &gt;A more complex rule describes a murder action, using
the &lt;code &gt;!&lt;/code&gt; operator to indicate a permanent state:&lt;/p&gt;
&lt;code &gt;&lt;pre &gt;
do/murder:
    anger C C’ * anger C C’ * anger C C’ * anger C C’
    * $at C L * at C’ L * $has C weapon
  -o !dead C’.
&lt;/pre&gt;&lt;/code&gt;

&lt;p &gt;(This rule consumes &lt;code &gt;C&lt;/code&gt;’s location, maintaining a global
invariant that each character is mutually exclusively at a
location or !dead.) Here we see a departure from planning
formalisms: four instances of &lt;code &gt;anger C C’&lt;/code&gt; mean something different from one.
Here we are using an emotion not
just as a precondition but as a resource, where if we have
enough of it, we can exchange it for a drastic consequence.
Whether or not we diffuse the anger, or choose to keep it by
prepending &lt;code &gt;$&lt;/code&gt; to the predicates, is an authorial choice.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p &gt;Concurrency in narration:&lt;/p&gt;

&lt;blockquote &gt;
&lt;p &gt;
Two rule applications that consume
disjoint sets of resources from the same state can be said to
happen concurrently, or independently. On the other hand,
a rule that produces resources and another that consumes a
subset of them can be said to be in a causal, or dependent,
relationship. Less abstractly, if resources represent facts associated with particular game entities or characters, then independent rule applications represent potentially concurrent
action by multiple such entities, and causally related rule applications represent either sequential action by a single actor,
or synchronized interaction between two entities.
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p &gt;Stages, and a larger example:&lt;/p&gt;

&lt;blockquote &gt;
&lt;p &gt;We would like to for some
of these rules to run automatically without player intervention. In our next iteration of the program, we will make use
of a Ceptre feature called stages. Stages are a way of structuring a program in terms of independent components. Syntactically, a stage is a curly-brace-delimited set of rules with
an associated name. Semantically, a stage is a unit of computation that runs to quiescence, i.e. no more rules are able
to fire, at which point control may be transfered to another
stage.&lt;/p&gt;

&lt;p &gt;[...]&lt;/p&gt;

&lt;p &gt;Additionally, we can test the design by “scripting” certain player strategies. For instance, we
could augment the two rules in the fight stage to be deterministic, fighting when the monster can’t kill us in one turn
and fleeing otherwise:&lt;/p&gt;
&lt;code &gt;&lt;pre &gt;
stage fight = {
  do_fight:
      choice * $fight_in_progress * $monster Size * $health HP * Size &amp;lt; HP
    -o try_fight.
  do_flee :
      choice * fight_in_progress * $monster Size * $health HP * Size &amp;gt;= HP
    -o flee_screen.
}
&lt;/pre&gt;&lt;/code&gt;

&lt;p &gt;If we remove interactivity from this stage, then we get
automated combat sequences that should never result in the
player’s death.&lt;/p&gt;</description>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/13">Logic/Declarative</category>
 <pubDate>Tue, 04 Aug 2015 14:03:57 +0000</pubDate>
</item>
<item>
 <title>Extensible Effects -- An Alternative to Monad Transformers</title>
 <link>http://lambda-the-ultimate.org/node/4786</link>
 <description>&lt;p &gt;&lt;a href=&quot;http://www.cs.indiana.edu/~sabry/papers/exteff.pdf&quot;&gt;Extensible Effects -- An Alternative to Monad Transformers&lt;/a&gt;, by Oleg Kiselyov, Amr Sabry and Cameron Swords:&lt;/p&gt;
&lt;blockquote &gt;&lt;p &gt;We design and implement a library that solves the long-standing problem of combining effects without imposing restrictions on their interactions (such as static ordering). Effects arise from interactions between a client and an effect handler (interpreter); interactions may vary throughout the program and dynamically adapt to execution conditions. Existing code that relies on monad transformers may be used with our library with minor changes, gaining efficiency over long monad stacks. In addition, our library has greater expressiveness, allowing for practical idioms that are inefï¬cient, cumbersome, or outright impossible with monad transformers.&lt;/p&gt;
&lt;p &gt;Our alternative to a monad transformer stack is a single monad, for the coroutine-like communication of a client with its handler. Its type reï¬‚ects possible requests, i.e., possible effects of a computation. To support arbitrary effects and their combinations, requests are values of an extensible union type, which allows adding and, notably, subtracting summands. Extending and, upon handling, shrinking of the union of possible requests is reï¬‚ected in its type, yielding a type-and-effect system for Haskell. The library is lightweight, generalizing the extensible exception handling to other effects and accurately tracking them in types.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p &gt;A follow-up to &lt;a href=&quot;http://okmij.org/ftp/Computation/monads.html#ExtensibleDS&quot;&gt;Oleg&#039;s delimited continuation adaptation&lt;/a&gt; of Cartwright and Felleisen&#039;s work on &lt;a href=&quot;http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.25.5941&quot;&gt;Extensible Denotational Language Specifications&lt;/a&gt;, which is a promising alternative means of composing effects to the standard monad transformers.&lt;/p&gt;
&lt;p &gt;This work embeds a user-extensible effect EDSL in Haskell by encoding all effects into a single effect monad using a novel open union type and the continuation monad. The encoding is very similar to recent work on &lt;a href=&quot;http://lambda-the-ultimate.org/node/4481&quot;&gt;Algebraic Effects and Handlers&lt;/a&gt;, and closely resembles a typed client-server interaction ala coroutines. This seems like a nice convergence of the topics covered in the algebraic effects thread and other recent work on effects, and it&#039;s more efficient than monad transformers to boot.&lt;/p&gt;</description>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/11">Functional</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/13">Logic/Declarative</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/19">Theory</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/21">Type Theory</category>
 <pubDate>Mon, 29 Jul 2013 14:53:44 +0000</pubDate>
</item>
<item>
 <title>Visi.io</title>
 <link>http://lambda-the-ultimate.org/node/4628</link>
 <description>&lt;p &gt;&lt;a href=&quot;http://visi.io/&quot;&gt;Visi.io&lt;/a&gt; comes from David Pollak and aims at revolutionizing building tablet apps, but the main attraction now seems to be in exploring the way data flow and cloud computing can be integrated. The &lt;a href=&quot;http://visi.io/screencast.html&quot;&gt;screencast&lt;/a&gt; is somewhat underwhelming but at least convinces me that there is a working prototype (I haven&#039;t looked further than the website as yet). The &lt;a &gt;vision&lt;/a&gt; document has some nice ideas. Visi.io came up recently in the &lt;a href=&quot;http://lambda-the-ultimate.org/node/4626&quot;&gt;discussion&lt;/a&gt; of the future of spreadsheets.  &lt;/p&gt;</description>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/11">Functional</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/13">Logic/Declarative</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/16">Parallel/Distributed</category>
 <pubDate>Sat, 27 Oct 2012 09:36:22 +0000</pubDate>
</item>
<item>
 <title>How to Make Ad Hoc Proof Automation Less Ad Hoc</title>
 <link>http://lambda-the-ultimate.org/node/4551</link>
 <description>&lt;p &gt;&lt;a href=&quot;http://www.mpi-sws.org/~beta/lessadhoc/&quot;&gt;How to Make Ad Hoc Proof Automation Less Ad Hoc&lt;/a&gt;&lt;br &gt;
Georges Gonthier, Beta Ziliani, Aleksandar Nanevski, and Derek Dreyer, to appear in ICFP 2011&lt;/p&gt;
&lt;blockquote &gt;&lt;p &gt;
Most interactive theorem provers provide support for some form of user-customizable proof automation. In a number of popular systems, such as Coq and Isabelle, this automation is achieved primarily through tactics, which are programmed in a separate language from that of the proverâ€™s base logic. While tactics are clearly useful in practice, they can be difficult to maintain and compose because, unlike lemmas, their behavior cannot be specified within the expressive type system of the prover itself.&lt;/p&gt;
&lt;p &gt;We propose a novel approach to proof automation in Coq that allows the user to specify the behavior of custom automated routines in terms of Coqâ€™s own type system. Our approach involves a sophisticated application of Coqâ€™s canonical structures, which generalize Haskell type classes and facilitate a flexible style of dependently-typed logic programming. Specifically, just as Haskell type classes are used to infer the canonical implementation of an overloaded term at a given type, canonical structures can be used to infer the canonical proof of an overloaded lemma for a given instantiation of its parameters. We present a series of design patterns for canonical structure programming that enable one to carefully and predictably coax Coqâ€™s type inference engine into triggering the execution of user-supplied algorithms during unification, and we illustrate these patterns through several realistic examples drawn from Hoare Type Theory. We assume no prior knowledge of Coq and describe the relevant aspects of Coq type inference from first principles.
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p &gt;If you&#039;ve ever toyed with Coq but run into the difficulties that many encounter in trying to construct robust, comprehensible proof scripts using tactics, which manipulate the proof state and can leave you with the &quot;ground&quot; of the proof rather than the &quot;figure,&quot; if you will, in addition to being fragile in the face of change, you may wish to give this a read. It frankly never would have occurred to me to try to turn Ltac scripts into &lt;em &gt;lemmas&lt;/em&gt; at all. This is &lt;em &gt;much&lt;/em&gt; more appealing than most other approaches to the subject I&#039;ve seen.&lt;/p&gt;</description>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/11">Functional</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/8">Implementation</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/13">Logic/Declarative</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/21">Type Theory</category>
 <pubDate>Fri, 22 Jun 2012 15:41:16 +0000</pubDate>
</item>
<item>
 <title>Interactive Tutorial of the Sequent Calculus</title>
 <link>http://lambda-the-ultimate.org/node/4529</link>
 <description>&lt;p &gt;&lt;a href=&quot;http://logitext.ezyang.scripts.mit.edu/logitext.fcgi/tutorial&quot;&gt;Interactive Tutorial of the Sequent Calculus&lt;/a&gt; by Edward Z. Yang.&lt;/p&gt;
&lt;blockquote &gt;&lt;p &gt;This interactive tutorial will teach you how to use the sequent calculus, a simple set of rules with which you can use to show the truth of statements in first order logic. It is geared towards anyone with some background in writing software for computers, with knowledge of basic boolean logic. ...&lt;/p&gt;
&lt;p &gt;Proving theorems is not for the mathematicians anymore: with theorem provers, it&#039;s now a job for the hacker. â€” Martin Rinard ...&lt;/p&gt;
&lt;p &gt;A common complaint with a formal systems like the sequent calculus is the &quot;I clicked around and managed to prove this, but I&#039;m not really sure what happened!&quot; This is what Martin means by the hacker mentality: it is now possible for people to prove things, even when they don&#039;t know what they&#039;re doing. The computer will ensure that, in the end, they will have gotten it right.
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p &gt;The tool behind this nice tutorial is &lt;a href=&quot;http://logitext.ezyang.scripts.mit.edu/logitext.fcgi/main&quot;&gt;Logitext&lt;/a&gt;.&lt;/p&gt;</description>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/5">Fun</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/31">Javascript</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/13">Logic/Declarative</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/18">Teaching &amp; Learning</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/19">Theory</category>
 <pubDate>Thu, 31 May 2012 14:48:52 +0000</pubDate>
</item>
<item>
 <title>Milawa on Jitawa: a Verified Theorem Prover</title>
 <link>http://lambda-the-ultimate.org/node/4464</link>
 <description>&lt;p &gt;&lt;a href=&quot;http://www.cs.utexas.edu/users/jared/milawa/Web/&quot;&gt;Milawa&lt;/a&gt;&lt;/p&gt;
&lt;blockquote &gt;&lt;p &gt;
Aug 2010 - May 2011. Magnus Myreen has developed a verified Lisp system, named Jitawa, which can run Milawa. Our paper about this project was accepted to ITP 2011.
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p &gt;This is pretty interesting: Milawa was already &quot;self-verifying,&quot; in the sense explained on the page. More recently, it&#039;s been made to run on a verified Lisp runtime, so that means the entire stack down to the X86_64 machine code is verified. Milawa itself is &quot;ACL2-like,&quot; so it&#039;s not as interesting logically as, say, Isabelle or Coq, but it&#039;s far from a toy. Also, the Jitawa formalization apparently took place in HOL4, so you need to trust HOL4. Since HOL4 is an &quot;LCF-like&quot; system, you can do that to the extent that you trust the LCF process, but it doesn&#039;t satisfy the de Bruijn criterion in the same way Milawa or Coq do. Nevertheless, this seems like an important step toward the ultimate goal of having a stack that is verified &quot;all the way down,&quot; as it were.&lt;/p&gt;</description>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/11">Functional</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/20">Lambda Calculus</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/13">Logic/Declarative</category>
 <pubDate>Wed, 29 Feb 2012 18:34:45 +0000</pubDate>
</item>
<item>
 <title>Beyond pure Prolog: Power and danger</title>
 <link>http://lambda-the-ultimate.org/node/4434</link>
 <description>&lt;p &gt;One of the sections of Oleg Kiselyov&#039;s &lt;i &gt;Prolog and Logic Programming&lt;/i&gt; page, on &lt;a href=&quot;http://okmij.org/ftp/Prolog/index.html#impure&quot;&gt;Beyond pure Prolog: power and danger&lt;/a&gt;, points out (i) term introspection (in the guise of the &lt;code &gt;var/1&lt;/code&gt; predicate) can be derived from three of Prolog&#039;s imperative features, two of which are quite mild-looking, and (ii) this introspection potentially makes Prolog code hard to understand.&lt;/p&gt;
&lt;p &gt;Oleg pointed this note in response to &lt;a href=&quot;http://lambda-the-ultimate.org/node/112#comment-68897&quot;&gt;my defence of cut&lt;/a&gt;; it is short, sweet, and well-argued.&lt;/p&gt;</description>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/13">Logic/Declarative</category>
 <pubDate>Mon, 23 Jan 2012 10:54:29 +0000</pubDate>
</item>
<item>
 <title>The Experimental Effectiveness of Mathematical Proof</title>
 <link>http://lambda-the-ultimate.org/node/4392</link>
 <description>&lt;p &gt;&lt;a href=&quot;http://perso.ens-lyon.fr/alexandre.miquel/publis/effectiveness.pdf&quot;&gt;The Experimental Effectiveness of Mathematical Proof&lt;/a&gt;&lt;/p&gt;
&lt;blockquote &gt;&lt;p &gt;
The aim of this paper is twofold. First, it is an attempt to give an answer to the famous essay of Eugene Wigner about the unreasonable effectiveness of mathematics in the natural sciences [25]. We will argue that mathematics are not only reasonably effective, but that they are also objectively effective in a sense that can be given a precise meaning. For thatâ€”and this is the second aim of this paperâ€”we shall reconsider some aspects of Popperâ€™s epistemology [23] in the light of recent advances of proof theory [8, 20], in order to clarify the interaction between pure mathematical reasoning (in the sense of a formal system) and the use of empirical hypotheses (in the sense of the natural sciences).&lt;/p&gt;
&lt;p &gt;The technical contribution of this paper is the proof-theoretic analysis of the problem (already evoked in [23]) of the experimental modus tollens, that deals with the combination of a formal proof of the implication U â‡’ V with an experimental falsification of V to get an experimental falsification of U in the case where the formulÃ¦ U and V express empirical theories in a sense close to Popperâ€™s. We propose a practical solution to this problem based on Krivineâ€™s theory of classical realizability [20], and describe a simple procedure to extract from a formal proof of U â‡’ V (formalized in classical second-order arithmetic) and a falsifying instance of V a computer program that performs a finite sequence of tests on the empirical theory U until it finds (in finite time) a falsifying instance of U.
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p &gt;I thought I had already posted this, but apparently not.&lt;/p&gt;
&lt;p &gt;Consider this paper the main gauntlet thrown down to those who insist that mathematical logic, the Curry-Howard Isomorphism, etc. might be fine for &quot;algorithmic code&quot; (as if there were any other kind) but is somehow inapplicable the moment a system interacts with the &quot;real&quot; or &quot;outside&quot; world (as if software weren&#039;t real).&lt;/p&gt;
&lt;p &gt;&lt;b &gt;Update:&lt;/b&gt; the author is Alexandre Miquel, and the citation is &quot;Chapitre du livre Anachronismes logiques, Ã  paraÃ®tre dans la collection Logique, Langage, Sciences, Philosophie, aux Publications de la Sorbonne. Ã‰d.: Myriam Quatrini et Samuel TronÃ§on, 2010.&quot;&lt;/p&gt;</description>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/11">Functional</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/20">Lambda Calculus</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/13">Logic/Declarative</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/29">Semantics</category>
 <pubDate>Sun, 30 Oct 2011 16:05:45 +0000</pubDate>
</item>
<item>
 <title>Concurrent Pattern Calculus</title>
 <link>http://lambda-the-ultimate.org/node/4189</link>
 <description>&lt;p &gt;&lt;a href=&quot;http://www.dsi.uniroma1.it/~gorla/papers/cpc-long.pdf&quot;&gt;Concurrent Pattern Calculus&lt;/a&gt; by Thomas Given-Wilson, Daniele Gorla, and Barry Jay:&lt;/p&gt;
&lt;blockquote &gt;&lt;p &gt;Concurrent pattern calculus drives interaction between processes by comparing data structures, just as sequential pattern calculus drives computation. By generalising from pattern matching to pattern unification, interaction becomes symmetrical, with information flowing in both directions. This provides a natural language for describing any form of exchange or trade. Many popular process calculi can be encoded in concurrent pattern calculi.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p &gt;Barry Jay&#039;s &lt;a href=&quot;http://lambda-the-ultimate.org/node/1678&quot;&gt;Pattern Calculus&lt;/a&gt; has been discussed a &lt;a href=&quot;http://lambda-the-ultimate.org/node/3695&quot;&gt;few times here before&lt;/a&gt;. I&#039;ve always been impressed with the pattern calculus&#039; expressive power for computing over arbitrary structure. The pattern calculus supports new forms of polymorphism, which he termed &quot;path polymorphism&quot; and &quot;pattern polymorphism&quot;, which are difficult to provide in other calculi. The closest I can think of would be a compiler-provided generalized fold over any user-defined structure.&lt;/p&gt;
&lt;p &gt;This work extends the pattern calculus to the concurrent setting by adding constructs for parallel composition, name restriction and replication, and argues convincingly for its greater expressiveness as compared to other concurrent calculi. He addresses some of the obvious concerns for symmetric information flow of the unification operation.&lt;/p&gt;</description>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/11">Functional</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/13">Logic/Declarative</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/16">Parallel/Distributed</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/19">Theory</category>
 <pubDate>Tue, 25 Jan 2011 03:19:55 +0000</pubDate>
</item>
<item>
 <title>Milawa: A Self-Verifying Theorem Prover for an ACL2-Like Logic</title>
 <link>http://lambda-the-ultimate.org/node/3964</link>
 <description>&lt;p &gt;&lt;a href=&quot;http://userweb.cs.utexas.edu/users/jared/milawa/Web/&quot;&gt;Milawa: A Self-Verifying Theorem Prover for an ACL2-Like Logic&lt;/a&gt;&lt;/p&gt;
&lt;blockquote &gt;&lt;p &gt;
Milawa is a &quot;self-verifying&quot; theorem prover for an ACL2-like logic.&lt;/p&gt;
&lt;p &gt;We begin with a simple proof checker, call it A, which is short enough to verify by the &quot;social process&quot; of mathematics.&lt;/p&gt;
&lt;p &gt;We then develop a series of increasingly powerful proof checkers, call them B, C, D, and so on. We show that each of these is sound: they accept only the same formulas as A. We use A to verify B, and B to verify C, and so on. Then, since we trust A, and A says B is sound, we can trust B, and so on for C, D, and the rest.&lt;/p&gt;
&lt;p &gt;Our final proof checker is really a theorem prover; it can carry out a goal-directed proof search using assumptions, calculation, rewrite rules, and so on. We use this theorem prover to discover the proofs of soundness for B, C, and so on, and to emit these proofs in a format that A can check. Hence, &quot;self verifying.&quot;
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p &gt;This might help inform discussions of the relationship between the de Bruijn criterion (the &quot;social process&quot; of mathematics) and formal verification. I think it also serves as an interesting signpost on the road forward: it&#039;s one thing to say that starting with a de Bruijn core and evolving a more powerful prover is possible in principle; it&#039;s another thing for it to actually have been done. The author&#039;s thesis &lt;a href=&quot;http://userweb.cs.utexas.edu/users/jared/milawa/Documentation/defense.pdf&quot;&gt;defense&lt;/a&gt; slides provide a nice, quick overview.&lt;/p&gt;</description>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/24">DSL</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/11">Functional</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/8">Implementation</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/20">Lambda Calculus</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/13">Logic/Declarative</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/29">Semantics</category>
 <pubDate>Sat, 29 May 2010 17:49:47 +0000</pubDate>
</item>
<item>
 <title>A Lambda Calculus for Real Analysis</title>
 <link>http://lambda-the-ultimate.org/node/3831</link>
 <description>&lt;p &gt;&lt;a href=&quot;http://paultaylor.eu/ASD/lamcra/&quot;&gt;A Lambda Calculus for Real Analysis&lt;/a&gt;&lt;/p&gt;
&lt;blockquote &gt;&lt;p &gt;
Abstract Stone Duality is a revolutionary paradigm for general topology that describes computable continuous functions directly, without using set theory, infinitary lattice theory or a prior theory of discrete computation. Every expression in the calculus denotes both a continuous function and a program, and the reasoning looks remarkably like a sanitised form of that in classical topology. This is an introduction to ASD for the general mathematician, with application to elementary real analysis.&lt;/p&gt;
&lt;p &gt;This language is applied to the Intermediate Value Theorem: the solution of equations for continuous functions on the real line. As is well known from both numerical and constructive considerations, the equation cannot be solved if the function &quot;hovers&quot; near 0, whilst tangential solutions will never be found.&lt;/p&gt;
&lt;p &gt;In ASD, both of these failures and the general method of finding solutions of the equation when they exist are explained by the new concept of overtness. The zeroes are captured, not as a set, but by higher-type modal operators. Unlike the Brouwer degree, these are defined and (Scott) continuous across singularities of a parametric equation.&lt;/p&gt;
&lt;p &gt;Expressing topology in terms of continuous functions rather than sets of points leads to treatments of open and closed concepts that are very closely lattice- (or de Morgan-) dual, without the double negations that are found in intuitionistic approaches. In this, the dual of compactness is overtness. Whereas meets and joins in locale theory are asymmetrically finite and infinite, they have overt and compact indices in ASD.&lt;/p&gt;
&lt;p &gt;Overtness replaces metrical properties such as total boundedness, and cardinality conditions such as having a countable dense subset. It is also related to locatedness in constructive analysis and recursive enumerability in recursion theory.
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p &gt;Paul Taylor is deadly serious about the intersection of logic, mathematics, and computation. I came across this after beating my head against &lt;a href=&quot;http://www.amazon.com/Probability-Theory-Logic-Science-Vol/dp/0521592712/ref=sr_1_1?ie=UTF8&amp;amp;s=books&amp;amp;qid=1266357272&amp;amp;sr=8-1&quot;&gt;Probability Theory: The Logic of Science&lt;/a&gt; and &lt;a href=&quot;http://axiomaticeconomics.com/&quot;&gt;Axiomatic Theory of Economics&lt;/a&gt; over the weekend, realizing that my math just wasn&#039;t up to the tasks, and doing a Google search for &quot;constructive real analysis.&quot; &quot;Real analysis&quot; because it was obvious that that was what both of the aforementioned texts were relying on; &quot;constructive&quot; because I&#039;d really like to develop proofs in Coq/extract working code from them. This paper was on the second page of results. Paul&#039;s name was familiar (and not just because I share it with him); he translated Jean-Yves Girard&#039;s regrettably out-of-print &lt;a href=&quot;http://paultaylor.eu/stable/Proofs+Types&quot;&gt;Proofs and Types&lt;/a&gt; to English and maintains a very popular set of tools for typesetting &lt;a href=&quot;http://paultaylor.eu/diagrams/&quot;&gt;commutative diagrams&lt;/a&gt; using LaTeX.&lt;/p&gt;</description>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/22">Category Theory</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/11">Functional</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/20">Lambda Calculus</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/13">Logic/Declarative</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/15">Meta-Programming</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/29">Semantics</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/21">Type Theory</category>
 <pubDate>Tue, 16 Feb 2010 22:00:42 +0000</pubDate>
</item>
<item>
 <title>Certified Programming With Dependent Types Goes Beta</title>
 <link>http://lambda-the-ultimate.org/node/3763</link>
 <description>&lt;p &gt;&lt;a href=&quot;http://adam.chlipala.net/cpdt/&quot;&gt;Certified Programming With Dependent Types&lt;/a&gt;&lt;/p&gt;
&lt;p &gt;From the introduction:&lt;/p&gt;
&lt;blockquote &gt;&lt;p &gt;
We would all like to have programs check that our programs are correct.  Due in no small part to some bold but unfulfilled promises in the history of computer science, today most people who write software, practitioners and academics alike, assume that the costs of formal program verification outweigh the benefits.  The purpose of this book is to convince you that the technology of program verification is mature enough today that it makes sense to use it in a support role in many kinds of research projects in computer science.  Beyond the convincing, I also want to provide a handbook on practical engineering of certified programs with the Coq proof assistant.
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p &gt;This is the best Coq tutorial that I know of, partially for being comprehensive, and partially for taking a very different tack than most with Adam&#039;s emphasis on proof automation using Coq&#039;s Ltac tactic language. It provides an invaluable education toward understanding what&#039;s going on either in &lt;a href=&quot;http://ltamer.sourceforge.net/&quot;&gt;LambdaTamer&lt;/a&gt; or &lt;a href=&quot;http://ynot.cs.harvard.edu/&quot;&gt;Ynot&lt;/a&gt;, both of which are important projects in their own rights.&lt;/p&gt;
&lt;p &gt;Please note that Adam is explicitly requesting feedback on this work.&lt;/p&gt;</description>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/11">Functional</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/20">Lambda Calculus</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/13">Logic/Declarative</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/9">Misc Books</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/29">Semantics</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/18">Teaching &amp; Learning</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/21">Type Theory</category>
 <pubDate>Sat, 09 Jan 2010 16:56:49 +0000</pubDate>
</item>
<item>
 <title>ActorScript(TM): Industrial strength integration of local and nonlocal concurrency for Client-cloud Computing</title>
 <link>http://lambda-the-ultimate.org/node/3717</link>
 <description>&lt;a href=&quot;http://arxiv.org/abs/0907.3330&quot;&gt;ActorScript(TM): Industrial strength integration of local and nonlocal concurrency for Client-cloud Computing&lt;/a&gt;
by Carl Hewitt, 2009.
&lt;blockquote &gt;
ActorScript is based on a mathematical model of computation that treats â€œActorsâ€ as the universal primitives of concurrent digital computation [Hewitt, Bishop, and Steiger 1973; Hewitt 1977]. Actors been used both as a framework for a theoretical understanding of concurrency, and as the theoretical basis for several practical implementations of concurrent systems.&lt;/blockquote&gt;
I hope I do not need to introduce Carl Hewitt or his Actor model. This paper is a modern attempt to expose that model via a practical PL.</description>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/13">Logic/Declarative</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/12">Object-Functional</category>
 <pubDate>Mon, 14 Dec 2009 13:47:46 +0000</pubDate>
</item>
<item>
 <title>SequenceL - declarative computation on nonscalars</title>
 <link>http://lambda-the-ultimate.org/node/3635</link>
 <description>&lt;p &gt;I recently came across the language &lt;i &gt;&lt;a href=&quot;http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.90.7370&quot;&gt;SequenceL&lt;/a&gt;&lt;/i&gt;, which it seems &lt;a href=&quot;http://www.nasaspaceflight.com/2005/12/cev-abort-system-gains-a-brain/&quot;&gt;NASA is using&lt;/a&gt; in some of its human spaceflight programs. SequenceL is described as a high-level language for declarative computation on nonscalars. One of the key features of the language appears to be the avoidance of the need to explicitly specify recursive or iterative operations. For example, given the function definition &lt;/p&gt;
&lt;pre &gt;
Search(scalar Target, tuple [Subscript, Word]) = 
    Subscript when Word = Target 
&lt;/pre&gt;&lt;p &gt;which applies to tuples, the programmer can apply the function directly to lists of tuples without any need to specify how that application will be performed, e.g.&lt;/p&gt;
&lt;pre &gt;
search(fox,[[1,dog],[2,cat],[3,fox],[4,parrot]]) â†’ 3 
search(rabbit,[[1,dog],[2,cat],[3,fox],[4,parrot]]) â†’ [] 
&lt;/pre&gt;&lt;p &gt;The language designers (Daniel Cooke and J. Nelson Rushton) claim that this kind of thing leads to more concise and readable code, and a more direct representation of a specification.&lt;/p&gt;
&lt;p &gt;Unfortunately, the &lt;a href=&quot;http://languages.cs.ttu.edu/sequencel/&quot;&gt;SequenceL&lt;/a&gt; website appears to be inaccessible at the moment. However, &lt;a href=&quot;http://www.cs.ttu.edu/~dcooke/&quot;&gt;Daniel Cooke&#039;s site&lt;/a&gt; includes links to a number of papers and talks that describe SequenceL. In particular, the paper &lt;i &gt;&lt;a href=&quot;http://www.cs.ttu.edu/~dcooke/sequencel11-27-2006.pdf&quot;&gt;Normalize, Transpose, and Distribute:  An Automatic Approach for Handling Nonscalars&lt;/a&gt;&lt;/i&gt; provides a detailed description of the &quot;Consume-Simplify-Produce/Normalize-Transpose&quot; approach that is embodied by SequenceL. There&#039;s also an overview of SequenceL available through &lt;a href=&quot;http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.90.7370&quot;&gt;CiteSeer&lt;/a&gt;.&lt;/p&gt;</description>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/11">Functional</category>
 <category domain="http://lambda-the-ultimate.org/taxonomy/term/13">Logic/Declarative</category>
 <pubDate>Sun, 11 Oct 2009 21:34:30 +0000</pubDate>
</item>
</channel>
</rss>
