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.Shift.Twist

22 declarations. Mathlib docs · Source

theorem CategoryTheory.TwistShiftData.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type w} [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (z : A → A → (CategoryTheory.CatCenter C)ˣ)
  (z_zero_zero : autoParam (z 0 0 = 1) CategoryTheory.TwistShiftData.z_zero_zero._autoParam)
  (assoc :
    autoParam (∀ (a b c : A), z (a + b) c * z a b = z a (b + c) * z b c) CategoryTheory.TwistShiftData.assoc._autoParam)
  (commShift :
    autoParam (∀ (a b : A), CategoryTheory.NatTrans.CommShift (↑(z a b)).asHom A)
      CategoryTheory.TwistShiftData.commShift._autoParam)
  (z_1 : A → A → (CategoryTheory.CatCenter C)ˣ)
  (z_zero_zero_1 : autoParam (z_1 0 0 = 1) CategoryTheory.TwistShiftData.z_zero_zero._autoParam)
  (assoc_1 :
    autoParam (∀ (a b c : A), z_1 (a + b) c * z_1 a b = z_1 a (b + c) * z_1 b c)
      CategoryTheory.TwistShiftData.assoc._autoParam)
  (commShift_1 :
    autoParam (∀ (a b : A), CategoryTheory.NatTrans.CommShift (↑(z_1 a b)).asHom A)
      CategoryTheory.TwistShiftData.commShift._autoParam),
  ({ z := z, z_zero_zero := z_zero_zero, assoc := assoc, commShift := commShift } =
      { z := z_1, z_zero_zero := z_zero_zero_1, assoc := assoc_1, commShift := commShift_1 }) =
    (z = z_1)

def CategoryTheory.TwistShiftData.ctorIdx E1 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    {A : Type w} →
      {inst_1 : AddMonoid A} → {inst_2 : CategoryTheory.HasShift C A} → CategoryTheory.TwistShiftData C A → ℕ

theorem CategoryTheory.TwistShiftData.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {A : Type w} {inst_1 : AddMonoid A}
  {inst_2 : CategoryTheory.HasShift C A} {z : A → A → (CategoryTheory.CatCenter C)ˣ}
  {z_zero_zero : autoParam (z 0 0 = 1) CategoryTheory.TwistShiftData.z_zero_zero._autoParam}
  {assoc :
    autoParam (∀ (a b c : A), z (a + b) c * z a b = z a (b + c) * z b c) CategoryTheory.TwistShiftData.assoc._autoParam}
  {commShift :
    autoParam (∀ (a b : A), CategoryTheory.NatTrans.CommShift (↑(z a b)).asHom A)
      CategoryTheory.TwistShiftData.commShift._autoParam}
  {z_1 : A → A → (CategoryTheory.CatCenter C)ˣ}
  {z_zero_zero_1 : autoParam (z_1 0 0 = 1) CategoryTheory.TwistShiftData.z_zero_zero._autoParam}
  {assoc_1 :
    autoParam (∀ (a b c : A), z_1 (a + b) c * z_1 a b = z_1 a (b + c) * z_1 b c)
      CategoryTheory.TwistShiftData.assoc._autoParam}
  {commShift_1 :
    autoParam (∀ (a b : A), CategoryTheory.NatTrans.CommShift (↑(z_1 a b)).asHom A)
      CategoryTheory.TwistShiftData.commShift._autoParam},
  { z := z, z_zero_zero := z_zero_zero, assoc := assoc, commShift := commShift } =
      { z := z_1, z_zero_zero := z_zero_zero_1, assoc := assoc_1, commShift := commShift_1 } →
    z = z_1

structure CategoryTheory.TwistShiftData E1 #

(C : Type u) →
  [inst : CategoryTheory.Category.{v, u} C] →
    (A : Type w) → [inst_1 : AddMonoid A] → [CategoryTheory.HasShift C A] → Type (max (max u v) w)

Given a category C equipped with a shift by a monoid A

ctor CategoryTheory.TwistShiftData.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : Type w} →
      [inst_1 : AddMonoid A] →
        [inst_2 : CategoryTheory.HasShift C A] →
          (z : A → A → (CategoryTheory.CatCenter C)ˣ) →
            autoParam (z 0 0 = 1) CategoryTheory.TwistShiftData.z_zero_zero._autoParam →
              autoParam (∀ (a b c : A), z (a + b) c * z a b = z a (b + c) * z b c)
                  CategoryTheory.TwistShiftData.assoc._autoParam →
                autoParam (∀ (a b : A), CategoryTheory.NatTrans.CommShift (↑(z a b)).asHom A)
                    CategoryTheory.TwistShiftData.commShift._autoParam →
                  CategoryTheory.TwistShiftData C A

abbrev CategoryTheory.TwistShiftData.z E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : Type w} →
      [inst_1 : AddMonoid A] →
        [inst_2 : CategoryTheory.HasShift C A] →
          CategoryTheory.TwistShiftData C A → A → A → (CategoryTheory.CatCenter C)ˣ

The invertible elements in the center of C which are used to modify the shiftFunctorAdd isomorphisms.

