Skip to content

Commit

Permalink
chore(category_theory/monad): generate simp lemmas (#5972)
Browse files Browse the repository at this point in the history
Adds a missing simps command to generate simp lemmas for the functor.
  • Loading branch information
b-mehta committed Feb 1, 2021
1 parent 3f9b035 commit 8273588
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/category_theory/monad/products.lean
Expand Up @@ -63,6 +63,7 @@ def over_to_coalgebra :
map := λ f₁ f₂ g, { f := g.left } }

/-- The equivalence from coalgebras for the product comonad to the over category. -/
@[simps]
def coalgebra_equiv_over :
coalgebra (prod.functor.obj X) ≌ over X :=
{ functor := coalgebra_to_over X,
Expand Down

0 comments on commit 8273588

Please sign in to comment.