Skip to content

Commit

Permalink
fix(data/polynomial/basic): op_ring_equiv docstring (#13132)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbuzzard committed Apr 3, 2022
1 parent 36e1cdf commit 61e18ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/data/polynomial/basic.lean
Expand Up @@ -175,7 +175,8 @@ def to_finsupp_iso : R[X] ≃+* add_monoid_algebra R ℕ :=
map_mul' := by { rintros ⟨⟩ ⟨⟩, simp [mul_to_finsupp] },
map_add' := by { rintros ⟨⟩ ⟨⟩, simp [add_to_finsupp] } }

/-- Ring isomorphism between `R[X]ᵐᵒᵖ` and `R[X]ᵐᵒᵖ`. -/
/-- Ring isomorphism between `R[X]ᵐᵒᵖ` and `Rᵐᵒᵖ[X]` sending each coefficient of a polynomial
to the corresponding element of the opposite ring. -/
@[simps]
def op_ring_equiv : R[X]ᵐᵒᵖ ≃+* Rᵐᵒᵖ[X] :=
((to_finsupp_iso R).op.trans add_monoid_algebra.op_ring_equiv).trans (to_finsupp_iso _).symm
Expand Down

0 comments on commit 61e18ae

Please sign in to comment.