The Clocks Are Ticking: No More Delays! Reduction Semantics for Type Theory with Guarded Recursion

Patrick Bahr, Hans Bugge Grathwohl, Rasmus Ejlers Møgelberg

Publikation: Artikel i tidsskrift og konference artikel i tidsskriftKonferenceartikelForskningpeer review

Abstract

Guarded recursion in the sense of Nakano allows general recursive types and terms to be added to type theory without breaking consistency. Recent work has demonstrated applications of guarded recursion such as programming with codata, reasoning about coinductive types, as well as constructing and reasoning about denotational models of general recursive types. Guarded recursion can also be used as an abstract form of step-indexing for reasoning about programming languages with advanced features. Ultimately, we would like to have an implementation of a type theory with guarded recursion in which all these applications can be carried out and machine-checked. In this paper, we take a step towards this goal by devising a suitable reduction semantics. We present Clocked Type Theory, a new type theory for guarded recursion that is more suitable for reduction semantics than the existing ones. We prove confluence, strong normalisation and canonicity for its reduction semantics, constructing the theoretical basis for a future implementation. We show how coinductive types as exemplified by streams can be encoded, and derive that the type system ensures productivity of stream definitions.
OriginalsprogEngelsk
TidsskriftAnnual Symposium on Logic in Computer Science
Antal sider12
ISSN1043-6871
DOI
StatusUdgivet - 18 aug. 2017
BegivenhedThirty-Second Annual ACM/IEEE Symposium on Logic in Computer Science - Reykjavik, Island
Varighed: 20 jun. 201723 aug. 2017
Konferencens nummer: 32

Konference

KonferenceThirty-Second Annual ACM/IEEE Symposium on Logic in Computer Science
Nummer32
Land/OmrådeIsland
ByReykjavik
Periode20/06/201723/08/2017

Emneord

  • type theory, guarded recursion, reduction semantics, strong normalisation, coinductive types, recursive types

Fingeraftryk

Dyk ned i forskningsemnerne om 'The Clocks Are Ticking: No More Delays! Reduction Semantics for Type Theory with Guarded Recursion'. Sammen danner de et unikt fingeraftryk.

Citationsformater