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 / V25. Higher structures in categories

Mathlib.CategoryTheory.Sites.Hypercover.Homotopy

44 declarations. Mathlib docs · Source

The category of 1-hypercovers up to homotopy

In this file we define the category of 1-hypercovers up to homotopy. This is the category of 1-hypercovers, but where morphisms are considered up to existence of a homotopy.

Main definitions

  • CategoryTheory.PreOneHypercover.Homotopy: A homotopy of refinements E ⟶ F is a family of morphisms Xᵢ ⟶ Yₐ where Yₐ is a component of the cover of X_{f(i)} ×[S] X_{g(i)}.
  • CategoryTheory.GrothendieckTopology.HOneHypercover: The category of 1-hypercovers with respect to a Grothendieck topology and morphisms up to homotopy.

Main results

  • CategoryTheory.GrothendieckTopology.HOneHypercover.isCofiltered_of_hasPullbacks: The category of 1-hypercovers up to homotopy is cofiltered if C has pullbacks.

theorem CategoryTheory.PreOneHypercover.Homotopy.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} {f g : E.Hom F} (H : (i : E.I₀) → F.I₁ (f.s₀ i) (g.s₀ i))
  (a : (i : E.I₀) → E.X i ⟶ F.Y (H i))
  (wl : ∀ (i : E.I₀), CategoryTheory.CategoryStruct.comp (a i) (F.p₁ (H i)) = f.h₀ i)
  (wr : ∀ (i : E.I₀), CategoryTheory.CategoryStruct.comp (a i) (F.p₂ (H i)) = g.h₀ i)
  (H_1 : (i : E.I₀) → F.I₁ (f.s₀ i) (g.s₀ i)) (a_1 : (i : E.I₀) → E.X i ⟶ F.Y (H_1 i))
  (wl_1 : ∀ (i : E.I₀), CategoryTheory.CategoryStruct.comp (a_1 i) (F.p₁ (H_1 i)) = f.h₀ i)
  (wr_1 : ∀ (i : E.I₀), CategoryTheory.CategoryStruct.comp (a_1 i) (F.p₂ (H_1 i)) = g.h₀ i),
  ({ H := H, a := a, wl := wl, wr := wr } = { H := H_1, a := a_1, wl := wl_1, wr := wr_1 }) = (H = H_1 ∧ a ≍ a_1)

theorem CategoryTheory.PreOneHypercover.cylinder.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} [inst_1 : CategoryTheory.Limits.HasPullbacks C] (f f_1 : E.Hom F),
  f = f_1 →
    ∀ (g g_1 : E.Hom F),
      g = g_1 → CategoryTheory.PreOneHypercover.cylinder f g = CategoryTheory.PreOneHypercover.cylinder f_1 g_1

def CategoryTheory.PreOneHypercover.Homotopy.ctorIdx E1 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    {S : C} →
      {E : CategoryTheory.PreOneHypercover S} →
        {F : CategoryTheory.PreOneHypercover S} → {f g : E.Hom F} → CategoryTheory.PreOneHypercover.Homotopy f g → ℕ

theorem CategoryTheory.PreOneHypercover.Homotopy.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} {f g : E.Hom F} {H : (i : E.I₀) → F.I₁ (f.s₀ i) (g.s₀ i)}
  {a : (i : E.I₀) → E.X i ⟶ F.Y (H i)}
  {wl : ∀ (i : E.I₀), CategoryTheory.CategoryStruct.comp (a i) (F.p₁ (H i)) = f.h₀ i}
  {wr : ∀ (i : E.I₀), CategoryTheory.CategoryStruct.comp (a i) (F.p₂ (H i)) = g.h₀ i}
  {H_1 : (i : E.I₀) → F.I₁ (f.s₀ i) (g.s₀ i)} {a_1 : (i : E.I₀) → E.X i ⟶ F.Y (H_1 i)}
  {wl_1 : ∀ (i : E.I₀), CategoryTheory.CategoryStruct.comp (a_1 i) (F.p₁ (H_1 i)) = f.h₀ i}
  {wr_1 : ∀ (i : E.I₀), CategoryTheory.CategoryStruct.comp (a_1 i) (F.p₂ (H_1 i)) = g.h₀ i},
  { H := H, a := a, wl := wl, wr := wr } = { H := H_1, a := a_1, wl := wl_1, wr := wr_1 } → H = H_1 ∧ a ≍ a_1

