iron

Last updated: 2016-02-19 14:45:37 +0000

Upstream URL: git clone http://chriswarbo.net/git/iron.git

Repo

View repository

View issue tracker

Contents of README.md follows


Iron Lambda

Iron Lambda is a collection of Coq formalizations for functional languages of increasing complexity. All proofs use straight deBruijn indices for binders.

<ul> <li>The home page is on a separate site.</li> <li>The absence of bugs has been mechanically verified, hence there is no bug tracker.</li> <li>Comments on style, or requests for more information should go to iron [at] ouroborus.net.</li> </ul> <hr>

Proofs that are "done" have at least Progress and Preservation theorems.

<ul> <li>

Simple

Simply Typed Lambda Calculus (STLC). "Simple" here refers to the lack of polymorphism.

</li> <li>

SimplePCF

STLC with booleans, naturals and fixpoint.

</li> <li>

SimpleRef

STLC with mutable references. The typing judgement includes a store typing.

</li> <li>

SimpleData

STLC with algebraic data and case expressions. The definition of expressions uses indirect mutual recursion. Expressions contain a list of case-alternatives, and alternatives contain expressions, but the definition of the list type is not part of the same recursive group. The proof requires that we define our own induction scheme for expressions.

</li> <li>

SystemF

Compared to STLC, the proof for SystemF needs more lifting lemmas so it can deal with deBruijn indices at the type level.

</li> <li>

SystemF2

Very similar to SystemF, but with higher kinds.

</li> <li>

SystemF2Data

SystemF2 with algebraic data and case expressions. Requires that we define simultaneous substitutions, which are used when subsituting expressions bound by pattern variables into the body of an alternative. The language allows data constructors to be applied to general expressions rather than just values, which requires more work when defining evaluation contexts.

</li> <li>

SystemF2Store

SystemF2 with algebraic data, case expressions and a mutable store. All data is allocated into the store and can be updated with primitive polymorphic update operators.

</li> <li>

SystemF2Effect

SystemF2 with a region and effect system. Mutable references are allocated in regions in the store, and their lifetime follows the lexical structure of the code.

</li> </ul>