English

Guarded Cubical Type Theory: Path Equality for Guarded Recursion

Logic in Computer Science 2016-06-29 v2 Programming Languages

Abstract

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, is conjectured to have decidable type checking, and has an implemented type-checker. Our new type theory, called guarded cubical type theory, 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, and present semantics in a presheaf category.

Keywords

Cite

@article{arxiv.1606.05223,
  title  = {Guarded Cubical Type Theory: Path Equality for Guarded Recursion},
  author = {Lars Birkedal and Aleš Bizjak and Ranald Clouston and Hans Bugge Grathwohl and Bas Spitters and Andrea Vezzosi},
  journal= {arXiv preprint arXiv:1606.05223},
  year   = {2016}
}

Comments

17 pages, to be published in proceedings of CSL 2016

R2 v1 2026-06-22T14:27:06.816Z