Skip to content

Commit

Permalink
fix(ring_theory/subsemiring/basic): make inclusion a ring_hom, no…
Browse files Browse the repository at this point in the history
…t a `monoid_hom` (#13746)
  • Loading branch information
j-loreaux committed Apr 27, 2022
1 parent 60bb071 commit e89510c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ring_theory/subsemiring/basic.lean
Expand Up @@ -873,7 +873,7 @@ namespace subsemiring
open ring_hom

/-- The ring homomorphism associated to an inclusion of subsemirings. -/
def inclusion {S T : subsemiring R} (h : S ≤ T) : S →* T :=
def inclusion {S T : subsemiring R} (h : S ≤ T) : S →+* T :=
S.subtype.cod_srestrict _ (λ x, h x.2)

@[simp] lemma srange_subtype (s : subsemiring R) : s.subtype.srange = s :=
Expand Down

0 comments on commit e89510c

Please sign in to comment.