theorem CategoryTheory.TwistShiftData.z_zero_zero E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type w} [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (self : CategoryTheory.TwistShiftData C A), self.z 0 0 = 1

theorem CategoryTheory.TwistShiftData.assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type w} [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (self : CategoryTheory.TwistShiftData C A) (a b c : A),
  self.z (a + b) c * self.z a b = self.z a (b + c) * self.z b c

instance CategoryTheory.TwistShiftData.commShift E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type w} [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (self : CategoryTheory.TwistShiftData C A) (a b : A),
  CategoryTheory.NatTrans.CommShift (↑(self.z a b)).asHom A

theorem CategoryTheory.TwistShiftData.z_zero_right E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type w} [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (t : CategoryTheory.TwistShiftData C A) (a : A), t.z a 0 = 1

theorem CategoryTheory.TwistShiftData.z_zero_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type w} [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (t : CategoryTheory.TwistShiftData C A) (b : A), t.z 0 b = 1

theorem CategoryTheory.TwistShiftData.shift_z_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type w} [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (t : CategoryTheory.TwistShiftData C A) (a b c : A) (X : C),
  (↑(t.z a b)).app X⟦c⟧' = (↑(t.z a b)).app (X⟦c⟧)

def CategoryTheory.TwistShiftData.Category E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : Type w} →
      [inst_1 : AddMonoid A] → [inst_2 : CategoryTheory.HasShift C A] → CategoryTheory.TwistShiftData C A → Type u

Given t : TwistShiftData C A, this is a type synonym for the category C, which the same shift functors as C but where the shiftFunctorAdd isomorphisms have been modified using t.

instance CategoryTheory.TwistShiftData.instCategoryCategory E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : Type w} →
      [inst_1 : AddMonoid A] →
        [inst_2 : CategoryTheory.HasShift C A] →
          (t : CategoryTheory.TwistShiftData C A) → CategoryTheory.Category.{v, u} t.Category

def CategoryTheory.TwistShiftData.shiftMkCore E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : Type w} →
      [inst_1 : AddMonoid A] →
        [inst_2 : CategoryTheory.HasShift C A] →
          (t : CategoryTheory.TwistShiftData C A) → CategoryTheory.ShiftMkCore t.Category A

Given t : TwistShiftData C A, the shift on the category TwistShift t has the same shift functors as C, the same isomorphism shiftFunctorZero isomorphism, but the shiftFunctorAdd isomorphisms are modified using t.

instance CategoryTheory.TwistShiftData.hasShift E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : Type w} →
      [inst_1 : AddMonoid A] →
        [inst_2 : CategoryTheory.HasShift C A] →
          (t : CategoryTheory.TwistShiftData C A) → CategoryTheory.HasShift t.Category A

def CategoryTheory.TwistShiftData.shiftIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {A : Type w} →
      [inst_1 : AddMonoid A] →
        [inst_2 : CategoryTheory.HasShift C A] →
          (t : CategoryTheory.TwistShiftData C A) →
            (m : A) → CategoryTheory.shiftFunctor t.Category m ≅ CategoryTheory.shiftFunctor C m

Given t : TwistShiftData C A, the shift functors on t.Category identify to the shift functors on C.

theorem CategoryTheory.TwistShiftData.shiftFunctor_map E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type w} [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (t : CategoryTheory.TwistShiftData C A) {X Y : t.Category} (f : X ⟶ Y) (m : A),
  f⟦m⟧' =
    CategoryTheory.CategoryStruct.comp ((t.shiftIso m).hom.app X)
      (CategoryTheory.CategoryStruct.comp (f⟦m⟧') ((t.shiftIso m).inv.app Y))

theorem CategoryTheory.TwistShiftData.shiftFunctorZero_hom_app E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type w} [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (t : CategoryTheory.TwistShiftData C A) (X : t.Category),
  (CategoryTheory.shiftFunctorZero t.Category A).hom.app X =
    CategoryTheory.CategoryStruct.comp ((t.shiftIso 0).hom.app X) ((CategoryTheory.shiftFunctorZero C A).hom.app X)

theorem CategoryTheory.TwistShiftData.shiftFunctorZero_inv_app E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type w} [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (t : CategoryTheory.TwistShiftData C A) (X : t.Category),
  (CategoryTheory.shiftFunctorZero t.Category A).inv.app X =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.shiftFunctorZero C A).inv.app X) ((t.shiftIso 0).inv.app X)

theorem CategoryTheory.TwistShiftData.shiftFunctorAdd'_hom_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type w} [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (t : CategoryTheory.TwistShiftData C A) (i j k : A) (h : i + j = k)
  (X : t.Category),
  (CategoryTheory.shiftFunctorAdd' t.Category i j k h).hom.app X =
    ↑(t.z i j) •
      CategoryTheory.CategoryStruct.comp ((t.shiftIso k).hom.app X)
        (CategoryTheory.CategoryStruct.comp ((CategoryTheory.shiftFunctorAdd' C i j k h).hom.app X)
          (CategoryTheory.CategoryStruct.comp ((t.shiftIso i).inv.app X⟦j⟧') ((t.shiftIso j).inv.app (X⟦i⟧))))

theorem CategoryTheory.TwistShiftData.shiftFunctorAdd'_inv_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {A : Type w} [inst_1 : AddMonoid A]
  [inst_2 : CategoryTheory.HasShift C A] (t : CategoryTheory.TwistShiftData C A) (i j k : A) (h : i + j = k)
  (X : t.Category),
  (CategoryTheory.shiftFunctorAdd' t.Category i j k h).inv.app X =
    ↑(t.z i j)⁻¹ •
      CategoryTheory.CategoryStruct.comp ((t.shiftIso j).hom.app (X⟦i⟧))
        (CategoryTheory.CategoryStruct.comp ((t.shiftIso i).hom.app X⟦j⟧')
          (CategoryTheory.CategoryStruct.comp ((CategoryTheory.shiftFunctorAdd' C i j k h).inv.app X)
            ((t.shiftIso k).inv.app X)))