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.Datatypes

33 declarations and 1 deprecated aliases. Mathlib docs · Source

theorem Mathlib.Tactic.Bicategory.Context.mk.inj E1 #

∀ {level₂ level₁ level₀ : Lean.Level} {B : Q(Type level₀)} {instBicategory : Q(CategoryTheory.Bicategory «$B»)}
  {level₂_1 level₁_1 level₀_1 : Lean.Level} {B_1 : Q(Type level₀_1)}
  {instBicategory_1 : Q(CategoryTheory.Bicategory «$B_1»)},
  { level₂ := level₂, level₁ := level₁, level₀ := level₀, B := B, instBicategory := instBicategory } =
      { level₂ := level₂_1, level₁ := level₁_1, level₀ := level₀_1, B := B_1, instBicategory := instBicategory_1 } →
    level₂ = level₂_1 ∧ level₁ = level₁_1 ∧ level₀ = level₀_1 ∧ B = B_1 ∧ instBicategory = instBicategory_1

def Mathlib.Tactic.Bicategory.Context.ctorIdx E1 #

Mathlib.Tactic.Bicategory.Context → ℕ

theorem Mathlib.Tactic.Bicategory.Context.mk.injEq E0 #

∀ (level₂ level₁ level₀ : Lean.Level) (B : Q(Type level₀)) (instBicategory : Q(CategoryTheory.Bicategory «$B»))
  (level₂_1 level₁_1 level₀_1 : Lean.Level) (B_1 : Q(Type level₀_1))
  (instBicategory_1 : Q(CategoryTheory.Bicategory «$B_1»)),
  ({ level₂ := level₂, level₁ := level₁, level₀ := level₀, B := B, instBicategory := instBicategory } =
      { level₂ := level₂_1, level₁ := level₁_1, level₀ := level₀_1, B := B_1, instBicategory := instBicategory_1 }) =
    (level₂ = level₂_1 ∧ level₁ = level₁_1 ∧ level₀ = level₀_1 ∧ B = B_1 ∧ instBicategory = instBicategory_1)

def Mathlib.Tactic.Bicategory.srcExpr E1 #

Lean.Expr → Lean.MetaM Lean.Expr

The domain of a morphism.

def Mathlib.Tactic.Bicategory.tgtExpr E1 #

Lean.Expr → Lean.MetaM Lean.Expr

The codomain of a morphism.

def Mathlib.Tactic.Bicategory.srcExprOfIso E1 #

Lean.Expr → Lean.MetaM Lean.Expr

The domain of an isomorphism.

def Mathlib.Tactic.Bicategory.tgtExprOfIso E1 #

Lean.Expr → Lean.MetaM Lean.Expr

The codomain of an isomorphism.

structure Mathlib.Tactic.Bicategory.Context E1 #

Type

The context for evaluating expressions.

ctor Mathlib.Tactic.Bicategory.Context.mk E0 #

(level₂ level₁ level₀ : Lean.Level) →
  (B : Q(Type level₀)) → Q(CategoryTheory.Bicategory «$B») → Mathlib.Tactic.Bicategory.Context

abbrev Mathlib.Tactic.Bicategory.Context.level₂ E1 #

Mathlib.Tactic.Bicategory.Context → Lean.Level

The level for 2-morphisms.

abbrev Mathlib.Tactic.Bicategory.Context.level₁ E1 #

Mathlib.Tactic.Bicategory.Context → Lean.Level

The level for 1-morphisms.

abbrev Mathlib.Tactic.Bicategory.Context.level₀ E1 #

Mathlib.Tactic.Bicategory.Context → Lean.Level

The level for objects.

abbrev Mathlib.Tactic.Bicategory.Context.B E1 #

(self : Mathlib.Tactic.Bicategory.Context) → Q(Type udummy._pp_uniq.3)

The expression for the underlying category.

abbrev Mathlib.Tactic.Bicategory.Context.instBicategory E1 #

(self : Mathlib.Tactic.Bicategory.Context) → Q(CategoryTheory.Bicategory unknown_1)

The bicategory instance.

