A Modal Lambda Calculus with Iteration and Case Constructs
Résumé
An extension of the simply-typed $\lambda$-calculus allowing iteration and casereasoning over terms defined by means of higher order abstract syntax has recently been introduced by Joëlle Despeyroux, Frank Pfenning and Carsten Schürmann. This thorny mixing is achieved thanks to the help of the operator `$\Bf modal logic IS4. 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$-calcu- lus that is better from the user's point of view, is more concise and 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. Finally itis a conservative extension of the simply-typed $\lambda$-calculus.