Skip to main content
QUICK REVIEW

[Paper Review] Computational Higher Type Theory I: Abstract Cubical Realizability

Carlo Angiuli, Robert Harper|arXiv (Cornell University)|Apr 29, 2016
Logic, programming, and type systemsComputer Science8 references17 citations
TL;DR

This paper presents a computational interpretation of higher-dimensional type theory using a Martin-Löf-style meaning explanation grounded in a programming language with Kan-like operations. It establishes a canonicity theorem showing that closed boolean terms always evaluate to true or false, even in the presence of higher-dimensional structure, providing the first fully computational formulation of higher type theory with univalence and higher inductive types.

ABSTRACT

Brouwer's constructivist foundations of mathematics is based on an intuitively meaningful notion of computation shared by all mathematicians. Martin-Löf's meaning explanations for constructive type theory define the concept of a type in terms of computation. Briefly, a type is a complete (closed) program that evaluates to a canonical type whose members are complete programs that evaluate to canonical elements of that type. The explanation is extended to incomplete (open) programs by functionality: types and elements must respect equality in their free variables. Equality is evidence-free---two types or elements are at most equal---and equal things are implicitly interchangeable in all contexts. Higher-dimensional type theory extends type theory to account for identifications of types and elements. An identification witnesses that two types or elements are explicitly interchangeable in all contexts by an explicit transport, or coercion, operation. There must be sufficiently many identifications, which is ensured by imposing a generalized form of the Kan condition from homotopy theory. Here we provide a Martin-Löf-style meaning explanation of simple higher-dimensional type theory based on a programming language that includes Kan-like constructs witnessing the computational meaning of the higher structure of types. The treatment includes an example of a higher inductive type (namely, the 1-dimensional sphere) and an example of Voevodsky's univalence principle, which identifies equivalent types. The main result is a computational canonicity theorem that validates the computational interpretation: a closed boolean expression must always evaluate to a boolean value, even in the presence of higher-dimensional structure. This provides the first fully computational formulation of higher-dimensional type theory.

Motivation & Objective

  • To develop a computational foundation for higher-dimensional type theory based on Martin-Löf's meaning explanations.
  • To address the challenge of ensuring canonicity—specifically, that closed terms of observable types reduce to canonical values—despite the presence of higher-dimensional structure.
  • To provide a fully computational semantics for univalence and higher inductive types, such as the circle, using explicit path and coercion operations.
  • To extend the operational semantics of type theory to include dimension names, path abstractions, and Kan operations that model identifications as computable transformations.
  • To validate that the computational interpretation remains sound and complete under the full structure of an ∞-groupoid, including coherence conditions.

Proposed method

  • Introduces dimension contexts and dimension terms (0, 1, and dimension variables) to model abstract intervals and higher-dimensional cubes.
  • Defines a deterministic operational semantics for evaluating closed terms to canonical forms at each dimension, with substitution and renaming of dimension variables.
  • Introduces H-composition (hcom) and coercion (coer) operations to model path-filling and transport, ensuring the uniform Kan condition.
  • Models types as collections of terms across dimensions, with equality defined via path-based identifications and coherence under substitution.
  • Applies the framework to higher inductive types (e.g., the circle) and univalence, using explicit path constructors and type isomorphisms.
  • Establishes a meaning explanation where types and terms are interpreted computationally, with equality closed under substitution and path operations.

Experimental results

Research questions

  • RQ1Can higher-dimensional type theory be given a fully computational meaning explanation that preserves canonicity for observable types like booleans?
  • RQ2How can univalence be computationally realized in a type theory with explicit paths and transports?
  • RQ3What computational semantics can be given to higher inductive types such as the 1-sphere, with explicit path constructors?
  • RQ4How do Kan operations (hcom, coer) ensure coherence and uniformity in the presence of higher-dimensional structure?
  • RQ5Can the framework support the full structure of an ∞-groupoid, including path composition, inverses, and associativity, in a computationally meaningful way?

Key findings

  • A closed boolean term of dimension zero always evaluates to either true or false, establishing computational canonicity for observable types in higher-dimensional type theory.
  • The framework supports the univalence principle by providing a computational interpretation of type isomorphisms as explicit paths between types.
  • The circle type is modeled with a base point and a loop, and its elimination principle is given a computational semantics using path abstraction and coercion.
  • The H-composition operation ensures that all boundary conditions are satisfied uniformly, enabling the construction of paths from their boundaries.
  • The coercion operation allows for the transport of terms along paths, with explicit computational rules that preserve equality under substitution.
  • The entire system is closed under substitution and path operations, ensuring that the structure of an ∞-groupoid is computationally realized.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.