structure CategoryTheory.PreOneHypercover.Homotopy E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {S : C} →
      {E : CategoryTheory.PreOneHypercover S} →
        {F : CategoryTheory.PreOneHypercover S} → E.Hom F → E.Hom F → Type (max (max v w) w')

A homotopy of refinements E ⟶ F is a family of morphisms Xᵢ ⟶ Yₐ where Yₐ is a component of the cover of X_{f(i)} ×[S] X_{g(i)}.

ctor CategoryTheory.PreOneHypercover.Homotopy.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {S : C} →
      {E : CategoryTheory.PreOneHypercover S} →
        {F : CategoryTheory.PreOneHypercover S} →
          {f g : E.Hom F} →
            (H : (i : E.I₀) → F.I₁ (f.s₀ i) (g.s₀ i)) →
              (a : (i : E.I₀) → E.X i ⟶ F.Y (H i)) →
                (∀ (i : E.I₀), CategoryTheory.CategoryStruct.comp (a i) (F.p₁ (H i)) = f.h₀ i) →
                  (∀ (i : E.I₀), CategoryTheory.CategoryStruct.comp (a i) (F.p₂ (H i)) = g.h₀ i) →
                    CategoryTheory.PreOneHypercover.Homotopy f g

abbrev CategoryTheory.PreOneHypercover.Homotopy.H E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {S : C} →
      {E : CategoryTheory.PreOneHypercover S} →
        {F : CategoryTheory.PreOneHypercover S} →
          {f g : E.Hom F} → CategoryTheory.PreOneHypercover.Homotopy f g → (i : E.I₀) → F.I₁ (f.s₀ i) (g.s₀ i)

The index map sending i : E.I₀ to a above (f(i), g(i)).

abbrev CategoryTheory.PreOneHypercover.Homotopy.a E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {S : C} →
      {E : CategoryTheory.PreOneHypercover S} →
        {F : CategoryTheory.PreOneHypercover S} →
          {f g : E.Hom F} → (self : CategoryTheory.PreOneHypercover.Homotopy f g) → (i : E.I₀) → E.X i ⟶ F.Y (self.H i)

The morphism Xᵢ ⟶ Yₐ.

theorem CategoryTheory.PreOneHypercover.Homotopy.wl E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} {f g : E.Hom F} (self : CategoryTheory.PreOneHypercover.Homotopy f g)
  (i : E.I₀), CategoryTheory.CategoryStruct.comp (self.a i) (F.p₁ (self.H i)) = f.h₀ i

theorem CategoryTheory.PreOneHypercover.Homotopy.wr E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} {f g : E.Hom F} (self : CategoryTheory.PreOneHypercover.Homotopy f g)
  (i : E.I₀), CategoryTheory.CategoryStruct.comp (self.a i) (F.p₂ (self.H i)) = g.h₀ i

