Denotational semantics for guarded dependent type theory
- Aleš Bizjak,
- Aarhus University,
- Aalborg University,
Research Output:
Journal Article or Conference Article in Journal
Journal article
Research
Peer-reviewOpen access
Abstract
We present a new model of guarded dependent type theory (GDTT), a type theory with guarded recursion and multiple clocks in which one can program with and reason about coinductive types. Productivity of recursively defined coinductive programs and proofs is encoded in types using guarded recursion and can
therefore be checked modularly, unlike the syntactic checks implemented in modern proof assistants. The model is based on a category of covariant presheaves over a category of time objects, and quantification over clocks is modelled using a presheaf of clocks. To model the clock irrelevance axiom, crucial for programming with coinductive types, types must be interpreted as presheaves internally right orthogonal to the object of clocks. In the case of dependent types, this translates to a lifting condition similar to the one
found in homotopy theoreticmodels of type theory, but here with an additional requirement of uniqueness of lifts. Since the universes defined by the standard Hofmann–Streicher construction in this model do not satisfy this property, the universes in GDTT must be indexed by contexts of clock variables. We show how
to model these universes in such a way that inclusions of clock contexts give rise to inclusions of universes commuting with type operations on the nose.
therefore be checked modularly, unlike the syntactic checks implemented in modern proof assistants. The model is based on a category of covariant presheaves over a category of time objects, and quantification over clocks is modelled using a presheaf of clocks. To model the clock irrelevance axiom, crucial for programming with coinductive types, types must be interpreted as presheaves internally right orthogonal to the object of clocks. In the case of dependent types, this translates to a lifting condition similar to the one
found in homotopy theoreticmodels of type theory, but here with an additional requirement of uniqueness of lifts. Since the universes defined by the standard Hofmann–Streicher construction in this model do not satisfy this property, the universes in GDTT must be indexed by contexts of clock variables. We show how
to model these universes in such a way that inclusions of clock contexts give rise to inclusions of universes commuting with type operations on the nose.
Publication Information
Output type
Research Output:
Journal Article or Conference Article in Journal
Journal article
Research
Peer-reviewOriginal language
EnglishPages from-to (Number of pages)
Pages 342-378Journal (Volume, Issue Number)
Mathematical Structures in Computer Science (Volume 30, Issue 4)Publication milestones
- Published - 04/2020
Publication status
Published - 04/2020
ISSN
0960-1295Publication IDs
- Scopus: 85085304429
Publication metrics
PlumX, opens in new tab
Captures
4
Citation count
12
Access to documents
Accepted author manuscript, 447.12 KB
