Homotopy type theory

Homotopy type theory (HoTT) is Martin-LΓΆf type theory adorned with higher inductive types and the Univalence axiom.

Interpretation of TypeTypea\TA\Type

A central idea in HoTT is the many equivalent interpretations of the statement TypeTypea\TA\Type:

Paths

The core idea of HoTT and univalent foundations is a correspondence between paths Path A x x and equalities x = y.

  refl : βˆ€ {β„“} {A : Set β„“} {x : A} β†’ Path A x x
  refl {x = x} = Ξ» i β†’ x

While propositions are simply true or false, the path perspective has more structure.

While the traditional notion of equality captures merely the source and destination, the path view additionally captures the exact way you get from A to B β€” i.e. proof relevance.

In Cubical Agda, this translates to an element of type x ≑ y being a description of how to traverse a path from x to y. The "i value" tells you how far along that path we are.

See also

References