Metamath Proof Explorer


Theorem coe0

Description: The coefficients of the zero polynomial are zero. (Contributed by Mario Carneiro, 22-Jul-2014)

Ref Expression
Assertion coe0 coeff 0 𝑝 = 0 × 0

Proof

Step Hyp Ref Expression
1 0cnd 0
2 ssid
3 ply0 0 𝑝 Poly
4 2 3 ax-mp 0 𝑝 Poly
5 coemulc 0 0 𝑝 Poly coeff × 0 × f 0 𝑝 = 0 × 0 × f coeff 0 𝑝
6 1 4 5 sylancl coeff × 0 × f 0 𝑝 = 0 × 0 × f coeff 0 𝑝
7 cnex V
8 7 a1i V
9 plyf 0 𝑝 Poly 0 𝑝 :
10 4 9 mp1i 0 𝑝 :
11 mul02 x 0 x = 0
12 11 adantl x 0 x = 0
13 8 10 1 1 12 caofid2 × 0 × f 0 𝑝 = × 0
14 df-0p 0 𝑝 = × 0
15 13 14 eqtr4di × 0 × f 0 𝑝 = 0 𝑝
16 15 fveq2d coeff × 0 × f 0 𝑝 = coeff 0 𝑝
17 nn0ex 0 V
18 17 a1i 0 V
19 eqid coeff 0 𝑝 = coeff 0 𝑝
20 19 coef3 0 𝑝 Poly coeff 0 𝑝 : 0
21 4 20 mp1i coeff 0 𝑝 : 0
22 18 21 1 1 12 caofid2 0 × 0 × f coeff 0 𝑝 = 0 × 0
23 6 16 22 3eqtr3d coeff 0 𝑝 = 0 × 0
24 23 mptru coeff 0 𝑝 = 0 × 0