[Paper Review] Cartesian Cubical Computational Type Theory: Constructive Reasoning with Paths and Equalities
This paper presents a constructive computational interpretation of higher-dimensional type theory using Cartesian cubical type theory with univalent Kan universes, exact equality types, and pretypes. It establishes canonicity for boolean types via a deterministic operational semantics, ensuring closed boolean terms evaluate to true or false, thereby providing a computational foundation for homotopy type theory with full support for univalence and higher inductive types.
This is the third in a series of papers extending Martin-Löf's meaning explanations of dependent type theory to a Cartesian cubical realizability framework that accounts for higher-dimensional types. We extend this framework to include a cumulative hierarchy of univalent Kan universes of Kan types, exact equality and other pretypes lacking Kan structure, and a cumulative hierarchy of pretype universes. As in Parts I and II, the main result is a canonicity theorem stating that closed terms of boolean type evaluate to either true or false. This establishes the computational interpretation of Cartesian cubical higher type theory based on cubical programs equipped with a deterministic operational semantics.
Motivation & Objective
- To extend computational higher type theory with a cumulative hierarchy of univalent Kan universes and pretypes.
- To formalize exact equality types that internalize judgmental equality without requiring Kan structure.
- To establish canonicity for closed boolean terms in a cubical, constructive type theory with deterministic operational semantics.
- To provide a computational semantics for univalent type theory based on cubical programs and realizability.
Proposed method
- Define types as behavioral specifications of program behavior, using dimension-indexed relations between programs with deterministic operational semantics.
- Use Cartesian cubes with dimension names, faces, diagonals, and weakening to model higher-dimensional structure without equational reasoning at the dimension level.
- Introduce Kan operations: coercion (coe) and homogeneous composition (hcom) for Kan types, ensuring box completion and path consistency.
- Distinguish pretypes (non-Kan types) from Kan types, with exact equality types EqA(M,N) that are not Kan in general but can be Kan in specific cases like nat.
- Construct univalent universes UKan_j and Upre_j for Kan and pretype hierarchies, with univalence proven in RedPRL.
- Formalize type formers including dependent function, product, path, and Glue types (Vr(A,B,E)) with equality and composition rules.
Experimental results
Research questions
- RQ1How can univalent universes be constructed in a constructive, computational type theory with deterministic semantics?
- RQ2What is the role of exact equality types in a cubical type theory that supports both Kan and non-Kan types?
- RQ3How can canonicity for boolean types be established in a higher-dimensional type theory with paths and equalities?
- RQ4What are the computational consequences of allowing Kan operations (coe, hcom) on types that are not necessarily Kan?
- RQ5How can the distinction between pretypes and Kan types be formalized while preserving closure under common type formers?
Key findings
- The paper proves a canonicity theorem: every closed term of boolean type evaluates to either true or false under the deterministic operational semantics.
- Univalent Kan universes UKan_j are constructed and proven univalent in RedPRL, with a formal proof available via a Git repository.
- Exact equality types EqA(M,N) are not Kan in general, but can be Kan when A is a discrete Kan type such as nat.
- The theory supports higher inductive types via dimension-parametrized constructors with prescribed boundaries, such as the circle S1 generated by base and loopx.
- The system distinguishes between discrete Kan types (e.g., nat, bool), where all paths are exactly equal to reflexivity, and general Kan types.
- The RedPRL implementation has been extended to support line types (x:dim) → A and refined judgment forms for dimension-abstraction, improving practical usability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.