Skip to content

Commit

Permalink
feat(algebra/ring/equiv): Add ring_equiv.comp_symm (#17045)
Browse files Browse the repository at this point in the history
Some lemmata needed for the study of inertia group. These lemmas already exist for `alg_equiv` under the corresponding names.
  • Loading branch information
mkaratarakis committed Oct 21, 2022
1 parent ea1362f commit ee5e5e8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/algebra/ring/equiv.lean
Expand Up @@ -361,6 +361,14 @@ in higher generality -/
@[simp] lemma coe_ring_hom_trans [non_assoc_semiring S'] (e₁ : R ≃+* S) (e₂ : S ≃+* S') :
(e₁.trans e₂ : R →+* S') = (e₂ : S →+* S').comp ↑e₁ := rfl

@[simp] lemma comp_symm (e : R ≃+* S) :
(e : R →+* S).comp (e.symm : S →+* R) = ring_hom.id S :=
ring_hom.ext e.apply_symm_apply

@[simp] lemma symm_comp (e : R ≃+* S) :
(e.symm : S →+* R).comp (e : R →+* S) = ring_hom.id R :=
ring_hom.ext e.symm_apply_apply

end semiring

section non_unital_ring
Expand Down

0 comments on commit ee5e5e8

Please sign in to comment.