Definition
The torus is a Higher Inductive Type with a 2-dimensional path constructor, representing the topological torus.
Constructors:
- (basepoint)
- (first loop)
- (second loop)
- (surface witnessing commutativity)
The torus is defined natively as a HIT with a basepoint, two loops through that point, and a 2-dimensional path (surface) witnessing that the two loops commute.
Properties
The torus has fundamental group , corresponding to the two independent loops and .
The 2-dimensional path constructor ensures that the two loops commute up to homotopy, which is essential for the correct homotopy type of the torus.
Alternative Definitions
The torus can also be defined as the product of two circles, which is provably equivalent to this HIT definition.
Related Concepts
Higher Inductive Type Circle (HIT) Spheres (HIT) Product Type Fundamental Group Homotopy Group