Metamath Proof Explorer


Theorem plyadd

Description: The sum of two polynomials is a polynomial. (Contributed by Mario Carneiro, 21-Jul-2014)

Ref Expression
Hypotheses plyadd.1 ( 𝜑𝐹 ∈ ( Poly ‘ 𝑆 ) )
plyadd.2 ( 𝜑𝐺 ∈ ( Poly ‘ 𝑆 ) )
plyadd.3 ( ( 𝜑 ∧ ( 𝑥𝑆𝑦𝑆 ) ) → ( 𝑥 + 𝑦 ) ∈ 𝑆 )
Assertion plyadd ( 𝜑 → ( 𝐹f + 𝐺 ) ∈ ( Poly ‘ 𝑆 ) )

Proof

Step Hyp Ref Expression
1 plyadd.1 ( 𝜑𝐹 ∈ ( Poly ‘ 𝑆 ) )
2 plyadd.2 ( 𝜑𝐺 ∈ ( Poly ‘ 𝑆 ) )
3 plyadd.3 ( ( 𝜑 ∧ ( 𝑥𝑆𝑦𝑆 ) ) → ( 𝑥 + 𝑦 ) ∈ 𝑆 )
4 elply2 ( 𝐹 ∈ ( Poly ‘ 𝑆 ) ↔ ( 𝑆 ⊆ ℂ ∧ ∃ 𝑚 ∈ ℕ0𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) )
5 4 simprbi ( 𝐹 ∈ ( Poly ‘ 𝑆 ) → ∃ 𝑚 ∈ ℕ0𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) )
6 1 5 syl ( 𝜑 → ∃ 𝑚 ∈ ℕ0𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) )
7 elply2 ( 𝐺 ∈ ( Poly ‘ 𝑆 ) ↔ ( 𝑆 ⊆ ℂ ∧ ∃ 𝑛 ∈ ℕ0𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) )
8 7 simprbi ( 𝐺 ∈ ( Poly ‘ 𝑆 ) → ∃ 𝑛 ∈ ℕ0𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) )
9 2 8 syl ( 𝜑 → ∃ 𝑛 ∈ ℕ0𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) )
10 reeanv ( ∃ 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ( ∃ 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ∃ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ↔ ( ∃ 𝑚 ∈ ℕ0𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ∃ 𝑛 ∈ ℕ0𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) )
11 reeanv ( ∃ 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∃ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ↔ ( ∃ 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ∃ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) )
12 simp1l ( ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) ∧ ( 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∧ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ) ∧ ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ) → 𝜑 )
13 12 1 syl ( ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) ∧ ( 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∧ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ) ∧ ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ) → 𝐹 ∈ ( Poly ‘ 𝑆 ) )
14 12 2 syl ( ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) ∧ ( 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∧ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ) ∧ ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ) → 𝐺 ∈ ( Poly ‘ 𝑆 ) )
15 12 3 sylan ( ( ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) ∧ ( 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∧ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ) ∧ ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ) ∧ ( 𝑥𝑆𝑦𝑆 ) ) → ( 𝑥 + 𝑦 ) ∈ 𝑆 )
16 simp1rl ( ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) ∧ ( 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∧ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ) ∧ ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ) → 𝑚 ∈ ℕ0 )
17 simp1rr ( ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) ∧ ( 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∧ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ) ∧ ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ) → 𝑛 ∈ ℕ0 )
18 simp2l ( ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) ∧ ( 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∧ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ) ∧ ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ) → 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) )
19 simp2r ( ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) ∧ ( 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∧ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ) ∧ ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ) → 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) )
20 simp3ll ( ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) ∧ ( 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∧ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ) ∧ ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ) → ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } )
21 simp3rl ( ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) ∧ ( 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∧ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ) ∧ ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ) → ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } )
22 simp3lr ( ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) ∧ ( 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∧ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ) ∧ ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ) → 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) )
23 oveq1 ( 𝑧 = 𝑤 → ( 𝑧𝑘 ) = ( 𝑤𝑘 ) )
24 23 oveq2d ( 𝑧 = 𝑤 → ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) = ( ( 𝑎𝑘 ) · ( 𝑤𝑘 ) ) )
25 24 sumeq2sdv ( 𝑧 = 𝑤 → Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) = Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑤𝑘 ) ) )
26 fveq2 ( 𝑘 = 𝑗 → ( 𝑎𝑘 ) = ( 𝑎𝑗 ) )
27 oveq2 ( 𝑘 = 𝑗 → ( 𝑤𝑘 ) = ( 𝑤𝑗 ) )
28 26 27 oveq12d ( 𝑘 = 𝑗 → ( ( 𝑎𝑘 ) · ( 𝑤𝑘 ) ) = ( ( 𝑎𝑗 ) · ( 𝑤𝑗 ) ) )
29 28 cbvsumv Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑤𝑘 ) ) = Σ 𝑗 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑗 ) · ( 𝑤𝑗 ) )
30 25 29 eqtrdi ( 𝑧 = 𝑤 → Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) = Σ 𝑗 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑗 ) · ( 𝑤𝑗 ) ) )
31 30 cbvmptv ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) = ( 𝑤 ∈ ℂ ↦ Σ 𝑗 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑗 ) · ( 𝑤𝑗 ) ) )
32 22 31 eqtrdi ( ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) ∧ ( 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∧ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ) ∧ ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ) → 𝐹 = ( 𝑤 ∈ ℂ ↦ Σ 𝑗 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑗 ) · ( 𝑤𝑗 ) ) ) )
33 simp3rr ( ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) ∧ ( 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∧ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ) ∧ ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ) → 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) )
34 23 oveq2d ( 𝑧 = 𝑤 → ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) = ( ( 𝑏𝑘 ) · ( 𝑤𝑘 ) ) )
35 34 sumeq2sdv ( 𝑧 = 𝑤 → Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) = Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑤𝑘 ) ) )
36 fveq2 ( 𝑘 = 𝑗 → ( 𝑏𝑘 ) = ( 𝑏𝑗 ) )
37 36 27 oveq12d ( 𝑘 = 𝑗 → ( ( 𝑏𝑘 ) · ( 𝑤𝑘 ) ) = ( ( 𝑏𝑗 ) · ( 𝑤𝑗 ) ) )
38 37 cbvsumv Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑤𝑘 ) ) = Σ 𝑗 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑗 ) · ( 𝑤𝑗 ) )
39 35 38 eqtrdi ( 𝑧 = 𝑤 → Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) = Σ 𝑗 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑗 ) · ( 𝑤𝑗 ) ) )
40 39 cbvmptv ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) = ( 𝑤 ∈ ℂ ↦ Σ 𝑗 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑗 ) · ( 𝑤𝑗 ) ) )
41 33 40 eqtrdi ( ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) ∧ ( 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∧ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ) ∧ ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ) → 𝐺 = ( 𝑤 ∈ ℂ ↦ Σ 𝑗 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑗 ) · ( 𝑤𝑗 ) ) ) )
42 13 14 15 16 17 18 19 20 21 32 41 plyaddlem ( ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) ∧ ( 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∧ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ) ∧ ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) ) → ( 𝐹f + 𝐺 ) ∈ ( Poly ‘ 𝑆 ) )
43 42 3expia ( ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) ∧ ( 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∧ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ) ) → ( ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) → ( 𝐹f + 𝐺 ) ∈ ( Poly ‘ 𝑆 ) ) )
44 43 rexlimdvva ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) → ( ∃ 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ∃ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) → ( 𝐹f + 𝐺 ) ∈ ( Poly ‘ 𝑆 ) ) )
45 11 44 syl5bir ( ( 𝜑 ∧ ( 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ) ) → ( ( ∃ 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ∃ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) → ( 𝐹f + 𝐺 ) ∈ ( Poly ‘ 𝑆 ) ) )
46 45 rexlimdvva ( 𝜑 → ( ∃ 𝑚 ∈ ℕ0𝑛 ∈ ℕ0 ( ∃ 𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ∃ 𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) → ( 𝐹f + 𝐺 ) ∈ ( Poly ‘ 𝑆 ) ) )
47 10 46 syl5bir ( 𝜑 → ( ( ∃ 𝑚 ∈ ℕ0𝑎 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑎 “ ( ℤ ‘ ( 𝑚 + 1 ) ) ) = { 0 } ∧ 𝐹 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑚 ) ( ( 𝑎𝑘 ) · ( 𝑧𝑘 ) ) ) ) ∧ ∃ 𝑛 ∈ ℕ0𝑏 ∈ ( ( 𝑆 ∪ { 0 } ) ↑m0 ) ( ( 𝑏 “ ( ℤ ‘ ( 𝑛 + 1 ) ) ) = { 0 } ∧ 𝐺 = ( 𝑧 ∈ ℂ ↦ Σ 𝑘 ∈ ( 0 ... 𝑛 ) ( ( 𝑏𝑘 ) · ( 𝑧𝑘 ) ) ) ) ) → ( 𝐹f + 𝐺 ) ∈ ( Poly ‘ 𝑆 ) ) )
48 6 9 47 mp2and ( 𝜑 → ( 𝐹f + 𝐺 ) ∈ ( Poly ‘ 𝑆 ) )