theorem CategoryTheory.PreOneHypercover.Homotopy.wl_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} {f g : E.Hom F} (self : CategoryTheory.PreOneHypercover.Homotopy f g)
  (i : E.I₀) {Z : C} (h : F.X (f.s₀ i) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (self.a i) (CategoryTheory.CategoryStruct.comp (F.p₁ (self.H i)) h) =
    CategoryTheory.CategoryStruct.comp (f.h₀ i) h

theorem CategoryTheory.PreOneHypercover.Homotopy.wr_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} {f g : E.Hom F} (self : CategoryTheory.PreOneHypercover.Homotopy f g)
  (i : E.I₀) {Z : C} (h : F.X (g.s₀ i) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (self.a i) (CategoryTheory.CategoryStruct.comp (F.p₂ (self.H i)) h) =
    CategoryTheory.CategoryStruct.comp (g.h₀ i) h

theorem CategoryTheory.PreOneHypercover.Homotopy.mapMultiforkOfIsLimit_eq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {A : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} A] {E F : CategoryTheory.PreOneHypercover S} {f g : E.Hom F}
  (H : CategoryTheory.PreOneHypercover.Homotopy f g) (P : CategoryTheory.Functor Cᵒᵖ A)
  {c : CategoryTheory.Limits.Multifork (E.multicospanIndex P)} (hc : CategoryTheory.Limits.IsLimit c)
  (d : CategoryTheory.Limits.Multifork (F.multicospanIndex P)),
  f.mapMultiforkOfIsLimit P hc d = g.mapMultiforkOfIsLimit P hc d

Homotopic refinements induce the same map on multiequalizers.

def CategoryTheory.PreOneHypercover.Homotopy.isLimitMultifork E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {S : C} →
      {E : CategoryTheory.PreOneHypercover S} →
        {F : CategoryTheory.PreOneHypercover S} →
          {A : Type u_1} →
            [inst_1 : CategoryTheory.Category.{v_1, u_1} A] →
              (f : E.Hom F) →
                (g : F.Hom E) →
                  CategoryTheory.PreOneHypercover.Homotopy (g.comp f) (CategoryTheory.PreOneHypercover.Hom.id F) →
                    {G : CategoryTheory.Functor Cᵒᵖ A} →
                      CategoryTheory.Limits.IsLimit (E.multifork G) → CategoryTheory.Limits.IsLimit (F.multifork G)

If f : E ⟶ F and g : F ⟶ E are refinement morphisms of pre-1-hypercovers such that the composition g ≫ f is homotopic to the identity, then if the multifork associated to E is exact also the multifork associated to F is exact.

def CategoryTheory.PreOneHypercover.Homotopy.isLimitMultiforkEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {S : C} →
      {E : CategoryTheory.PreOneHypercover S} →
        {F : CategoryTheory.PreOneHypercover S} →
          {A : Type u_1} →
            [inst_1 : CategoryTheory.Category.{v_1, u_1} A] →
              (f : E.Hom F) →
                (g : F.Hom E) →
                  CategoryTheory.PreOneHypercover.Homotopy (f.comp g) (CategoryTheory.PreOneHypercover.Hom.id E) →
                    CategoryTheory.PreOneHypercover.Homotopy (g.comp f) (CategoryTheory.PreOneHypercover.Hom.id F) →
                      {G : CategoryTheory.Functor Cᵒᵖ A} →
                        CategoryTheory.Limits.IsLimit (E.multifork G) ≃ CategoryTheory.Limits.IsLimit (F.multifork G)

E and F are homotopy equivalent, then the multifork associated to E is exact if and only if the multifork associated to F is exact.

abbrev CategoryTheory.PreOneHypercover.cylinderX E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {S : C} →
      {E : CategoryTheory.PreOneHypercover S} →
        {F : CategoryTheory.PreOneHypercover S} →
          [CategoryTheory.Limits.HasPullbacks C] → (f g : E.Hom F) → {i : E.I₀} → F.I₁ (f.s₀ i) (g.s₀ i) → C

(Implementation): The covering object of cylinder f g.

