Univalence: What It Means Here

Appendix D

2 min read

Univalence: What It Means Here

If two types are equivalent, can you substitute one for the other—and with what evidence? The univalence axiom gives the strongest possible answer. This appendix states the axiom, defines transport, and explains why the main text uses a weaker engineering version.

The Univalence Axiom

Univalence Axiom

For types AA and BB in a universe U\mathcal{U}, the canonical map idtoeqv:(A=B)(AB)\mathsf{idtoeqv} : (A = B) \to (A \simeq B) is an equivalence. That is: (AB)(A=B)(A \simeq B) \simeq (A = B).

Equivalence of types is equality of types. If you exhibit e:ABe : A \simeq B, then AA and BB are identical for all purposes: anything proved about AA holds automatically for BB.

Transport

Transport

Given a type family P:UUP : \mathcal{U} \to \mathcal{U} and an identification p:A=Bp : A = B, transport is the function transportP(p):P(A)P(B)\mathsf{transport}^P(p) : P(A) \to P(B). It moves data, proofs, and constructions across the identification.

Univalence guarantees that transport exists; it does not always tell you how to compute it. In axiomatic HoTT, some transported terms are "stuck" (they have the right type but don't reduce to canonical forms). Cubical type theory solves this by making transport a definable operation. The main text does not assume computational univalence.

Engineering Univalence (A16)

Engineering Univalence (A16)

To substitute BB for AA in a context expecting AA, you must provide a witnessed equivalence e:ABe : A \simeq B and, for each property PP the context relies on, an explicit transport certificate τP:P(A)P(B)\tau_P : P(A) \to P(B) that computes the transported property. Substitution is valid if and only if both are exhibited.

AspectFull UnivalenceEngineering Univalence (A16)
FoundationHoTT / Cubical Type TheoryPractical systems
GuaranteeTransport always existsTransport must be exhibited
ComputationComputes (cubical) / may be stuck (axiomatic)Always computes (by construction)
RequirementEquivalence witnessEquivalence witness + transport certificates
Failure modeType errorMissing certificate (specific property)

Engineering univalence is weaker than full univalence but implementable today. Witnesses are already required (A10), certificates are auditable, and failures are localized to specific missing properties. The discipline: don't claim equivalence implies substitutability—exhibit the mechanism.

← Back to AppendicesBack to The Proofs →