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

Theorem taylfval 26533
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 26539 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 26529 . . . . 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 2763 . . . . 5 ((𝜑 ∧ (𝑠 = 𝑆𝑓 = 𝐹)) → (ℕ0 ∪ {+∞}) = (ℕ0 ∪ {+∞}))
5 oveq12 7421 . . . . . . . . 9 ((𝑠 = 𝑆𝑓 = 𝐹) → (𝑠 D𝑛 𝑓) = (𝑆 D𝑛 𝐹))
65ad2antlr 739 . . . . . . . 8 (((𝜑 ∧ (𝑠 = 𝑆𝑓 = 𝐹)) ∧ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)) → (𝑠 D𝑛 𝑓) = (𝑆 D𝑛 𝐹))
76fveq1d 6883 . . . . . . 7 (((𝜑 ∧ (𝑠 = 𝑆𝑓 = 𝐹)) ∧ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)) → ((𝑠 D𝑛 𝑓)‘𝑘) = ((𝑆 D𝑛 𝐹)‘𝑘))
87dmeqd 5894 . . . . . 6 (((𝜑 ∧ (𝑠 = 𝑆𝑓 = 𝐹)) ∧ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)) → dom ((𝑠 D𝑛 𝑓)‘𝑘) = dom ((𝑆 D𝑛 𝐹)‘𝑘))
98iineq2dv 4981 . . . . 5 ((𝜑 ∧ (𝑠 = 𝑆𝑓 = 𝐹)) → 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑠 D𝑛 𝑓)‘𝑘) = 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘))
107fveq1d 6883 . . . . . . . . . . 11 (((𝜑 ∧ (𝑠 = 𝑆𝑓 = 𝐹)) ∧ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)) → (((𝑠 D𝑛 𝑓)‘𝑘)‘𝑎) = (((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎))
1110oveq1d 7427 . . . . . . . . . 10 (((𝜑 ∧ (𝑠 = 𝑆𝑓 = 𝐹)) ∧ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)) → ((((𝑠 D𝑛 𝑓)‘𝑘)‘𝑎) / (!‘𝑘)) = ((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)))
1211oveq1d 7427 . . . . . . . . 9 (((𝜑 ∧ (𝑠 = 𝑆𝑓 = 𝐹)) ∧ 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)) → (((((𝑠 D𝑛 𝑓)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥𝑎)↑𝑘)) = (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥𝑎)↑𝑘)))
1312mpteq2dva 5203 . . . . . . . 8 ((𝜑 ∧ (𝑠 = 𝑆𝑓 = 𝐹)) → (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑠 D𝑛 𝑓)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥𝑎)↑𝑘))) = (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥𝑎)↑𝑘))))
1413oveq2d 7428 . . . . . . 7 ((𝜑 ∧ (𝑠 = 𝑆𝑓 = 𝐹)) → (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑠 D𝑛 𝑓)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥𝑎)↑𝑘)))) = (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥𝑎)↑𝑘)))))
1514xpeq2d 5690 . . . . . 6 ((𝜑 ∧ (𝑠 = 𝑆𝑓 = 𝐹)) → ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑠 D𝑛 𝑓)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥𝑎)↑𝑘))))) = ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥𝑎)↑𝑘))))))
1615iuneq2d 4986 . . . . 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 489 . . . . 5 ((𝜑𝑠 = 𝑆) → 𝑠 = 𝑆)
1918oveq2d 7428 . . . 4 ((𝜑𝑠 = 𝑆) → (ℂ ↑pm 𝑠) = (ℂ ↑pm 𝑆))
20 taylfval.s . . . 4 (𝜑𝑆 ∈ {ℝ, ℂ})
21 cnex 11187 . . . . . 6 ℂ ∈ V
2221a1i 11 . . . . 5 (𝜑 → ℂ ∈ V)
23 taylfval.f . . . . 5 (𝜑𝐹:𝐴⟶ℂ)
24 taylfval.a . . . . 5 (𝜑𝐴𝑆)
25 elpm2r 8840 . . . . 5 (((ℂ ∈ V ∧ 𝑆 ∈ {ℝ, ℂ}) ∧ (𝐹:𝐴⟶ℂ ∧ 𝐴𝑆)) → 𝐹 ∈ (ℂ ↑pm 𝑆))
2622, 20, 23, 24, 25syl22anc 851 . . . 4 (𝜑𝐹 ∈ (ℂ ↑pm 𝑆))
27 nn0ex 12516 . . . . . . 7 0 ∈ V
28 snex 5409 . . . . . . 7 {+∞} ∈ V
2927, 28unex 7744 . . . . . 6 (ℕ0 ∪ {+∞}) ∈ V
30 0xr 11262 . . . . . . . . . 10 0 ∈ ℝ*
31 nn0ssre 12514 . . . . . . . . . . . . 13 0 ⊆ ℝ
32 ressxr 11259 . . . . . . . . . . . . 13 ℝ ⊆ ℝ*
3331, 32sstri 3945 . . . . . . . . . . . 12 0 ⊆ ℝ*
34 pnfxr 11269 . . . . . . . . . . . . 13 +∞ ∈ ℝ*
35 snssi 4750 . . . . . . . . . . . . 13 (+∞ ∈ ℝ* → {+∞} ⊆ ℝ*)
3634, 35ax-mp 5 . . . . . . . . . . . 12 {+∞} ⊆ ℝ*
3733, 36unssi 4143 . . . . . . . . . . 11 (ℕ0 ∪ {+∞}) ⊆ ℝ*
3837sseli 3932 . . . . . . . . . 10 (𝑛 ∈ (ℕ0 ∪ {+∞}) → 𝑛 ∈ ℝ*)
39 elun 4106 . . . . . . . . . . 11 (𝑛 ∈ (ℕ0 ∪ {+∞}) ↔ (𝑛 ∈ ℕ0𝑛 ∈ {+∞}))
40 nn0ge0 12535 . . . . . . . . . . . 12 (𝑛 ∈ ℕ0 → 0 ≤ 𝑛)
41 0lepnf 13164 . . . . . . . . . . . . 13 0 ≤ +∞
42 elsni 4605 . . . . . . . . . . . . 13 (𝑛 ∈ {+∞} → 𝑛 = +∞)
4341, 42breqtrrid 5148 . . . . . . . . . . . 12 (𝑛 ∈ {+∞} → 0 ≤ 𝑛)
4440, 43jaoi 870 . . . . . . . . . . 11 ((𝑛 ∈ ℕ0𝑛 ∈ {+∞}) → 0 ≤ 𝑛)
4539, 44sylbi 220 . . . . . . . . . 10 (𝑛 ∈ (ℕ0 ∪ {+∞}) → 0 ≤ 𝑛)
46 lbicc2 13497 . . . . . . . . . 10 ((0 ∈ ℝ*𝑛 ∈ ℝ* ∧ 0 ≤ 𝑛) → 0 ∈ (0[,]𝑛))
4730, 38, 45, 46mp3an2i 1494 . . . . . . . . 9 (𝑛 ∈ (ℕ0 ∪ {+∞}) → 0 ∈ (0[,]𝑛))
48 0z 12608 . . . . . . . . 9 0 ∈ ℤ
49 inelcm 4424 . . . . . . . . 9 ((0 ∈ (0[,]𝑛) ∧ 0 ∈ ℤ) → ((0[,]𝑛) ∩ ℤ) ≠ ∅)
5047, 48, 49sylancl 597 . . . . . . . 8 (𝑛 ∈ (ℕ0 ∪ {+∞}) → ((0[,]𝑛) ∩ ℤ) ≠ ∅)
51 fvex 6894 . . . . . . . . . 10 ((𝑆 D𝑛 𝐹)‘𝑘) ∈ V
5251dmex 7904 . . . . . . . . 9 dom ((𝑆 D𝑛 𝐹)‘𝑘) ∈ V
5352rgenw 3082 . . . . . . . 8 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ∈ V
54 iinexg 5317 . . . . . . . 8 ((((0[,]𝑛) ∩ ℤ) ≠ ∅ ∧ ∀𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ∈ V) → 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ∈ V)
5550, 53, 54sylancl 597 . . . . . . 7 (𝑛 ∈ (ℕ0 ∪ {+∞}) → 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ∈ V)
5655rgen 3080 . . . . . 6 𝑛 ∈ (ℕ0 ∪ {+∞}) 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ∈ V
57 eqid 2762 . . . . . . 7 (𝑛 ∈ (ℕ0 ∪ {+∞}), 𝑎 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ↦ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥𝑎)↑𝑘)))))) = (𝑛 ∈ (ℕ0 ∪ {+∞}), 𝑎 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ↦ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥𝑎)↑𝑘))))))
5857mpoexxg 8070 . . . . . 6 (((ℕ0 ∪ {+∞}) ∈ V ∧ ∀𝑛 ∈ (ℕ0 ∪ {+∞}) 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ∈ V) → (𝑛 ∈ (ℕ0 ∪ {+∞}), 𝑎 𝑘 ∈ ((0[,]𝑛) ∩ ℤ)dom ((𝑆 D𝑛 𝐹)‘𝑘) ↦ 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥𝑎)↑𝑘)))))) ∈ V)
5929, 56, 58mp2an 704 . . . . 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 782 . . . . . . . . 9 ((𝜑 ∧ (𝑛 = 𝑁𝑎 = 𝐵)) → 𝑛 = 𝑁)
6362oveq2d 7428 . . . . . . . 8 ((𝜑 ∧ (𝑛 = 𝑁𝑎 = 𝐵)) → (0[,]𝑛) = (0[,]𝑁))
6463ineq1d 4171 . . . . . . 7 ((𝜑 ∧ (𝑛 = 𝑁𝑎 = 𝐵)) → ((0[,]𝑛) ∩ ℤ) = ((0[,]𝑁) ∩ ℤ))
65 simprr 784 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 = 𝑁𝑎 = 𝐵)) → 𝑎 = 𝐵)
6665fveq2d 6885 . . . . . . . . 9 ((𝜑 ∧ (𝑛 = 𝑁𝑎 = 𝐵)) → (((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) = (((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵))
6766oveq1d 7427 . . . . . . . 8 ((𝜑 ∧ (𝑛 = 𝑁𝑎 = 𝐵)) → ((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) = ((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)))
6865oveq2d 7428 . . . . . . . . 9 ((𝜑 ∧ (𝑛 = 𝑁𝑎 = 𝐵)) → (𝑥𝑎) = (𝑥𝐵))
6968oveq1d 7427 . . . . . . . 8 ((𝜑 ∧ (𝑛 = 𝑁𝑎 = 𝐵)) → ((𝑥𝑎)↑𝑘) = ((𝑥𝐵)↑𝑘))
7067, 69oveq12d 7430 . . . . . . 7 ((𝜑 ∧ (𝑛 = 𝑁𝑎 = 𝐵)) → (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥𝑎)↑𝑘)) = (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥𝐵)↑𝑘)))
7164, 70mpteq12dv 5197 . . . . . 6 ((𝜑 ∧ (𝑛 = 𝑁𝑎 = 𝐵)) → (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥𝑎)↑𝑘))) = (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥𝐵)↑𝑘))))
7271oveq2d 7428 . . . . 5 ((𝜑 ∧ (𝑛 = 𝑁𝑎 = 𝐵)) → (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥𝑎)↑𝑘)))) = (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥𝐵)↑𝑘)))))
7372xpeq2d 5690 . . . 4 ((𝜑 ∧ (𝑛 = 𝑁𝑎 = 𝐵)) → ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥𝑎)↑𝑘))))) = ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥𝐵)↑𝑘))))))
7473iuneq2d 4986 . . 3 ((𝜑 ∧ (𝑛 = 𝑁𝑎 = 𝐵)) → 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑛) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝑎) / (!‘𝑘)) · ((𝑥𝑎)↑𝑘))))) = 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥𝐵)↑𝑘))))))
75 simpr 489 . . . . . 6 ((𝜑𝑛 = 𝑁) → 𝑛 = 𝑁)
7675oveq2d 7428 . . . . 5 ((𝜑𝑛 = 𝑁) → (0[,]𝑛) = (0[,]𝑁))
7776ineq1d 4171 . . . 4 ((𝜑𝑛 = 𝑁) → ((0[,]𝑛) ∩ ℤ) = ((0[,]𝑁) ∩ ℤ))
78 iineq1 4973 . . . 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 11268 . . . . . . 7 +∞ ∈ V
8281elsn2 4630 . . . . . 6 (𝑁 ∈ {+∞} ↔ 𝑁 = +∞)
8382orbi2i 925 . . . . 5 ((𝑁 ∈ ℕ0𝑁 ∈ {+∞}) ↔ (𝑁 ∈ ℕ0𝑁 = +∞))
8480, 83sylibr 237 . . . 4 (𝜑 → (𝑁 ∈ ℕ0𝑁 ∈ {+∞}))
85 elun 4106 . . . 4 (𝑁 ∈ (ℕ0 ∪ {+∞}) ↔ (𝑁 ∈ ℕ0𝑁 ∈ {+∞}))
8684, 85sylibr 237 . . 3 (𝜑𝑁 ∈ (ℕ0 ∪ {+∞}))
87 taylfval.b . . . . 5 ((𝜑𝑘 ∈ ((0[,]𝑁) ∩ ℤ)) → 𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘))
8887ralrimiva 3156 . . . 4 (𝜑 → ∀𝑘 ∈ ((0[,]𝑁) ∩ ℤ)𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘))
89 oveq2 7420 . . . . . . . . . 10 (𝑛 = 𝑁 → (0[,]𝑛) = (0[,]𝑁))
9089ineq1d 4171 . . . . . . . . 9 (𝑛 = 𝑁 → ((0[,]𝑛) ∩ ℤ) = ((0[,]𝑁) ∩ ℤ))
9190neeq1d 3016 . . . . . . . 8 (𝑛 = 𝑁 → (((0[,]𝑛) ∩ ℤ) ≠ ∅ ↔ ((0[,]𝑁) ∩ ℤ) ≠ ∅))
9291, 50vtoclga 3540 . . . . . . 7 (𝑁 ∈ (ℕ0 ∪ {+∞}) → ((0[,]𝑁) ∩ ℤ) ≠ ∅)
9386, 92syl 18 . . . . . 6 (𝜑 → ((0[,]𝑁) ∩ ℤ) ≠ ∅)
94 r19.2z 4459 . . . . . 6 ((((0[,]𝑁) ∩ ℤ) ≠ ∅ ∧ ∀𝑘 ∈ ((0[,]𝑁) ∩ ℤ)𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘)) → ∃𝑘 ∈ ((0[,]𝑁) ∩ ℤ)𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘))
9593, 88, 94syl2anc 595 . . . . 5 (𝜑 → ∃𝑘 ∈ ((0[,]𝑁) ∩ ℤ)𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘))
96 elex 3475 . . . . . 6 (𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘) → 𝐵 ∈ V)
9796rexlimivw 3161 . . . . 5 (∃𝑘 ∈ ((0[,]𝑁) ∩ ℤ)𝐵 ∈ dom ((𝑆 D𝑛 𝐹)‘𝑘) → 𝐵 ∈ V)
98 eliin 4960 . . . . 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 4750 . . . . . . 7 (𝑥 ∈ ℂ → {𝑥} ⊆ ℂ)
10220, 23, 24, 80, 87taylfvallem 26532 . . . . . . 7 ((𝜑𝑥 ∈ ℂ) → (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥𝐵)↑𝑘)))) ⊆ ℂ)
103 xpss12 5675 . . . . . . 7 (({𝑥} ⊆ ℂ ∧ (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥𝐵)↑𝑘)))) ⊆ ℂ) → ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥𝐵)↑𝑘))))) ⊆ (ℂ × ℂ))
104101, 102, 103syl2an2 698 . . . . . 6 ((𝜑𝑥 ∈ ℂ) → ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥𝐵)↑𝑘))))) ⊆ (ℂ × ℂ))
105104ralrimiva 3156 . . . . 5 (𝜑 → ∀𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥𝐵)↑𝑘))))) ⊆ (ℂ × ℂ))
106 iunss 5008 . . . . 5 ( 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥𝐵)↑𝑘))))) ⊆ (ℂ × ℂ) ↔ ∀𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥𝐵)↑𝑘))))) ⊆ (ℂ × ℂ))
107105, 106sylibr 237 . . . 4 (𝜑 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥𝐵)↑𝑘))))) ⊆ (ℂ × ℂ))
10821, 21xpex 7750 . . . . 5 (ℂ × ℂ) ∈ V
109108ssex 5290 . . . 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 2809 1 (𝜑𝑇 = 𝑥 ∈ ℂ ({𝑥} × (ℂfld tsums (𝑘 ∈ ((0[,]𝑁) ∩ ℤ) ↦ (((((𝑆 D𝑛 𝐹)‘𝑘)‘𝐵) / (!‘𝑘)) · ((𝑥𝐵)↑𝑘))))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wa 400  wo 860   = wceq 1569  wcel 2142  wne 2957  wral 3078  wrex 3088  Vcvv 3454  cun 3902  cin 3903  wss 3904  c0 4285  {csn 4588  {cpr 4590   ciun 4955   ciin 4956   class class class wbr 5108  cmpt 5191   × cxp 5658  dom cdm 5660  wf 6532  cfv 6536  (class class class)co 7412  cmpo 7414  pm cpm 8823  cc 11104  cr 11105  0cc0 11106   · cmul 11111  +∞cpnf 11246  *cxr 11248  cle 11250  cmin 11447   / cdiv 11877  0cn0 12510  cz 12597  [,]cicc 13381  cexp 14104  !cfa 14316  fldccnfld 21533   tsums ctsu 24294   D𝑛 cdvn 26034   Tayl ctayl 26527
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1824  ax-4 1838  ax-5 1939  ax-6 1996  ax-7 2037  ax-8 2144  ax-9 2152  ax-10 2175  ax-11 2191  ax-12 2212  ax-ext 2734  ax-rep 5237  ax-sep 5256  ax-nul 5268  ax-pow 5335  ax-pr 5403  ax-un 7734  ax-inf2 9608  ax-cnex 11162  ax-resscn 11163  ax-1cn 11164  ax-icn 11165  ax-addcl 11166  ax-addrcl 11167  ax-mulcl 11168  ax-mulrcl 11169  ax-mulcom 11170  ax-addass 11171  ax-mulass 11172  ax-distr 11173  ax-i2m1 11174  ax-1ne0 11175  ax-1rid 11176  ax-rnegex 11177  ax-rrecex 11178  ax-cnre 11179  ax-pre-lttri 11180  ax-pre-lttrn 11181  ax-pre-ltadd 11182  ax-pre-mulgt0 11183  ax-pre-sup 11184  ax-addf 11185
This proof depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3or 1103  df-3an 1104  df-tru 1572  df-fal 1582  df-ex 1809  df-nf 1813  df-sb 2096  df-mo 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-nel 3064  df-ral 3079  df-rex 3089  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3456  df-sbc 3744  df-csb 3853  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-pss 3924  df-nul 4286  df-if 4487  df-pw 4563  df-sn 4589  df-pr 4591  df-tp 4593  df-op 4595  df-uni 4872  df-int 4912  df-iun 4957  df-iin 4958  df-br 5109  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5555  df-eprel 5560  df-po 5568  df-so 5569  df-fr 5613  df-se 5614  df-we 5615  df-xp 5666  df-rel 5667  df-cnv 5668  df-co 5669  df-dm 5670  df-rn 5671  df-res 5672  df-ima 5673  df-pred 6302  df-ord 6363  df-on 6364  df-lim 6365  df-suc 6366  df-iota 6492  df-fun 6538  df-fn 6539  df-f 6540  df-f1 6541  df-fo 6542  df-f1o 6543  df-fv 6544  df-isom 6545  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-om 7861  df-1st 7984  df-2nd 7985  df-supp 8155  df-frecs 8276  df-wrecs 8307  df-recs 8356  df-rdg 8395  df-1o 8451  df-er 8692  df-map 8824  df-pm 8825  df-en 8942  df-dom 8943  df-sdom 8944  df-fin 8945  df-fsupp 9320  df-fi 9369  df-sup 9400  df-inf 9401  df-oi 9470  df-card 9932  df-pnf 11251  df-mnf 11252  df-xr 11253  df-ltxr 11254  df-le 11255  df-sub 11449  df-neg 11450  df-div 11878  df-nn 12240  df-2 12309  df-3 12310  df-4 12311  df-5 12312  df-6 12313  df-7 12314  df-8 12315  df-9 12316  df-n0 12511  df-z 12598  df-dec 12718  df-uz 12869  df-q 12979  df-rp 13023  df-xneg 13143  df-xadd 13144  df-xmul 13145  df-icc 13385  df-fz 13542  df-fzo 13690  df-seq 14045  df-exp 14105  df-fac 14317  df-hash 14374  df-cj 15157  df-re 15158  df-im 15159  df-sqrt 15293  df-abs 15294  df-struct 17213  df-sets 17230  df-slot 17248  df-ndx 17260  df-base 17276  df-plusg 17329  df-mulr 17330  df-starv 17331  df-tset 17335  df-ple 17336  df-ds 17338  df-unif 17339  df-rest 17481  df-topn 17482  df-0g 17500  df-gsum 17501  df-topgen 17502  df-mgm 18704  df-sgrp 18783  df-mnd 18799  df-grp 19009  df-minusg 19010  df-cntz 19393  df-cmn 19858  df-abl 19859  df-mgp 20223  df-ur 20270  df-ring 20323  df-cring 20324  df-psmet 21525  df-xmet 21526  df-met 21527  df-bl 21528  df-mopn 21529  df-fbas 21530  df-fg 21531  df-cnfld 21534  df-top 23062  df-topon 23079  df-topsp 23101  df-bases 23114  df-cld 23187  df-ntr 23188  df-cls 23189  df-nei 23266  df-lp 23304  df-perf 23305  df-cnp 23396  df-haus 23483  df-fil 24014  df-fm 24106  df-flim 24107  df-flf 24108  df-tsms 24295  df-xms 24488  df-ms 24489  df-limc 26036  df-dv 26037  df-dvn 26038  df-tayl 26529
This theorem is used by:  eltayl  26534  taylf  26535  taylpfval  26539
  Copyright terms: Public domain W3C validator