Metamath Proof Explorer


Theorem coemulc

Description: The coefficient function is linear under scalar multiplication. (Contributed by Mario Carneiro, 24-Jul-2014)

Ref Expression
Assertion coemulc A F Poly S coeff × A × f F = 0 × A × f coeff F

Proof

Step Hyp Ref Expression
1 ssid
2 plyconst A × A Poly
3 1 2 mpan A × A Poly
4 plyssc Poly S Poly
5 4 sseli F Poly S F Poly
6 plymulcl × A Poly F Poly × A × f F Poly
7 3 5 6 syl2an A F Poly S × A × f F Poly
8 eqid coeff × A × f F = coeff × A × f F
9 8 coef3 × A × f F Poly coeff × A × f F : 0
10 ffn coeff × A × f F : 0 coeff × A × f F Fn 0
11 7 9 10 3syl A F Poly S coeff × A × f F Fn 0
12 fconstg A 0 × A : 0 A
13 12 adantr A F Poly S 0 × A : 0 A
14 13 ffnd A F Poly S 0 × A Fn 0
15 eqid coeff F = coeff F
16 15 coef3 F Poly S coeff F : 0
17 16 adantl A F Poly S coeff F : 0
18 17 ffnd A F Poly S coeff F Fn 0
19 nn0ex 0 V
20 19 a1i A F Poly S 0 V
21 inidm 0 0 = 0
22 14 18 20 20 21 offn A F Poly S 0 × A × f coeff F Fn 0
23 3 ad2antrr A F Poly S n 0 × A Poly
24 eqid coeff × A = coeff × A
25 24 coefv0 × A Poly × A 0 = coeff × A 0
26 23 25 syl A F Poly S n 0 × A 0 = coeff × A 0
27 simpll A F Poly S n 0 A
28 0cn 0
29 fvconst2g A 0 × A 0 = A
30 27 28 29 sylancl A F Poly S n 0 × A 0 = A
31 26 30 eqtr3d A F Poly S n 0 coeff × A 0 = A
32 simpr A F Poly S n 0 n 0
33 32 nn0cnd A F Poly S n 0 n
34 33 subid1d A F Poly S n 0 n 0 = n
35 34 fveq2d A F Poly S n 0 coeff F n 0 = coeff F n
36 31 35 oveq12d A F Poly S n 0 coeff × A 0 coeff F n 0 = A coeff F n
37 5 ad2antlr A F Poly S n 0 F Poly
38 24 15 coemul × A Poly F Poly n 0 coeff × A × f F n = k = 0 n coeff × A k coeff F n k
39 23 37 32 38 syl3anc A F Poly S n 0 coeff × A × f F n = k = 0 n coeff × A k coeff F n k
40 nn0uz 0 = 0
41 32 40 eleqtrdi A F Poly S n 0 n 0
42 fzss2 n 0 0 0 0 n
43 41 42 syl A F Poly S n 0 0 0 0 n
44 elfz1eq k 0 0 k = 0
45 44 adantl A F Poly S n 0 k 0 0 k = 0
46 fveq2 k = 0 coeff × A k = coeff × A 0
47 oveq2 k = 0 n k = n 0
48 47 fveq2d k = 0 coeff F n k = coeff F n 0
49 46 48 oveq12d k = 0 coeff × A k coeff F n k = coeff × A 0 coeff F n 0
50 45 49 syl A F Poly S n 0 k 0 0 coeff × A k coeff F n k = coeff × A 0 coeff F n 0
51 17 ffvelrnda A F Poly S n 0 coeff F n
52 27 51 mulcld A F Poly S n 0 A coeff F n
53 36 52 eqeltrd A F Poly S n 0 coeff × A 0 coeff F n 0
54 53 adantr A F Poly S n 0 k 0 0 coeff × A 0 coeff F n 0
55 50 54 eqeltrd A F Poly S n 0 k 0 0 coeff × A k coeff F n k
56 eldifn k 0 n 0 0 ¬ k 0 0
57 56 adantl A F Poly S n 0 k 0 n 0 0 ¬ k 0 0
58 eldifi k 0 n 0 0 k 0 n
59 elfznn0 k 0 n k 0
60 58 59 syl k 0 n 0 0 k 0
61 eqid deg × A = deg × A
62 24 61 dgrub × A Poly k 0 coeff × A k 0 k deg × A
63 62 3expia × A Poly k 0 coeff × A k 0 k deg × A
64 23 60 63 syl2an A F Poly S n 0 k 0 n 0 0 coeff × A k 0 k deg × A
65 0dgr A deg × A = 0
66 65 ad3antrrr A F Poly S n 0 k 0 n 0 0 deg × A = 0
67 66 breq2d A F Poly S n 0 k 0 n 0 0 k deg × A k 0
68 60 adantl A F Poly S n 0 k 0 n 0 0 k 0
69 nn0le0eq0 k 0 k 0 k = 0
70 68 69 syl A F Poly S n 0 k 0 n 0 0 k 0 k = 0
71 67 70 bitrd A F Poly S n 0 k 0 n 0 0 k deg × A k = 0
72 64 71 sylibd A F Poly S n 0 k 0 n 0 0 coeff × A k 0 k = 0
73 id k = 0 k = 0
74 0z 0
75 elfz3 0 0 0 0
76 74 75 ax-mp 0 0 0
77 73 76 eqeltrdi k = 0 k 0 0
78 72 77 syl6 A F Poly S n 0 k 0 n 0 0 coeff × A k 0 k 0 0
79 78 necon1bd A F Poly S n 0 k 0 n 0 0 ¬ k 0 0 coeff × A k = 0
80 57 79 mpd A F Poly S n 0 k 0 n 0 0 coeff × A k = 0
81 80 oveq1d A F Poly S n 0 k 0 n 0 0 coeff × A k coeff F n k = 0 coeff F n k
82 17 adantr A F Poly S n 0 coeff F : 0
83 fznn0sub k 0 n n k 0
84 58 83 syl k 0 n 0 0 n k 0
85 ffvelrn coeff F : 0 n k 0 coeff F n k
86 82 84 85 syl2an A F Poly S n 0 k 0 n 0 0 coeff F n k
87 86 mul02d A F Poly S n 0 k 0 n 0 0 0 coeff F n k = 0
88 81 87 eqtrd A F Poly S n 0 k 0 n 0 0 coeff × A k coeff F n k = 0
89 fzfid A F Poly S n 0 0 n Fin
90 43 55 88 89 fsumss A F Poly S n 0 k = 0 0 coeff × A k coeff F n k = k = 0 n coeff × A k coeff F n k
91 49 fsum1 0 coeff × A 0 coeff F n 0 k = 0 0 coeff × A k coeff F n k = coeff × A 0 coeff F n 0
92 74 53 91 sylancr A F Poly S n 0 k = 0 0 coeff × A k coeff F n k = coeff × A 0 coeff F n 0
93 39 90 92 3eqtr2d A F Poly S n 0 coeff × A × f F n = coeff × A 0 coeff F n 0
94 simpl A F Poly S A
95 eqidd A F Poly S n 0 coeff F n = coeff F n
96 20 94 18 95 ofc1 A F Poly S n 0 0 × A × f coeff F n = A coeff F n
97 36 93 96 3eqtr4d A F Poly S n 0 coeff × A × f F n = 0 × A × f coeff F n
98 11 22 97 eqfnfvd A F Poly S coeff × A × f F = 0 × A × f coeff F