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 / V34. The tactics of Mathlib

Mathlib.Tactic.CategoryTheory.Bicategory.Normalize

26 declarations. Mathlib docs · Source

theorem Mathlib.Tactic.Bicategory.evalComp_nil_nil E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g h : a ⟶ b} (α : f ≅ g) (β : g ≅ h),
  (α ≪≫ β).hom = (α ≪≫ β).hom

theorem Mathlib.Tactic.Bicategory.evalComp_nil_cons E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g h i j : a ⟶ b} (α : f ≅ g) (β : g ≅ h) (η : h ⟶ i)
  (ηs : i ⟶ j),
  CategoryTheory.CategoryStruct.comp α.hom
      (CategoryTheory.CategoryStruct.comp β.hom (CategoryTheory.CategoryStruct.comp η ηs)) =
    CategoryTheory.CategoryStruct.comp (α ≪≫ β).hom (CategoryTheory.CategoryStruct.comp η ηs)

theorem Mathlib.Tactic.Bicategory.evalComp_cons E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g h i j : a ⟶ b} (α : f ≅ g) (η : g ⟶ h) {ηs : h ⟶ i}
  {θ : i ⟶ j} {ι : h ⟶ j},
  CategoryTheory.CategoryStruct.comp ηs θ = ι →
    CategoryTheory.CategoryStruct.comp
        (CategoryTheory.CategoryStruct.comp α.hom (CategoryTheory.CategoryStruct.comp η ηs)) θ =
      CategoryTheory.CategoryStruct.comp α.hom (CategoryTheory.CategoryStruct.comp η ι)

theorem Mathlib.Tactic.Bicategory.eval_comp E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g h : a ⟶ b} {η η' : f ⟶ g} {θ θ' : g ⟶ h} {ι : f ⟶ h},
  η = η' → θ = θ' → CategoryTheory.CategoryStruct.comp η' θ' = ι → CategoryTheory.CategoryStruct.comp η θ = ι

theorem Mathlib.Tactic.Bicategory.eval_of E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η : f ⟶ g),
  η =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Iso.refl f).hom
      (CategoryTheory.CategoryStruct.comp η (CategoryTheory.Iso.refl g).hom)

theorem Mathlib.Tactic.Bicategory.eval_monoidalComp E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g h i : a ⟶ b} {η η' : f ⟶ g} {α : g ≅ h}
  {θ θ' : h ⟶ i} {αθ : g ⟶ i} {ηαθ : f ⟶ i},
  η = η' →
    θ = θ' →
      CategoryTheory.CategoryStruct.comp α.hom θ' = αθ →
        CategoryTheory.CategoryStruct.comp η' αθ = ηαθ →
          CategoryTheory.CategoryStruct.comp η (CategoryTheory.CategoryStruct.comp α.hom θ) = ηαθ

theorem Mathlib.Tactic.Bicategory.evalWhiskerLeft_nil E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} (f : a ⟶ b) {g h : b ⟶ c} (α : g ≅ h),
  (CategoryTheory.Bicategory.whiskerLeftIso f α).hom = (CategoryTheory.Bicategory.whiskerLeftIso f α).hom

theorem Mathlib.Tactic.Bicategory.evalWhiskerLeft_of_cons E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g h i j : b ⟶ c} (α : g ≅ h) (η : h ⟶ i)
  {ηs : i ⟶ j} {θ : CategoryTheory.CategoryStruct.comp f i ⟶ CategoryTheory.CategoryStruct.comp f j},
  CategoryTheory.Bicategory.whiskerLeft f ηs = θ →
    CategoryTheory.Bicategory.whiskerLeft f
        (CategoryTheory.CategoryStruct.comp α.hom (CategoryTheory.CategoryStruct.comp η ηs)) =
      CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeftIso f α).hom
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f η) θ)

theorem Mathlib.Tactic.Bicategory.evalWhiskerLeft_comp E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f : a ⟶ b} {g : b ⟶ c} {h i : c ⟶ d} {η : h ⟶ i}
  {η₁ : CategoryTheory.CategoryStruct.comp g h ⟶ CategoryTheory.CategoryStruct.comp g i}
  {η₂ :
    CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g h) ⟶
      CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g i)}
  {η₃ :
    CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g h) ⟶
      CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g) i}
  {η₄ :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g) h ⟶
      CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g) i},
  CategoryTheory.Bicategory.whiskerLeft g η = η₁ →
    CategoryTheory.Bicategory.whiskerLeft f η₁ = η₂ →
      CategoryTheory.CategoryStruct.comp η₂ (CategoryTheory.Bicategory.associator f g i).inv = η₃ →
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).hom η₃ = η₄ →
          CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.comp f g) η = η₄

