Metamath Proof Explorer


Theorem ply1lmod

Description: Univariate polynomials form a left module. (Contributed by Stefan O'Rear, 26-Mar-2015) Revise df-ply1 . (Revised by Thierry Arnoux, 15-Nov-2026)

Ref Expression
Hypothesis ply1lmod.p ⊢ P = Poly 1 ⁡ R
Assertion ply1lmod ⊢ R ∈ Ring → P ∈ LMod

Proof

Step Hyp Ref Expression
1 ply1lmod.p ⊢ P = Poly 1 ⁡ R
2 eqid ⊢ Base P = Base P
3 1 2 ply1bas ⊢ Base P = Base 1 𝑜 mPoly R
4 3 a1i ⊢ R ∈ Ring → Base P = Base 1 𝑜 mPoly R
5 4 oveq2d ⊢ R ∈ Ring → PwSer 1 ⁡ R ↾ 𝑠 Base P = PwSer 1 ⁡ R ↾ 𝑠 Base 1 𝑜 mPoly R
6 eqid ⊢ PwSer 1 ⁡ R = PwSer 1 ⁡ R
7 6 psr1lmod ⊢ R ∈ Ring → PwSer 1 ⁡ R ∈ LMod
8 eqid ⊢ Poly 1 ⁡ R = Poly 1 ⁡ R
9 eqid ⊢ Base Poly 1 ⁡ R = Base Poly 1 ⁡ R
10 8 9 ply1bas ⊢ Base Poly 1 ⁡ R = Base 1 𝑜 mPoly R
11 8 6 9 ply1lss ⊢ R ∈ Ring → Base Poly 1 ⁡ R ∈ LSubSp ⁡ PwSer 1 ⁡ R
12 10 11 eqeltrrid ⊢ R ∈ Ring → Base 1 𝑜 mPoly R ∈ LSubSp ⁡ PwSer 1 ⁡ R
13 eqid ⊢ PwSer 1 ⁡ R ↾ 𝑠 Base 1 𝑜 mPoly R = PwSer 1 ⁡ R ↾ 𝑠 Base 1 𝑜 mPoly R
14 eqid ⊢ LSubSp ⁡ PwSer 1 ⁡ R = LSubSp ⁡ PwSer 1 ⁡ R
15 13 14 lsslmod ⊢ PwSer 1 ⁡ R ∈ LMod ∧ Base 1 𝑜 mPoly R ∈ LSubSp ⁡ PwSer 1 ⁡ R → PwSer 1 ⁡ R ↾ 𝑠 Base 1 𝑜 mPoly R ∈ LMod
16 7 12 15 syl2anc ⊢ R ∈ Ring → PwSer 1 ⁡ R ↾ 𝑠 Base 1 𝑜 mPoly R ∈ LMod
17 5 16 eqeltrd ⊢ R ∈ Ring → PwSer 1 ⁡ R ↾ 𝑠 Base P ∈ LMod
18 eqidd ⊢ R ∈ Ring → Base P = Base P
19 1 6 2 ply1subrg ⊢ R ∈ Ring → Base P ∈ SubRing ⁡ PwSer 1 ⁡ R
20 eqid ⊢ Base PwSer 1 ⁡ R = Base PwSer 1 ⁡ R
21 20 subrgss ⊢ Base P ∈ SubRing ⁡ PwSer 1 ⁡ R → Base P ⊆ Base PwSer 1 ⁡ R
22 eqid ⊢ PwSer 1 ⁡ R ↾ 𝑠 Base P = PwSer 1 ⁡ R ↾ 𝑠 Base P
23 22 20 ressbas2 ⊢ Base P ⊆ Base PwSer 1 ⁡ R → Base P = Base PwSer 1 ⁡ R ↾ 𝑠 Base P
24 19 21 23 3syl ⊢ R ∈ Ring → Base P = Base PwSer 1 ⁡ R ↾ 𝑠 Base P
25 1 6 ply1val ⊢ R ∈ Ring → P = PwSer 1 ⁡ R ↾ 𝑠 Base 1 𝑜 mPoly R sSet EuclF ⁡ ndx deg 1 ⁡ R
26 3 18 eqtr3id ⊢ R ∈ Ring → Base 1 𝑜 mPoly R = Base P
27 26 oveq2d ⊢ R ∈ Ring → PwSer 1 ⁡ R ↾ 𝑠 Base 1 𝑜 mPoly R = PwSer 1 ⁡ R ↾ 𝑠 Base P
28 27 oveq1d ⊢ R ∈ Ring → PwSer 1 ⁡ R ↾ 𝑠 Base 1 𝑜 mPoly R sSet EuclF ⁡ ndx deg 1 ⁡ R = PwSer 1 ⁡ R ↾ 𝑠 Base P sSet EuclF ⁡ ndx deg 1 ⁡ R
29 25 28 eqtrd ⊢ R ∈ Ring → P = PwSer 1 ⁡ R ↾ 𝑠 Base P sSet EuclF ⁡ ndx deg 1 ⁡ R
30 29 fveq2d ⊢ R ∈ Ring → + P = + PwSer 1 ⁡ R ↾ 𝑠 Base P sSet EuclF ⁡ ndx deg 1 ⁡ R
31 plusgid ⊢ + 𝑔 = Slot + ndx
32 plusgndxneufndx ⊢ + ndx ≠ EuclF ⁡ ndx
33 31 32 setsnid ⊢ + PwSer 1 ⁡ R ↾ 𝑠 Base P = + PwSer 1 ⁡ R ↾ 𝑠 Base P sSet EuclF ⁡ ndx deg 1 ⁡ R
34 30 33 eqtr4di ⊢ R ∈ Ring → + P = + PwSer 1 ⁡ R ↾ 𝑠 Base P
35 34 oveqdr ⊢ R ∈ Ring ∧ x ∈ Base P ∧ y ∈ Base P → x + P y = x + PwSer 1 ⁡ R ↾ 𝑠 Base P y
36 1 ply1sca ⊢ R ∈ Ring → R = Scalar ⁡ P
37 6 psr1sca ⊢ R ∈ Ring → R = Scalar ⁡ PwSer 1 ⁡ R
38 fvex ⊢ Base P ∈ V
39 eqid ⊢ Scalar ⁡ PwSer 1 ⁡ R = Scalar ⁡ PwSer 1 ⁡ R
40 22 39 resssca ⊢ Base P ∈ V → Scalar ⁡ PwSer 1 ⁡ R = Scalar ⁡ PwSer 1 ⁡ R ↾ 𝑠 Base P
41 38 40 ax-mp ⊢ Scalar ⁡ PwSer 1 ⁡ R = Scalar ⁡ PwSer 1 ⁡ R ↾ 𝑠 Base P
42 37 41 eqtrdi ⊢ R ∈ Ring → R = Scalar ⁡ PwSer 1 ⁡ R ↾ 𝑠 Base P
43 eqid ⊢ Base R = Base R
44 29 fveq2d ⊢ R ∈ Ring → ⋅ P = ⋅ PwSer 1 ⁡ R ↾ 𝑠 Base P sSet EuclF ⁡ ndx deg 1 ⁡ R
45 vscaid ⊢ ⋅ 𝑠 = Slot ⋅ ndx
46 vscandxneufndx ⊢ ⋅ ndx ≠ EuclF ⁡ ndx
47 45 46 setsnid ⊢ ⋅ PwSer 1 ⁡ R ↾ 𝑠 Base P = ⋅ PwSer 1 ⁡ R ↾ 𝑠 Base P sSet EuclF ⁡ ndx deg 1 ⁡ R
48 44 47 eqtr4di ⊢ R ∈ Ring → ⋅ P = ⋅ PwSer 1 ⁡ R ↾ 𝑠 Base P
49 48 oveqdr ⊢ R ∈ Ring ∧ x ∈ Base R ∧ y ∈ Base P → x ⋅ P y = x ⋅ PwSer 1 ⁡ R ↾ 𝑠 Base P y
50 18 24 35 36 42 43 49 lmodpropd ⊢ R ∈ Ring → P ∈ LMod ↔ PwSer 1 ⁡ R ↾ 𝑠 Base P ∈ LMod
51 17 50 mpbird ⊢ R ∈ Ring → P ∈ LMod