Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit a6ece35

Browse files
committed
chore(algebra/star/self_adjoint): generalize a lemma to semifield (#18687)
This was missed in a previous commit, and backports a change made during forward-porting.
1 parent 91862a6 commit a6ece35

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/algebra/star/self_adjoint.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,13 +196,13 @@ star_rat_cast _
196196

197197
end division_ring
198198

199-
section field
200-
variables [field R] [star_ring R]
199+
section semifield
200+
variables [semifield R] [star_ring R]
201201

202202
lemma div {x y : R} (hx : is_self_adjoint x) (hy : is_self_adjoint y) : is_self_adjoint (x / y) :=
203203
by simp only [is_self_adjoint_iff, star_div', hx.star_eq, hy.star_eq]
204204

205-
end field
205+
end semifield
206206

207207
section has_smul
208208
variables [has_star R] [add_monoid A] [star_add_monoid A] [has_smul R A] [star_module R A]

0 commit comments

Comments
 (0)