Metamath Proof Explorer


Theorem ply1crng

Description: The ring of univariate polynomials is a commutative ring. (Contributed by Mario Carneiro, 9-Feb-2015)

Ref Expression
Hypothesis ply1val.1 ⊢ P = Poly 1 ⁡ R
Assertion ply1crng ⊢ R ∈ CRing → P ∈ CRing

Proof

Step Hyp Ref Expression
1 ply1val.1 ⊢ P = Poly 1 ⁡ R
2 eqid ⊢ PwSer 1 ⁡ R = PwSer 1 ⁡ R
3 2 psr1crng ⊢ R ∈ CRing → PwSer 1 ⁡ R ∈ CRing
4 eqid ⊢ Base P = Base P
5 1 4 ply1bas ⊢ Base P = Base 1 𝑜 mPoly R
6 crngring ⊢ R ∈ CRing → R ∈ Ring
7 1 2 4 ply1subrg ⊢ R ∈ Ring → Base P ∈ SubRing ⁡ PwSer 1 ⁡ R
8 6 7 syl ⊢ R ∈ CRing → Base P ∈ SubRing ⁡ PwSer 1 ⁡ R
9 5 8 eqeltrrid ⊢ R ∈ CRing → Base 1 𝑜 mPoly R ∈ SubRing ⁡ PwSer 1 ⁡ R
10 1 2 ply1val ⊢ P = PwSer 1 ⁡ R ↾ 𝑠 Base 1 𝑜 mPoly R
11 10 subrgcrng ⊢ PwSer 1 ⁡ R ∈ CRing ∧ Base 1 𝑜 mPoly R ∈ SubRing ⁡ PwSer 1 ⁡ R → P ∈ CRing
12 3 9 11 syl2anc ⊢ R ∈ CRing → P ∈ CRing