Skip to content

Commit

Permalink
feat: add StarMemClass.coe_star (#9762)
Browse files Browse the repository at this point in the history
  • Loading branch information
ADedecker committed Jan 15, 2024
1 parent 6e66ddc commit 9007a3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Mathlib/Algebra/Star/Basic.lean
Expand Up @@ -71,6 +71,8 @@ variable {S : Type w} [Star R] [SetLike S R] [hS : StarMemClass S R] (s : S)
instance instStar : Star s where
star r := ⟨star (r : R), star_mem r.prop⟩

@[simp] lemma coe_star (x : s) : star x = star (x : R) := rfl

end StarMemClass

/-- Typeclass for a star operation with is involutive.
Expand Down

0 comments on commit 9007a3c

Please sign in to comment.