Abstract
AbstractWe 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 theoretic models 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.
Publisher
Cambridge University Press (CUP)
Subject
Computer Science Applications,Mathematics (miscellaneous)
Reference38 articles.
1. Veltri, N. and van der Weide, N. (2019). Guarded recursion in agda via sized types. In: Geuvers, H. (ed.) 4th International Conference on Formal Structures for Computation and Deduction, FSCD 2019, June 24–30, 2019, Dortmund, Germany, Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 32:1–32:19.
2. A Model of Countable Nondeterminism in Guarded Type Theory
3. Guarded Computational Type Theory
4. Norell, U. (2007). Towards a Practical Programming Language Based on Dependent Type Theory. PhD thesis, Chalmers University of Technology.
5. Denotational semantics of recursive types in synthetic guarded domain theory
Cited by
6 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Transpension: The Right Adjoint to the Pi-type;Logical Methods in Computer Science;2024-06-19
2. A totally predictable outcome: an investigation of traversals of infinite structures;Proceedings of the 15th ACM SIGPLAN International Haskell Symposium;2022-09-06
3. Greatest HITs: Higher inductive types in coinductive definitions via induction under clocks;Proceedings of the 37th Annual ACM/IEEE Symposium on Logic in Computer Science;2022-08-02
4. Sikkel: Multimode Simple Type Theory as an Agda Library;Electronic Proceedings in Theoretical Computer Science;2022-06-30
5. Temporal Refinements for Guarded Recursive Types;Programming Languages and Systems;2021