theorem Mathlib.Tactic.Bicategory.evalWhiskerLeft_id E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} {η : f ⟶ g}
  {η₁ : f ⟶ CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id a) g}
  {η₂ :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id a) f ⟶
      CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.id a) g},
  CategoryTheory.CategoryStruct.comp η (CategoryTheory.Bicategory.leftUnitor g).inv = η₁ →
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.leftUnitor f).hom η₁ = η₂ →
      CategoryTheory.Bicategory.whiskerLeft (CategoryTheory.CategoryStruct.id a) η = η₂

theorem Mathlib.Tactic.Bicategory.eval_whiskerLeft E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f : a ⟶ b} {g h : b ⟶ c} {η η' : g ⟶ h}
  {θ : CategoryTheory.CategoryStruct.comp f g ⟶ CategoryTheory.CategoryStruct.comp f h},
  η = η' → CategoryTheory.Bicategory.whiskerLeft f η' = θ → CategoryTheory.Bicategory.whiskerLeft f η = θ

theorem Mathlib.Tactic.Bicategory.eval_whiskerRight E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f g : a ⟶ b} {h : b ⟶ c} {η η' : f ⟶ g}
  {θ : CategoryTheory.CategoryStruct.comp f h ⟶ CategoryTheory.CategoryStruct.comp g h},
  η = η' → CategoryTheory.Bicategory.whiskerRight η' h = θ → CategoryTheory.Bicategory.whiskerRight η h = θ

theorem Mathlib.Tactic.Bicategory.evalWhiskerRight_nil E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f g : a ⟶ b} (α : f ≅ g) (h : b ⟶ c),
  CategoryTheory.Bicategory.whiskerRight α.hom h = CategoryTheory.Bicategory.whiskerRight α.hom h

theorem Mathlib.Tactic.Bicategory.evalWhiskerRightAux_of E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f g : a ⟶ b} (η : f ⟶ g) (h : b ⟶ c),
  CategoryTheory.Bicategory.whiskerRight η h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Iso.refl (CategoryTheory.CategoryStruct.comp f h)).hom
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRight η h)
        (CategoryTheory.Iso.refl (CategoryTheory.CategoryStruct.comp g h)).hom)

theorem Mathlib.Tactic.Bicategory.evalWhiskerRight_cons_of_of E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c : B} {f g h i : a ⟶ b} {j : b ⟶ c} {α : f ≅ g} {η : g ⟶ h}
  {ηs : h ⟶ i} {ηs₁ : CategoryTheory.CategoryStruct.comp h j ⟶ CategoryTheory.CategoryStruct.comp i j}
  {η₁ : CategoryTheory.CategoryStruct.comp g j ⟶ CategoryTheory.CategoryStruct.comp h j}
  {η₂ : CategoryTheory.CategoryStruct.comp g j ⟶ CategoryTheory.CategoryStruct.comp i j}
  {η₃ : CategoryTheory.CategoryStruct.comp f j ⟶ CategoryTheory.CategoryStruct.comp i j},
  CategoryTheory.Bicategory.whiskerRight ηs j = ηs₁ →
    CategoryTheory.Bicategory.whiskerRight η j = η₁ →
      CategoryTheory.CategoryStruct.comp η₁ ηs₁ = η₂ →
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRightIso α j).hom η₂ = η₃ →
          CategoryTheory.Bicategory.whiskerRight
              (CategoryTheory.CategoryStruct.comp α.hom (CategoryTheory.CategoryStruct.comp η ηs)) j =
            η₃

theorem Mathlib.Tactic.Bicategory.evalWhiskerRight_cons_whisker E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f : a ⟶ b} {g : a ⟶ c} {h i : b ⟶ c} {j : a ⟶ c}
  {k : c ⟶ d} {α : g ≅ CategoryTheory.CategoryStruct.comp f h} {η : h ⟶ i}
  {ηs : CategoryTheory.CategoryStruct.comp f i ⟶ j}
  {η₁ : CategoryTheory.CategoryStruct.comp h k ⟶ CategoryTheory.CategoryStruct.comp i k}
  {η₂ :
    CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp h k) ⟶
      CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp i k)}
  {ηs₁ :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f i) k ⟶
      CategoryTheory.CategoryStruct.comp j k}
  {ηs₂ :
    CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp i k) ⟶
      CategoryTheory.CategoryStruct.comp j k}
  {η₃ :
    CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp h k) ⟶
      CategoryTheory.CategoryStruct.comp j k}
  {η₄ :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f h) k ⟶
      CategoryTheory.CategoryStruct.comp j k}
  {η₅ : CategoryTheory.CategoryStruct.comp g k ⟶ CategoryTheory.CategoryStruct.comp j k},
  CategoryTheory.Bicategory.whiskerRight
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Iso.refl h).hom
          (CategoryTheory.CategoryStruct.comp η (CategoryTheory.Iso.refl i).hom))
        k =
      η₁ →
    CategoryTheory.Bicategory.whiskerLeft f η₁ = η₂ →
      CategoryTheory.Bicategory.whiskerRight ηs k = ηs₁ →
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f i k).inv ηs₁ = ηs₂ →
          CategoryTheory.CategoryStruct.comp η₂ ηs₂ = η₃ →
            CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f h k).hom η₃ = η₄ →
              CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerRightIso α k).hom η₄ = η₅ →
                CategoryTheory.Bicategory.whiskerRight
                    (CategoryTheory.CategoryStruct.comp α.hom
                      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.whiskerLeft f η) ηs))
                    k =
                  η₅

