The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V27. Algebraic topology and condensed mathematics

Mathlib.AlgebraicTopology.SimplicialSet.KanComplex

9 declarations. Mathlib docs · Source

Kan complexes

In this file, the abbreviation KanComplex is introduced for fibrant objects in the category SSet which is equipped with Kan fibrations.

In Mathlib/AlgebraicTopology/Quasicategory/Basic.lean we show that every Kan complex is a quasicategory.

TODO

  • Show that the singular simplicial set of a topological space is a Kan complex.

theorem SSet.horn.IsCompatible.liftOfKanComplex.congr_simp E1 #

∀ {X : SSet} {n : ℕ} {i : Fin (n + 2)} {f f_1 : (j : Fin (n + 2)) → j ≠ i → (SSet.stdSimplex.obj { len := n } ⟶ X)}
  (e_f : f = f_1) [inst : X.KanComplex] (hf : SSet.horn.IsCompatible f), hf.liftOfKanComplex = ⋯.liftOfKanComplex

abbrev SSet.KanComplex E1 #

SSet → Prop

A simplicial set S is a Kan complex if it is fibrant, which means that the projection S ⟶ ⊤_ _ has the right lifting property with respect to horn inclusions.

theorem SSet.KanComplex.hornFilling E1 #

∀ {S : SSet} [S.KanComplex] {n : ℕ} {i : Fin (n + 2)} (σ₀ : (SSet.horn (n + 1) i).toSSet ⟶ S),
  ∃ σ, σ₀ = CategoryTheory.CategoryStruct.comp (SSet.horn (n + 1) i).ι σ

A Kan complex S satisfies the following horn-filling condition: for every nonzero n : ℕ and 0 ≤ i ≤ n, every map of simplicial sets σ₀ : Λ[n, i] → S can be extended to a map σ : Δ[n] → S.

theorem SSet.horn.IsCompatible.exists_lift_of_kanComplex E1 #

∀ {X : SSet} {n : ℕ} {i : Fin (n + 2)} {f : (j : Fin (n + 2)) → j ≠ i → (SSet.stdSimplex.obj { len := n } ⟶ X)}
  [X.KanComplex],
  SSet.horn.IsCompatible f →
    ∃ φ, ∀ (j : Fin (n + 2)) (hj : j ≠ i), CategoryTheory.CategoryStruct.comp (SSet.stdSimplex.δ j) φ = f j hj

def SSet.horn.IsCompatible.liftOfKanComplex E1 #

{X : SSet} →
  {n : ℕ} →
    {i : Fin (n + 2)} →
      {f : (j : Fin (n + 2)) → j ≠ i → (SSet.stdSimplex.obj { len := n } ⟶ X)} →
        [X.KanComplex] → SSet.horn.IsCompatible f → (SSet.stdSimplex.obj { len := n + 1 } ⟶ X)

If X is a Kan complex and f : ∀ (j : Fin (n + 2)) (_ : j ≠ i), Δ[n] ⟶ X is a compatible family of morphisms (which defines a morphism Λ[n + 1, i] ⟶ X), then this is a lifting Δ[n + 1] ⟶ X.

theorem SSet.horn.IsCompatible.δ_liftOfKanComplex E1 #

∀ {X : SSet} {n : ℕ} {i : Fin (n + 2)} {f : (j : Fin (n + 2)) → j ≠ i → (SSet.stdSimplex.obj { len := n } ⟶ X)}
  [inst : X.KanComplex] (hf : SSet.horn.IsCompatible f) (j : Fin (n + 2))
  (hj : autoParam (j ≠ i) SSet.horn.IsCompatible.δ_liftOfKanComplex._auto_1),
  CategoryTheory.CategoryStruct.comp (SSet.stdSimplex.δ j) hf.liftOfKanComplex = f j hj

theorem SSet.horn.IsCompatible.δ_liftOfKanComplex_assoc E1 #

∀ {X : SSet} {n : ℕ} {i : Fin (n + 2)} {f : (j : Fin (n + 2)) → j ≠ i → (SSet.stdSimplex.obj { len := n } ⟶ X)}
  [inst : X.KanComplex] (hf : SSet.horn.IsCompatible f) (j : Fin (n + 2))
  (hj : autoParam (j ≠ i) SSet.horn.IsCompatible.δ_liftOfKanComplex._auto_1) {Z : SSet} (h : X ⟶ Z),
  CategoryTheory.CategoryStruct.comp (SSet.stdSimplex.δ j) (CategoryTheory.CategoryStruct.comp hf.liftOfKanComplex h) =
    CategoryTheory.CategoryStruct.comp (f j hj) h

theorem SSet.KanComplex.iff E1 #

∀ {Z : SSet},
  Z.KanComplex ↔
    ∀ ⦃n : ℕ⦄ ⦃i : Fin (n + 2)⦄ (f : (j : Fin (n + 2)) → j ≠ i → (SSet.stdSimplex.obj { len := n } ⟶ Z)),
      SSet.horn.IsCompatible f →
        ∃ φ, ∀ (j : Fin (n + 2)) (hj : j ≠ i), CategoryTheory.CategoryStruct.comp (SSet.stdSimplex.δ j) φ = f j hj

A simplicial set X is a Kan complex iff for any n : ℕ, i : Fin (n + 2), and any family of morphisms Δ[n] ⟶ Z for all j ≠ i that is compatible (in the sense that it extends to a morphism Λ[n + 1, i] ⟶ X), there exists a morphism Δ[n + 1] ⟶ Z which induces the given family of morphisms on the faces j ≠ i.

instance SSet.instKanComplexOp E0 #

∀ {X : SSet} [X.KanComplex], X.op.KanComplex