abbrev CategoryTheory.PreOneHypercover.cylinderf E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {S : C} →
      {E : CategoryTheory.PreOneHypercover S} →
        {F : CategoryTheory.PreOneHypercover S} →
          [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
            (f g : E.Hom F) →
              {i : E.I₀} → (k : F.I₁ (f.s₀ i) (g.s₀ i)) → CategoryTheory.PreOneHypercover.cylinderX f g k ⟶ S

(Implementation): The structure morphisms of the covering objects of cylinder f g.

def CategoryTheory.PreOneHypercover.cylinder E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {S : C} →
      {E : CategoryTheory.PreOneHypercover S} →
        {F : CategoryTheory.PreOneHypercover S} →
          [CategoryTheory.Limits.HasPullbacks C] → E.Hom F → E.Hom F → CategoryTheory.PreOneHypercover S

Given two refinement morphisms f, g : E ⟶ F, this is a (pre-)1-hypercover W that admits a morphism h : W ⟶ E such that h ≫ f and h ≫ g are homotopic. Hence they become equal after quotienting out by homotopy. This is a 1-hypercover, if E and F are (see OneHypercover.cylinder).

theorem CategoryTheory.PreOneHypercover.cylinder_X E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} [inst_1 : CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F)
  (p : (i : E.I₀) × F.I₁ (f.s₀ i) (g.s₀ i)),
  (CategoryTheory.PreOneHypercover.cylinder f g).X p = CategoryTheory.PreOneHypercover.cylinderX f g p.snd

theorem CategoryTheory.PreOneHypercover.cylinder_I₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} [inst_1 : CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F),
  (CategoryTheory.PreOneHypercover.cylinder f g).I₀ = ((i : E.I₀) × F.I₁ (f.s₀ i) (g.s₀ i))

theorem CategoryTheory.PreOneHypercover.cylinder_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} [inst_1 : CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F)
  (p : (i : E.I₀) × F.I₁ (f.s₀ i) (g.s₀ i)),
  (CategoryTheory.PreOneHypercover.cylinder f g).f p = CategoryTheory.PreOneHypercover.cylinderf f g p.snd

theorem CategoryTheory.PreOneHypercover.cylinder_I₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} [inst_1 : CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F)
  (p q : (i : E.I₀) × F.I₁ (f.s₀ i) (g.s₀ i)),
  (CategoryTheory.PreOneHypercover.cylinder f g).I₁ p q = ULift.{max w w', w} (E.I₁ p.fst q.fst)

theorem CategoryTheory.PreOneHypercover.cylinder_p₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} [inst_1 : CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F)
  {p q : (i : E.I₀) × F.I₁ (f.s₀ i) (g.s₀ i)} (k : ULift.{max w w', w} (E.I₁ p.fst q.fst)),
  (CategoryTheory.PreOneHypercover.cylinder f g).p₁ k =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.fst
        (CategoryTheory.Limits.pullback.map (CategoryTheory.PreOneHypercover.cylinderf f g p.snd)
          (CategoryTheory.PreOneHypercover.cylinderf f g q.snd) (E.f p.fst) (E.f q.fst)
          (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.lift (f.h₀ p.fst) (g.h₀ p.fst) ⋯)
            (F.toPullback p.snd))
          (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.lift (f.h₀ q.fst) (g.h₀ q.fst) ⋯)
            (F.toPullback q.snd))
          (CategoryTheory.CategoryStruct.id S) ⋯ ⋯)
        (CategoryTheory.Limits.pullback.lift (E.p₁ k.down) (E.p₂ k.down) ⋯))
      (CategoryTheory.Limits.pullback.fst (CategoryTheory.PreOneHypercover.cylinderf f g p.snd)
        (CategoryTheory.PreOneHypercover.cylinderf f g q.snd))

