Monadic Presentations of Lambda Terms Using Generalized Inductive Types

By Thorsten Altenkirch, Bernhard Reus. 1999

We present a definition of untyped λ-terms using a heterogeneous datatype, i.e. an inductively defined operator. This operator can be extended to a Kleisli triple, which is a concise way to verify the substitution laws for λ-calculus. We also observe that repetitions in the definition of the monad as well as in the proofs can be avoided by using well-founded recursion and induction instead of structural induction. We extend the construction to the simply typed λ-calculus using dependent types, and show that this is an instance of a generalization of Kleisli triples. The proofs for the untyped case have been checked using the LEGO system.

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

  1. Ralph Matthes
  2. Karthikeyan Bhargavan
  3. Andreas Abel
  4. Tarmo Uustalu
  5. Cédric Fournet
  6. Antoine Delignat-Lavaud
  7. James Chapman
  8. Nikhil Swamy

Citations in the corpus