Infinity-Categories and Quasi-Categories

⚡ Key Takeaways

Infinity-categories (∞\infty-categories, more precisely (∞,1)(\infty,1)-categories) are categorical structures with objects, morphisms, and an infinite hierarchy of higher morphisms between morphisms, where all kk-morphisms for k≥2k \geq 2 are weakly invertible. Quasi-categories are a concrete, combinatorially tractable model for (∞,1)(\infty,1)-categories given by simplicial sets satisfying the weak Kan (inner horn filling) condition. Key result: the homotopy theory of quasi-categories is a model for the homotopy theory of homotopy theories, equivalent to simplicial categories, complete Segal spaces, and relative categories. Used in derived algebraic geometry, stable homotopy theory, topological field theory, and the theory of ∞\infty-topoi. Introduced by Boardman–Vogt (1973) as "weak Kan complexes," developed by Joyal, and made into a comprehensive theory by Lurie (2009).

💡 The Core Insight

Replace the set of morphisms Hom⁡(x,y)\operatorname{Hom}(x,y) by a space (an ∞\infty-groupoid), and accept that composition is a contractible choice rather than a function. A quasi-category packages this with a single elegant lifting condition: composability data and witnesses to composition live in the same simplicial set, and the inner-horn-filling axiom simultaneously (a) guarantees composites exist, (b) makes them unique up to a contractible space of choices, and (c) supplies all higher associativity coherences for free. The distinction between "00" and "11" in (∞,1)(\infty,1) is exactly that 11-morphisms need not be invertible while everything above is.

Formal Statement

DefinitionSimplicial set

A simplicial set is a functor X ⁣:Δop→SetX \colon \Delta^{\mathrm{op}} \to \mathbf{Set}, where Δ\Delta is the simplex category with objects [n]={0<1<⋯<n}[n] = \{0 < 1 < \cdots < n\} and morphisms the order-preserving maps. We write Xn:=X([n])X_n := X([n]) for the set of nn-simplices, with face maps di ⁣:Xn→Xn−1d_i \colon X_n \to X_{n-1} and degeneracy maps si ⁣:Xn→Xn+1s_i \colon X_n \to X_{n+1} satisfying the simplicial identities:

