Univalence: What It Means Here
Appendix D
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
For types and in a universe , the canonical map is an equivalence. That is: .
Equivalence of types is equality of types. If you exhibit , then and are identical for all purposes: anything proved about holds automatically for .
Transport
Given a type family and an identification , transport is the function . 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)
To substitute for in a context expecting , you must provide a witnessed equivalence and, for each property the context relies on, an explicit transport certificate that computes the transported property. Substitution is valid if and only if both are exhibited.
| Aspect | Full Univalence | Engineering Univalence (A16) |
|---|---|---|
| Foundation | HoTT / Cubical Type Theory | Practical systems |
| Guarantee | Transport always exists | Transport must be exhibited |
| Computation | Computes (cubical) / may be stuck (axiomatic) | Always computes (by construction) |
| Requirement | Equivalence witness | Equivalence witness + transport certificates |
| Failure mode | Type error | Missing 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.