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

Theorem taylfval 26668
Description: Define the Taylor polynomial of a function. The constant Tayl is a function of five arguments: 𝑆 is the base set with respect to evaluate the derivatives (generally ℝ or ℂ), 𝐹 is the function we are approximating, at point 𝐵, to order 𝑁. The result is a polynomial function of 𝑥.

This "extended" version of taylpfval 26674 additionally handles the case 𝑁 = +∞, in which case this is not a polynomial but an infinite series, the Taylor series of the function. (Contributed by Mario Carneiro, 30-Dec-2016.)

Hypotheses
Ref Expression
taylfval.s (𝜑 → 𝑆 ∈ {ℝ, ℂ})
taylfval.f (𝜑 → 𝐹:𝐴⟶ℂ)
taylfval.a (𝜑 → 𝐴 ⊆ 𝑆)
taylfval.n (𝜑 → (𝑁 ∈ ℕ0 ∨ 𝑁 = +∞))
taylfval.b ((𝜑 ∧ 𝑘 ∈ ((0[,]𝑁) ∩ ℤ)) → 𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘))
taylfval.t 𝑇 = (𝑁(𝑆 Tayl 𝐹)𝐵)
Assertion
Ref Expression
taylfval (𝜑 → 𝑇 = ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘))))))
Distinct variable groups:   𝑥,𝑘,𝐵   𝑘,𝐹,𝑥   𝜑,𝑘,𝑥   𝑘,𝑁,𝑥   𝑆,𝑘,𝑥   𝑥,𝑇
Allowed substitution hints:   𝐴(𝑥, 𝑘)   𝑇(𝑘)