def Mathlib.Tactic.Bicategory.mkContext? E1 #

Lean.Expr → Lean.MetaM (Option Mathlib.Tactic.Bicategory.Context)

Populate a context object for evaluating e.

instance Mathlib.Tactic.Bicategory.instContextContext E0 #

Mathlib.Tactic.BicategoryLike.Context Mathlib.Tactic.Bicategory.Context

abbrev Mathlib.Tactic.Bicategory.BicategoryM E1 #

Type → Type

The monad for the normalization of 2-morphisms.

instance Mathlib.Tactic.Bicategory.instMonadMor₁BicategoryM E0 #

Mathlib.Tactic.BicategoryLike.MonadMor₁ Mathlib.Tactic.Bicategory.BicategoryM

theorem Mathlib.Tactic.Bicategory.structuralIso_inv E1 #

∀ {B : Type u} [inst : CategoryTheory.Bicategory B] {a b : B} {f g : a ⟶ b} (η : f ≅ g), η.symm.hom = η.inv

theorem Mathlib.Tactic.Bicategory.structuralIsoOfExpr_comp E1 #

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

theorem Mathlib.Tactic.Bicategory.structuralIsoOfExpr_whiskerLeft E1 #

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

theorem Mathlib.Tactic.Bicategory.structuralIsoOfExpr_whiskerRight E1 #

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

theorem Mathlib.Tactic.Bicategory.StructuralOfExpr_bicategoricalComp E1 #

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

instance Mathlib.Tactic.Bicategory.instMonadMor₂IsoBicategoryM E0 #

Mathlib.Tactic.BicategoryLike.MonadMor₂Iso Mathlib.Tactic.Bicategory.BicategoryM

instance Mathlib.Tactic.Bicategory.instMonadMor₂BicategoryM E0 #

Mathlib.Tactic.BicategoryLike.MonadMor₂ Mathlib.Tactic.Bicategory.BicategoryM

def Mathlib.Tactic.Bicategory.id₁? E1 #

Lean.Expr → Mathlib.Tactic.Bicategory.BicategoryM (Option Mathlib.Tactic.BicategoryLike.Obj)

Check that e is definitionally equal to 𝟙 a.

def Mathlib.Tactic.Bicategory.comp? E1 #

Lean.Expr →
  Mathlib.Tactic.Bicategory.BicategoryM
    (Option (Mathlib.Tactic.BicategoryLike.Mor₁ × Mathlib.Tactic.BicategoryLike.Mor₁))

Return (f, g) if e is definitionally equal to f ≫ g.

opaque Mathlib.Tactic.Bicategory.mor₁OfExpr E1 #

Lean.Expr → Mathlib.Tactic.Bicategory.BicategoryM Mathlib.Tactic.BicategoryLike.Mor₁

Construct a Mor₁ expression from a Lean expression.

instance Mathlib.Tactic.Bicategory.instMkMor₁BicategoryM E0 #

Mathlib.Tactic.BicategoryLike.MkMor₁ Mathlib.Tactic.Bicategory.BicategoryM

opaque Mathlib.Tactic.Bicategory.Mor₂IsoOfExpr E1 #

Lean.Expr → Mathlib.Tactic.Bicategory.BicategoryM Mathlib.Tactic.BicategoryLike.Mor₂Iso

Construct a Mor₂Iso term from a Lean expression.

opaque Mathlib.Tactic.Bicategory.Mor₂OfExpr E1 #

Lean.Expr → Mathlib.Tactic.Bicategory.BicategoryM Mathlib.Tactic.BicategoryLike.Mor₂

Construct a Mor₂ term from a Lean expression.

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

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

instance Mathlib.Tactic.Bicategory.instMonadCoherenceHomBicategoryM E0 #

Mathlib.Tactic.BicategoryLike.MonadCoherenceHom Mathlib.Tactic.Bicategory.BicategoryM

Deprecated aliases

NameNew nameSince
Mathlib.Tactic.Bicategory.instMonadCoherehnceHomBicategoryMMathlib.Tactic.Bicategory.instMonadCoherenceHomBicategoryM2026-09-17