×

A modal lambda calculus with iteration and case constructs. (English) Zbl 0943.03010

Altenkirch, Thorsten (ed.) et al., Types for proofs and programs. International workshop, TYPES ’98. Kloster Irsee, Germany, March 27-31, 1999. Selected papers. Berlin: Springer. Lect. Notes Comput. Sci. 1657, 47-61 (1999).
Summary: An extension of the simply-typed \(\lambda\)-calculus, allowing iteration and case reasoning over terms of functional types that arise when using higher-order abstract syntax, has recently been introduced by F. Pfenning, C. Schürmann and the first author. This thorny mixing is achieved thanks to the help of the operator ‘\(\square\)’ of modal logic S4. Here we give a new presentation of their system, with reduction rules, instead of evaluation judgments, that compute the canonical forms of terms. Our presentation is based on a modal \(\lambda\)-calculus that is better from the user’s point of view. Moreover we do not impose a particular strategy of reduction during the computation. Our system enjoys the decidability of typability, soundness of typed reduction with respect to typing rules, the Church-Rosser and strong normalization properties and it is a conservative extension over the simply-typed \(\lambda\)-calculus.
For the entire collection see [Zbl 0929.00065].

MSC:

03B40 Combinatory logic and lambda calculus
68N18 Functional programming and lambda calculus

Software:

ALF