MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  plydiveu Structured version   Visualization version   GIF version

Theorem plydiveu 26735
Description: Lemma for plydivalg 26736. (Contributed by Mario Carneiro, 24-Jul-2014.)
Hypotheses
Ref Expression
plydiv.pl ((𝜑 ∧ (𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
plydiv.tm ((𝜑 ∧ (𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆)) → (𝑥 · 𝑦) ∈ 𝑆)
plydiv.rc ((𝜑 ∧ (𝑥 ∈ 𝑆 ∧ 𝑥 ≠ 0)) → (1 / 𝑥) ∈ 𝑆)
plydiv.m1 (𝜑 → -1 ∈ 𝑆)
plydiv.f (𝜑 → 𝐹 ∈ (Poly‘𝑆))
plydiv.g (𝜑 → 𝐺 ∈ (Poly‘𝑆))
plydiv.z (𝜑 → 𝐺 ≠ 0𝑝)
plydiv.r 𝑅 = (𝐹 ∘f − (𝐺 ∘f · 𝑞))
plydiveu.q (𝜑 → 𝑞 ∈ (Poly‘𝑆))
plydiveu.qd (𝜑 → (𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝐺)))
plydiveu.t 𝑇 = (𝐹 ∘f − (𝐺 ∘f · 𝑝))
plydiveu.p (𝜑 → 𝑝 ∈ (Poly‘𝑆))
plydiveu.pd (𝜑 → (𝑇 = 0𝑝 ∨ (deg‘𝑇) < (deg‘𝐺)))
Assertion
Ref Expression
plydiveu (𝜑 → 𝑝 = 𝑞)
Distinct variable groups:   𝑥,𝑦   𝑞,𝑝,𝑥,𝑦,𝐹   𝜑,𝑥,𝑦   𝑥,𝑇,𝑦   𝐺,𝑝,𝑞,𝑥,𝑦   𝑅,𝑝,𝑥,𝑦   𝑆,𝑝,𝑞,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑞, 𝑝)   𝑅(𝑞)   𝑇(𝑞, 𝑝)

Proof of Theorem plydiveu
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 idd 25 . . . 4 (𝜑 → ((𝑝 ∘f − 𝑞) = 0𝑝 → (𝑝 ∘f − 𝑞) = 0𝑝))
2 plydiveu.q . . . . . . . . . . . . . . . 16 (𝜑 → 𝑞 ∈ (Poly‘𝑆))
3 plydiv.pl . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
4 plydiv.tm . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆)) → (𝑥 · 𝑦) ∈ 𝑆)
5 plydiv.rc . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (𝑥 ∈ 𝑆 ∧ 𝑥 ≠ 0)) → (1 / 𝑥) ∈ 𝑆)
6 plydiv.m1 . . . . . . . . . . . . . . . . 17 (𝜑 → -1 ∈ 𝑆)
7 plydiv.f . . . . . . . . . . . . . . . . 17 (𝜑 → 𝐹 ∈ (Poly‘𝑆))
8 plydiv.g . . . . . . . . . . . . . . . . 17 (𝜑 → 𝐺 ∈ (Poly‘𝑆))
9 plydiv.z . . . . . . . . . . . . . . . . 17 (𝜑 → 𝐺 ≠ 0𝑝)
10 plydiv.r . . . . . . . . . . . . . . . . 17 𝑅 = (𝐹 ∘f − (𝐺 ∘f · 𝑞))
113, 4, 5, 6, 7, 8, 9, 10plydivlem2 26731 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ 𝑞 ∈ (Poly‘𝑆)) → 𝑅 ∈ (Poly‘𝑆))
122, 11mpdan 700 . . . . . . . . . . . . . . 15 (𝜑 → 𝑅 ∈ (Poly‘𝑆))
13 plydiveu.p . . . . . . . . . . . . . . . 16 (𝜑 → 𝑝 ∈ (Poly‘𝑆))
14 plydiveu.t . . . . . . . . . . . . . . . . 17 𝑇 = (𝐹 ∘f − (𝐺 ∘f · 𝑝))
153, 4, 5, 6, 7, 8, 9, 14plydivlem2 26731 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ 𝑝 ∈ (Poly‘𝑆)) → 𝑇 ∈ (Poly‘𝑆))
1613, 15mpdan 700 . . . . . . . . . . . . . . 15 (𝜑 → 𝑇 ∈ (Poly‘𝑆))
1712, 16, 3, 4, 6plysub 26654 . . . . . . . . . . . . . 14 (𝜑 → (𝑅 ∘f − 𝑇) ∈ (Poly‘𝑆))
18 dgrcl 26668 . . . . . . . . . . . . . 14 ((𝑅 ∘f − 𝑇) ∈ (Poly‘𝑆) → (deg‘(𝑅 ∘f − 𝑇)) ∈ ℕ0)
1917, 18syl 18 . . . . . . . . . . . . 13 (𝜑 → (deg‘(𝑅 ∘f − 𝑇)) ∈ ℕ0)
2019nn0red 12727 . . . . . . . . . . . 12 (𝜑 → (deg‘(𝑅 ∘f − 𝑇)) ∈ ℝ)
21 dgrcl 26668 . . . . . . . . . . . . . . 15 (𝑇 ∈ (Poly‘𝑆) → (deg‘𝑇) ∈ ℕ0)
2216, 21syl 18 . . . . . . . . . . . . . 14 (𝜑 → (deg‘𝑇) ∈ ℕ0)
2322nn0red 12727 . . . . . . . . . . . . 13 (𝜑 → (deg‘𝑇) ∈ ℝ)
24 dgrcl 26668 . . . . . . . . . . . . . . 15 (𝑅 ∈ (Poly‘𝑆) → (deg‘𝑅) ∈ ℕ0)
2512, 24syl 18 . . . . . . . . . . . . . 14 (𝜑 → (deg‘𝑅) ∈ ℕ0)
2625nn0red 12727 . . . . . . . . . . . . 13 (𝜑 → (deg‘𝑅) ∈ ℝ)
2723, 26ifcld 4539 . . . . . . . . . . . 12 (𝜑 → if((deg‘𝑅) ≤ (deg‘𝑇), (deg‘𝑇), (deg‘𝑅)) ∈ ℝ)
28 dgrcl 26668 . . . . . . . . . . . . . 14 (𝐺 ∈ (Poly‘𝑆) → (deg‘𝐺) ∈ ℕ0)
298, 28syl 18 . . . . . . . . . . . . 13 (𝜑 → (deg‘𝐺) ∈ ℕ0)
3029nn0red 12727 . . . . . . . . . . . 12 (𝜑 → (deg‘𝐺) ∈ ℝ)
31 eqid 2774 . . . . . . . . . . . . . 14 (deg‘𝑅) = (deg‘𝑅)
32 eqid 2774 . . . . . . . . . . . . . 14 (deg‘𝑇) = (deg‘𝑇)
3331, 32dgrsub 26707 . . . . . . . . . . . . 13 ((𝑅 ∈ (Poly‘𝑆) ∧ 𝑇 ∈ (Poly‘𝑆)) → (deg‘(𝑅 ∘f − 𝑇)) ≤ if((deg‘𝑅) ≤ (deg‘𝑇), (deg‘𝑇), (deg‘𝑅)))
3412, 16, 33syl2anc 596 . . . . . . . . . . . 12 (𝜑 → (deg‘(𝑅 ∘f − 𝑇)) ≤ if((deg‘𝑅) ≤ (deg‘𝑇), (deg‘𝑇), (deg‘𝑅)))
35 plydiveu.pd . . . . . . . . . . . . . . 15 (𝜑 → (𝑇 = 0𝑝 ∨ (deg‘𝑇) < (deg‘𝐺)))
36 eqid 2774 . . . . . . . . . . . . . . . . 17 (coeff‘𝑇) = (coeff‘𝑇)
3732, 36dgrlt 26701 . . . . . . . . . . . . . . . 16 ((𝑇 ∈ (Poly‘𝑆) ∧ (deg‘𝐺) ∈ ℕ0) → ((𝑇 = 0𝑝 ∨ (deg‘𝑇) < (deg‘𝐺)) ↔ ((deg‘𝑇) ≤ (deg‘𝐺) ∧ ((coeff‘𝑇)‘(deg‘𝐺)) = 0)))
3816, 29, 37syl2anc 596 . . . . . . . . . . . . . . 15 (𝜑 → ((𝑇 = 0𝑝 ∨ (deg‘𝑇) < (deg‘𝐺)) ↔ ((deg‘𝑇) ≤ (deg‘𝐺) ∧ ((coeff‘𝑇)‘(deg‘𝐺)) = 0)))
3935, 38mpbid 235 . . . . . . . . . . . . . 14 (𝜑 → ((deg‘𝑇) ≤ (deg‘𝐺) ∧ ((coeff‘𝑇)‘(deg‘𝐺)) = 0))
4039simpld 500 . . . . . . . . . . . . 13 (𝜑 → (deg‘𝑇) ≤ (deg‘𝐺))
41 plydiveu.qd . . . . . . . . . . . . . . 15 (𝜑 → (𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝐺)))
42 eqid 2774 . . . . . . . . . . . . . . . . 17 (coeff‘𝑅) = (coeff‘𝑅)
4331, 42dgrlt 26701 . . . . . . . . . . . . . . . 16 ((𝑅 ∈ (Poly‘𝑆) ∧ (deg‘𝐺) ∈ ℕ0) → ((𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝐺)) ↔ ((deg‘𝑅) ≤ (deg‘𝐺) ∧ ((coeff‘𝑅)‘(deg‘𝐺)) = 0)))
4412, 29, 43syl2anc 596 . . . . . . . . . . . . . . 15 (𝜑 → ((𝑅 = 0𝑝 ∨ (deg‘𝑅) < (deg‘𝐺)) ↔ ((deg‘𝑅) ≤ (deg‘𝐺) ∧ ((coeff‘𝑅)‘(deg‘𝐺)) = 0)))
4541, 44mpbid 235 . . . . . . . . . . . . . 14 (𝜑 → ((deg‘𝑅) ≤ (deg‘𝐺) ∧ ((coeff‘𝑅)‘(deg‘𝐺)) = 0))
4645simpld 500 . . . . . . . . . . . . 13 (𝜑 → (deg‘𝑅) ≤ (deg‘𝐺))
47 breq1 5119 . . . . . . . . . . . . . 14 ((deg‘𝑇) = if((deg‘𝑅) ≤ (deg‘𝑇), (deg‘𝑇), (deg‘𝑅)) → ((deg‘𝑇) ≤ (deg‘𝐺) ↔ if((deg‘𝑅) ≤ (deg‘𝑇), (deg‘𝑇), (deg‘𝑅)) ≤ (deg‘𝐺)))
48 breq1 5119 . . . . . . . . . . . . . 14 ((deg‘𝑅) = if((deg‘𝑅) ≤ (deg‘𝑇), (deg‘𝑇), (deg‘𝑅)) → ((deg‘𝑅) ≤ (deg‘𝐺) ↔ if((deg‘𝑅) ≤ (deg‘𝑇), (deg‘𝑇), (deg‘𝑅)) ≤ (deg‘𝐺)))
4947, 48ifboth 4532 . . . . . . . . . . . . 13 (((deg‘𝑇) ≤ (deg‘𝐺) ∧ (deg‘𝑅) ≤ (deg‘𝐺)) → if((deg‘𝑅) ≤ (deg‘𝑇), (deg‘𝑇), (deg‘𝑅)) ≤ (deg‘𝐺))
5040, 46, 49syl2anc 596 . . . . . . . . . . . 12 (𝜑 → if((deg‘𝑅) ≤ (deg‘𝑇), (deg‘𝑇), (deg‘𝑅)) ≤ (deg‘𝐺))
5120, 27, 30, 34, 50letrd 11525 . . . . . . . . . . 11 (𝜑 → (deg‘(𝑅 ∘f − 𝑇)) ≤ (deg‘𝐺))
5251adantr 486 . . . . . . . . . 10 ((𝜑 ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝) → (deg‘(𝑅 ∘f − 𝑇)) ≤ (deg‘𝐺))
5313, 2, 3, 4, 6plysub 26654 . . . . . . . . . . . . . 14 (𝜑 → (𝑝 ∘f − 𝑞) ∈ (Poly‘𝑆))
54 dgrcl 26668 . . . . . . . . . . . . . 14 ((𝑝 ∘f − 𝑞) ∈ (Poly‘𝑆) → (deg‘(𝑝 ∘f − 𝑞)) ∈ ℕ0)
5553, 54syl 18 . . . . . . . . . . . . 13 (𝜑 → (deg‘(𝑝 ∘f − 𝑞)) ∈ ℕ0)
56 nn0addge1 12711 . . . . . . . . . . . . 13 (((deg‘𝐺) ∈ ℝ ∧ (deg‘(𝑝 ∘f − 𝑞)) ∈ ℕ0) → (deg‘𝐺) ≤ ((deg‘𝐺) + (deg‘(𝑝 ∘f − 𝑞))))
5730, 55, 56syl2anc 596 . . . . . . . . . . . 12 (𝜑 → (deg‘𝐺) ≤ ((deg‘𝐺) + (deg‘(𝑝 ∘f − 𝑞))))
5857adantr 486 . . . . . . . . . . 11 ((𝜑 ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝) → (deg‘𝐺) ≤ ((deg‘𝐺) + (deg‘(𝑝 ∘f − 𝑞))))
59 plyf 26632 . . . . . . . . . . . . . . . . . . . 20 (𝐹 ∈ (Poly‘𝑆) → 𝐹:ℂ⟶ℂ)
607, 59syl 18 . . . . . . . . . . . . . . . . . . 19 (𝜑 → 𝐹:ℂ⟶ℂ)
6160ffvelcdmda 7134 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ 𝑧 ∈ ℂ) → (𝐹‘𝑧) ∈ ℂ)
628, 2, 3, 4plymul 26653 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → (𝐺 ∘f · 𝑞) ∈ (Poly‘𝑆))
63 plyf 26632 . . . . . . . . . . . . . . . . . . . 20 ((𝐺 ∘f · 𝑞) ∈ (Poly‘𝑆) → (𝐺 ∘f · 𝑞):ℂ⟶ℂ)
6462, 63syl 18 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝐺 ∘f · 𝑞):ℂ⟶ℂ)
6564ffvelcdmda 7134 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ 𝑧 ∈ ℂ) → ((𝐺 ∘f · 𝑞)‘𝑧) ∈ ℂ)
668, 13, 3, 4plymul 26653 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → (𝐺 ∘f · 𝑝) ∈ (Poly‘𝑆))
67 plyf 26632 . . . . . . . . . . . . . . . . . . . 20 ((𝐺 ∘f · 𝑝) ∈ (Poly‘𝑆) → (𝐺 ∘f · 𝑝):ℂ⟶ℂ)
6866, 67syl 18 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝐺 ∘f · 𝑝):ℂ⟶ℂ)
6968ffvelcdmda 7134 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ 𝑧 ∈ ℂ) → ((𝐺 ∘f · 𝑝)‘𝑧) ∈ ℂ)
7061, 65, 69nnncan1d 11761 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ 𝑧 ∈ ℂ) → (((𝐹‘𝑧) − ((𝐺 ∘f · 𝑞)‘𝑧)) − ((𝐹‘𝑧) − ((𝐺 ∘f · 𝑝)‘𝑧))) = (((𝐺 ∘f · 𝑝)‘𝑧) − ((𝐺 ∘f · 𝑞)‘𝑧)))
7170mpteq2dva 5212 . . . . . . . . . . . . . . . 16 (𝜑 → (𝑧 ∈ ℂ ↦ (((𝐹‘𝑧) − ((𝐺 ∘f · 𝑞)‘𝑧)) − ((𝐹‘𝑧) − ((𝐺 ∘f · 𝑝)‘𝑧)))) = (𝑧 ∈ ℂ ↦ (((𝐺 ∘f · 𝑝)‘𝑧) − ((𝐺 ∘f · 𝑞)‘𝑧))))
72 cnex 11339 . . . . . . . . . . . . . . . . . 18 ℂ ∈ V
7372a1i 11 . . . . . . . . . . . . . . . . 17 (𝜑 → ℂ ∈ V)
7461, 65subcld 11727 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ 𝑧 ∈ ℂ) → ((𝐹‘𝑧) − ((𝐺 ∘f · 𝑞)‘𝑧)) ∈ ℂ)
7561, 69subcld 11727 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ 𝑧 ∈ ℂ) → ((𝐹‘𝑧) − ((𝐺 ∘f · 𝑝)‘𝑧)) ∈ ℂ)
7660feqmptd 7002 . . . . . . . . . . . . . . . . . . 19 (𝜑 → 𝐹 = (𝑧 ∈ ℂ ↦ (𝐹‘𝑧)))
7764feqmptd 7002 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝐺 ∘f · 𝑞) = (𝑧 ∈ ℂ ↦ ((𝐺 ∘f · 𝑞)‘𝑧)))
7873, 61, 65, 76, 77offval2 7764 . . . . . . . . . . . . . . . . . 18 (𝜑 → (𝐹 ∘f − (𝐺 ∘f · 𝑞)) = (𝑧 ∈ ℂ ↦ ((𝐹‘𝑧) − ((𝐺 ∘f · 𝑞)‘𝑧))))
7910, 78eqtrid 2821 . . . . . . . . . . . . . . . . 17 (𝜑 → 𝑅 = (𝑧 ∈ ℂ ↦ ((𝐹‘𝑧) − ((𝐺 ∘f · 𝑞)‘𝑧))))
8068feqmptd 7002 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝐺 ∘f · 𝑝) = (𝑧 ∈ ℂ ↦ ((𝐺 ∘f · 𝑝)‘𝑧)))
8173, 61, 69, 76, 80offval2 7764 . . . . . . . . . . . . . . . . . 18 (𝜑 → (𝐹 ∘f − (𝐺 ∘f · 𝑝)) = (𝑧 ∈ ℂ ↦ ((𝐹‘𝑧) − ((𝐺 ∘f · 𝑝)‘𝑧))))
8214, 81eqtrid 2821 . . . . . . . . . . . . . . . . 17 (𝜑 → 𝑇 = (𝑧 ∈ ℂ ↦ ((𝐹‘𝑧) − ((𝐺 ∘f · 𝑝)‘𝑧))))
8373, 74, 75, 79, 82offval2 7764 . . . . . . . . . . . . . . . 16 (𝜑 → (𝑅 ∘f − 𝑇) = (𝑧 ∈ ℂ ↦ (((𝐹‘𝑧) − ((𝐺 ∘f · 𝑞)‘𝑧)) − ((𝐹‘𝑧) − ((𝐺 ∘f · 𝑝)‘𝑧)))))
8473, 69, 65, 80, 77offval2 7764 . . . . . . . . . . . . . . . 16 (𝜑 → ((𝐺 ∘f · 𝑝) ∘f − (𝐺 ∘f · 𝑞)) = (𝑧 ∈ ℂ ↦ (((𝐺 ∘f · 𝑝)‘𝑧) − ((𝐺 ∘f · 𝑞)‘𝑧))))
8571, 83, 843eqtr4d 2819 . . . . . . . . . . . . . . 15 (𝜑 → (𝑅 ∘f − 𝑇) = ((𝐺 ∘f · 𝑝) ∘f − (𝐺 ∘f · 𝑞)))
86 plyf 26632 . . . . . . . . . . . . . . . . 17 (𝐺 ∈ (Poly‘𝑆) → 𝐺:ℂ⟶ℂ)
878, 86syl 18 . . . . . . . . . . . . . . . 16 (𝜑 → 𝐺:ℂ⟶ℂ)
88 plyf 26632 . . . . . . . . . . . . . . . . 17 (𝑝 ∈ (Poly‘𝑆) → 𝑝:ℂ⟶ℂ)
8913, 88syl 18 . . . . . . . . . . . . . . . 16 (𝜑 → 𝑝:ℂ⟶ℂ)
90 plyf 26632 . . . . . . . . . . . . . . . . 17 (𝑞 ∈ (Poly‘𝑆) → 𝑞:ℂ⟶ℂ)
912, 90syl 18 . . . . . . . . . . . . . . . 16 (𝜑 → 𝑞:ℂ⟶ℂ)
92 subdi 11807 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ ℂ ∧ 𝑦 ∈ ℂ ∧ 𝑧 ∈ ℂ) → (𝑥 · (𝑦 − 𝑧)) = ((𝑥 · 𝑦) − (𝑥 · 𝑧)))
9392adantl 487 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ 𝑦 ∈ ℂ ∧ 𝑧 ∈ ℂ)) → (𝑥 · (𝑦 − 𝑧)) = ((𝑥 · 𝑦) − (𝑥 · 𝑧)))
9473, 87, 89, 91, 93caofdi 7786 . . . . . . . . . . . . . . 15 (𝜑 → (𝐺 ∘f · (𝑝 ∘f − 𝑞)) = ((𝐺 ∘f · 𝑝) ∘f − (𝐺 ∘f · 𝑞)))
9585, 94eqtr4d 2812 . . . . . . . . . . . . . 14 (𝜑 → (𝑅 ∘f − 𝑇) = (𝐺 ∘f · (𝑝 ∘f − 𝑞)))
9695fveq2d 6938 . . . . . . . . . . . . 13 (𝜑 → (deg‘(𝑅 ∘f − 𝑇)) = (deg‘(𝐺 ∘f · (𝑝 ∘f − 𝑞))))
9796adantr 486 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝) → (deg‘(𝑅 ∘f − 𝑇)) = (deg‘(𝐺 ∘f · (𝑝 ∘f − 𝑞))))
988adantr 486 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝) → 𝐺 ∈ (Poly‘𝑆))
999adantr 486 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝) → 𝐺 ≠ 0𝑝)
10053adantr 486 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝) → (𝑝 ∘f − 𝑞) ∈ (Poly‘𝑆))
101 simpr 490 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝) → (𝑝 ∘f − 𝑞) ≠ 0𝑝)
102 eqid 2774 . . . . . . . . . . . . . 14 (deg‘𝐺) = (deg‘𝐺)
103 eqid 2774 . . . . . . . . . . . . . 14 (deg‘(𝑝 ∘f − 𝑞)) = (deg‘(𝑝 ∘f − 𝑞))
104102, 103dgrmul 26705 . . . . . . . . . . . . 13 (((𝐺 ∈ (Poly‘𝑆) ∧ 𝐺 ≠ 0𝑝) ∧ ((𝑝 ∘f − 𝑞) ∈ (Poly‘𝑆) ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝)) → (deg‘(𝐺 ∘f · (𝑝 ∘f − 𝑞))) = ((deg‘𝐺) + (deg‘(𝑝 ∘f − 𝑞))))
10598, 99, 100, 101, 104syl22anc 852 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝) → (deg‘(𝐺 ∘f · (𝑝 ∘f − 𝑞))) = ((deg‘𝐺) + (deg‘(𝑝 ∘f − 𝑞))))
10697, 105eqtrd 2809 . . . . . . . . . . 11 ((𝜑 ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝) → (deg‘(𝑅 ∘f − 𝑇)) = ((deg‘𝐺) + (deg‘(𝑝 ∘f − 𝑞))))
10758, 106breqtrrd 5147 . . . . . . . . . 10 ((𝜑 ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝) → (deg‘𝐺) ≤ (deg‘(𝑅 ∘f − 𝑇)))
10820, 30letri3d 11510 . . . . . . . . . . 11 (𝜑 → ((deg‘(𝑅 ∘f − 𝑇)) = (deg‘𝐺) ↔ ((deg‘(𝑅 ∘f − 𝑇)) ≤ (deg‘𝐺) ∧ (deg‘𝐺) ≤ (deg‘(𝑅 ∘f − 𝑇)))))
109108adantr 486 . . . . . . . . . 10 ((𝜑 ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝) → ((deg‘(𝑅 ∘f − 𝑇)) = (deg‘𝐺) ↔ ((deg‘(𝑅 ∘f − 𝑇)) ≤ (deg‘𝐺) ∧ (deg‘𝐺) ≤ (deg‘(𝑅 ∘f − 𝑇)))))
11052, 107, 109mpbir2and 726 . . . . . . . . 9 ((𝜑 ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝) → (deg‘(𝑅 ∘f − 𝑇)) = (deg‘𝐺))
111110fveq2d 6938 . . . . . . . 8 ((𝜑 ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝) → ((coeff‘(𝑅 ∘f − 𝑇))‘(deg‘(𝑅 ∘f − 𝑇))) = ((coeff‘(𝑅 ∘f − 𝑇))‘(deg‘𝐺)))
11242, 36coesub 26692 . . . . . . . . . . . . 13 ((𝑅 ∈ (Poly‘𝑆) ∧ 𝑇 ∈ (Poly‘𝑆)) → (coeff‘(𝑅 ∘f − 𝑇)) = ((coeff‘𝑅) ∘f − (coeff‘𝑇)))
11312, 16, 112syl2anc 596 . . . . . . . . . . . 12 (𝜑 → (coeff‘(𝑅 ∘f − 𝑇)) = ((coeff‘𝑅) ∘f − (coeff‘𝑇)))
114113fveq1d 6936 . . . . . . . . . . 11 (𝜑 → ((coeff‘(𝑅 ∘f − 𝑇))‘(deg‘𝐺)) = (((coeff‘𝑅) ∘f − (coeff‘𝑇))‘(deg‘𝐺)))
11542coef3 26667 . . . . . . . . . . . . . 14 (𝑅 ∈ (Poly‘𝑆) → (coeff‘𝑅):ℕ0⟶ℂ)
116 ffn 6757 . . . . . . . . . . . . . 14 ((coeff‘𝑅):ℕ0⟶ℂ → (coeff‘𝑅) Fn ℕ0)
11712, 115, 1163syl 19 . . . . . . . . . . . . 13 (𝜑 → (coeff‘𝑅) Fn ℕ0)
11836coef3 26667 . . . . . . . . . . . . . 14 (𝑇 ∈ (Poly‘𝑆) → (coeff‘𝑇):ℕ0⟶ℂ)
119 ffn 6757 . . . . . . . . . . . . . 14 ((coeff‘𝑇):ℕ0⟶ℂ → (coeff‘𝑇) Fn ℕ0)
12016, 118, 1193syl 19 . . . . . . . . . . . . 13 (𝜑 → (coeff‘𝑇) Fn ℕ0)
121 nn0ex 12671 . . . . . . . . . . . . . 14 ℕ0 ∈ V
122121a1i 11 . . . . . . . . . . . . 13 (𝜑 → ℕ0 ∈ V)
123 inidm 4133 . . . . . . . . . . . . 13 (ℕ0 ∩ ℕ0) = ℕ0
12445simprd 501 . . . . . . . . . . . . . 14 (𝜑 → ((coeff‘𝑅)‘(deg‘𝐺)) = 0)
125124adantr 486 . . . . . . . . . . . . 13 ((𝜑 ∧ (deg‘𝐺) ∈ ℕ0) → ((coeff‘𝑅)‘(deg‘𝐺)) = 0)
12639simprd 501 . . . . . . . . . . . . . 14 (𝜑 → ((coeff‘𝑇)‘(deg‘𝐺)) = 0)
127126adantr 486 . . . . . . . . . . . . 13 ((𝜑 ∧ (deg‘𝐺) ∈ ℕ0) → ((coeff‘𝑇)‘(deg‘𝐺)) = 0)
128117, 120, 122, 122, 123, 125, 127ofval 7755 . . . . . . . . . . . 12 ((𝜑 ∧ (deg‘𝐺) ∈ ℕ0) → (((coeff‘𝑅) ∘f − (coeff‘𝑇))‘(deg‘𝐺)) = (0 − 0))
12929, 128mpdan 700 . . . . . . . . . . 11 (𝜑 → (((coeff‘𝑅) ∘f − (coeff‘𝑇))‘(deg‘𝐺)) = (0 − 0))
130114, 129eqtrd 2809 . . . . . . . . . 10 (𝜑 → ((coeff‘(𝑅 ∘f − 𝑇))‘(deg‘𝐺)) = (0 − 0))
131 0m0e0 12520 . . . . . . . . . 10 (0 − 0) = 0
132130, 131eqtrdi 2825 . . . . . . . . 9 (𝜑 → ((coeff‘(𝑅 ∘f − 𝑇))‘(deg‘𝐺)) = 0)
133132adantr 486 . . . . . . . 8 ((𝜑 ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝) → ((coeff‘(𝑅 ∘f − 𝑇))‘(deg‘𝐺)) = 0)
134111, 133eqtrd 2809 . . . . . . 7 ((𝜑 ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝) → ((coeff‘(𝑅 ∘f − 𝑇))‘(deg‘(𝑅 ∘f − 𝑇))) = 0)
135 eqid 2774 . . . . . . . . . 10 (deg‘(𝑅 ∘f − 𝑇)) = (deg‘(𝑅 ∘f − 𝑇))
136 eqid 2774 . . . . . . . . . 10 (coeff‘(𝑅 ∘f − 𝑇)) = (coeff‘(𝑅 ∘f − 𝑇))
137135, 136dgreq0 26700 . . . . . . . . 9 ((𝑅 ∘f − 𝑇) ∈ (Poly‘𝑆) → ((𝑅 ∘f − 𝑇) = 0𝑝 ↔ ((coeff‘(𝑅 ∘f − 𝑇))‘(deg‘(𝑅 ∘f − 𝑇))) = 0))
13817, 137syl 18 . . . . . . . 8 (𝜑 → ((𝑅 ∘f − 𝑇) = 0𝑝 ↔ ((coeff‘(𝑅 ∘f − 𝑇))‘(deg‘(𝑅 ∘f − 𝑇))) = 0))
139138biimpar 483 . . . . . . 7 ((𝜑 ∧ ((coeff‘(𝑅 ∘f − 𝑇))‘(deg‘(𝑅 ∘f − 𝑇))) = 0) → (𝑅 ∘f − 𝑇) = 0𝑝)
140134, 139syldan 603 . . . . . 6 ((𝜑 ∧ (𝑝 ∘f − 𝑞) ≠ 0𝑝) → (𝑅 ∘f − 𝑇) = 0𝑝)
141140ex 418 . . . . 5 (𝜑 → ((𝑝 ∘f − 𝑞) ≠ 0𝑝 → (𝑅 ∘f − 𝑇) = 0𝑝))
142 plymul0or 26715 . . . . . . 7 ((𝐺 ∈ (Poly‘𝑆) ∧ (𝑝 ∘f − 𝑞) ∈ (Poly‘𝑆)) → ((𝐺 ∘f · (𝑝 ∘f − 𝑞)) = 0𝑝 ↔ (𝐺 = 0𝑝 ∨ (𝑝 ∘f − 𝑞) = 0𝑝)))
1438, 53, 142syl2anc 596 . . . . . 6 (𝜑 → ((𝐺 ∘f · (𝑝 ∘f − 𝑞)) = 0𝑝 ↔ (𝐺 = 0𝑝 ∨ (𝑝 ∘f − 𝑞) = 0𝑝)))
14495eqeq1d 2776 . . . . . 6 (𝜑 → ((𝑅 ∘f − 𝑇) = 0𝑝 ↔ (𝐺 ∘f · (𝑝 ∘f − 𝑞)) = 0𝑝))
1459neneqd 2975 . . . . . . 7 (𝜑 → ¬ 𝐺 = 0𝑝)
146 biorf 950 . . . . . . 7 (¬ 𝐺 = 0𝑝 → ((𝑝 ∘f − 𝑞) = 0𝑝 ↔ (𝐺 = 0𝑝 ∨ (𝑝 ∘f − 𝑞) = 0𝑝)))
147145, 146syl 18 . . . . . 6 (𝜑 → ((𝑝 ∘f − 𝑞) = 0𝑝 ↔ (𝐺 = 0𝑝 ∨ (𝑝 ∘f − 𝑞) = 0𝑝)))
148143, 144, 1473bitr4d 314 . . . . 5 (𝜑 → ((𝑅 ∘f − 𝑇) = 0𝑝 ↔ (𝑝 ∘f − 𝑞) = 0𝑝))
149141, 148sylibd 242 . . . 4 (𝜑 → ((𝑝 ∘f − 𝑞) ≠ 0𝑝 → (𝑝 ∘f − 𝑞) = 0𝑝))
1501, 149pm2.61dne 3056 . . 3 (𝜑 → (𝑝 ∘f − 𝑞) = 0𝑝)
151 df-0p 26099 . . 3 0𝑝 = (ℂ × {0})
152150, 151eqtrdi 2825 . 2 (𝜑 → (𝑝 ∘f − 𝑞) = (ℂ × {0}))
153 ofsubeq0 12376 . . 3 ((ℂ ∈ V ∧ 𝑝:ℂ⟶ℂ ∧ 𝑞:ℂ⟶ℂ) → ((𝑝 ∘f − 𝑞) = (ℂ × {0}) ↔ 𝑝 = 𝑞))
15472, 89, 91, 153mp3an2i 1498 . 2 (𝜑 → ((𝑝 ∘f − 𝑞) = (ℂ × {0}) ↔ 𝑝 = 𝑞))
155152, 154mpbid 235 1 (𝜑 → 𝑝 = 𝑞)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   ∧ w3a 1104   = wceq 1572   ∈ wcel 2156   ≠ wne 2970  Vcvv 3461  ifcif 4492  {csn 4595   class class class wbr 5116   ↦ cmpt 5200   × cxp 5664   Fn wfn 6574  ⟶wf 6575  ‘cfv 6579  (class class class)co 7470   ∘f cof 7742  ℂcc 11256  ℝcr 11257  0cc0 11258  1c1 11259   + caddc 11261   · cmul 11263   < clt 11401   ≤ cle 11402   − cmin 11599   -cneg 11600   / cdiv 12032  ℕ0cn0 12665  0𝑝c0p 26098  Polycply 26618  coeffccoe 26620  degcdgr 26621
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802  ax-inf2 9698  ax-cnex 11314  ax-resscn 11315  ax-1cn 11316  ax-icn 11317  ax-addcl 11318  ax-addrcl 11319  ax-mulcl 11320  ax-mulrcl 11321  ax-mulcom 11322  ax-addass 11323  ax-mulass 11324  ax-distr 11325  ax-i2m1 11326  ax-1ne0 11327  ax-1rid 11328  ax-rnegex 11329  ax-rrecex 11330  ax-cnre 11331  ax-pre-lttri 11332  ax-pre-lttrn 11333  ax-pre-ltadd 11334  ax-pre-mulgt0 11335  ax-pre-sup 11336
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-nel 3077  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-int 4921  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-se 5620  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6343  df-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-isom 6588  df-riota 7426  df-ov 7473  df-oprab 7474  df-mpo 7475  df-of 7744  df-om 7931  df-1st 8054  df-2nd 8055  df-frecs 8356  df-wrecs 8387  df-recs 8436  df-rdg 8475  df-1o 8533  df-er 8774  df-map 8906  df-pm 8907  df-en 9031  df-dom 9032  df-sdom 9033  df-fin 9034  df-sup 9490  df-inf 9491  df-oi 9560  df-card 10076  df-pnf 11403  df-mnf 11404  df-xr 11405  df-ltxr 11406  df-le 11407  df-sub 11601  df-neg 11602  df-div 12033  df-nn 12395  df-2 12464  df-3 12465  df-n0 12666  df-z 12753  df-uz 13025  df-rp 13180  df-fz 13699  df-fzo 13848  df-fl 13993  df-seq 14206  df-exp 14266  df-hash 14537  df-cj 15330  df-re 15331  df-im 15332  df-sqrt 15466  df-abs 15467  df-clim 15720  df-rlim 15721  df-sum 15919  df-0p 26099  df-ply 26622  df-coe 26624  df-dgr 26625
This theorem is used by:  plydivalg  26736
  Copyright terms: Public domain W3C validator