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.SimplexCategory.Augmented.Basic

61 declarations. Mathlib docs · Source

abbrev AugmentedSimplexCategory E1 #

Type

The AugmentedSimplexCategory is the category obtained from SimplexCategory by adjoining an initial object.

def AugmentedSimplexCategory.inclusion E1 #

CategoryTheory.Functor SimplexCategory AugmentedSimplexCategory

The canonical inclusion from SimplexCategory to AugmentedSimplexCategory.

theorem AugmentedSimplexCategory.inclusion_obj E0 #

∀ (a : SimplexCategory), AugmentedSimplexCategory.inclusion.obj a = CategoryTheory.WithInitial.of a

theorem AugmentedSimplexCategory.inclusion_map E0 #

∀ {Y X : SimplexCategory} (f : Y ⟶ X), AugmentedSimplexCategory.inclusion.map f = f

instance AugmentedSimplexCategory.instFullSimplexCategoryInclusion E0 #

AugmentedSimplexCategory.inclusion.Full

instance AugmentedSimplexCategory.instFaithfulSimplexCategoryInclusion E0 #

AugmentedSimplexCategory.inclusion.Faithful

instance AugmentedSimplexCategory.instHasInitial E0 #

CategoryTheory.Limits.HasInitial AugmentedSimplexCategory

def AugmentedSimplexCategory.equivAugmentedCosimplicialObject E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    CategoryTheory.Functor AugmentedSimplexCategory C ≌ CategoryTheory.CosimplicialObject.Augmented C

