Reference. Guarded Cubical Type Theory
Cite
Cited by (4)
A Modal Deconstruction of Löb Induction gratzer-2025-a
We present a novel analysis of the fundamental Löb induction principle from guarded recursion. Taking advantage of recent work in modal type theory and univalent foundations, we derive Löb induction from a simpler and more conceptual set of primitives. We then capitalize on these insights to present Gatsby, the first guarded type theory capturing the rich modal structure of the topos of trees alongside Löb induction without immediately precluding canonicity or normalization. We show that Gatsby can recover many prior approaches to guarded recursion and use its additional power to improve on prior examples. We crucially rely on homotopical insights and Gatsby constitutes a new application of univalent foundations to the theory of programming languages.
Unifying cubical and multimodal type theory aagaard-2024-unifying
In this paper we combine the principled approach to modalities from multimodal type theory (MTT) with the computationally well-behaved realization of identity types from cubical type theory (CTT). The result – cubical modal type theory (Cubical MTT) – has the desirable features of both systems. In fact, the whole is more than the sum of its parts: Cubical MTT validates desirable extensionality principles for modalities that MTT only supported through ad hoc means. We investigate the semantics of Cubical MTT and provide an axiomatic approach to producing models of Cubical MTT based on the internal language of topoi and use it to construct presheaf models. Finally, we demonstrate the practicality and utility of this axiomatic approach to models by constructing a model of (cubical) guarded recursion in a cubical version of the topos of trees. We then use this model to justify an axiomatization of Löb induction and thereby use Cubical MTT to smoothly reason about guarded recursion.
Towards Univalent Reference Types: The Impact of Univalence on Denotational Semantics sterling-2024-towards
We develop a denotational semantics for general reference types in an impredicative version of guarded homotopy type theory, an adaptation of synthetic guarded domain theory to Voevodsky’s univalent foundations. We observe for the first time the profound impact of univalence on the denotational semantics of mutable state. Univalence automatically ensures that all computations are invariant under symmetries of the heap - a bountiful source of program equivalences. In particular, even the most simplistic univalent model enjoys many new equations that do not hold when the same constructions are carried out in the universes of traditional set-level (extensional) type theory.
Syntax and models of Cartesian cubical type theory angiuli-2021-syntax
We present a cubical type theory based on the Cartesian cube category (faces, degeneracies, symmetries, diagonals, but no connections or reversal) with univalent universes, each containing Π, Σ, path, identity, natural number, boolean, suspension, and glue (equivalence extension) types. The type theory includes a syntactic description of a uniform Kan operation, along with judgmental equality rules defining the Kan operation on each type. The Kan operation uses both a different set of generating trivial cofibrations and a different set of generating cofibrations than the Cohen, Coquand, Huber, and Mörtberg (CCHM) model. Next, we describe a constructive model of this type theory in Cartesian cubical sets. We give a mechanized proof, using Agda as the internal language of cubical sets in the style introduced by Orton and Pitts, that glue, Π, Σ, path, identity, boolean, natural number, suspension types, and the universe itself are Kan in this model, and that the universe is univalent. An advantage of this formal approach is that our construction can also be interpreted in a range of other models, including cubical sets on the connections cube category and the De Morgan cube category, as used in the CCHM model, and bicubical sets, as used in directed type theory.
Cites 35 works (6 here)
With notes (6)
Productive coprogramming with guarded recursion atkey-2013-productive
First steps in synthetic guarded domain theory: step-indexing in the topos of trees birkedalFirstStepsSGDT2012
We present the topos S of trees as a model of guarded recursion. We study the internal dependently-typed higher-order logic of S and show that S models two modal operators, on predicates and types, which serve as guards in recursive definitions of terms, predicates, and types. In particular, we show how to solve recursive type equations involving dependent types. We propose that the internal logic of S provides the right setting for the synthetic construction of abstract versions of step-indexed models of programming languages and program logics. As an example, we show how to construct a model of a programming language with higher-order store and recursive types entirely inside the internal logic of S. Moreover, we give an axiomatic categorical treatment of models of synthetic guarded domain theory and prove that, for any complete Heyting algebra A with a well-founded basis, the topos of sheaves over A forms a model of synthetic guarded domain theory, generalizing the results for S.
Applicative programming with effects mcbride-2008-applicative
In this article, we introduce Applicative functors – an abstract characterisation of an applicative style of effectful programming, weaker than Monads and hence more widespread. Indeed, it is the ubiquity of this programming pattern that drew us to the abstraction. We retrace our steps in this article, introducing the applicative pattern by diverse examples, then abstracting it to define the Applicative type class and introducing a bracket notation that interprets the normal application syntax in the idiom of an Applicative functor. Furthermore, we develop the properties of applicative functors and the generic operations they support. We close by identifying the categorical structure of applicative functors and examining their relationship both with Monads and with Arrow.
Observational equality, now! altenkirch-2007-observational
Sketches of an Elephant: A Topos Theory Compendium johnstone-2002
External (29)
- Canonicity for Cubical Type Theory (2018)
- Guarded Dependent Type Theory with Coinductive Types (2016)
- Programming and Reasoning with Guarded Recursion for Coinductive Types (2016)
- Guarded Cubical Type Theory: Path Equality for Guarded Recursion (CSL 2016) (2016)
- Cubical type theory: a constructive interpretation of the univalence axiom (2016)
- Axioms for modelling cubical type theory in a topos (2016)
- A Model of Guarded Recursion With Clock Synchronisation (2015)
- Internal version of the uniform Kan filling condition (unpublished note) (2015)
- Well-founded sized types in the calculus of constructions (TYPES 2015 talk) (2015)
- Cubical sets as a classifying topos (TYPES 2015) (2015)
- Martin-Löf identity types in the C-systems defined by a universe category (2015)
- A Formalized Proof of Strong Normalization for Guarded Recursive Types (2014)
- A type theory for productive coprogramming via guarded recursion (2014)
- Intensional Type Theory with Guarded Recursive Types qua Fixed Points on Universes (2013)
- The Simplicial Model of Univalent Foundations (after Voevodsky) (2012)
- Step-indexed kripke models over recursive worlds (2011)
- Locales and toposes as spaces (2007)
- Towards a practical programming language based on dependent type theory (PhD thesis) (2007)
- The Coq proof assistant reference manual, Version 8.0 (2004)
- A modality for recursion (2000)
- Lifting Grothendieck universes (unpublished) (1999)
- Extensional Constructs in Intensional Type Theory (1997)
- Internal type theory (1996)
- Sheaves in Geometry and Logic (1992)
- An introduction to fibrations, topos theory, the effective topos and modest sets (tech report) (1992)
- Categories for the Working Mathematician (1978)
- Coproducts of De Morgan algebras (1977)
- An Intuitionistic Theory of Types: Predicative Part (1975)
- Rings of sets (1937)