6.6 Cell complexes
In classical topology![]()
, a cell complex is a space obtained by successively attaching discs along their boundaries.It is called a CW complex if the boundary of an -dimensional disc is constrained to lie in the discs of dimension
![]()
strictly less than (the -skeleton).
Any finite CW complex can be presented as a higher inductive type, by turning -dimensional discs into -dimensional paths and partitioning the image of the attaching map into a source and a target, with each written as a composite of lower dimensional paths.Our explicit definitions of and in §6.4 (http://planetmath.org/64circlesandspheres) had this form.
Another example is the torus , which is generated by:
- •
a point ,
- •
a path ,
- •
another path , and
- •
a 2-path .
Perhaps the easiest way to see that this is a torus is to start with a rectangle, having four corners , four edges , and an interior which is manifestly a 2-path from to :
HoTT_fig_6.6.1.png
Now identify the edge with and the edge with , resulting in also identifying all four corners.Topologically, this identification can be seen to produce a torus.
The induction![]()
principle for the torus is the trickiest of any we’ve written out so far.Given , for a section
we require
- •
a point ,
- •
a path ,
- •
a path , and
- •
a 2-path between the “composites” and , lying over .
In order to make sense of this last datum, we need a composition operation for dependent paths, but this is not hard to define.Then the induction principle gives a function such that and and and something like “”.However, this is not well-typed as it stands, firstly because the equalities and are not judgmental, and secondly because only preserves path concatenation up to homotopy.We leave the details to the reader (see http://planetmath.org/node/87797Exercise 6.1).
Of course, another definition of the torus is (in http://planetmath.org/node/87800Exercise 6.3 we ask the reader to verify the equivalence of the two).The cell-complex definition, however, generalizes easily to other spaces without such descriptions, such as the Klein bottle, the projective plane![]()
, etc.But it does get increasingly difficult to write down the induction principles, requiring us to define notions of dependent -paths and of acting on -paths.Fortunately, once we have the spheres in hand, there is a way around this.