arXiv:2610.28906cs.LOOct 2026

Manuscript Offprint

arXiv:2610.28906

Strict Equality in Higher Identity Types: Axioms, Completeness, Decidability

Keri D'Angelo, Liron Cohen, Luke Serafin, Dexter Kozen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Reasoning about higher identity types uses two equalities, strict equality and equivalence of cells witnessed by a path. Strict equality is a congruence for every operation on cells, but associativity and the identity laws fail for it. Equivalence of cells satisfies those two laws, but it is not a congruence. Representations of higher identity types often conflate equational properties that hold strictly with those that hold only up to a path. We separate the two and axiomatize the former, introducing SEq, an equational theory generated by eleven axioms for strict equality between cells. We prove soundness and completeness for homotopy models, and completeness already over finite CW-complexes. Nine of these axioms form a strongly normalizing rewrite system whose normal forms are unique up to picture equivalence, and the resulting word problem is decidable in exponential time. We also give presheaf models over a cubical base category in which composition arises from a pushout in the base category itself, without requiring Kan filling structure. The same pushout structure provides explicit higher-dimensional witnesses for associativity and the identity laws.

1 Introduction

Recent years have seen the development of many complementary approaches to understanding the structure of higher types, especially higher identity types, in Martin-Löf type theory and constructive mathematics. This includes topological approaches such as HoTT and univalent foundations [24], categorical approaches such as strong and weak ω\omega-categories and their cubical counterparts [1,13], type-theoretic approaches such as cubical type theory [7,9,12,19], and algebraic approaches such as computads [20]. These approaches are all related on some basic level but may differ in their axiomatizations, choice of primitive concepts, and degree of constructivity.

A fundamental notion, and perhaps the primary motivation for much research in this area, is that of equality at a type, where Martin-Löf's higher identity types play a dominant role. A proof of equality is typically a path in a space, serving as a witness for an equality judgment. This type of equality is often called propositional equality and is denoted ≃\simeq in this paper. This is weaker than strict equality, often called judgmental equality and here denoted =. Paths form spaces themselves, so one may speak of paths between paths, and so on, giving the hierarchy of higher identity types. Many of the structures above were designed to capture the properties of this hierarchy at an abstract level.

In this paper we focus on the model theory of higher identity types in their various incarnations as weak ω\omega-categories, homotopy models, and presheaf models over cubical sets. Our starting point is the observation that standard presentations tend to conflate desirable equational properties that come from strict equality (=) and those that come from equivalence as witnessed by a path ( ≃\simeq), whereas there are subtle but important reasons to treat them separately. For example, two n-cells of a higher identity type can be composed only when their boundaries agree on the nose: the composite 1^1 α∘n−knβ\alpha \circ_n - k^n \beta exists only if srckα=tgtkβ\text{src}^k \alpha = \text{tgt}^k \beta, and no path

1^{1}For α\alpha and β\beta n-dimensional cells, α∘kmβ\alpha \circ_k^m \beta means the composition of α\alpha and β\beta along their (n−k)(n-k)th (m−1)(m-1)-dimensional faces; see section 2.1 for the definition.

can be asked to witness that equation, because until it holds there is nothing for a path to connect. The same is true of the globular laws srctgtα=src2α\text{srctgt}\alpha = \text{src}^2\alpha and tgtsrcα=tgt2α\text{tgt}\text{src}\alpha = \text{tgt}^2\alpha.

