Documentation

Mathlib.CategoryTheory.Elementwise

Use the elementwise attribute to create applied versions of lemmas. #

Usually we would use @[elementwise] at the point of definition, however some early parts of the category theory library are imported by Tactic.Elementwise, so we need to add the attribute after the fact.

We now add some elementwise attributes to lemmas that were proved earlier.

@[simp]
theorem CategoryTheory.Iso.hom_inv_id_apply {C : Type u} [CategoryTheory.Category.{v, u} C] {X : C} {Y : C} (self : X Y) [inst : CategoryTheory.ConcreteCategory C] (x : (CategoryTheory.forget C).obj X) :
self.inv (self.hom x) = x
@[simp]
theorem CategoryTheory.Iso.inv_hom_id_apply {C : Type u} [CategoryTheory.Category.{v, u} C] {X : C} {Y : C} (self : X Y) [inst : CategoryTheory.ConcreteCategory C] (x : (CategoryTheory.forget C).obj Y) :
self.hom (self.inv x) = x