The equivalence between functors out of AugmentedSimplexCategory and augmented cosimplicial objects.

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObject_counitIso_hom_app_left E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X :
    CategoryTheory.Comma (CategoryTheory.Functor.const SimplexCategory)
      (CategoryTheory.Functor.id (CategoryTheory.Functor SimplexCategory C))),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObject.counitIso.hom.app X).left =
    CategoryTheory.CategoryStruct.id X.left

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObject_inverse_map_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  {Y X :
    CategoryTheory.Comma (CategoryTheory.Functor.const SimplexCategory)
      (CategoryTheory.Functor.id (CategoryTheory.Functor SimplexCategory C))}
  (φ : Y ⟶ X) (x : CategoryTheory.WithInitial SimplexCategory),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObject.inverse.map φ).app x =
    match x with
    | CategoryTheory.WithInitial.of x => φ.right.app x
    | CategoryTheory.WithInitial.star => φ.left

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObject_functor_obj_left E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (F : CategoryTheory.Functor (CategoryTheory.WithInitial SimplexCategory) C),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObject.functor.obj F).left = F.obj CategoryTheory.WithInitial.star

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObject_inverse_obj_map E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (c :
    CategoryTheory.Comma (CategoryTheory.Functor.const SimplexCategory)
      (CategoryTheory.Functor.id (CategoryTheory.Functor SimplexCategory C)))
  {Y X : CategoryTheory.WithInitial SimplexCategory} (f : Y ⟶ X),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObject.inverse.obj c).map f =
    match X, Y, f with
    | CategoryTheory.WithInitial.of a, CategoryTheory.WithInitial.of a_1, f =>
      c.right.map (CategoryTheory.WithInitial.down f)
    | CategoryTheory.WithInitial.of x, CategoryTheory.WithInitial.star, x_1 => c.hom.app x
    | CategoryTheory.WithInitial.star, CategoryTheory.WithInitial.star, x => CategoryTheory.CategoryStruct.id c.left

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObject_inverse_obj_obj E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (c :
    CategoryTheory.Comma (CategoryTheory.Functor.const SimplexCategory)
      (CategoryTheory.Functor.id (CategoryTheory.Functor SimplexCategory C)))
  (X : CategoryTheory.WithInitial SimplexCategory),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObject.inverse.obj c).obj X =
    match X with
    | CategoryTheory.WithInitial.of x => c.right.obj x
    | CategoryTheory.WithInitial.star => c.left

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObject_functor_map_left E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  {Y X : CategoryTheory.Functor (CategoryTheory.WithInitial SimplexCategory) C} (η : Y ⟶ X),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObject.functor.map η).left = η.app CategoryTheory.WithInitial.star

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObject_unitIso_inv_app_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X : CategoryTheory.Functor (CategoryTheory.WithInitial SimplexCategory) C)
  (X_1 : CategoryTheory.WithInitial SimplexCategory),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObject.unitIso.inv.app X).app X_1 =
    (match X_1 with
      | CategoryTheory.WithInitial.of x => (CategoryTheory.Iso.refl (CategoryTheory.WithInitial.incl.comp X)).app x
      | CategoryTheory.WithInitial.star => CategoryTheory.Iso.refl (X.obj CategoryTheory.WithInitial.star)).inv

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObject_counitIso_hom_app_right_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X :
    CategoryTheory.Comma (CategoryTheory.Functor.const SimplexCategory)
      (CategoryTheory.Functor.id (CategoryTheory.Functor SimplexCategory C)))
  (X_1 : SimplexCategory),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObject.counitIso.hom.app X).right.app X_1 =
    CategoryTheory.CategoryStruct.id
      (match CategoryTheory.WithInitial.incl.obj X_1 with
      | CategoryTheory.WithInitial.of x => X.right.obj x
      | CategoryTheory.WithInitial.star => X.left)

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObject_functor_obj_right_map E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (F : CategoryTheory.Functor (CategoryTheory.WithInitial SimplexCategory) C) {X Y : SimplexCategory} (f : X ⟶ Y),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObject.functor.obj F).right.map f =
    F.map (CategoryTheory.WithInitial.incl.map f)

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObject_functor_map_right_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  {Y X : CategoryTheory.Functor (CategoryTheory.WithInitial SimplexCategory) C} (η : Y ⟶ X) (X_1 : SimplexCategory),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObject.functor.map η).right.app X_1 =
    η.app (CategoryTheory.WithInitial.incl.obj X_1)

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObject_functor_obj_hom_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (F : CategoryTheory.Functor (CategoryTheory.WithInitial SimplexCategory) C) (x : SimplexCategory),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObject.functor.obj F).hom.app x =
    F.map (CategoryTheory.WithInitial.starInitial.to (CategoryTheory.WithInitial.of x))

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObject_functor_obj_right_obj E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (F : CategoryTheory.Functor (CategoryTheory.WithInitial SimplexCategory) C) (X : SimplexCategory),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObject.functor.obj F).right.obj X =
    F.obj (CategoryTheory.WithInitial.incl.obj X)

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObject_counitIso_inv_app_right_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X :
    CategoryTheory.Comma (CategoryTheory.Functor.const SimplexCategory)
      (CategoryTheory.Functor.id (CategoryTheory.Functor SimplexCategory C)))
  (X_1 : SimplexCategory),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObject.counitIso.inv.app X).right.app X_1 =
    CategoryTheory.CategoryStruct.id
      (match CategoryTheory.WithInitial.incl.obj X_1 with
      | CategoryTheory.WithInitial.of x => X.right.obj x
      | CategoryTheory.WithInitial.star => X.left)

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObject_counitIso_inv_app_left E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X :
    CategoryTheory.Comma (CategoryTheory.Functor.const SimplexCategory)
      (CategoryTheory.Functor.id (CategoryTheory.Functor SimplexCategory C))),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObject.counitIso.inv.app X).left =
    CategoryTheory.CategoryStruct.id X.left

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObject_unitIso_hom_app_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X : CategoryTheory.Functor (CategoryTheory.WithInitial SimplexCategory) C)
  (X_1 : CategoryTheory.WithInitial SimplexCategory),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObject.unitIso.hom.app X).app X_1 =
    (match X_1 with
      | CategoryTheory.WithInitial.of x => (CategoryTheory.Iso.refl (CategoryTheory.WithInitial.incl.comp X)).app x
      | CategoryTheory.WithInitial.star => CategoryTheory.Iso.refl (X.obj CategoryTheory.WithInitial.star)).hom

def AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompDropIso E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    AugmentedSimplexCategory.equivAugmentedCosimplicialObject.functor.comp
        CategoryTheory.CosimplicialObject.Augmented.drop ≅
      (CategoryTheory.Functor.whiskeringLeft SimplexCategory AugmentedSimplexCategory C).obj
        AugmentedSimplexCategory.inclusion

Through the equivalence (AugmentedSimplexCategory ⥤ C) ≌ CosimplicialObject.Augmented C, dropping the augmentation corresponds to precomposition with inclusion : SimplexCategory ⥤ AugmentedSimplexCategory.

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompDropIso_hom_app_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.Functor AugmentedSimplexCategory C)
  (X_1 : SimplexCategory),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompDropIso.hom.app X).app X_1 =
    CategoryTheory.CategoryStruct.id (X.obj (CategoryTheory.WithInitial.incl.obj X_1))

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompDropIso_inv_app_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.Functor AugmentedSimplexCategory C)
  (X_1 : SimplexCategory),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompDropIso.inv.app X).app X_1 =
    CategoryTheory.CategoryStruct.id (X.obj (CategoryTheory.WithInitial.incl.obj X_1))

def AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompPointIso E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    AugmentedSimplexCategory.equivAugmentedCosimplicialObject.functor.comp
        CategoryTheory.CosimplicialObject.Augmented.point ≅
      (CategoryTheory.evaluation AugmentedSimplexCategory C).obj CategoryTheory.WithInitial.star

Through the equivalence (AugmentedSimplexCategory ⥤ C) ≌ CosimplicialObject.Augmented C, taking the point of the augmentation corresponds to evaluation at the initial object.

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompPointIso_hom_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.Functor AugmentedSimplexCategory C),
  AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompPointIso.hom.app X =
    CategoryTheory.CategoryStruct.id (X.obj CategoryTheory.WithInitial.star)

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompPointIso_inv_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.Functor AugmentedSimplexCategory C),
  AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompPointIso.inv.app X =
    CategoryTheory.CategoryStruct.id (X.obj CategoryTheory.WithInitial.star)

def AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompToArrowIso E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    AugmentedSimplexCategory.equivAugmentedCosimplicialObject.functor.comp
        CategoryTheory.CosimplicialObject.Augmented.toArrow ≅
      (CategoryTheory.Functor.mapArrowFunctor AugmentedSimplexCategory C).comp
        ((CategoryTheory.evaluation (CategoryTheory.Arrow AugmentedSimplexCategory) (CategoryTheory.Arrow C)).obj
          (CategoryTheory.Arrow.mk (CategoryTheory.WithInitial.homTo { len := 0 })))

Through the equivalence (AugmentedSimplexCategory ⥤ C) ≌ CosimplicialObject.Augmented C, the arrow attached to the cosimplicial object is the one obtained by evaluation at the unique arrow star ⟶ of [0].

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompToArrowIso_inv_app_right E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.Functor AugmentedSimplexCategory C),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompToArrowIso.inv.app X).right =
    CategoryTheory.CategoryStruct.id (X.obj (CategoryTheory.WithInitial.incl.obj { len := 0 }))

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompToArrowIso_inv_app_left E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.Functor AugmentedSimplexCategory C),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompToArrowIso.inv.app X).left =
    CategoryTheory.CategoryStruct.id (X.obj CategoryTheory.WithInitial.star)

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompToArrowIso_hom_app_left E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.Functor AugmentedSimplexCategory C),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompToArrowIso.hom.app X).left =
    CategoryTheory.CategoryStruct.id (X.obj CategoryTheory.WithInitial.star)

theorem AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompToArrowIso_hom_app_right E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.Functor AugmentedSimplexCategory C),
  (AugmentedSimplexCategory.equivAugmentedCosimplicialObjectFunctorCompToArrowIso.hom.app X).right =
    CategoryTheory.CategoryStruct.id (X.obj (CategoryTheory.WithInitial.incl.obj { len := 0 }))