Standard presentations, however, do not isolate it and in fact mix laws that hold strictly with laws that hold only up to equivalence witnessed by a path. Strict equality enjoys the advantage that all relevant algebraic operations (e.g., the globular maps src and tgt, the identity map id, and compositions ∘kn\circ_k^n) are congruences. However, associativity of composition and the identity laws α=α∘n−knidksrckα\alpha = \alpha \circ_{n-k}^n \text{id}^k \text{src}^k \alpha and α=idktgtkα∘n−knα\alpha = \text{id}^k \text{tgt}^k \alpha \circ_{n-k}^n \alpha do not hold strictly, but only up to ≃\simeq. On the other hand, although ≃\simeq satisfies associativity and the identity laws, it fails to be a congruence with respect to id. Write α≃β\alpha \simeq \beta when some cell ϕ\phi one dimension higher has α\alpha as source and β\beta as target. If id α≃idβ\alpha \simeq \text{id} \beta via ϕ\phi, then α=srcidα=srcsrcϕ=srctgtϕ=srcidβ=β\alpha = \text{src} \text{id} \alpha = \text{src} \text{src} \phi = \text{src} \text{tgt} \phi = \text{src} \text{id} \beta = \beta, using only src id α=α\alpha = \alpha and the globular law. So ≃\simeq can be a congruence for id only if it is equality.

Definitions of weak ω\omega-categories [5,6,8,13,16–18] and computads [20] impose both kinds of law at once. The division also presents itself in the exchange rule that is usually presented as a law of ≃\simeq, yet under the standard topological definition of composition it holds strictly. Another example is id α=idα∘n−1nidα\alpha = id \alpha \circ_{n-1}^n id \alpha. In the strict setting it is an immediate consequence of the identity laws [1,11,13], and its type-theoretic shadow is the judgmental equality refl a⋅refla≡reflaa \cdot refl a \equiv refl a of [24, §2.1]. But once the identity laws are weakened to hold only up to ≃\simeq, it seems that it must be taken as a law in its own right.

These observations indicate that there is insight to be gained from a more careful separation of concerns. We propose to consider separately the properties of = and ≃\simeq in models of higher identity types. In this paper, we focus on the former. We provide SEq, an equational axiomatization of strict equality (=) consisting of eleven equational axioms and explore its consequences. The axiomatization consists of various well-known laws involving the globular maps src and tgt, the identity map id, and compositions ∘mn\circ_m^n, including the globular laws and exchange. Thus our strict equational theory is quite different from computads [13, 20], which are assumed to satisfy associativity and identity laws for composition, and from strong ω\omega-categories [22], in which additionally id is a congruence. Futia [13] takes a step in this direction and considers the two equational theories separately, but his axiomatization of the strict theory does not mention the equation id α=idα∘n−1nidα\alpha = id \alpha \circ_{n-1}^n id \alpha and treats the exchange law as a property of ≃\simeq. The separation of the two layers also has a semantic counterpart: Swan [23] shows that path types and identity types can be separated in presheaf models of univalent type theory.

Our main results are that SEq is sound and complete for the strict equational theory of all homotopy models. More strongly, we show that it is sound for a (very wide) class of presheaf models over a certain cubical base category and complete for a (very narrow) class of topological models, namely the finite CW-complexes. We also show that the equational theory admits an exponential-time decision procedure.

That the laws of SEq hold on the nose is a consequence of how composition is obtained. Cubical algebra has carried composition as primitive structure since [1,11], where each ∘mn\circ_m^n is part of the data. The presheaf models of cubical type theory do not. They differ in what the interval object of the base category carries, a de Morgan algebra in [12] and merely Cartesian structure in [2], but in all of them composition of cells is absent from the base category: each type must instead be equipped with Kan composition structure of its own. Thus, composition is not primitive and does not respect globularity. We here recover it as structure on the base category itself (§5). Concretely, we propose a primitive composition mechanism in the form of a certain pushout on the base category of cubes. One can then define compositions natively without recourse to space-filling and in a way that respects the structure of higher identity types.

The construction provides a direct, constructive account of the weak laws. In standard presheaf models of cubical type theory, higher-dimensional witnesses are obtained through Kan filling, whereas we construct them from morphisms of the cubical base category. In particular, witnesses for associativity and identity laws arise from the same pushout structure defining composition, and coherence conditions such as the pentagon identity can be verified equationally. This complements our decidability result for strict equality: equality of terms in our equational theory can be decided algorithmically, while associativity and the identity laws are given explicit witnesses.