theorem Mathlib.Tactic.Bicategory.evalWhiskerRight_comp E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b c d : B} {f f' : a ⟶ b} {g : b ⟶ c} {h : c ⟶ d} {η : f ⟶ f'}
  {η₁ : CategoryTheory.CategoryStruct.comp f g ⟶ CategoryTheory.CategoryStruct.comp f' g}
  {η₂ :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g) h ⟶
      CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f' g) h}
  {η₃ :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f g) h ⟶
      CategoryTheory.CategoryStruct.comp f' (CategoryTheory.CategoryStruct.comp g h)}
  {η₄ :
    CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g h) ⟶
      CategoryTheory.CategoryStruct.comp f' (CategoryTheory.CategoryStruct.comp g h)},
  CategoryTheory.Bicategory.whiskerRight η g = η₁ →
    CategoryTheory.Bicategory.whiskerRight η₁ h = η₂ →
      CategoryTheory.CategoryStruct.comp η₂ (CategoryTheory.Bicategory.associator f' g h).hom = η₃ →
        CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.associator f g h).inv η₃ = η₄ →
          CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.comp g h) = η₄

theorem Mathlib.Tactic.Bicategory.evalWhiskerRight_id E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} {η : f ⟶ g}
  {η₁ : f ⟶ CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id b)}
  {η₂ :
    CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.id b) ⟶
      CategoryTheory.CategoryStruct.comp g (CategoryTheory.CategoryStruct.id b)},
  CategoryTheory.CategoryStruct.comp η (CategoryTheory.Bicategory.rightUnitor g).inv = η₁ →
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Bicategory.rightUnitor f).hom η₁ = η₂ →
      CategoryTheory.Bicategory.whiskerRight η (CategoryTheory.CategoryStruct.id b) = η₂

theorem Mathlib.Tactic.Bicategory.eval_bicategoricalComp E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g h i : a ⟶ b} {η η' : f ⟶ g} {α : g ≅ h}
  {θ θ' : h ⟶ i} {αθ : g ⟶ i} {ηαθ : f ⟶ i},
  η = η' →
    θ = θ' →
      CategoryTheory.CategoryStruct.comp α.hom θ' = αθ →
        CategoryTheory.CategoryStruct.comp η' αθ = ηαθ →
          CategoryTheory.CategoryStruct.comp η (CategoryTheory.CategoryStruct.comp α.hom θ) = ηαθ

instance Mathlib.Tactic.Bicategory.instMkEvalCompBicategoryM E0 #

Mathlib.Tactic.BicategoryLike.MkEvalComp Mathlib.Tactic.Bicategory.BicategoryM

instance Mathlib.Tactic.Bicategory.instMkEvalWhiskerLeftBicategoryM E0 #

Mathlib.Tactic.BicategoryLike.MkEvalWhiskerLeft Mathlib.Tactic.Bicategory.BicategoryM

instance Mathlib.Tactic.Bicategory.instMkEvalWhiskerRightBicategoryM E0 #

Mathlib.Tactic.BicategoryLike.MkEvalWhiskerRight Mathlib.Tactic.Bicategory.BicategoryM

instance Mathlib.Tactic.Bicategory.instMkEvalHorizontalCompBicategoryM E0 #

Mathlib.Tactic.BicategoryLike.MkEvalHorizontalComp Mathlib.Tactic.Bicategory.BicategoryM

instance Mathlib.Tactic.Bicategory.instMkEvalBicategoryM E0 #

Mathlib.Tactic.BicategoryLike.MkEval Mathlib.Tactic.Bicategory.BicategoryM

instance Mathlib.Tactic.Bicategory.instMonadNormalExprBicategoryM E0 #

Mathlib.Tactic.BicategoryLike.MonadNormalExpr Mathlib.Tactic.Bicategory.BicategoryM

instance Mathlib.Tactic.Bicategory.instMkMor₂BicategoryM_1 E0 #

Mathlib.Tactic.BicategoryLike.MkMor₂ Mathlib.Tactic.Bicategory.BicategoryM