Skip to content

Commit

Permalink
fix(ring_theory/subring): inclusion is a ring_hom! (#9849)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcommelin committed Oct 21, 2021
1 parent d8b0d1a commit d8096aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ring_theory/subring.lean
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ namespace subring
open ring_hom

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

@[simp] lemma range_subtype (s : subring R) : s.subtype.range = s :=
Expand Down

0 comments on commit d8096aa

Please sign in to comment.