Proof of Theorem taylfval
Dummy variables 𝑎 𝑛 𝑓 𝑠 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 taylfval.t . 2 𝑇 = (𝑁(𝑆 Tayl 𝐹)𝐵)
2 df-tayl 26664 . . . . 5 Tayl = (𝑠 ∈ {ℝ, ℂ}, 𝑓 ∈ (ℂ ↑pm 𝑠) ↦ (𝑛 ∈ (ℕ0 ∪ {+∞}), 𝑎 ∈ ∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑠 D𝑛 𝑓)‘𝑘) ↦ ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑠 D𝑛 𝑓)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘)))))))
32a1i 11 . . . 4 (𝜑 → Tayl = (𝑠 ∈ {ℝ, ℂ}, 𝑓 ∈ (ℂ ↑pm 𝑠) ↦ (𝑛 ∈ (ℕ0 ∪ {+∞}), 𝑎 ∈ ∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑠 D𝑛 𝑓)‘𝑘) ↦ ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑠 D𝑛 𝑓)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘))))))))
4 eqidd 2762 . . . . 5 ((𝜑 ∧ (𝑠 = 𝑆 ∧ 𝑓 = 𝐹)) → (ℕ0 ∪ {+∞}) = (ℕ0 ∪ {+∞}))
5 oveq12 7421 . . . . . . . . 9 ((𝑠 = 𝑆 ∧ 𝑓 = 𝐹) → (𝑠 D𝑛 𝑓) = (𝑆 D𝑛 𝐹))
65ad2antlr 740 . . . . . . . 8 (((𝜑 ∧ (𝑠 = 𝑆 ∧ 𝑓 = 𝐹)) ∧ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)) → (𝑠 D𝑛 𝑓) = (𝑆 D𝑛 𝐹))
76fveq1d 6879 . . . . . . 7 (((𝜑 ∧ (𝑠 = 𝑆 ∧ 𝑓 = 𝐹)) ∧ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)) → ((𝑠 D𝑛 𝑓)‘𝑘) = ((𝑆 D𝑛 𝐹)‘𝑘))
87dmeqd 5887 . . . . . 6 (((𝜑 ∧ (𝑠 = 𝑆 ∧ 𝑓 = 𝐹)) ∧ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)) → dom ((𝑠 D𝑛 𝑓)‘𝑘) = dom ((𝑆 D𝑛 𝐹)‘𝑘))
98iineq2dv 4977 . . . . 5 ((𝜑 ∧ (𝑠 = 𝑆 ∧ 𝑓 = 𝐹)) → ∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑠 D𝑛 𝑓)‘𝑘) = ∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘))
107fveq1d 6879 . . . . . . . . . . 11 (((𝜑 ∧ (𝑠 = 𝑆 ∧ 𝑓 = 𝐹)) ∧ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)) → (((𝑠 D𝑛 𝑓)‘𝑘)‘𝑎) = (((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎))
1110oveq1d 7427 . . . . . . . . . 10 (((𝜑 ∧ (𝑠 = 𝑆 ∧ 𝑓 = 𝐹)) ∧ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)) → ((((𝑠 D𝑛 𝑓)‘𝑘)‘𝑎) / (!‘𝑘)) = ((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)))
1211oveq1d 7427 . . . . . . . . 9 (((𝜑 ∧ (𝑠 = 𝑆 ∧ 𝑓 = 𝐹)) ∧ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)) → (((((𝑠 D𝑛 𝑓)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘)) = (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘)))
1312mpteq2dva 5198 . . . . . . . 8 ((𝜑 ∧ (𝑠 = 𝑆 ∧ 𝑓 = 𝐹)) → (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑠 D𝑛 𝑓)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘))) = (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘))))
1413oveq2d 7428 . . . . . . 7 ((𝜑 ∧ (𝑠 = 𝑆 ∧ 𝑓 = 𝐹)) → (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑠 D𝑛 𝑓)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘)))) = (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘)))))
1514xpeq2d 5681 . . . . . 6 ((𝜑 ∧ (𝑠 = 𝑆 ∧ 𝑓 = 𝐹)) → ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑠 D𝑛 𝑓)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘))))) = ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘))))))
1615iuneq2d 4981 . . . . 5 ((𝜑 ∧ (𝑠 = 𝑆 ∧ 𝑓 = 𝐹)) → ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑠 D𝑛 𝑓)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘))))) = ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘))))))
174, 9, 16mpoeq123dv 7487 . . . 4 ((𝜑 ∧ (𝑠 = 𝑆 ∧ 𝑓 = 𝐹)) → (𝑛 ∈ (ℕ0 ∪ {+∞}), 𝑎 ∈ ∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑠 D𝑛 𝑓)‘𝑘) ↦ ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑠 D𝑛 𝑓)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘)))))) = (𝑛 ∈ (ℕ0 ∪ {+∞}), 𝑎 ∈ ∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ↦ ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘)))))))
18 simpr 490 . . . . 5 ((𝜑 ∧ 𝑠 = 𝑆) → 𝑠 = 𝑆)
1918oveq2d 7428 . . . 4 ((𝜑 ∧ 𝑠 = 𝑆) → (ℂ ↑pm 𝑠) = (ℂ ↑pm 𝑆))
20 taylfval.s . . . 4 (𝜑 → 𝑆 ∈ {ℝ, ℂ})
21 cnex 11262 . . . . . 6 ℂ ∈ V
2221a1i 11 . . . . 5 (𝜑 → ℂ ∈ V)
23 taylfval.f . . . . 5 (𝜑 → 𝐹:𝐴⟶ℂ)
24 taylfval.a . . . . 5 (𝜑 → 𝐴 ⊆ 𝑆)
25 elpm2r 8849 . . . . 5 (((ℂ ∈ V ∧ 𝑆 ∈ {ℝ, ℂ}) ∧ (𝐹:𝐴⟶ℂ ∧ 𝐴 ⊆ 𝑆)) → 𝐹 ∈ (ℂ ↑pm 𝑆))
2622, 20, 23, 24, 25syl22anc 852 . . . 4 (𝜑 → 𝐹 ∈ (ℂ ↑pm 𝑆))
27 nn0ex 12593 . . . . . . 7 ℕ0 ∈ V
28 snex 5397 . . . . . . 7 {+∞} ∈ V
2927, 28unex 7750 . . . . . 6 (ℕ0 ∪ {+∞}) ∈ V
30 0xr 11337 . . . . . . . . . 10 0 ∈ ℝ*
31 nn0ssre 12591 . . . . . . . . . . . . 13 ℕ0 ⊆ ℝ
32 ressxr 11334 . . . . . . . . . . . . 13 ℝ ⊆ ℝ*
3331, 32sstri 3940 . . . . . . . . . . . 12 ℕ0 ⊆ ℝ*
34 pnfxr 11344 . . . . . . . . . . . . 13 +∞ ∈ ℝ*
35 snssi 4746 . . . . . . . . . . . . 13 (+∞ ∈ ℝ* → {+∞} ⊆ ℝ*)
3634, 35ax-mp 5 . . . . . . . . . . . 12 {+∞} ⊆ ℝ*
3733, 36unssi 4137 . . . . . . . . . . 11 (ℕ0 ∪ {+∞}) ⊆ ℝ*
3837sseli 3927 . . . . . . . . . 10 (𝑛 ∈ (ℕ0 ∪ {+∞}) → 𝑛 ∈ ℝ*)
39 elun 4100 . . . . . . . . . . 11 (𝑛 ∈ (ℕ0 ∪ {+∞}) ↔ (𝑛 ∈ ℕ0 ∨ 𝑛 ∈ {+∞}))
40 nn0ge0 12612 . . . . . . . . . . . 12 (𝑛 ∈ ℕ0 → 0 ≤ 𝑛)
41 0lepnf 13243 . . . . . . . . . . . . 13 0 ≤ +∞
42 elsni 4601 . . . . . . . . . . . . 13 (𝑛 ∈ {+∞} → 𝑛 = +∞)
4341, 42breqtrrid 5143 . . . . . . . . . . . 12 (𝑛 ∈ {+∞} → 0 ≤ 𝑛)
4440, 43jaoi 871 . . . . . . . . . . 11 ((𝑛 ∈ ℕ0 ∨ 𝑛 ∈ {+∞}) → 0 ≤ 𝑛)
4539, 44sylbi 220 . . . . . . . . . 10 (𝑛 ∈ (ℕ0 ∪ {+∞}) → 0 ≤ 𝑛)
46 lbicc2 13576 . . . . . . . . . 10 ((0 ∈ ℝ* ∧ 𝑛 ∈ ℝ* ∧ 0 ≤ 𝑛) → 0 ∈ (0[,]𝑛))
4730, 38, 45, 46mp3an2i 1495 . . . . . . . . 9 (𝑛 ∈ (ℕ0 ∪ {+∞}) → 0 ∈ (0[,]𝑛))
48 0z 12685 . . . . . . . . 9 0 ∈ ℤ
49 inelcm 4418 . . . . . . . . 9 ((0 ∈ (0[,]𝑛) ∧ 0 ∈ ℤ) → ((0[,]𝑛) ∩ ℤ) ≠ ∅)
5047, 48, 49sylancl 598 . . . . . . . 8 (𝑛 ∈ (ℕ0 ∪ {+∞}) → ((0[,]𝑛) ∩ ℤ) ≠ ∅)
51 fvex 6890 . . . . . . . . . 10 ((𝑆 D𝑛 𝐹)‘𝑘) ∈ V
5251dmex 7910 . . . . . . . . 9 dom ((𝑆 D𝑛 𝐹)‘𝑘) ∈ V
5352rgenw 3081 . . . . . . . 8 ∀𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ∈ V
54 iinexg 5309 . . . . . . . 8 ((((0[,]𝑛) ∩ ℤ) ≠ ∅ ∧ ∀𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ∈ V) → ∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ∈ V)
5550, 53, 54sylancl 598 . . . . . . 7 (𝑛 ∈ (ℕ0 ∪ {+∞}) → ∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ∈ V)
5655rgen 3079 . . . . . 6 ∀𝑛 ∈ (ℕ0 ∪ {+∞})∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ∈ V
57 eqid 2761 . . . . . . 7 (𝑛 ∈ (ℕ0 ∪ {+∞}), 𝑎 ∈ ∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ↦ ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘)))))) = (𝑛 ∈ (ℕ0 ∪ {+∞}), 𝑎 ∈ ∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ↦ ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘))))))
5857mpoexxg 8077 . . . . . 6 (((ℕ0 ∪ {+∞}) ∈ V ∧ ∀𝑛 ∈ (ℕ0 ∪ {+∞})∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ∈ V) → (𝑛 ∈ (ℕ0 ∪ {+∞}), 𝑎 ∈ ∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ↦ ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘)))))) ∈ V)
5929, 56, 58mp2an 705 . . . . 5 (𝑛 ∈ (ℕ0 ∪ {+∞}), 𝑎 ∈ ∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ↦ ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘)))))) ∈ V
6059a1i 11 . . . 4 (𝜑 → (𝑛 ∈ (ℕ0 ∪ {+∞}), 𝑎 ∈ ∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ↦ ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘)))))) ∈ V)
613, 17, 19, 20, 26, 60ovmpodx 7563 . . 3 (𝜑 → (𝑆 Tayl 𝐹) = (𝑛 ∈ (ℕ0 ∪ {+∞}), 𝑎 ∈ ∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ↦ ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘)))))))
62 simprl 783 . . . . . . . . 9 ((𝜑 ∧ (𝑛 = 𝑁 ∧ 𝑎 = 𝐵)) → 𝑛 = 𝑁)
6362oveq2d 7428 . . . . . . . 8 ((𝜑 ∧ (𝑛 = 𝑁 ∧ 𝑎 = 𝐵)) → (0[,]𝑛) = (0[,]𝑁))
6463ineq1d 4165 . . . . . . 7 ((𝜑 ∧ (𝑛 = 𝑁 ∧ 𝑎 = 𝐵)) → ((0[,]𝑛) ∩ ℤ) = ((0[,]𝑁) ∩ ℤ))
65 simprr 785 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 = 𝑁 ∧ 𝑎 = 𝐵)) → 𝑎 = 𝐵)
6665fveq2d 6881 . . . . . . . . 9 ((𝜑 ∧ (𝑛 = 𝑁 ∧ 𝑎 = 𝐵)) → (((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) = (((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵))
6766oveq1d 7427 . . . . . . . 8 ((𝜑 ∧ (𝑛 = 𝑁 ∧ 𝑎 = 𝐵)) → ((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) = ((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)))
6865oveq2d 7428 . . . . . . . . 9 ((𝜑 ∧ (𝑛 = 𝑁 ∧ 𝑎 = 𝐵)) → (𝑥 − 𝑎) = (𝑥 − 𝐵))
6968oveq1d 7427 . . . . . . . 8 ((𝜑 ∧ (𝑛 = 𝑁 ∧ 𝑎 = 𝐵)) → ((𝑥 − 𝑎)↑𝑘) = ((𝑥 − 𝐵)↑𝑘))
7067, 69oveq12d 7430 . . . . . . 7 ((𝜑 ∧ (𝑛 = 𝑁 ∧ 𝑎 = 𝐵)) → (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘)) = (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘)))
7164, 70mpteq12dv 5192 . . . . . 6 ((𝜑 ∧ (𝑛 = 𝑁 ∧ 𝑎 = 𝐵)) → (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘))) = (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘))))
7271oveq2d 7428 . . . . 5 ((𝜑 ∧ (𝑛 = 𝑁 ∧ 𝑎 = 𝐵)) → (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘)))) = (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘)))))
7372xpeq2d 5681 . . . 4 ((𝜑 ∧ (𝑛 = 𝑁 ∧ 𝑎 = 𝐵)) → ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘))))) = ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘))))))
7473iuneq2d 4981 . . 3 ((𝜑 ∧ (𝑛 = 𝑁 ∧ 𝑎 = 𝐵)) → ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥 − 𝑎)↑𝑘))))) = ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘))))))
75 simpr 490 . . . . . 6 ((𝜑 ∧ 𝑛 = 𝑁) → 𝑛 = 𝑁)
7675oveq2d 7428 . . . . 5 ((𝜑 ∧ 𝑛 = 𝑁) → (0[,]𝑛) = (0[,]𝑁))
7776ineq1d 4165 . . . 4 ((𝜑 ∧ 𝑛 = 𝑁) → ((0[,]𝑛) ∩ ℤ) = ((0[,]𝑁) ∩ ℤ))
78 iineq1 4969 . . . 4 (((0[,]𝑛) ∩ ℤ) = ((0[,]𝑁) ∩ ℤ) → ∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) = ∩ 𝑘 ∈ ((0[,]𝑁) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘))
7977, 78syl 18 . . 3 ((𝜑 ∧ 𝑛 = 𝑁) → ∩ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) = ∩ 𝑘 ∈ ((0[,]𝑁) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘))
80 taylfval.n . . . . 5 (𝜑 → (𝑁 ∈ ℕ0 ∨ 𝑁 = +∞))
81 pnfex 11343 . . . . . . 7 +∞ ∈ V
8281elsn2 4626 . . . . . 6 (𝑁 ∈ {+∞} ↔ 𝑁 = +∞)
8382orbi2i 926 . . . . 5 ((𝑁 ∈ ℕ0 ∨ 𝑁 ∈ {+∞}) ↔ (𝑁 ∈ ℕ0 ∨ 𝑁 = +∞))
8480, 83sylibr 237 . . . 4 (𝜑 → (𝑁 ∈ ℕ0 ∨ 𝑁 ∈ {+∞}))
85 elun 4100 . . . 4 (𝑁 ∈ (ℕ0 ∪ {+∞}) ↔ (𝑁 ∈ ℕ0 ∨ 𝑁 ∈ {+∞}))
8684, 85sylibr 237 . . 3 (𝜑 → 𝑁 ∈ (ℕ0 ∪ {+∞}))
87 taylfval.b . . . . 5 ((𝜑 ∧ 𝑘 ∈ ((0[,]𝑁) ∩ ℤ)) → 𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘))
8887ralrimiva 3155 . . . 4 (𝜑 → ∀𝑘 ∈ ((0[,]𝑁) ∩ ℤ)𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘))
89 oveq2 7420 . . . . . . . . . 10 (𝑛 = 𝑁 → (0[,]𝑛) = (0[,]𝑁))
9089ineq1d 4165 . . . . . . . . 9 (𝑛 = 𝑁 → ((0[,]𝑛) ∩ ℤ) = ((0[,]𝑁) ∩ ℤ))
9190neeq1d 3015 . . . . . . . 8 (𝑛 = 𝑁 → (((0[,]𝑛) ∩ ℤ) ≠ ∅ ↔ ((0[,]𝑁) ∩ ℤ) ≠ ∅))
9291, 50vtoclga 3537 . . . . . . 7 (𝑁 ∈ (ℕ0 ∪ {+∞}) → ((0[,]𝑁) ∩ ℤ) ≠ ∅)
9386, 92syl 18 . . . . . 6 (𝜑 → ((0[,]𝑁) ∩ ℤ) ≠ ∅)
94 r19.2z 4455 . . . . . 6 ((((0[,]𝑁) ∩ ℤ) ≠ ∅ ∧ ∀𝑘 ∈ ((0[,]𝑁) ∩ ℤ)𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘)) → ∃𝑘 ∈ ((0[,]𝑁) ∩ ℤ)𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘))
9593, 88, 94syl2anc 596 . . . . 5 (𝜑 → ∃𝑘 ∈ ((0[,]𝑁) ∩ ℤ)𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘))
96 elex 3472 . . . . . 6 (𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘) → 𝐵 ∈ V)
9796rexlimivw 3160 . . . . 5 (∃𝑘 ∈ ((0[,]𝑁) ∩ ℤ)𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘) → 𝐵 ∈ V)
98 eliin 4956 . . . . 5 (𝐵 ∈ V → (𝐵 ∈ ∩ 𝑘 ∈ ((0[,]𝑁) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ↔ ∀𝑘 ∈ ((0[,]𝑁) ∩ ℤ)𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘)))
9995, 97, 983syl 19 . . . 4 (𝜑 → (𝐵 ∈ ∩ 𝑘 ∈ ((0[,]𝑁) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ↔ ∀𝑘 ∈ ((0[,]𝑁) ∩ ℤ)𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘)))
10088, 99mpbird 260 . . 3 (𝜑 → 𝐵 ∈ ∩ 𝑘 ∈ ((0[,]𝑁) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘))
101 snssi 4746 . . . . . . 7 (𝑥 ∈ ℂ → {𝑥} ⊆ ℂ)
10220, 23, 24, 80, 87taylfvallem 26667 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ ℂ) → (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘)))) ⊆ ℂ)
103 xpss12 5666 . . . . . . 7 (({𝑥} ⊆ ℂ ∧ (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘)))) ⊆ ℂ) → ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘))))) ⊆ (ℂ × ℂ))
104101, 102, 103syl2an2 699 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ ℂ) → ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘))))) ⊆ (ℂ × ℂ))
105104ralrimiva 3155 . . . . 5 (𝜑 → ∀𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘))))) ⊆ (ℂ × ℂ))
106 iunss 5003 . . . . 5 (∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘))))) ⊆ (ℂ × ℂ) ↔ ∀𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘))))) ⊆ (ℂ × ℂ))
107105, 106sylibr 237 . . . 4 (𝜑 → ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘))))) ⊆ (ℂ × ℂ))
10821, 21xpex 7756 . . . . 5 (ℂ × ℂ) ∈ V
109108ssex 5282 . . . 4 (∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘))))) ⊆ (ℂ × ℂ) → ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘))))) ∈ V)
110107, 109syl 18 . . 3 (𝜑 → ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘))))) ∈ V)
11161, 74, 79, 86, 100, 110ovmpodx 7563 . 2 (𝜑 → (𝑁(𝑆 Tayl 𝐹)𝐵) = ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘))))))
1121, 111eqtrid 2808 1 (𝜑 → 𝑇 = ∪ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥 − 𝐵)↑𝑘))))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2145   ≠ wne 2956  ∀wral 3077  ∃wrex 3087  Vcvv 3451   ∪ cun 3897   ∩ cin 3898   ⊆ wss 3899  ∅c0 4279  {csn 4584  {cpr 4586  ∪ ciun 4951  ∩ ciin 4952   class class class wbr 5103   ↦ cmpt 5186   × cxp 5649  dom cdm 5651  ⟶wf 6527  ‘cfv 6531  (class class class)co 7412   ∈ cmpo 7414   ↑pm cpm 8832  ℂcc 11179  ℝcr 11180  0cc0 11181   · cmul 11186  +∞cpnf 11321  ℝ*cxr 11323   ≤ cle 11325   − cmin 11522   / cdiv 11954  ℕ0cn0 12587  ℤcz 12674  [,]cicc 13460  ↑cexp 14184  !cfa 14397  ℂfldccnfld 21658   tsums ctsu 24425   D𝑛 cdvn 26164   Tayl ctayl 26662
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740  ax-inf2 9626  ax-cnex 11237  ax-resscn 11238  ax-1cn 11239  ax-icn 11240  ax-addcl 11241  ax-addrcl 11242  ax-mulcl 11243  ax-mulrcl 11244  ax-mulcom 11245  ax-addass 11246  ax-mulass 11247  ax-distr 11248  ax-i2m1 11249  ax-1ne0 11250  ax-1rid 11251  ax-rnegex 11252  ax-rrecex 11253  ax-cnre 11254  ax-pre-lttri 11255  ax-pre-lttrn 11256  ax-pre-ltadd 11257  ax-pre-mulgt0 11258  ax-pre-sup 11259  ax-addf 11260
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-iin 4954  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-se 5605  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6297  df-ord 6358  df-on 6359  df-lim 6360  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-isom 6540  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-om 7867  df-1st 7990  df-2nd 7991  df-supp 8162  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-rdg 8402  df-1o 8460  df-er 8701  df-map 8833  df-pm 8834  df-en 8958  df-dom 8959  df-sdom 8960  df-fin 8961  df-fsupp 9338  df-fi 9387  df-sup 9418  df-inf 9419  df-oi 9488  df-card 10001  df-pnf 11326  df-mnf 11327  df-xr 11328  df-ltxr 11329  df-le 11330  df-sub 11524  df-neg 11525  df-div 11955  df-nn 12317  df-2 12386  df-3 12387  df-4 12388  df-5 12389  df-6 12390  df-7 12391  df-8 12392  df-9 12393  df-n0 12588  df-z 12675  df-dec 12796  df-uz 12947  df-q 13057  df-rp 13102  df-xneg 13222  df-xadd 13223  df-xmul 13224  df-icc 13464  df-fz 13621  df-fzo 13769  df-seq 14125  df-exp 14185  df-fac 14398  df-hash 14455  df-cj 15246  df-re 15247  df-im 15248  df-sqrt 15382  df-abs 15383  df-struct 17305  df-sets 17322  df-slot 17340  df-ndx 17352  df-base 17368  df-plusg 17421  df-mulr 17422  df-starv 17423  df-tset 17427  df-ple 17428  df-ds 17430  df-unif 17431  df-rest 17573  df-topn 17574  df-0g 17592  df-gsum 17593  df-topgen 17594  df-mgm 18796  df-sgrp 18888  df-mnd 18904  df-grp 19127  df-minusg 19128  df-cntz 19511  df-cmn 19976  df-abl 19977  df-mgp 20341  df-ur 20388  df-ring 20441  df-cring 20442  df-psmet 21650  df-xmet 21651  df-met 21652  df-bl 21653  df-mopn 21654  df-fbas 21655  df-fg 21656  df-cnfld 21659  df-top 23192  df-topon 23209  df-topsp 23231  df-bases 23244  df-cld 23317  df-ntr 23318  df-cls 23319  df-nei 23396  df-lp 23434  df-perf 23435  df-cnp 23526  df-haus 23613  df-fil 24145  df-fm 24237  df-flim 24238  df-flf 24239  df-tsms 24426  df-xms 24619  df-ms 24620  df-limc 26166  df-dv 26167  df-dvn 26168  df-tayl 26664
This theorem is used by:  eltayl  26669  taylf  26670  taylpfval  26674
  Copyright terms: Public domain W3C validator