Definition. Homotopy groups of a pointed type [01KJ]

Let X be a pointed type. For n\geq 1, the nth homotopy group of X, written \pi _nX is defined as follows.

  1. The underlying set \left \lvert {\pi _nX}\right \rvert is the 0-truncation \lVert \Omega ^nX\rVert _0.
  2. The semigroup operation \bullet _{\pi _n X} is the unique function equipped with an identification of the following form: \lvert p \rvert _0 \bullet _{\pi _n X} \lvert q \rvert _0 =_{\left \lvert {\pi _n X}\right \rvert } \lvert p\bullet q \rvert _0 Above, we are using the universal property of the reflection \lvert -\rvert _0\colon \left \lvert {\Omega ^n X}\right \rvert \to \bigl \lVert \left \lvert {\Omega ^nX}\right \rvert \bigr \rVert _0 to extend the pasting operation of loops (self-identifications of the base point) to the 0-truncation. Associativity then follows from associativity of pasting.