def AugmentedSimplexCategory.equivAugmentedSimplicialObject E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    CategoryTheory.Functor AugmentedSimplexCategoryᵒᵖ C ≌ CategoryTheory.SimplicialObject.Augmented C

The equivalence between functors out of AugmentedSimplexCategory and augmented simplicial objects.

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObject_inverse_map_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {X Y : CategoryTheory.SimplicialObject.Augmented C}
  (f : X ⟶ Y) (X_1 : (CategoryTheory.WithInitial SimplexCategory)ᵒᵖ),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObject.inverse.map f).app X_1 =
    match
      match Opposite.unop X_1 with
      | CategoryTheory.WithInitial.of x => CategoryTheory.WithTerminal.of (Opposite.op x)
      | CategoryTheory.WithInitial.star => CategoryTheory.WithTerminal.star with
    | CategoryTheory.WithTerminal.of x => f.left.app x
    | CategoryTheory.WithTerminal.star => f.right

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObject_inverse_obj_obj E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.SimplicialObject.Augmented C)
  (X_1 : (CategoryTheory.WithInitial SimplexCategory)ᵒᵖ),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObject.inverse.obj X).obj X_1 =
    match
      match Opposite.unop X_1 with
      | CategoryTheory.WithInitial.of x => CategoryTheory.WithTerminal.of (Opposite.op x)
      | CategoryTheory.WithInitial.star => CategoryTheory.WithTerminal.star with
    | CategoryTheory.WithTerminal.of x => X.left.obj x
    | CategoryTheory.WithTerminal.star => X.right

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObject_counitIso_inv_app_left_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.SimplicialObject.Augmented C)
  (X_1 : SimplexCategoryᵒᵖ),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObject.counitIso.inv.app X).left.app X_1 =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.CategoryStruct.id
        (match CategoryTheory.WithTerminal.incl.obj X_1 with
        | CategoryTheory.WithTerminal.of x => X.left.obj x
        | CategoryTheory.WithTerminal.star => X.right))
      (match CategoryTheory.WithTerminal.incl.obj X_1,
        match
          Opposite.unop
            (match CategoryTheory.WithTerminal.incl.obj X_1 with
            | CategoryTheory.WithTerminal.of x => Opposite.op (CategoryTheory.WithInitial.of (Opposite.unop x))
            | CategoryTheory.WithTerminal.star => Opposite.op CategoryTheory.WithInitial.star) with
        | CategoryTheory.WithInitial.of x => CategoryTheory.WithTerminal.of (Opposite.op x)
        | CategoryTheory.WithInitial.star => CategoryTheory.WithTerminal.star,
        (match CategoryTheory.WithTerminal.incl.obj X_1 with
          | CategoryTheory.WithTerminal.of x => CategoryTheory.Iso.refl (CategoryTheory.WithTerminal.of x)
          | CategoryTheory.WithTerminal.star => CategoryTheory.Iso.refl CategoryTheory.WithTerminal.star).inv with
      | CategoryTheory.WithTerminal.of a, CategoryTheory.WithTerminal.of a_1, f =>
        X.left.map (CategoryTheory.WithTerminal.down f)
      | CategoryTheory.WithTerminal.of x, CategoryTheory.WithTerminal.star, x_1 => X.hom.app x
      | CategoryTheory.WithTerminal.star, CategoryTheory.WithTerminal.star, x =>
        CategoryTheory.CategoryStruct.id X.right)

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObject_functor_map_right E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  {X Y : CategoryTheory.Functor (CategoryTheory.WithInitial SimplexCategory)ᵒᵖ C} (f : X ⟶ Y),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObject.functor.map f).right =
    f.app (Opposite.op CategoryTheory.WithInitial.star)

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObject_functor_map_left_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  {X Y : CategoryTheory.Functor (CategoryTheory.WithInitial SimplexCategory)ᵒᵖ C} (f : X ⟶ Y) (X_1 : SimplexCategoryᵒᵖ),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObject.functor.map f).left.app X_1 =
    f.app
      (match CategoryTheory.WithTerminal.incl.obj X_1 with
      | CategoryTheory.WithTerminal.of x => Opposite.op (CategoryTheory.WithInitial.of (Opposite.unop x))
      | CategoryTheory.WithTerminal.star => Opposite.op CategoryTheory.WithInitial.star)

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObject_counitIso_hom_app_right E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.SimplicialObject.Augmented C),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObject.counitIso.hom.app X).right =
    CategoryTheory.CategoryStruct.id X.right

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObject_counitIso_hom_app_left_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.SimplicialObject.Augmented C)
  (X_1 : SimplexCategoryᵒᵖ),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObject.counitIso.hom.app X).left.app X_1 =
    match
      match
        Opposite.unop
          (match CategoryTheory.WithTerminal.incl.obj X_1 with
          | CategoryTheory.WithTerminal.of x => Opposite.op (CategoryTheory.WithInitial.of (Opposite.unop x))
          | CategoryTheory.WithTerminal.star => Opposite.op CategoryTheory.WithInitial.star) with
      | CategoryTheory.WithInitial.of x => CategoryTheory.WithTerminal.of (Opposite.op x)
      | CategoryTheory.WithInitial.star => CategoryTheory.WithTerminal.star,
      CategoryTheory.WithTerminal.incl.obj X_1,
      (match CategoryTheory.WithTerminal.incl.obj X_1 with
        | CategoryTheory.WithTerminal.of x => CategoryTheory.Iso.refl (CategoryTheory.WithTerminal.of x)
        | CategoryTheory.WithTerminal.star => CategoryTheory.Iso.refl CategoryTheory.WithTerminal.star).hom with
    | CategoryTheory.WithTerminal.of a, CategoryTheory.WithTerminal.of a_1, f =>
      X.left.map (CategoryTheory.WithTerminal.down f)
    | CategoryTheory.WithTerminal.of x, CategoryTheory.WithTerminal.star, x_1 => X.hom.app x
    | CategoryTheory.WithTerminal.star, CategoryTheory.WithTerminal.star, x => CategoryTheory.CategoryStruct.id X.right

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObject_functor_obj_hom_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X : CategoryTheory.Functor (CategoryTheory.WithInitial SimplexCategory)ᵒᵖ C) (x : SimplexCategoryᵒᵖ),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObject.functor.obj X).hom.app x =
    X.map
      (match CategoryTheory.WithTerminal.star, CategoryTheory.WithTerminal.incl.obj x,
        CategoryTheory.WithTerminal.starTerminal.from (CategoryTheory.WithTerminal.of x) with
      | CategoryTheory.WithTerminal.of (Opposite.op x), CategoryTheory.WithTerminal.of (Opposite.op y), f =>
        CategoryTheory.WithTerminal.down f
      | CategoryTheory.WithTerminal.star, CategoryTheory.WithTerminal.of (Opposite.op unop), x =>
        Opposite.op (CategoryTheory.WithInitial.starInitial.to (CategoryTheory.WithInitial.of unop))
      | CategoryTheory.WithTerminal.star, CategoryTheory.WithTerminal.star, x =>
        CategoryTheory.CategoryStruct.id (Opposite.op CategoryTheory.WithInitial.star))

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObject_unitIso_hom_app_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X : CategoryTheory.Functor (CategoryTheory.WithInitial SimplexCategory)ᵒᵖ C)
  (X_1 : (CategoryTheory.WithInitial SimplexCategory)ᵒᵖ),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObject.unitIso.hom.app X).app X_1 =
    CategoryTheory.CategoryStruct.comp
      (X.map
        (match Opposite.unop X_1 with
          | CategoryTheory.WithInitial.of x => CategoryTheory.Iso.refl (Opposite.op (CategoryTheory.WithInitial.of x))
          | CategoryTheory.WithInitial.star =>
            CategoryTheory.Iso.refl (Opposite.op CategoryTheory.WithInitial.star)).hom)
      (match
          match Opposite.unop X_1 with
          | CategoryTheory.WithInitial.of x => CategoryTheory.WithTerminal.of (Opposite.op x)
          | CategoryTheory.WithInitial.star => CategoryTheory.WithTerminal.star with
        | CategoryTheory.WithTerminal.of x =>
          (CategoryTheory.Iso.refl
                (CategoryTheory.WithTerminal.incl.comp
                  ((CategoryTheory.WithInitial.opEquiv SimplexCategory).inverse.comp X))).app
            x
        | CategoryTheory.WithTerminal.star =>
          CategoryTheory.Iso.refl (X.obj (Opposite.op CategoryTheory.WithInitial.star))).hom

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObject_counitIso_inv_app_right E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.SimplicialObject.Augmented C),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObject.counitIso.inv.app X).right =
    CategoryTheory.CategoryStruct.id X.right

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObject_unitIso_inv_app_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X : CategoryTheory.Functor (CategoryTheory.WithInitial SimplexCategory)ᵒᵖ C)
  (X_1 : (CategoryTheory.WithInitial SimplexCategory)ᵒᵖ),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObject.unitIso.inv.app X).app X_1 =
    CategoryTheory.CategoryStruct.comp
      (match
          match Opposite.unop X_1 with
          | CategoryTheory.WithInitial.of x => CategoryTheory.WithTerminal.of (Opposite.op x)
          | CategoryTheory.WithInitial.star => CategoryTheory.WithTerminal.star with
        | CategoryTheory.WithTerminal.of x =>
          (CategoryTheory.Iso.refl
                (CategoryTheory.WithTerminal.incl.comp
                  ((CategoryTheory.WithInitial.opEquiv SimplexCategory).inverse.comp X))).app
            x
        | CategoryTheory.WithTerminal.star =>
          CategoryTheory.Iso.refl (X.obj (Opposite.op CategoryTheory.WithInitial.star))).inv
      (X.map
        (match Opposite.unop X_1 with
          | CategoryTheory.WithInitial.of x => CategoryTheory.Iso.refl (Opposite.op (CategoryTheory.WithInitial.of x))
          | CategoryTheory.WithInitial.star =>
            CategoryTheory.Iso.refl (Opposite.op CategoryTheory.WithInitial.star)).inv)

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObject_functor_obj_right E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X : CategoryTheory.Functor (CategoryTheory.WithInitial SimplexCategory)ᵒᵖ C),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObject.functor.obj X).right =
    X.obj (Opposite.op CategoryTheory.WithInitial.star)

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObject_functor_obj_left_map E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X : CategoryTheory.Functor (CategoryTheory.WithInitial SimplexCategory)ᵒᵖ C) {X_1 Y : SimplexCategoryᵒᵖ}
  (f : X_1 ⟶ Y),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObject.functor.obj X).left.map f =
    X.map
      (match CategoryTheory.WithTerminal.incl.obj Y, CategoryTheory.WithTerminal.incl.obj X_1,
        CategoryTheory.WithTerminal.incl.map f with
      | CategoryTheory.WithTerminal.of (Opposite.op x), CategoryTheory.WithTerminal.of (Opposite.op y), f =>
        CategoryTheory.WithTerminal.down f
      | CategoryTheory.WithTerminal.star, CategoryTheory.WithTerminal.of (Opposite.op unop), x =>
        Opposite.op (CategoryTheory.WithInitial.starInitial.to (CategoryTheory.WithInitial.of unop))
      | CategoryTheory.WithTerminal.star, CategoryTheory.WithTerminal.star, x =>
        CategoryTheory.CategoryStruct.id (Opposite.op CategoryTheory.WithInitial.star))

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObject_inverse_obj_map E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.SimplicialObject.Augmented C)
  {X_1 Y : (CategoryTheory.WithInitial SimplexCategory)ᵒᵖ} (f : X_1 ⟶ Y),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObject.inverse.obj X).map f =
    match
      match Opposite.unop X_1 with
      | CategoryTheory.WithInitial.of x => CategoryTheory.WithTerminal.of (Opposite.op x)
      | CategoryTheory.WithInitial.star => CategoryTheory.WithTerminal.star,
      match Opposite.unop Y with
      | CategoryTheory.WithInitial.of x => CategoryTheory.WithTerminal.of (Opposite.op x)
      | CategoryTheory.WithInitial.star => CategoryTheory.WithTerminal.star,
      match f with
      | Opposite.op f_1 =>
        match Y, X_1, f_1, f with
        | Opposite.op (CategoryTheory.WithInitial.of x), Opposite.op (CategoryTheory.WithInitial.of y), f, x_1 =>
          (CategoryTheory.WithInitial.down f).op
        | Opposite.op CategoryTheory.WithInitial.star, Opposite.op (CategoryTheory.WithInitial.of a), x, x_1 =>
          CategoryTheory.WithTerminal.starTerminal.from (CategoryTheory.WithTerminal.of (Opposite.op a))
        | Opposite.op CategoryTheory.WithInitial.star, Opposite.op CategoryTheory.WithInitial.star, x, x_1 =>
          CategoryTheory.CategoryStruct.id CategoryTheory.WithTerminal.star with
    | CategoryTheory.WithTerminal.of a, CategoryTheory.WithTerminal.of a_1, f =>
      X.left.map (CategoryTheory.WithTerminal.down f)
    | CategoryTheory.WithTerminal.of x, CategoryTheory.WithTerminal.star, x_1 => X.hom.app x
    | CategoryTheory.WithTerminal.star, CategoryTheory.WithTerminal.star, x => CategoryTheory.CategoryStruct.id X.right

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObject_functor_obj_left_obj E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X : CategoryTheory.Functor (CategoryTheory.WithInitial SimplexCategory)ᵒᵖ C) (X_1 : SimplexCategoryᵒᵖ),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObject.functor.obj X).left.obj X_1 =
    X.obj
      (match CategoryTheory.WithTerminal.incl.obj X_1 with
      | CategoryTheory.WithTerminal.of x => Opposite.op (CategoryTheory.WithInitial.of (Opposite.unop x))
      | CategoryTheory.WithTerminal.star => Opposite.op CategoryTheory.WithInitial.star)

def AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompDropIso E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    AugmentedSimplexCategory.equivAugmentedSimplicialObject.functor.comp
        CategoryTheory.SimplicialObject.Augmented.drop ≅
      (CategoryTheory.Functor.whiskeringLeft SimplexCategoryᵒᵖ AugmentedSimplexCategoryᵒᵖ C).obj
        AugmentedSimplexCategory.inclusion.op

Through the equivalence (AugmentedSimplexCategoryᵒᵖ ⥤ C) ≌ SimplicialObject.Augmented C, dropping the augmentation corresponds to precomposition with inclusionᵒᵖ : SimplexCategoryᵒᵖ ⥤ AugmentedSimplexCategoryᵒᵖ.

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompDropIso_hom_app_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.Functor AugmentedSimplexCategoryᵒᵖ C)
  (X_1 : SimplexCategoryᵒᵖ),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompDropIso.hom.app X).app X_1 =
    CategoryTheory.CategoryStruct.id
      (X.obj
        (match CategoryTheory.WithTerminal.incl.obj X_1 with
        | CategoryTheory.WithTerminal.of x => Opposite.op (CategoryTheory.WithInitial.of (Opposite.unop x))
        | CategoryTheory.WithTerminal.star => Opposite.op CategoryTheory.WithInitial.star))

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompDropIso_inv_app_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.Functor AugmentedSimplexCategoryᵒᵖ C)
  (X_1 : SimplexCategoryᵒᵖ),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompDropIso.inv.app X).app X_1 =
    CategoryTheory.CategoryStruct.id
      (X.obj
        (match CategoryTheory.WithTerminal.incl.obj X_1 with
        | CategoryTheory.WithTerminal.of x => Opposite.op (CategoryTheory.WithInitial.of (Opposite.unop x))
        | CategoryTheory.WithTerminal.star => Opposite.op CategoryTheory.WithInitial.star))

def AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompPointIso E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    AugmentedSimplexCategory.equivAugmentedSimplicialObject.functor.comp
        CategoryTheory.SimplicialObject.Augmented.point ≅
      (CategoryTheory.evaluation AugmentedSimplexCategoryᵒᵖ C).obj (Opposite.op CategoryTheory.WithInitial.star)

Through the equivalence (AugmentedSimplexCategory ⥤ C) ≌ CosimplicialObject.Augmented C, taking the point of the augmentation corresponds to evaluation at the initial object.

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompPointIso_inv_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X : CategoryTheory.Functor AugmentedSimplexCategoryᵒᵖ C),
  AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompPointIso.inv.app X =
    CategoryTheory.CategoryStruct.id (X.obj (Opposite.op CategoryTheory.WithInitial.star))

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompPointIso_hom_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X : CategoryTheory.Functor AugmentedSimplexCategoryᵒᵖ C),
  AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompPointIso.hom.app X =
    CategoryTheory.CategoryStruct.id (X.obj (Opposite.op CategoryTheory.WithInitial.star))

def AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompToArrowIso E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    AugmentedSimplexCategory.equivAugmentedSimplicialObject.functor.comp
        CategoryTheory.SimplicialObject.Augmented.toArrow ≅
      (CategoryTheory.Functor.mapArrowFunctor AugmentedSimplexCategoryᵒᵖ C).comp
        ((CategoryTheory.evaluation (CategoryTheory.Arrow AugmentedSimplexCategoryᵒᵖ) (CategoryTheory.Arrow C)).obj
          (CategoryTheory.Arrow.mk (CategoryTheory.WithInitial.homTo { len := 0 }).op))