theorem CategoryTheory.PreOneHypercover.cylinder_p₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} [inst_1 : CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F)
  {p q : (i : E.I₀) × F.I₁ (f.s₀ i) (g.s₀ i)} (k : ULift.{max w w', w} (E.I₁ p.fst q.fst)),
  (CategoryTheory.PreOneHypercover.cylinder f g).p₂ k =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.fst
        (CategoryTheory.Limits.pullback.map (CategoryTheory.PreOneHypercover.cylinderf f g p.snd)
          (CategoryTheory.PreOneHypercover.cylinderf f g q.snd) (E.f p.fst) (E.f q.fst)
          (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.lift (f.h₀ p.fst) (g.h₀ p.fst) ⋯)
            (F.toPullback p.snd))
          (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.lift (f.h₀ q.fst) (g.h₀ q.fst) ⋯)
            (F.toPullback q.snd))
          (CategoryTheory.CategoryStruct.id S) ⋯ ⋯)
        (CategoryTheory.Limits.pullback.lift (E.p₁ k.down) (E.p₂ k.down) ⋯))
      (CategoryTheory.Limits.pullback.snd (CategoryTheory.PreOneHypercover.cylinderf f g p.snd)
        (CategoryTheory.PreOneHypercover.cylinderf f g q.snd))

theorem CategoryTheory.PreOneHypercover.cylinder_Y E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} [inst_1 : CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F)
  {p q : (i : E.I₀) × F.I₁ (f.s₀ i) (g.s₀ i)} (k : ULift.{max w w', w} (E.I₁ p.fst q.fst)),
  (CategoryTheory.PreOneHypercover.cylinder f g).Y k =
    CategoryTheory.Limits.pullback
      (CategoryTheory.Limits.pullback.map (CategoryTheory.PreOneHypercover.cylinderf f g p.snd)
        (CategoryTheory.PreOneHypercover.cylinderf f g q.snd) (E.f p.fst) (E.f q.fst)
        (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.lift (f.h₀ p.fst) (g.h₀ p.fst) ⋯)
          (F.toPullback p.snd))
        (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.lift (f.h₀ q.fst) (g.h₀ q.fst) ⋯)
          (F.toPullback q.snd))
        (CategoryTheory.CategoryStruct.id S) ⋯ ⋯)
      (CategoryTheory.Limits.pullback.lift (E.p₁ k.down) (E.p₂ k.down) ⋯)

theorem CategoryTheory.PreOneHypercover.toPullback_cylinder E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} [inst_1 : CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F)
  {i j : (CategoryTheory.PreOneHypercover.cylinder f g).I₀} (k : (CategoryTheory.PreOneHypercover.cylinder f g).I₁ i j),
  (CategoryTheory.PreOneHypercover.cylinder f g).toPullback k =
    CategoryTheory.Limits.pullback.fst
      (CategoryTheory.Limits.pullback.map (CategoryTheory.PreOneHypercover.cylinderf f g i.snd)
        (CategoryTheory.PreOneHypercover.cylinderf f g j.snd) (E.f i.fst) (E.f j.fst)
        (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.lift (f.h₀ i.fst) (g.h₀ i.fst) ⋯)
          (F.toPullback i.snd))
        (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.lift (f.h₀ j.fst) (g.h₀ j.fst) ⋯)
          (F.toPullback j.snd))
        (CategoryTheory.CategoryStruct.id S) ⋯ ⋯)
      (CategoryTheory.Limits.pullback.lift (E.p₁ k.down) (E.p₂ k.down) ⋯)

