ConceptComplete

Mapping Space

In a quasi-category C\mathcal{C}, the mapping space Map⁡C(x,y)\operatorname{Map}_{\mathcal{C}}(x, y) between two objects is a Kan complex (an ∞\infty-groupoid or "space") whose points are morphisms from xx to yy, whose paths are homotopies between morphisms, and so on. Mapping spaces replace the hom-sets of ordinary categories with homotopy-coherent objects, capturing the full higher structure of ∞\infty-categories.


Definition

Definition3.1Mapping space (via simplicial enrichment)

Let C\mathcal{C} be a quasi-category and x,y∈C0x, y \in \mathcal{C}_0 two objects. The mapping space Map⁡C(x,y)\operatorname{Map}_{\mathcal{C}}(x, y) is a Kan complex whose nn-simplices are maps Δ[n]×Δ[1]→C\Delta[n] \times \Delta[1] \to \mathcal{C} that restrict to the constant map at xx on Δ[n]×{0}\Delta[n] \times \{0\} and the constant map at yy on Δ[n]×{1}\Delta[n] \times \{1\}.

More precisely, there are several equivalent models:

  1. Right mapping space: Hom⁡CR(x,y)n={f:Δ[n]⋆Δ[0]→C:f∣Δ[n]=x,f(Δ[0])=y}\operatorname{Hom}^R_{\mathcal{C}}(x, y)_n = \{f: \Delta[n] \star \Delta[0] \to \mathcal{C} : f|_{\Delta[n]} = x, f(\Delta[0]) = y\} where ⋆\star is the join.

  2. Left mapping space: Hom⁡CL(x,y)n={f:Δ[0]⋆Δ[n]→C:f(Δ[0])=x,f∣Δ[n]=y}\operatorname{Hom}^L_{\mathcal{C}}(x, y)_n = \{f: \Delta[0] \star \Delta[n] \to \mathcal{C} : f(\Delta[0]) = x, f|_{\Delta[n]} = y\}.

  3. Maximal Kan complex of the slice: Map⁡C(x,y)≃(Cx/×C{y})≃\operatorname{Map}_{\mathcal{C}}(x, y) \simeq (\mathcal{C}_{x/} \times_{\mathcal{C}} \{y\})^\simeq.

All three models are Kan complexes that are naturally weakly equivalent.


Low-Dimensional Structure

Example0-simplices: morphisms

The 00-simplices of Map⁡C(x,y)\operatorname{Map}_{\mathcal{C}}(x, y) are precisely the morphisms from xx to yy in C\mathcal{C}: the 11-simplices f∈C1f \in \mathcal{C}_1 with d1(f)=xd_1(f) = x and d0(f)=yd_0(f) = y.

π0(Map⁡C(x,y))=Hom⁡h⁡C(x,y)\pi_0(\operatorname{Map}_{\mathcal{C}}(x, y)) = \operatorname{Hom}_{\operatorname{h}\mathcal{C}}(x, y)

where h⁡C\operatorname{h}\mathcal{C} is the homotopy category of C\mathcal{C}.

Example1-simplices: homotopies

A 11-simplex in Map⁡C(x,y)\operatorname{Map}_{\mathcal{C}}(x, y) is a homotopy between two morphisms f,g:x→yf, g: x \to y. Concretely, it is a 22-simplex σ∈C2\sigma \in \mathcal{C}_2 with d2(σ)=idxd_2(\sigma) = \mathrm{id}_x (or idy\mathrm{id}_y, depending on the model), d0(σ)=gd_0(\sigma) = g and d1(σ)=fd_1(\sigma) = f.

Two morphisms are in the same connected component of Map⁡C(x,y)\operatorname{Map}_{\mathcal{C}}(x, y) if and only if they are homotopic.

Example2-simplices: homotopies between homotopies