1
didj=dj−1di (i<j),sisj=sj+1si (i≤j),disj={sj−1dii<jidi∈{j,j+1}sjdi−1i>j+1.\quad d_i d_j = d_{j-1} d_i \ (i<j), \qquad s_i s_j = s_{j+1} s_i \ (i \le j), \qquad d_i s_j = \begin{cases} s_{j-1} d_i & i<j \\ \mathrm{id} & i \in \{j, j+1\} \\ s_j d_{i-1} & i > j+1. \end{cases}

Derivation hint: each identity is the image under XX of the corresponding relation among coface δi\delta^i and codegeneracy σj\sigma^j maps in Δ\Delta, obtained by composing order-preserving maps and reading off which factorization applies.

DefinitionHorns and the inner horn condition

The standard nn-simplex is the representable functor Δn:=Hom⁡Δ(−,[n])\Delta^n := \operatorname{Hom}_\Delta(-,[n]). Its boundary ∂Δn\partial\Delta^n is the union of all faces, and the kk-th horn Λkn⊂Δn\Lambda^n_k \subset \Delta^n is the union of all faces except the kk-th:

2
Λkn  =  ⋃ i≠k di(Δn−1)  ⊂  ∂Δn  ⊂  Δn.\quad \Lambda^n_k \;=\; \bigcup_{\,i \ne k\,} d_i(\Delta^{n-1}) \;\subset\; \partial\Delta^n \;\subset\; \Delta^n.

Derivation hint: ∂Δn\partial\Delta^n is the colimit over proper monomorphisms [m]↪[n][m] \hookrightarrow [n]; remove the single face dkd_k (image of δk ⁣:[n−1]→[n]\delta^k\colon [n-1]\to[n]) from this colimit to obtain the horn. A horn is inner if 0<k<n0 < k < n, and outer if k∈{0,n}k \in \{0, n\}. A simplicial set XX is a quasi-category (or weak Kan complex, or ∞\infty-category) if every inner horn admits a filler: for all 0<k<n0 < k < n and every map σ0 ⁣:Λkn→X\sigma_0 \colon \Lambda^n_k \to X there exists σ ⁣:Δn→X\sigma \colon \Delta^n \to X with σ∣Λkn=σ0\sigma|_{\Lambda^n_k} = \sigma_0:

3
Λkn→  σ0  X↓↗∃ σΔn(0<k<n).\quad \begin{array}{ccc} \Lambda^n_k & \xrightarrow{\;\sigma_0\;} & X \\ \big\downarrow & \nearrow_{\exists\,\sigma} & \\ \Delta^n & & \end{array} \qquad (0 < k < n).

Derivation hint: a map out of Λkn\Lambda^n_k is, by the Yoneda lemma and the horn's colimit description, exactly a compatible family of (n−1)(n-1)-simplices on the included faces; the filler σ\sigma supplies the missing face dkσd_k\sigma together with the interior nn-simplex.

DefinitionKan complex vs. quasi-category vs. nerve
  • If XX satisfies the filling condition for all horns (0≤k≤n0 \le k \le n), it is a Kan complex — a model for an ∞\infty-groupoid (a space).
  • The nerve N(C)N(\mathcal{C}) of an ordinary category C\mathcal{C} has N(C)n=Fun⁡([n],C)N(\mathcal{C})_n = \operatorname{Fun}([n],\mathcal{C}), the set of length-nn composable chains. Then N(C)N(\mathcal{C}) is a quasi-category, and inner horns have unique fillers.
4
X is the nerve of a category  ⟺  every inner horn has a unique filler.\quad X \text{ is the nerve of a category} \iff \text{every inner horn has a } \textit{unique} \text{ filler.}

Derivation hint: the unique filler condition is the Segal condition with uniqueness, forcing Xn→∼X1×X0⋯×X0X1X_n \xrightarrow{\sim} X_1 \times_{X_0} \cdots \times_{X_0} X_1 to be a bijection; this exhibits XX as determined by objects X0X_0 and a strictly associative composition on X1X_1.

TheoremJoyal: existence of the Joyal model structure

There is a model structure on the category sSet\mathbf{sSet} of simplicial sets, the Joyal model structure, whose:

  • cofibrations are the monomorphisms,
  • fibrant objects are exactly the quasi-categories,
  • weak equivalences are the categorical equivalences (maps inducing equivalences of homotopy categories after enrichment),
  • fibrations between fibrant objects are the isofibrations.

The fibrant objects model (∞,1)(\infty,1)-categories, and this model structure is Quillen-equivalent to the model structures on simplicial categories, complete Segal spaces, and Segal categories.

TheoremThe homotopy category

Every quasi-category XX has a homotopy category hX\mathrm{h}X, an ordinary category with Ob⁡(hX)=X0\operatorname{Ob}(\mathrm{h}X) = X_0 and morphisms the homotopy classes of edges. Two edges f,g ⁣:x→yf, g \colon x \to y are homotopic if there is a 22-simplex exhibiting f≃gf \simeq g via a degenerate edge. Composition in hX\mathrm{h}X is defined by choosing fillers of Λ12\Lambda^2_1:

5
g∘f:=d1(σ),where σ ⁣:Δ2→X, d2σ=f, d0σ=g.\quad g \circ f := d_1(\sigma), \qquad \text{where } \sigma \colon \Delta^2 \to X,\ d_2\sigma = f,\ d_0\sigma = g.

Derivation hint: a 22-simplex σ\sigma has faces d2σ=fd_2\sigma = f (0→10\to1), d0σ=gd_0\sigma = g (1→21\to2), d1σd_1\sigma (0→20\to2); the inner horn Λ12\Lambda^2_1 is exactly (f,g)(f,g), and any filler's long edge d1σd_1\sigma is a composite, well-defined up to homotopy by uniqueness-up-to-contractibility of fillers.

⚠️ Common mistake

The composite g∘fg \circ f in [5] is not a function on the nose: it depends on a choice of filler σ\sigma. What the inner-horn axiom guarantees is that the space of fillers (and more generally the space of all higher coherence data) is contractible, so g∘fg \circ f is well-defined in the homotopy category hX\mathrm{h}X and coherent up to all higher homotopies in XX itself. Treating g∘fg\circ f as a strict operation is the single most common error.

Why It Holds / Derivation

ProofComposition is associative up to coherent homotopy

We show that the inner-horn condition forces associativity to hold up to homotopy, with the homotopy itself canonical.

Step 1 (Composites exist). Given f ⁣:x→yf\colon x\to y and g ⁣:y→zg\colon y\to z, the pair (f,g)(f,g) defines a map Λ12→X\Lambda^2_1 \to X. Inner-horn filling yields σ\sigma with d1σ=:g∘fd_1\sigma =: g\circ f. ∎(existence)

Step 2 (Three composables give a Λ13\Lambda^3_1 or Λ23\Lambda^3_2). Given f ⁣:x→yf\colon x\to y, g ⁣:y→zg\colon y\to z, h ⁣:z→wh\colon z\to w, form the 22-simplices σ012\sigma_{012} (witnessing g∘fg\circ f), σ123\sigma_{123} (witnessing h∘gh\circ g), and choose composites to fill in the remaining faces of a 33-simplex. Two of the four faces of Δ3\Delta^3 together with the chosen composites assemble into an inner horn Λ13\Lambda^3_1.

Step 3 (Fill the 33-horn). Inner-horn filling gives τ ⁣:Δ3→X\tau\colon\Delta^3 \to X. Its faces are 22-simplices; reading off d0τd_0\tau and d3τd_3\tau identifies the two bracketings:

6
d2(d1τ)=h∘(g∘f),d0(d3τ) relates (h∘g)∘f,\quad d_2(d_1 \tau) = h\circ(g\circ f), \qquad d_0(d_3\tau)\ \text{relates}\ (h\circ g)\circ f,

and the interior of τ\tau is precisely a homotopy h∘(g∘f)≃(h∘g)∘fh\circ(g\circ f) \simeq (h\circ g)\circ f. Derivation hint: enumerate the four faces diτd_i\tau of the filled 33-simplex; each is a 22-simplex asserting one composition relation. The Pachner-style "matching" of the four faces around the long edge 0→30\to3 is the associator.

Step 4 (Higher coherence). Pentagon-type coherences arise identically from inner 44-horns Λk4\Lambda^4_k, 0<k<40<k<4, and inductively all coherences from Λkn\Lambda^n_k. The contractibility of the space of fillers (Joyal's theorem) ensures these homotopies are themselves coherent, not merely existent. ■\blacksquare

∎
TheoremMapping spaces are Kan complexes

For a quasi-category XX and objects x,y∈X0x,y \in X_0, the mapping space Map⁡X(x,y)\operatorname{Map}_X(x,y) — defined e.g. as the (left) hom-space Hom⁡XL(x,y)\operatorname{Hom}^L_X(x,y) or via the simplicial enrichment after fibrant replacement — is a Kan complex. Equivalently, XX is a category enriched (up to coherence) in ∞\infty-groupoids.

7
π0Map⁡X(x,y)  ≅  Hom⁡hX(x,y).\quad \pi_0 \operatorname{Map}_X(x,y) \;\cong\; \operatorname{Hom}_{\mathrm{h}X}(x,y).

Derivation hint: model Map⁡X(x,y)\operatorname{Map}_X(x,y) as the fiber of XΔ1→X∂Δ1=X×XX^{\Delta^1} \to X^{\partial\Delta^1} = X\times X over (x,y)(x,y); the inner-horn condition on XX upgrades the inner lifting to all horn lifting on this fiber because both endpoints are pinned, making it a Kan complex.

mathematician · Jacob Lurie | b. 1977

Lurie's two foundational monographs reshaped the subject. Higher Topos Theory (2009) took Joyal's quasi-categories and built the entire apparatus of category theory — (co)limits, adjoint functors, presentable and accessible ∞\infty-categories, ∞\infty-topoi, the ∞\infty-categorical Yoneda lemma — at full generality and rigor. Higher Algebra developed symmetric monoidal ∞\infty-categories, En\mathbb{E}_n-algebras, stable ∞\infty-categories, and the foundations of derived/spectral algebraic geometry. Earlier, André Joyal (b. 1943) is the architect of the quasi-categorical model itself: he established the Joyal model structure, the theory of the homotopy coherent nerve, and most of the basic combinatorics, building on the 1973 "weak Kan complexes" of J. Michael Boardman and Rainer Vogt.

Building Intuition

🧠 Intuition

Picture an ordinary category as a graph with composition law: dots (objects) and arrows (morphisms), where any two head-to-tail arrows have a unique composite. Now imagine you are no longer allowed to name the composite — instead, whenever you have ff then gg, you must draw a triangle whose third side is "a composite." Different triangles give different but homotopic composites. An nn-simplex in a quasi-category is a coherent diagram of all composites of nn arrows, recording not just the answers but the witnesses, the witnesses-of-witnesses, and so on forever. The inner/outer distinction is illuminating: filling an inner horn Λ12=(f,g)\Lambda^2_1 = (f, g) means "compose two given composable arrows" — always possible. Filling an outer horn Λ02=(f,h)\Lambda^2_0 = (f, h) with f ⁣:x→yf\colon x\to y, h ⁣:x→zh\colon x\to z would mean "find g ⁣:y→zg\colon y\to z with g∘f=hg\circ f = h" — i.e., invert/divide, which a general category cannot do. That outer horns may fail is exactly what makes 11-morphisms non-invertible; demanding all horns fill collapses you to a Kan complex (an ∞\infty-groupoid), where every morphism is an equivalence.

Figure
An inner 22-horn and its filler: composition as triangle-filling
Λ²₁ = (f, g) → filler σ supplies g∘f inner horn (given) x (0) y (1) z (2) f g ⟹ filled 2-simplex σ x y z f g g∘f = d₁σ The gold edge is the composite; the gold-shaded interior is the witness that g∘f is a composite of g and f.

Worked Examples

ExampleCounting horn-filling data in the nerve of a poset

Given. Let P={0<1<2}P = \{0 < 1 < 2\} as a poset (a category). Compute its nerve N(P)N(P) low-dimensionally and verify the unique inner-horn condition.

Steps. 1. N(P)0=Fun⁡([0],P)={0,1,2}N(P)_0 = \operatorname{Fun}([0],P) = \{0,1,2\} — three objects. 2. N(P)1=Fun⁡([1],P)={N(P)_1 = \operatorname{Fun}([1],P) = \{order-preserving [1]→P}[1]\to P\}. These are pairs (a≤b)(a\le b): there are (32)+3=3+3=6\binom{3}{2}+3 = 3 + 3 = 6 (the 33 nondegenerate edges 0 ⁣→ ⁣1, 1 ⁣→ ⁣2, 0 ⁣→ ⁣20\!\to\!1,\,1\!\to\!2,\,0\!\to\!2 plus 33 degenerate identities). 3. N(P)2=Fun⁡([2],P)={(a≤b≤c)}N(P)_2 = \operatorname{Fun}([2],P) = \{(a\le b\le c)\}. The unique nondegenerate 22-simplex is (0≤1≤2)(0\le1\le2). 4. Inner horn Λ12\Lambda^2_1 with d2=(0→1)d_2 = (0\to1), d0=(1→2)d_0 = (1\to2): the only filler is (0≤1≤2)(0\le1\le2), and its third face d1=(0→2)d_1 = (0\to2).

Boxed answer.

  N(P)0=3,N(P)1=6,#{nondeg. 2-simplices}=1,the Λ12-filler is unique.  \boxed{\;N(P)_0 = 3,\quad N(P)_1 = 6,\quad \#\{\text{nondeg. } 2\text{-simplices}\} = 1,\quad \text{the } \Lambda^2_1\text{-filler is unique.}\;}

The uniqueness confirms [4]: N(P)N(P) is the nerve of a strict category. (Units: pure counts, dimensionless.)

ExampleThe mapping space in a Kan complex: π1\pi_1 recovered

Given. Let X=N(BG)X = N(BG) where BGBG is the one-object groupoid of a discrete group GG — equivalently view the Kan complex W‾G\overline{W}G modeling the classifying space BGBG. Take the unique object ∗\ast. Compute Map⁡X(∗,∗)\operatorname{Map}_X(\ast,\ast) and its homotopy.

Steps. 1. BGBG has one object and morphisms GG, all invertible, so N(BG)N(BG) is a Kan complex (every morphism is an equivalence ⟹ outer horns fill). 2. By [7], π0Map⁡X(∗,∗)=Hom⁡hX(∗,∗)=G\pi_0\operatorname{Map}_X(\ast,\ast) = \operatorname{Hom}_{\mathrm{h}X}(\ast,\ast) = G as a set. 3. Composition in hX\mathrm{h}X is the group multiplication; the mapping space is the discrete simplicial set on GG, so πnMap⁡=0\pi_n\operatorname{Map} = 0 for n≥1n\ge1. 4. The space XX itself satisfies π1(X,∗)=G\pi_1(X,\ast) = G and πn(X)=0\pi_n(X) = 0 for n≠1n\neq1 — it is a K(G,1)K(G,1).

Boxed answer.

  Map⁡N(BG)(∗,∗)≃G (discrete),π1(N(BG))≅G,πn=0 (n≥2).  \boxed{\;\operatorname{Map}_{N(BG)}(\ast,\ast) \simeq G \ (\text{discrete}),\qquad \pi_1(N(BG)) \cong G,\quad \pi_{n}=0\ (n\ge2).\;}

For G=Z/2G = \mathbb{Z}/2: ∣Map⁡∣=2|\operatorname{Map}| = 2 points, π1=Z/2\pi_1 = \mathbb{Z}/2. (Units: group elements / homotopy groups, dimensionless.)

Common Misconceptions

⚠️ Common mistake

"A quasi-category is just a simplicial set with extra structure." No — it is a simplicial set satisfying a property (the inner-horn lifting condition). Unlike a topological category or a strictly associative enriched category, no composition function is part of the data. The composition is recovered from the property, and only up to contractible choice. This is why quasi-categories are so flexible: limits, functor categories (YX=Fun⁡(X,Y)Y^X = \operatorname{Fun}(X,Y) is again a quasi-category when YY is), and slices are constructed by purely simplicial operations.

⚠️ Common mistake

Confusing equivalences in XX with isomorphisms in hX\mathrm{h}X. An edge ff in a quasi-category is an equivalence iff it becomes an isomorphism in hX\mathrm{h}X — but you must check invertibility up to homotopy with witnesses, not on the nose. Joyal's theorem: XX is a Kan complex iff hX\mathrm{h}X is a groupoid iff every edge of XX is an equivalence. Do not conflate "ff has a one-sided homotopy inverse" with "ff is an equivalence" until you have checked the coherence.

CounterexampleOuter horns genuinely fail

Take the nerve N(C)N(\mathcal{C}) of the category C=(x→fy)\mathcal{C} = (x \xrightarrow{f} y) with two objects and one nonidentity arrow. Consider the outer horn Λ02→N(C)\Lambda^2_0 \to N(\mathcal{C}) given by d2=f ⁣:x→yd_2 = f\colon x\to y and d1=idx ⁣:x→xd_1 = \mathrm{id}_x\colon x\to x. A filler would require an edge d0 ⁣:y→xd_0\colon y \to x with appropriate 22-simplex, i.e. a morphism y→xy\to x in C\mathcal{C} — but none exists. Thus N(C)N(\mathcal{C}) fills all inner horns yet fails this outer one, confirming it is a quasi-category but not a Kan complex. The failure encodes exactly that ff is not invertible.

CounterexampleA simplicial set that is NOT a quasi-category

Let X=Δ1⊔Δ0Δ1X = \Delta^1 \sqcup_{\Delta^0} \Delta^1 — two edges f ⁣:x→yf\colon x\to y and g ⁣:y→zg\colon y\to z glued at yy, with no 22-simplices added (the literal 11-skeleton union). The map Λ12→X\Lambda^2_1 \to X sending the horn to (f,g)(f,g) has no filler, since XX has no 22-simplices besides degeneracies and no edge x→zx\to z. Hence XX is not a quasi-category. Its fibrant replacement in the Joyal model structure freely adds the composite and all higher coherences, yielding (up to equivalence) Δ2\Delta^2, i.e. the nerve of (x→y→z)(x\to y\to z).

Connections

connection

Quasi-categories sit at the crossroads of several frameworks. Via the homotopy coherent nerve N\mathfrak{N}, they are equivalent to Simplicial Categories (categories enriched in simplicial sets); N\mathfrak{N} is a right Quillen equivalence from the Bergner model structure to the Joyal model structure. They are equivalent to Complete Segal Spaces (Rezk's bisimplicial model) and to Segal Categories, all four being models of The Homotopy Theory of Homotopy Theories. Restricting to Kan complexes recovers Infinity-Groupoids, and by the homotopy hypothesis these are spaces — so quasi-categories generalize both ordinary Category Theory (via the nerve) and Homotopy Theory (via Kan complexes). Stable examples connect to Stable Infinity-Categories and Spectra; presentable examples to Infinity-Topoi and Derived Algebraic Geometry. The straightening/unstraightening equivalence relates them to Cartesian Fibrations and the ∞\infty-Grothendieck construction.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1957 — Kan. Daniel Kan introduces the extension condition (horn filling for all horns); Kan complexes become the combinatorial model for spaces.
- 1967 — Quillen. Homotopical Algebra introduces model categories, providing the abstract homotopy-theoretic foundation later used to compare ∞\infty-categorical models.
- 1973 — Boardman & Vogt. In Homotopy Invariant Algebraic Structures on Topological Spaces, they define weak Kan complexes (inner-horn fillers) and the homotopy coherent nerve — the first appearance of quasi-categories.
- 1980s — Dwyer–Kan. Simplicial localization and the theory of simplicial categories provide an early "homotopy theory of homotopy theories."
- 1991 / 2001 — Joyal. André Joyal develops the theory systematically, constructs the Joyal model structure, proves quasi-categories support full category theory; circulates the influential Theory of Quasi-Categories notes.
- 2001 — Rezk. Charles Rezk introduces complete Segal spaces, a Segal-condition model later shown equivalent to quasi-categories.
- 2007 — Bergner. Julia Bergner establishes the model structure on simplicial categories and proves equivalences among the four main models (with Joyal–Tierney, Lurie).
- 2009 — Lurie. Higher Topos Theory gives a comprehensive, rigorous development: presentable ∞\infty-categories, ∞\infty-topoi, the ∞\infty-Yoneda lemma, straightening/unstraightening.
- 2012–2017 — Lurie; Cisinski; Riehl–Verity. Higher Algebra; Cisinski's model-categorical treatment; Riehl–Verity's ∞\infty-cosmoi giving a model-independent "synthetic" approach.

Subtleties & Limits

open-problem

Model-independence and synthetic foundations. Although all major models are Quillen-equivalent, transporting a theorem proved in one model to another can be delicate; the Riehl–Verity ∞\infty-cosmos program and Homotopy Type Theory-flavored "directed type theory" aim for genuinely model-independent or formal foundations. Open and active questions include:

  • A fully satisfactory directed/simplicial type theory that internally axiomatizes ∞\infty-categories (progress: Riehl–Shulman's simplicial HoTT, but a complete computer-checkable foundation is incomplete).
  • Efficient, computable models for (∞,n)(\infty,n)-categories for general nn — complicial sets, Θn\Theta_n-spaces, and nn-fold Segal spaces all exist, but practical manipulation remains hard.
  • The precise scope of strictification: when can coherence data be replaced by strict structure? (Power's and Lack's strictification theorems give partial answers; the ∞\infty case is subtle.)
  • Foundations and size issues: large quasi-categories, universes, and the interaction of ∞\infty-categorical logic with set-theoretic foundations are still being clarified.

See Also

Simplicial Sets · Kan Complexes · Simplicial Categories · Complete Segal Spaces · Segal Categories · Model Categories · Stable Infinity-Categories · Infinity-Topoi · Cartesian Fibrations · Higher Algebra · The Cobordism Hypothesis · Derived Algebraic Geometry · Infinity-Groupoids · The Homotopy Theory of Homotopy Theories