Through the equivalence (AugmentedSimplexCategory ⥤ C) ≌ CosimplicialObject.Augmented C, the arrow attached to the cosimplicial object is the one obtained by evaluation at the unique arrow star ⟶ of [0].

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompToArrowIso_inv_app_left E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X : CategoryTheory.Functor AugmentedSimplexCategoryᵒᵖ C),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompToArrowIso.inv.app X).left =
    CategoryTheory.CategoryStruct.id
      (X.obj
        (match CategoryTheory.WithTerminal.incl.obj (Opposite.op { len := 0 }) with
        | CategoryTheory.WithTerminal.of x => Opposite.op (CategoryTheory.WithInitial.of (Opposite.unop x))
        | CategoryTheory.WithTerminal.star => Opposite.op CategoryTheory.WithInitial.star))

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompToArrowIso_hom_app_right E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X : CategoryTheory.Functor AugmentedSimplexCategoryᵒᵖ C),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompToArrowIso.hom.app X).right =
    CategoryTheory.CategoryStruct.id (X.obj (Opposite.op CategoryTheory.WithInitial.star))

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompToArrowIso_hom_app_left E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X : CategoryTheory.Functor AugmentedSimplexCategoryᵒᵖ C),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompToArrowIso.hom.app X).left =
    CategoryTheory.CategoryStruct.id
      (X.obj
        (match CategoryTheory.WithTerminal.incl.obj (Opposite.op { len := 0 }) with
        | CategoryTheory.WithTerminal.of x => Opposite.op (CategoryTheory.WithInitial.of (Opposite.unop x))
        | CategoryTheory.WithTerminal.star => Opposite.op CategoryTheory.WithInitial.star))

theorem AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompToArrowIso_inv_app_right E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C]
  (X : CategoryTheory.Functor AugmentedSimplexCategoryᵒᵖ C),
  (AugmentedSimplexCategory.equivAugmentedSimplicialObjectFunctorCompToArrowIso.inv.app X).right =
    CategoryTheory.CategoryStruct.id (X.obj (Opposite.op CategoryTheory.WithInitial.star))