A 22-simplex in Map⁡C(x,y)\operatorname{Map}_{\mathcal{C}}(x, y) is a homotopy between homotopies. This higher structure is essential: while the homotopy category only sees π0\pi_0 of the mapping spaces, the full mapping space retains information about π1,π2,…\pi_1, \pi_2, \ldots

For instance, in S\mathcal{S} (the ∞\infty-category of spaces), Map⁡S(X,Y)≃Map⁡(X,Y)\operatorname{Map}_{\mathcal{S}}(X, Y) \simeq \operatorname{Map}(X, Y), the topological mapping space. Its higher homotopy groups πn(Map⁡(X,Y),f)\pi_n(\operatorname{Map}(X, Y), f) record obstructions to deforming maps.


Examples

ExampleMapping spaces in nerves

For a nerve N(C)N(\mathcal{C}), the mapping space Map⁡N(C)(x,y)\operatorname{Map}_{N(\mathcal{C})}(x, y) is the discrete simplicial set Hom⁡C(x,y)\operatorname{Hom}_{\mathcal{C}}(x, y): a set with no higher homotopical information. This is because N(C)N(\mathcal{C}) has unique inner horn fillers, so there is no room for non-trivial homotopies between morphisms.

π0(Map⁡N(C)(x,y))=Hom⁡C(x,y)\pi_0(\operatorname{Map}_{N(\mathcal{C})}(x, y)) = \operatorname{Hom}_{\mathcal{C}}(x, y) and πn=0\pi_n = 0 for n≥1n \geq 1.

ExampleMapping spaces in Kan complexes

For a Kan complex XX, the mapping space Map⁡X(x,y)\operatorname{Map}_X(x, y) is the space of paths from xx to yy. This is the based loop space Ωx,yX\Omega_{x,y} X when x=yx = y: Map⁡X(x,x)≃ΩxX\operatorname{Map}_X(x, x) \simeq \Omega_x X.

πn(Map⁡X(x,x))≅πn+1(X,x)\pi_n(\operatorname{Map}_X(x, x)) \cong \pi_{n+1}(X, x)

So the mapping space in a Kan complex records the shifted homotopy groups.

ExampleMapping spaces in the infinity-category of spaces

In the ∞\infty-category S\mathcal{S} of spaces, the mapping space is the usual mapping space:

Map⁡S(X,Y)≃Map⁡(X,Y)\operatorname{Map}_{\mathcal{S}}(X, Y) \simeq \operatorname{Map}(X, Y)

For X=S1X = S^1 and Y=S2Y = S^2: Map⁡(S1,S2)≃ΩS2×S2\operatorname{Map}(S^1, S^2) \simeq \Omega S^2 \times S^2, which has π0=Z\pi_0 = \mathbb{Z} (winding number is trivial for maps S1→S2S^1 \to S^2, so only one component) and higher homotopy groups related to those of S2S^2.

For X=SnX = S^n and Y=K(Z,n)Y = K(\mathbb{Z}, n): Map⁡(Sn,K(Z,n))≃Z×K(Z,n)\operatorname{Map}(S^n, K(\mathbb{Z}, n)) \simeq \mathbb{Z} \times K(\mathbb{Z}, n), with π0=Z\pi_0 = \mathbb{Z} classifying cohomology classes.

ExampleMapping spaces in derived categories

For the ∞\infty-category D(R)D(R) (derived ∞\infty-category of RR-modules), the mapping space between complexes CC and DD is:

Map⁡D(R)(C,D)≃DK⁡(τ≥0RHom⁡R(C,D))\operatorname{Map}_{D(R)}(C, D) \simeq \operatorname{DK}(\tau_{\geq 0} \mathbf{R}\operatorname{Hom}_R(C, D))

where DK⁡\operatorname{DK} is the Dold--Kan functor. The connected components give:

