TY - JOUR
T1 - Guarded Cubical Type Theory
AU - Birkedal, Lars
AU - Bizjak, Aleš
AU - Clouston, Ranald
AU - Grathwohl, Hans Bugge
AU - Spitters, Bas
AU - Vezzosi, Andrea
PY - 2019
Y1 - 2019
N2 - 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öf 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 C× D, where C is the cube category, and D is any small category with an initial object. We then show that the category of presheaves on C× ω provides semantics for GCTT.
AB - 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öf 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 C× D, where C is the cube category, and D is any small category with an initial object. We then show that the category of presheaves on C× ω provides semantics for GCTT.
KW - Cubical type theory
KW - Guarded recursion
KW - Homotopy type theory
UR - http://www.scopus.com/inward/record.url?scp=85049045653&partnerID=8YFLogxK
U2 - 10.1007/s10817-018-9471-7
DO - 10.1007/s10817-018-9471-7
M3 - Journal article
SN - 0168-7433
VL - 63
SP - 211
EP - 253
JO - Journal of Automated Reasoning
JF - Journal of Automated Reasoning
IS - 2
ER -