CW-complex, Hausdorff space, second-countable space, sober space
connected space, locally connected space, contractible space, locally contractible space
An Eilenberg–Mac Lane space is a connected topological space with nontrivial homotopy groups only in a single degree.
For $n \in \mathbb{N}$ and $G$ a group, and an abelian group if $n \geq 2$, then an Eilenberg-MacLane space $K(G,n)$ is a topological space with the property that all its homotopy groups are trivial, except that in degree $n$, which is $G$.
For $G$ a group, the Eilenberg–Mac Lane space $K(G,1)$ is the image under the homotopy hypothesis Quillen equivalence $|-| : \infty Grpd \to Top$ of the one-object groupoid $\mathbf{B}G$ whose hom-set is $G$:
The construction of EM-spaces $K(A,n)$ for an abelian group $A$ may be given by the Dold-Kan correspondence between chain complexes and simplicial abelian groups: let $A[-n]$ be the chain complex which is $A$ in dimension $n$ and zero elsewhere; the geometric realisation of the corresponding simplicial abelian group is then a $K(A,n)$.
We can include the case $n=1$ when $G$ may be nonabelian, by regarding $C(G,n)$ as a crossed complex. Its classifying space $B(C(G,n))$ is then a $K(G,n)$. (This also includes the case $n=0$ when $G$ is just a set!) This method also allows for the construction of $K(M,n;G,1)$ where $G$ is a group, or groupoid, and $M$ is a $G$-module. This gives a space with $\pi_1 =G$, $\pi_n=M$ all other homotopy trivial, and with the given operation of $\pi_1$ on $\pi_n$.
For $A$ an abelian group, the Eilenberg–Mac Lane space $K(A,n)$ is the image of the ∞-groupoid $\mathbf{B}^n A$ that is the strict ω-groupoid given by the crossed complex $[\mathbf{B}^n A]$ that is trivial everywhere except in degree $n$, where it is $A$:
So
Therefore Eilenberg–Mac Lane spaces constitute a spectrum: the Eilenberg–Mac Lane spectrum.
In general, if $A$ is an abelian topological group, then there exist a model for the classifying space $\mathcal{B}A$ which is an abelian topological group. Iterating this construction, one has a notion of $\mathcal{B}^n A$ and a model for it which is an abelian topological group. If moreover $A$ is discrete, then $\mathcal{B}A=|\mathbf{B}A|=K(A,1)$, and one inductively sees that $\mathcal{B}^n A=|\mathbf{B}^n A|=K(A,n)$. Therefore one has a model for $K(A,n)$ which is an abelian topological group.
See for instance (May, chapter 16, section 5)
For $A$ an abelian group and $n \in \mathbb{N}$, the reduced $A$-linearization $A[S^n]_\ast$ of the n-sphere $S^n$ is the topological space, whose underlying set is the quotient
of the tensor product with $A$ of the free abelian group on the underlying set of $S^n$, by the relation that identifies every formal linear combination of the (any fixed) basepoint of $S^n$ with 0. The topology is the induced quotient topology (of the disjoint union of product topological spaces, where $A$ is equipped with the discrete topology).
(Aguilar-Gitler-Prieto 02, def. 6.4.20)
For $A$ a countable abelian group, then the reduced $A$-linearization $A[S^n]_\ast$ (def. 1) is an Eilenberg-MacLane space, in that its homotopy groups are
(in particular for $n \geq 1$ then there is a unique connected component and hence we need not specify a basepoint for the homotopy group).
(Aguilar-Gitler-Prieto 02, corollary 6.4.23)
The topological space $A[S^n]_\ast$ in definition 1 has a canonical continuous action of the orthogonal group $O(n)$, by regarding $S^n \simeq (\mathbb{R}^n)^\ast$ as the one-point compactification of Cartesian space. Hence, in view of prop. 1, these models for EM-spaces lend themselves to the defintiion of Eilenberg-MacLane spectra as orthogonal spectra. See there.
One common use of Eilenberg–Mac Lane spaces is as coefficient objects for “ordinary” cohomology (see e.g. May, chapter 22).
The $n$th “ordinary” cohomology of a topological space $X$ with coefficients in $G$ (when $n=1$) or $A$ (generally) is the collection of homotopy classes of maps from $X$ into $K(G,1)$ or $K(A,n)$, respectively:
Here on the right $Ho_{Top}$ and $Ho_{\infty Grpd}$ denotes the homotopy category of the (∞,1)-categories of topological spaces and of ∞-groupoids, respectively.
Not only the set $\pi_0\mathbf{Top}(X, K(A,n))=Ho_{Top}(X, K(A,n))$ is related to the cohomology of $X$ with coefficients in $A$, but also the higher homotopy groups $\pi_i\mathbf{Top}(X, K(A,n))$ are, and in the most obvious way: if $X$ is a connected CW-complex, then
for any choice of base point on the right hand sides. This fact, which appears to have first been remarked by Thom and Federer, is an immediate consequence of the natural homotopy equivalences
and
one has in every $(\infty,1)$-topos, see loop space object. For $G$ a nonabelian group, Gottlieb proves the following nonabelian analogue of the above result: let $X$ be a finite dimensional connected CW-complex; for a fixed map $f:X\to K(G,1)$, let $C_f$ be the centralizer in $G=\pi_1 K(G,1)$ of $f_*(\pi_1(X))$. Then the connected component of $f$ in $\mathbf{Top}(X,K(G,1))$ is a $K(C_f,1)$.
Notice that for $G$ a nonabelian group, $H^1(X,G)$ is a simple (and the most familiar) example of nonabelian cohomology. Nonabelian cohomology in higher degrees is obtained by replacing here the coefficient $\infty$-groupoids of the simple form $\mathbf{B}^n A$ with more general $\infty$-groupoids.
On the other hand there is the cohomology of Eilenberg-MacLane spaces itself. This is in general rich. Classical results by Serre and Henri Cartan are reviewed in (Clement 02, section 2).
For all even $n \in \mathbb{N}$, the ordinary cohomology ring of $K(\mathbb{Z},n)$ with coefficients in the rational numbers is the polynomial algebra on the generator $a \in H^n(K(\mathbb{Z},n),\mathbb{Q}) \simeq \mathbb{Q}$. For all odd $n$ it is the exterior algebra on this generator:
This is reviewed for instance in (Yin, section 4).
The notion of Eilenberg–Mac Lane object makes sense in every $(\infty,1)$-topos, not just in $L_{whe}$Top. See at Eilenberg-MacLane object.
Textbook references include
Marcelo Aguilar, Samuel Gitler, Carlos Prieto, section 6 of Algebraic topology from a homotopical viewpoint, Springer (2002) (toc pdf)
The construction via reduced linearization of spheres is considered in
Quick review includes
Formalization of Eilenberg-MacLane spaces in homotopy type theory is discussed in
The cohomology of Eilenberg-MacLane spaces is discussed in