arXiv Analytics

Sign in

arXiv:1611.09263 [cs.LO]AbstractReferencesReviewsResources

Guarded Cubical Type Theory

Lars Birkedal, Aleš Bizjak, Ranald Clouston, Hans Bugge Grathwohl, Bas Spitters, Andrea Vezzosi

Published 2016-11-28Version 1

This paper improves the treatment of equality in guarded dependent type theory (GDTT), by combining it with cubical type theory (CTT). GDTT is an extensional type theory with guarded recursive types, which are useful for building models of program logics, and for programming and reasoning with coinductive types. We wish to implement GDTT with decidable type checking, while still supporting non-trivial equality proofs that reason about the extensions of guarded recursive constructions. CTT is a variation of Martin-L\"of type theory in which the identity type is replaced by abstract paths between terms. CTT provides a computational interpretation of functional extensionality, enjoys canonicity for the natural numbers type, and is conjectured to support decidable type-checking. Our new type theory, guarded cubical type theory (GCTT), provides a computational interpretation of extensionality for guarded recursive types. This further expands the foundations of CTT as a basis for formalisation in mathematics and computer science. We present examples to demonstrate the expressivity of our type theory, all of which have been checked using a prototype type-checker implementation. We show that CTT can be given semantics in presheaves on the product of the cube category and a small category with an initial object. We then show that the category of presheaves on the product of the cube category and omega provides semantics for GCTT.

Related articles: Most relevant | Search more
arXiv:1606.05223 [cs.LO] (Published 2016-06-16)
Guarded Cubical Type Theory: Path Equality for Guarded Recursion
arXiv:1810.13261 [cs.LO] (Published 2018-10-31)
Bisimulation as path type for guarded recursive types
arXiv:1602.04860 [cs.LO] (Published 2016-02-15)
System K: a simple modal λ-calculus