pith. sign in

arxiv: 1606.09455 · v2 · pith:PWQPH5RDnew · submitted 2016-06-30 · 💻 cs.LO · cs.PL

The Guarded Lambda-Calculus: Programming and Reasoning with Guarded Recursion for Coinductive Types

classification 💻 cs.LO cs.PL
keywords guardedtypescoinductivelambda-calculusrecursivecalculuslogicprogram
0
0 comments X
read the original abstract

We present the guarded lambda-calculus, an extension of the simply typed lambda-calculus with guarded recursive and coinductive types. The use of guarded recursive types ensures the productivity of well-typed programs. Guarded recursive types may be transformed into coinductive types by a type-former inspired by modal logic and Atkey-McBride clock quantification, allowing the typing of acausal functions. We give a call-by-name operational semantics for the calculus, and define adequate denotational semantics in the topos of trees. The adequacy proof entails that the evaluation of a program always terminates. We introduce a program logic with L\"ob induction for reasoning about the contextual equivalence of programs. We demonstrate the expressiveness of the calculus by showing the definability of solutions to Rutten's behavioural differential equations.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.