The classifying space of the integer group $\mathbb{Z}$ can be defined as the geometric realization of the underlying groupoid $\mathcal{B}\mathbb{Z}$.
To unwind, $\mathcal{B}\mathbb{Z}$ is simply the category with one object, with $\mathbb{Z}$ as its morphism space. The geometric realization $|\mathcal{B} \mathbb{Z}|$ is a topological space (CW-complex) defined inductively:
- To each object, assign a point.
- To each morphism, assign a 1-disk (segment) with corresponding end points.
- To each 2-tuple of composable morphisms $(f,g)$, assign a 2-disk with corresponding 1-disks as boundary.
- To each 3-tuple of composable morphisms $(f,g,h)$, assign a 3-disk... and so on.
It seems like a huge topological space, but there's a theorem I heard several times stating that it's really the classifying space of principal $\mathbb{Z}$-bundles, which turns out to be the $1$-sphere $S^1$ homotopically.
My ultimate goal is to understand (theoretically and pictorially) the proof of the general statement above, for general groups $G$ instead of just $\mathbb{Z}$. I think it will be good to start with this simplest case.
Question: However, I find it rough to visualize how the infinitely defined space above is homotopic to $S^1$. Could you point out how?
More fun: think in this vein for that $|\mathcal{B}\mathbb{Z_2}|$ is $RP^\infty$ and that $|\mathcal{J}|$ is $E\mathbb{Z}_2$, where $\mathcal{J}$ is the unique category with two objects $X,Y$ and four morphisms $f:X\to Y, g:Y\to X$.