Skip to content

Commit

Permalink
feat(Order/Nucleus): coe_mk simp lemma (#21346)
Browse files Browse the repository at this point in the history
Add `Nucleus.coe_mk`.
 


Co-authored-by: Bergschaf <[email protected]>
  • Loading branch information
Bergschaf and Bergschaf committed Feb 3, 2025
1 parent e1f1958 commit 0770956
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Mathlib/Order/Nucleus.lean
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ instance : FunLike (Nucleus X) X X where

lemma toFun_eq_coe (n : Nucleus X) : n.toFun = n := rfl
@[simp] lemma coe_toInfHom (n : Nucleus X) : ⇑n.toInfHom = n := rfl
@[simp] lemma coe_mk (f : InfHom X X) (h1 h2) : ⇑(mk f h1 h2) = f := rfl

instance : NucleusClass (Nucleus X) X where
idempotent _ _ := idempotent' ..
Expand Down

0 comments on commit 0770956

Please sign in to comment.