Lemmas that should possibly be in mathlib. Do not introduce new definitions here.
Over categories #
theorem
CategoryTheory.Over.homMk_comp
{C : Type u_1}
[Category.{u_2, u_1} C]
{B : C}
{U V W : Over B}
(f : U.left ⟶ V.left)
(g : V.left ⟶ W.left)
(fg_comp : CategoryStruct.comp (CategoryStruct.comp f g) W.hom = U.hom)
(f_comp : CategoryStruct.comp f V.hom = U.hom)
(g_comp : CategoryStruct.comp g W.hom = V.hom)
:
This is useful when homMk (· ≫ ·)
appears under Functor.map
or a natural equivalence.
@[simp]
ChosenFiniteProducts.ofFiniteProducts #
Simplify monoidal structure coming from HasFiniteProducts
into prod.foo
.
See https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Cartesian.20closed.20Monoidal.20categories.2E
@[simp]
theorem
CategoryTheory.ChosenFiniteProducts.ofFiniteProducts_fst
{C : Type u_1}
[Category.{u_2, u_1} C]
[Limits.HasFiniteProducts C]
(X Y : C)
:
@[simp]
theorem
CategoryTheory.ChosenFiniteProducts.ofFiniteProducts_snd
{C : Type u_1}
[Category.{u_2, u_1} C]
[Limits.HasFiniteProducts C]
(X Y : C)
: