Metamath Proof Explorer


Theorem evl1rhm

Description: Polynomial evaluation is a homomorphism (into the product ring). (Contributed by Mario Carneiro, 12-Jun-2015) (Proof shortened by AV, 13-Sep-2019)

Ref Expression
Hypotheses evl1rhm.q O = eval 1 R
evl1rhm.w P = Poly 1 R
evl1rhm.t T = R 𝑠 B
evl1rhm.b B = Base R
Assertion evl1rhm R CRing O P RingHom T

Proof

Step Hyp Ref Expression
1 evl1rhm.q O = eval 1 R
2 evl1rhm.w P = Poly 1 R
3 evl1rhm.t T = R 𝑠 B
4 evl1rhm.b B = Base R
5 eqid 1 𝑜 eval R = 1 𝑜 eval R
6 1 5 4 evl1fval O = x B B 1 𝑜 x y B 1 𝑜 × y 1 𝑜 eval R
7 eqid x B B 1 𝑜 x y B 1 𝑜 × y = x B B 1 𝑜 x y B 1 𝑜 × y
8 4 3 7 evls1rhmlem R CRing x B B 1 𝑜 x y B 1 𝑜 × y R 𝑠 B 1 𝑜 RingHom T
9 1on 1 𝑜 On
10 eqid 1 𝑜 mPoly R = 1 𝑜 mPoly R
11 eqid R 𝑠 B 1 𝑜 = R 𝑠 B 1 𝑜
12 5 4 10 11 evlrhm 1 𝑜 On R CRing 1 𝑜 eval R 1 𝑜 mPoly R RingHom R 𝑠 B 1 𝑜
13 9 12 mpan R CRing 1 𝑜 eval R 1 𝑜 mPoly R RingHom R 𝑠 B 1 𝑜
14 eqidd R CRing Base P = Base P
15 eqidd R CRing Base R 𝑠 B 1 𝑜 = Base R 𝑠 B 1 𝑜
16 eqid PwSer 1 R = PwSer 1 R
17 eqid Base P = Base P
18 2 16 17 ply1bas Base P = Base 1 𝑜 mPoly R
19 18 a1i R CRing Base P = Base 1 𝑜 mPoly R
20 eqid + P = + P
21 2 10 20 ply1plusg + P = + 1 𝑜 mPoly R
22 21 a1i R CRing + P = + 1 𝑜 mPoly R
23 22 oveqdr R CRing x Base P y Base P x + P y = x + 1 𝑜 mPoly R y
24 eqidd R CRing x Base R 𝑠 B 1 𝑜 y Base R 𝑠 B 1 𝑜 x + R 𝑠 B 1 𝑜 y = x + R 𝑠 B 1 𝑜 y
25 eqid P = P
26 2 10 25 ply1mulr P = 1 𝑜 mPoly R
27 26 a1i R CRing P = 1 𝑜 mPoly R
28 27 oveqdr R CRing x Base P y Base P x P y = x 1 𝑜 mPoly R y
29 eqidd R CRing x Base R 𝑠 B 1 𝑜 y Base R 𝑠 B 1 𝑜 x R 𝑠 B 1 𝑜 y = x R 𝑠 B 1 𝑜 y
30 14 15 19 15 23 24 28 29 rhmpropd R CRing P RingHom R 𝑠 B 1 𝑜 = 1 𝑜 mPoly R RingHom R 𝑠 B 1 𝑜
31 13 30 eleqtrrd R CRing 1 𝑜 eval R P RingHom R 𝑠 B 1 𝑜
32 rhmco x B B 1 𝑜 x y B 1 𝑜 × y R 𝑠 B 1 𝑜 RingHom T 1 𝑜 eval R P RingHom R 𝑠 B 1 𝑜 x B B 1 𝑜 x y B 1 𝑜 × y 1 𝑜 eval R P RingHom T
33 8 31 32 syl2anc R CRing x B B 1 𝑜 x y B 1 𝑜 × y 1 𝑜 eval R P RingHom T
34 6 33 eqeltrid R CRing O P RingHom T