theorem CategoryTheory.PreOneHypercover.sieve₀_cylinder E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} [inst_1 : CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F),
  (CategoryTheory.PreOneHypercover.cylinder f g).sieve₀ =
    CategoryTheory.Sieve.generate
      (CategoryTheory.Presieve.bindOfArrows E.X E.f fun i ↦
        (CategoryTheory.Sieve.pullback (CategoryTheory.Limits.pullback.lift (f.h₀ i) (g.h₀ i) ⋯)
            (F.sieve₁' (f.s₀ i) (g.s₀ i))).arrows)

theorem CategoryTheory.PreOneHypercover.sieve₁'_cylinder E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} [inst_1 : CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F)
  (i j : (i : E.I₀) × F.I₁ (f.s₀ i) (g.s₀ i)),
  (CategoryTheory.PreOneHypercover.cylinder f g).sieve₁' i j =
    CategoryTheory.Sieve.pullback
      (CategoryTheory.Limits.pullback.map ((CategoryTheory.PreOneHypercover.cylinder f g).f i)
        ((CategoryTheory.PreOneHypercover.cylinder f g).f j) (E.f i.fst) (E.f j.fst)
        (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.lift (f.h₀ i.fst) (g.h₀ i.fst) ⋯)
          (F.toPullback i.snd))
        (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.lift (f.h₀ j.fst) (g.h₀ j.fst) ⋯)
          (F.toPullback j.snd))
        (CategoryTheory.CategoryStruct.id S) ⋯ ⋯)
      (E.sieve₁' i.fst j.fst)

def CategoryTheory.PreOneHypercover.cylinderHom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {S : C} →
      {E : CategoryTheory.PreOneHypercover S} →
        {F : CategoryTheory.PreOneHypercover S} →
          [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
            (f g : E.Hom F) → (CategoryTheory.PreOneHypercover.cylinder f g).Hom E

(Implementation): The refinement morphism cylinder f g ⟶ E.

theorem CategoryTheory.PreOneHypercover.cylinderHom_h₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} [inst_1 : CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F)
  {p q : (CategoryTheory.PreOneHypercover.cylinder f g).I₀} (k : (CategoryTheory.PreOneHypercover.cylinder f g).I₁ p q),
  (CategoryTheory.PreOneHypercover.cylinderHom f g).h₁ k =
    CategoryTheory.Limits.pullback.snd
      (CategoryTheory.Limits.pullback.map (CategoryTheory.PreOneHypercover.cylinderf f g p.snd)
        (CategoryTheory.PreOneHypercover.cylinderf f g q.snd) (E.f p.fst) (E.f q.fst)
        (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.lift (f.h₀ p.fst) (g.h₀ p.fst) ⋯)
          (F.toPullback p.snd))
        (CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.lift (f.h₀ q.fst) (g.h₀ q.fst) ⋯)
          (F.toPullback q.snd))
        (CategoryTheory.CategoryStruct.id S) ⋯ ⋯)
      (CategoryTheory.Limits.pullback.lift (E.p₁ k.down) (E.p₂ k.down) ⋯)

theorem CategoryTheory.PreOneHypercover.cylinderHom_s₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} [inst_1 : CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F)
  {i j : (CategoryTheory.PreOneHypercover.cylinder f g).I₀} (k : (CategoryTheory.PreOneHypercover.cylinder f g).I₁ i j),
  (CategoryTheory.PreOneHypercover.cylinderHom f g).s₁ k = k.down

theorem CategoryTheory.PreOneHypercover.cylinderHom_s₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} [inst_1 : CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F)
  (p : (CategoryTheory.PreOneHypercover.cylinder f g).I₀),
  (CategoryTheory.PreOneHypercover.cylinderHom f g).s₀ p = p.fst

theorem CategoryTheory.PreOneHypercover.cylinderHom_h₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} [inst_1 : CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F)
  (p : (CategoryTheory.PreOneHypercover.cylinder f g).I₀),
  (CategoryTheory.PreOneHypercover.cylinderHom f g).h₀ p =
    CategoryTheory.Limits.pullback.fst (CategoryTheory.Limits.pullback.lift (f.h₀ p.fst) (g.h₀ p.fst) ⋯)
      (F.toPullback p.snd)

