Reference. Can We Formalise Type Theory Intrinsically without Any Compromise? A Case Study in Cubical Agda
Cite
Cites 55 works (5 here)
With notes (5)
Type Theory in Type Theory using a Strictified Syntax kaposi_pujet_2025
Towards Computational UIP in Cubical Agda tan_etal_2025
Some advantages of Cubical Type Theory, as implemented by Cubical Agda, over intensional Martin-Löf Type Theory include Quotient Inductive Types (QITs), which exist as instances of Higher Inductive Types, and functional extensionality, which is provable in Cubical Type Theory. However, HoTT features an infinite hierarchy of equalities that may become unwieldy in formalisations. Fortunately, QITs and functional extensionality are both preserved even if the equality levels of Cubical Type Theory are truncated to only homotopical Sets (h-Sets). In other words, removing the univalence axiom from Cubical Type Theory and instead postulating a conflicting axiom: the Uniqueness of Identity Proofs (UIP) postulate. Since univalence is proved in Cubical Type Theory from the so-called Glue Types, therefore, it is known that one can first remove the Glue Types (thus removing univalence) and then set-truncate all equalities (essentially assuming UIP), à la XTT. The result is a “h-Set Cubical Type Theory” that retains features such as functional extensionality and QITs.
However, in Cubical Agda, there are currently only two unsatisfying ways to achieve h-Set Cubical Type Theory. The first is to give up on the canonicity of the theory and simply postulate the UIP axiom, while the second way is to use a standard result stating “type formers preserve h-levels” to manually prove UIP for every defined type. The latter is, however, laborious work best suited for an automatic implementation by the proof assistant. In this project, we analyse formulations of UIP and detail their computation rules for Cubical Agda, and evaluate their suitability for implementation. We also implement a variant of Cubical Agda without Glue, which is already compatible with postulated UIP, in anticipation of a future implementation of UIP in Cubical Agda.
A Cubical Language for Bishop Sets sterling-2022-a
Semantics of higher inductive types lumsdaine-2019-semantics
Quotient Inductive-Inductive Types altenkirch_etal_2018
External (50)
- The groupoid-syntax of type theory is a set (2026)
- Can We Formalise Type Theory Intrinsically without Any Compromise? A Case Study in Cubical Agda (Artefact) (2025)
- Towards Computational UIP in Cubical Agda (Master's thesis, Ecole polytechnique) (2025)
- Agda PR #7861: Implement a –cubical=no-glue option (2025)
- Towards quotient inductive types in observational type theory (TYPES'25 abstract) (2025)
- Observational Equality Meets CIC (2024)
- Strict syntax of type theory via alpha-normalisation (TYPES'24 talk) (2024)
- Observational Coq (GitHub repository) (2024)
- Impredicative Observational Equality (2023)
- Internal strict propositions using point-free equations (2022)
- Observational equality: now for good (2022)
- Agda PR #5897: skip generating cubical clauses for Prop stuff (2022)
- Displayed categories (1Lab) (2022)
- Cubical Agda: A dependently typed programming language with univalence and higher inductive types (2021)
- Agda issue #5362: Interleaved mutual and equality constructors (2021)
- A Proof and Formalization of the Initiality Conjecture of Dependent Type Theory (Licentiate thesis, Stockholm University) (2020)
- Signatures and Induction Principles for Higher Inductive-Inductive Types (2020)
- Large and Infinitary Quotient Inductive-Inductive Types (2020)
- Generalised algebraic presentation of type theory (Coquand, note) (2020)
- POPLMark reloaded: Mechanizing proofs by logical relations (2019)
- Setoid Type Theory—A Syntactic Translation (2019)
- A formalization of the initiality conjecture in Agda (2019)
- Definitional proof-irrelevance without K (2019)
- Re: Separate definition of constructors? Post to the Agda mailing list, https://web.archive.org/web/20241004151846/https://lists.chalmers.se/pipermail/agda/2019/011176.html (2019)
- Constructing quotient inductive-inductive types (2019)
- Agda issue #3750: A variant of Cubical Agda that is consistent with UIP (2019)
- Natural models of homotopy type theory (2018)
- Normalisation by Evaluation for Type Theory, in Type Theory (2017)
- The essence of ornaments (2017)
- Type theory in a type theory with quotient inductive types (PhD thesis, Nottingham) (2017)
- Type theory in type theory using quotient inductive types (2016)
- Programming with ornaments (2016)
- The Local Universes Model (2015)
- Transporting functions across ornaments (2014)
- Small Induction Recursion (2013)
- Running circles around (in) your proof assistant (2011)
- Outrageous but meaningful coincidences (2010)
- Type Theory Should Eat Itself (2009)
- A Formalisation of a Dependently Typed Language as an Inductive-Recursive Family (2007)
- Towards observational type theory (2006)
- A Finite Axiomatization of Inductive-Recursive Definitions (1999)
- Dependently Typed Functional Programs and their Proofs (PhD thesis, Edinburgh) (1999)
- Some Lambda Calculus and Type Theory Formalized (1999)
- Extensional Constructs in Intensional Type Theory (1997)
- Internal type theory (1996)
- Comprehension categories and the semantics of type dependency (1993)
- Semantics of Type Theory (1991)
- Une sémantique catégorique des types dépendents (Ehrhard, PhD thesis) (1988)
- Generalised algebraic theories and contextual categories (1986)
- Locally cartesian closed categories and type theory (1984)