module Homotopy.Space.Torus where
The torusš
In classical topology, the two-dimensional torus may be defined as the product of circles, i.e., may be defined as Alternatively, the space may be presented as a CW complex, built by beginning with a point, attaching two 1-cells to form the wedge of two circles, and finishing by attaching a 2-cell.
Such a CW complex can be regarded as a higher inductive type,
regarding the 0-cell as a constructor base
, the two 1-cells as
distinct paths base ā” base
, and the
2-cell as a square with its top and bottom edges attached to one of the
1-cells, and its left and right edge attached to the other.
data TĀ² : Type where base : TĀ² loopA : base ā” base loopB : base ā” base square : Square loopA loopB loopB loopA
The resulting HIT is equivalent to the product of two circles.
open is-iso TĀ²āSĀ¹ĆSĀ¹ : TĀ² ā” ( SĀ¹ Ć SĀ¹ ) TĀ²āSĀ¹ĆSĀ¹ = ua (TĀ²āSĀ¹ĆSĀ¹ , is-isoāis-equiv iso-pf) where TĀ²āSĀ¹ĆSĀ¹ : TĀ² ā SĀ¹ Ć SĀ¹ TĀ²āSĀ¹ĆSĀ¹ base = base , base TĀ²āSĀ¹ĆSĀ¹ (loopA i) = loop i , base TĀ²āSĀ¹ĆSĀ¹ (loopB j) = base , loop j TĀ²āSĀ¹ĆSĀ¹ (square i j) = loop i , loop j SĀ¹ĆSĀ¹āTĀ² : SĀ¹ Ć SĀ¹ ā TĀ² SĀ¹ĆSĀ¹āTĀ² (base , base) = base SĀ¹ĆSĀ¹āTĀ² (base , loop j) = loopB j SĀ¹ĆSĀ¹āTĀ² (loop i , base) = loopA i SĀ¹ĆSĀ¹āTĀ² (loop i , loop j) = square i j iso-pf : is-iso TĀ²āSĀ¹ĆSĀ¹ iso-pf .inv = SĀ¹ĆSĀ¹āTĀ² iso-pf .rinv (base , base) = refl iso-pf .rinv (base , loop j) = refl iso-pf .rinv (loop i , base) = refl iso-pf .rinv (loop i , loop j) = refl iso-pf .linv base = refl iso-pf .linv (loopA i) = refl iso-pf .linv (loopB j) = refl iso-pf .linv (square i j) = refl
Showing that the torus described as a HIT is equivalent to the
product of two circles is Exercise 6.3 of the HoTT Book, but this
exercise includes a warning that āthe path algebra for this is rather
difficult.ā The brevity of the above proof ā straightforward invocations
of refl
ā is a testament to
the strength of cubical methods.