π0(Map⁡D(R)(C,D))=Hom⁡D(R)(C,D)=H0(RHom⁡(C,D))\pi_0(\operatorname{Map}_{D(R)}(C, D)) = \operatorname{Hom}_{D(R)}(C, D) = H^0(\mathbf{R}\operatorname{Hom}(C, D)) πn(Map⁡D(R)(C,D))=Ext⁡R−n(C,D)\pi_n(\operatorname{Map}_{D(R)}(C, D)) = \operatorname{Ext}^{-n}_R(C, D)

So the higher homotopy groups of the mapping space are the negative Ext groups.


Composition of Mapping Spaces

ExampleComposition maps

For objects x,y,zx, y, z in a quasi-category C\mathcal{C}, there is a composition map:

Map⁡C(x,y)×Map⁡C(y,z)→Map⁡C(x,z)\operatorname{Map}_{\mathcal{C}}(x, y) \times \operatorname{Map}_{\mathcal{C}}(y, z) \to \operatorname{Map}_{\mathcal{C}}(x, z)

This map is well-defined up to coherent homotopy (not a strict map, but a map in the ∞\infty-categorical sense). It is associative and unital up to coherent homotopy, making C\mathcal{C} into a category "enriched in spaces" in the homotopy-coherent sense.

This composition law is extracted from the 22-simplex fillers in C\mathcal{C}.

ExampleThe homotopy category via mapping spaces

The homotopy category h⁡C\operatorname{h}\mathcal{C} of a quasi-category C\mathcal{C} is the ordinary category with:

Ob⁡(h⁡C)=C0,Hom⁡h⁡C(x,y)=π0(Map⁡C(x,y))\operatorname{Ob}(\operatorname{h}\mathcal{C}) = \mathcal{C}_0, \quad \operatorname{Hom}_{\operatorname{h}\mathcal{C}}(x, y) = \pi_0(\operatorname{Map}_{\mathcal{C}}(x, y))

Composition in h⁡C\operatorname{h}\mathcal{C} is induced by the composition of mapping spaces at the π0\pi_0 level. This is well-defined because the space of composites is connected (contractible, in fact).

The homotopy category loses information: it forgets the higher homotopy groups of the mapping spaces.


Enrichment in Spaces

RemarkEnrichment perspective

A quasi-category can be viewed as a "category enriched in spaces (Kan complexes)" in a homotopy-coherent sense. More precisely:

  1. For each pair of objects (x,y)(x, y), there is a mapping space Map⁡(x,y)\operatorname{Map}(x, y) (a Kan complex).
  2. For each triple (x,y,z)(x, y, z), there is a composition map Map⁡(x,y)×Map⁡(y,z)→Map⁡(x,z)\operatorname{Map}(x, y) \times \operatorname{Map}(y, z) \to \operatorname{Map}(x, z).
  3. Associativity and unitality hold up to coherent homotopy.

This viewpoint connects quasi-categories to the theory of Segal categories (simplicial spaces with a homotopy Segal condition) and to enriched ∞\infty-categories.

The passage from strict enrichment (ordinary categories enriched in Set\mathbf{Set}) to homotopy-coherent enrichment (quasi-categories enriched in Kan\mathbf{Kan}) is the central theme of higher category theory.


Summary

RemarkKey points

Mapping spaces are the fundamental invariant of ∞\infty-categories:

  1. Map⁡C(x,y)\operatorname{Map}_{\mathcal{C}}(x, y) is a Kan complex encoding morphisms, homotopies, and higher homotopies.

  2. π0\pi_0 of the mapping space gives the hom-set in the homotopy category; higher πn\pi_n encode higher coherence data.

  3. In derived categories, the mapping spaces recover Ext groups: πnMap⁡=Ext⁡−n\pi_n \operatorname{Map} = \operatorname{Ext}^{-n}.

  4. Composition is a map of mapping spaces, well-defined up to contractible choice.

  5. Mapping spaces make quasi-categories into "categories enriched in spaces," capturing the essence of homotopy-coherent algebra.