def CategoryTheory.PreOneHypercover.cylinderHomotopy E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {S : C} →
      {E : CategoryTheory.PreOneHypercover S} →
        {F : CategoryTheory.PreOneHypercover S} →
          [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
            (f g : E.Hom F) →
              CategoryTheory.PreOneHypercover.Homotopy ((CategoryTheory.PreOneHypercover.cylinderHom f g).comp f)
                ((CategoryTheory.PreOneHypercover.cylinderHom f g).comp g)

(Implementation): The homotopy of the morphisms cylinder f g ⟶ E ⟶ F.

theorem CategoryTheory.PreOneHypercover.exists_nonempty_homotopy E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {S : C} {E : CategoryTheory.PreOneHypercover S}
  {F : CategoryTheory.PreOneHypercover S} [CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F),
  ∃ W h, Nonempty (CategoryTheory.PreOneHypercover.Homotopy (h.comp f) (h.comp g))

Up to homotopy, the category of (pre-)1-hypercovers is cofiltered.

def CategoryTheory.GrothendieckTopology.OneHypercover.cylinder E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : CategoryTheory.GrothendieckTopology C} →
      {S : C} →
        {E : J.OneHypercover S} →
          {F : J.OneHypercover S} → [CategoryTheory.Limits.HasPullbacks C] → E.Hom F → E.Hom F → J.OneHypercover S

Given two refinement morphism f, g : E ⟶ F, this is a 1-hypercover W that admits a morphism h : W ⟶ E such that h ≫ f and h ≫ g are homotopic. Hence they become equal after quotienting out by homotopy.

theorem CategoryTheory.GrothendieckTopology.OneHypercover.cylinder_toPreOneHypercover E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C} {S : C}
  {E : J.OneHypercover S} {F : J.OneHypercover S} [inst_1 : CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F),
  (CategoryTheory.GrothendieckTopology.OneHypercover.cylinder f g).toPreOneHypercover =
    CategoryTheory.PreOneHypercover.cylinder f g

theorem CategoryTheory.GrothendieckTopology.OneHypercover.exists_nonempty_homotopy E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C} {S : C}
  {E : J.OneHypercover S} {F : J.OneHypercover S} [CategoryTheory.Limits.HasPullbacks C] (f g : E.Hom F),
  ∃ W h,
    Nonempty
      (CategoryTheory.PreOneHypercover.Homotopy (CategoryTheory.PreOneHypercover.Hom.comp h f)
        (CategoryTheory.PreOneHypercover.Hom.comp h g))

Up to homotopy, the category of 1-hypercovers is cofiltered.

def CategoryTheory.GrothendieckTopology.OneHypercover.homotopicRel E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (J : CategoryTheory.GrothendieckTopology C) → (S : C) → HomRel (J.OneHypercover S)

Two refinement morphisms of 1-hypercovers are homotopic if there exists a homotopy between them. Note: This is not an equivalence relation, it is not even reflexive!

abbrev CategoryTheory.GrothendieckTopology.HOneHypercover E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → CategoryTheory.GrothendieckTopology C → C → Type (max (max u v) (u_1 + 1))

The category of 1-hypercovers with refinement morphisms up to homotopy.

abbrev CategoryTheory.GrothendieckTopology.OneHypercover.toHOneHypercover E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (J : CategoryTheory.GrothendieckTopology C) →
      (S : C) → CategoryTheory.Functor (J.OneHypercover S) (J.HOneHypercover S)

The canonical projection from 1-hypercovers to 1-hypercovers up to homotopy.

theorem CategoryTheory.PreOneHypercover.Homotopy.map_eq_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C) {S : C}
  {E F : J.OneHypercover S} {f g : E ⟶ F} (H : CategoryTheory.PreOneHypercover.Homotopy f g),
  (CategoryTheory.GrothendieckTopology.OneHypercover.toHOneHypercover J S).map f =
    (CategoryTheory.GrothendieckTopology.OneHypercover.toHOneHypercover J S).map g

instance CategoryTheory.GrothendieckTopology.HOneHypercover.instNonempty E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C) {S : C},
  Nonempty (J.HOneHypercover S)

instance CategoryTheory.GrothendieckTopology.HOneHypercover.isCofiltered_of_hasPullbacks E3 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C) {S : C}
  [CategoryTheory.Limits.HasPullbacks C], CategoryTheory.IsCofiltered (J.HOneHypercover S)

If C has pullbacks, the category of 1-hypercovers up to homotopy is cofiltered.