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

Theorem taylfval 21827
Description: Define the Taylor polynomial of a function. The constant Tayl is a function of five arguments: 
S is the base set with respect to evaluate the derivatives (generally  RR or 
CC),  F is the function we are approximating, at point  B, to order  N. The result is a polynomial function of  x.

This "extended" version of taylpfval 21833 additionally handles the case  N  = +oo, 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  |-  ( ph  ->  S  e.  { RR ,  CC } )
taylfval.f  |-  ( ph  ->  F : A --> CC )
taylfval.a  |-  ( ph  ->  A  C_  S )
taylfval.n  |-  ( ph  ->  ( N  e.  NN0  \/  N  = +oo )
)
taylfval.b  |-  ( (
ph  /\  k  e.  ( ( 0 [,] N )  i^i  ZZ ) )  ->  B  e.  dom  ( ( S  Dn F ) `
 k ) )
taylfval.t  |-  T  =  ( N ( S Tayl 
F ) B )
Assertion
Ref Expression
taylfval  |-  ( ph  ->  T  =  U_ x  e.  CC  ( { x }  X.  (fld tsums 
( k  e.  ( ( 0 [,] N
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  B )  /  ( ! `  k ) )  x.  ( ( x  -  B ) ^ k
) ) ) ) ) )
Distinct variable groups:    x, k, B    k, F, x    ph, k, x    k, N, x    S, k, x    x, T
Allowed substitution hints:    A( x, k)    T( k)

Proof of Theorem taylfval
Dummy variables  a  n  f  s are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 taylfval.t . 2  |-  T  =  ( N ( S Tayl 
F ) B )
2 df-tayl 21823 . . . . 5  |- Tayl  =  ( s  e.  { RR ,  CC } ,  f  e.  ( CC  ^pm  s )  |->  ( n  e.  ( NN0  u.  { +oo } ) ,  a  e.  |^|_ k  e.  ( ( 0 [,] n )  i^i  ZZ ) dom  ( ( s  Dn f ) `
 k )  |->  U_ x  e.  CC  ( { x }  X.  (fld tsums  ( k  e.  ( ( 0 [,] n )  i^i  ZZ )  |->  ( ( ( ( ( s  Dn f ) `  k ) `
 a )  / 
( ! `  k
) )  x.  (
( x  -  a
) ^ k ) ) ) ) ) ) )
32a1i 11 . . . 4  |-  ( ph  -> Tayl  =  ( s  e. 
{ RR ,  CC } ,  f  e.  ( CC  ^pm  s ) 
|->  ( n  e.  ( NN0  u.  { +oo } ) ,  a  e. 
|^|_ k  e.  ( ( 0 [,] n
)  i^i  ZZ ) dom  ( ( s  Dn f ) `  k )  |->  U_ x  e.  CC  ( { x }  X.  (fld tsums 
( k  e.  ( ( 0 [,] n
)  i^i  ZZ )  |->  ( ( ( ( ( s  Dn
f ) `  k
) `  a )  /  ( ! `  k ) )  x.  ( ( x  -  a ) ^ k
) ) ) ) ) ) ) )
4 eqidd 2444 . . . . 5  |-  ( (
ph  /\  ( s  =  S  /\  f  =  F ) )  -> 
( NN0  u.  { +oo } )  =  ( NN0 
u.  { +oo } ) )
5 oveq12 6103 . . . . . . . . 9  |-  ( ( s  =  S  /\  f  =  F )  ->  ( s  Dn
f )  =  ( S  Dn F ) )
65ad2antlr 726 . . . . . . . 8  |-  ( ( ( ph  /\  (
s  =  S  /\  f  =  F )
)  /\  k  e.  ( ( 0 [,] n )  i^i  ZZ ) )  ->  (
s  Dn f )  =  ( S  Dn F ) )
76fveq1d 5696 . . . . . . 7  |-  ( ( ( ph  /\  (
s  =  S  /\  f  =  F )
)  /\  k  e.  ( ( 0 [,] n )  i^i  ZZ ) )  ->  (
( s  Dn
f ) `  k
)  =  ( ( S  Dn F ) `  k ) )
87dmeqd 5045 . . . . . 6  |-  ( ( ( ph  /\  (
s  =  S  /\  f  =  F )
)  /\  k  e.  ( ( 0 [,] n )  i^i  ZZ ) )  ->  dom  ( ( s  Dn f ) `  k )  =  dom  ( ( S  Dn F ) `  k ) )
98iineq2dv 4196 . . . . 5  |-  ( (
ph  /\  ( s  =  S  /\  f  =  F ) )  ->  |^|_ k  e.  ( ( 0 [,] n )  i^i  ZZ ) dom  ( ( s  Dn f ) `  k )  =  |^|_ k  e.  ( (
0 [,] n )  i^i  ZZ ) dom  ( ( S  Dn F ) `  k ) )
107fveq1d 5696 . . . . . . . . . . 11  |-  ( ( ( ph  /\  (
s  =  S  /\  f  =  F )
)  /\  k  e.  ( ( 0 [,] n )  i^i  ZZ ) )  ->  (
( ( s  Dn f ) `  k ) `  a
)  =  ( ( ( S  Dn
F ) `  k
) `  a )
)
1110oveq1d 6109 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
s  =  S  /\  f  =  F )
)  /\  k  e.  ( ( 0 [,] n )  i^i  ZZ ) )  ->  (
( ( ( s  Dn f ) `
 k ) `  a )  /  ( ! `  k )
)  =  ( ( ( ( S  Dn F ) `  k ) `  a
)  /  ( ! `
 k ) ) )
1211oveq1d 6109 . . . . . . . . 9  |-  ( ( ( ph  /\  (
s  =  S  /\  f  =  F )
)  /\  k  e.  ( ( 0 [,] n )  i^i  ZZ ) )  ->  (
( ( ( ( s  Dn f ) `  k ) `
 a )  / 
( ! `  k
) )  x.  (
( x  -  a
) ^ k ) )  =  ( ( ( ( ( S  Dn F ) `
 k ) `  a )  /  ( ! `  k )
)  x.  ( ( x  -  a ) ^ k ) ) )
1312mpteq2dva 4381 . . . . . . . 8  |-  ( (
ph  /\  ( s  =  S  /\  f  =  F ) )  -> 
( k  e.  ( ( 0 [,] n
)  i^i  ZZ )  |->  ( ( ( ( ( s  Dn
f ) `  k
) `  a )  /  ( ! `  k ) )  x.  ( ( x  -  a ) ^ k
) ) )  =  ( k  e.  ( ( 0 [,] n
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  a )  /  ( ! `  k ) )  x.  ( ( x  -  a ) ^ k
) ) ) )
1413oveq2d 6110 . . . . . . 7  |-  ( (
ph  /\  ( s  =  S  /\  f  =  F ) )  -> 
(fld tsums  ( k  e.  ( ( 0 [,] n
)  i^i  ZZ )  |->  ( ( ( ( ( s  Dn
f ) `  k
) `  a )  /  ( ! `  k ) )  x.  ( ( x  -  a ) ^ k
) ) ) )  =  (fld tsums 
( k  e.  ( ( 0 [,] n
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  a )  /  ( ! `  k ) )  x.  ( ( x  -  a ) ^ k
) ) ) ) )
1514xpeq2d 4867 . . . . . 6  |-  ( (
ph  /\  ( s  =  S  /\  f  =  F ) )  -> 
( { x }  X.  (fld tsums 
( k  e.  ( ( 0 [,] n
)  i^i  ZZ )  |->  ( ( ( ( ( s  Dn
f ) `  k
) `  a )  /  ( ! `  k ) )  x.  ( ( x  -  a ) ^ k
) ) ) ) )  =  ( { x }  X.  (fld tsums  ( k  e.  ( ( 0 [,] n )  i^i 
ZZ )  |->  ( ( ( ( ( S  Dn F ) `
 k ) `  a )  /  ( ! `  k )
)  x.  ( ( x  -  a ) ^ k ) ) ) ) ) )
1615iuneq2d 4200 . . . . 5  |-  ( (
ph  /\  ( s  =  S  /\  f  =  F ) )  ->  U_ x  e.  CC  ( { x }  X.  (fld tsums  ( k  e.  ( ( 0 [,] n )  i^i  ZZ )  |->  ( ( ( ( ( s  Dn f ) `  k ) `
 a )  / 
( ! `  k
) )  x.  (
( x  -  a
) ^ k ) ) ) ) )  =  U_ x  e.  CC  ( { x }  X.  (fld tsums 
( k  e.  ( ( 0 [,] n
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  a )  /  ( ! `  k ) )  x.  ( ( x  -  a ) ^ k
) ) ) ) ) )
174, 9, 16mpt2eq123dv 6151 . . . 4  |-  ( (
ph  /\  ( s  =  S  /\  f  =  F ) )  -> 
( n  e.  ( NN0  u.  { +oo } ) ,  a  e. 
|^|_ k  e.  ( ( 0 [,] n
)  i^i  ZZ ) dom  ( ( s  Dn f ) `  k )  |->  U_ x  e.  CC  ( { x }  X.  (fld tsums 
( k  e.  ( ( 0 [,] n
)  i^i  ZZ )  |->  ( ( ( ( ( s  Dn
f ) `  k
) `  a )  /  ( ! `  k ) )  x.  ( ( x  -  a ) ^ k
) ) ) ) ) )  =  ( n  e.  ( NN0 
u.  { +oo } ) ,  a  e.  |^|_ k  e.  ( (
0 [,] n )  i^i  ZZ ) dom  ( ( S  Dn F ) `  k )  |->  U_ x  e.  CC  ( { x }  X.  (fld tsums 
( k  e.  ( ( 0 [,] n
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  a )  /  ( ! `  k ) )  x.  ( ( x  -  a ) ^ k
) ) ) ) ) ) )
18 simpr 461 . . . . 5  |-  ( (
ph  /\  s  =  S )  ->  s  =  S )
1918oveq2d 6110 . . . 4  |-  ( (
ph  /\  s  =  S )  ->  ( CC  ^pm  s )  =  ( CC  ^pm  S
) )
20 taylfval.s . . . 4  |-  ( ph  ->  S  e.  { RR ,  CC } )
21 cnex 9366 . . . . . 6  |-  CC  e.  _V
2221a1i 11 . . . . 5  |-  ( ph  ->  CC  e.  _V )
23 taylfval.f . . . . 5  |-  ( ph  ->  F : A --> CC )
24 taylfval.a . . . . 5  |-  ( ph  ->  A  C_  S )
25 elpm2r 7233 . . . . 5  |-  ( ( ( CC  e.  _V  /\  S  e.  { RR ,  CC } )  /\  ( F : A --> CC  /\  A  C_  S ) )  ->  F  e.  ( CC  ^pm  S )
)
2622, 20, 23, 24, 25syl22anc 1219 . . . 4  |-  ( ph  ->  F  e.  ( CC 
^pm  S ) )
27 nn0ex 10588 . . . . . . 7  |-  NN0  e.  _V
28 snex 4536 . . . . . . 7  |-  { +oo }  e.  _V
2927, 28unex 6381 . . . . . 6  |-  ( NN0 
u.  { +oo } )  e.  _V
30 0xr 9433 . . . . . . . . . . 11  |-  0  e.  RR*
3130a1i 11 . . . . . . . . . 10  |-  ( n  e.  ( NN0  u.  { +oo } )  -> 
0  e.  RR* )
32 nn0ssre 10586 . . . . . . . . . . . . 13  |-  NN0  C_  RR
33 ressxr 9430 . . . . . . . . . . . . 13  |-  RR  C_  RR*
3432, 33sstri 3368 . . . . . . . . . . . 12  |-  NN0  C_  RR*
35 pnfxr 11095 . . . . . . . . . . . . 13  |- +oo  e.  RR*
36 snssi 4020 . . . . . . . . . . . . 13  |-  ( +oo  e.  RR*  ->  { +oo }  C_ 
RR* )
3735, 36ax-mp 5 . . . . . . . . . . . 12  |-  { +oo } 
C_  RR*
3834, 37unssi 3534 . . . . . . . . . . 11  |-  ( NN0 
u.  { +oo } ) 
C_  RR*
3938sseli 3355 . . . . . . . . . 10  |-  ( n  e.  ( NN0  u.  { +oo } )  ->  n  e.  RR* )
40 elun 3500 . . . . . . . . . . 11  |-  ( n  e.  ( NN0  u.  { +oo } )  <->  ( n  e.  NN0  \/  n  e. 
{ +oo } ) )
41 nn0ge0 10608 . . . . . . . . . . . 12  |-  ( n  e.  NN0  ->  0  <_  n )
42 0lepnf 11114 . . . . . . . . . . . . 13  |-  0  <_ +oo
43 elsni 3905 . . . . . . . . . . . . 13  |-  ( n  e.  { +oo }  ->  n  = +oo )
4442, 43syl5breqr 4331 . . . . . . . . . . . 12  |-  ( n  e.  { +oo }  ->  0  <_  n )
4541, 44jaoi 379 . . . . . . . . . . 11  |-  ( ( n  e.  NN0  \/  n  e.  { +oo }
)  ->  0  <_  n )
4640, 45sylbi 195 . . . . . . . . . 10  |-  ( n  e.  ( NN0  u.  { +oo } )  -> 
0  <_  n )
47 lbicc2 11404 . . . . . . . . . 10  |-  ( ( 0  e.  RR*  /\  n  e.  RR*  /\  0  <_  n )  ->  0  e.  ( 0 [,] n
) )
4831, 39, 46, 47syl3anc 1218 . . . . . . . . 9  |-  ( n  e.  ( NN0  u.  { +oo } )  -> 
0  e.  ( 0 [,] n ) )
49 0z 10660 . . . . . . . . 9  |-  0  e.  ZZ
50 inelcm 3736 . . . . . . . . 9  |-  ( ( 0  e.  ( 0 [,] n )  /\  0  e.  ZZ )  ->  ( ( 0 [,] n )  i^i  ZZ )  =/=  (/) )
5148, 49, 50sylancl 662 . . . . . . . 8  |-  ( n  e.  ( NN0  u.  { +oo } )  -> 
( ( 0 [,] n )  i^i  ZZ )  =/=  (/) )
52 fvex 5704 . . . . . . . . . 10  |-  ( ( S  Dn F ) `  k )  e.  _V
5352dmex 6514 . . . . . . . . 9  |-  dom  (
( S  Dn
F ) `  k
)  e.  _V
5453rgenw 2786 . . . . . . . 8  |-  A. k  e.  ( ( 0 [,] n )  i^i  ZZ ) dom  ( ( S  Dn F ) `
 k )  e. 
_V
55 iinexg 4455 . . . . . . . 8  |-  ( ( ( ( 0 [,] n )  i^i  ZZ )  =/=  (/)  /\  A. k  e.  ( ( 0 [,] n )  i^i  ZZ ) dom  ( ( S  Dn F ) `
 k )  e. 
_V )  ->  |^|_ k  e.  ( ( 0 [,] n )  i^i  ZZ ) dom  ( ( S  Dn F ) `
 k )  e. 
_V )
5651, 54, 55sylancl 662 . . . . . . 7  |-  ( n  e.  ( NN0  u.  { +oo } )  ->  |^|_ k  e.  ( ( 0 [,] n )  i^i  ZZ ) dom  ( ( S  Dn F ) `  k )  e.  _V )
5756rgen 2784 . . . . . 6  |-  A. n  e.  ( NN0  u.  { +oo } ) |^|_ k  e.  ( ( 0 [,] n )  i^i  ZZ ) dom  ( ( S  Dn F ) `
 k )  e. 
_V
58 eqid 2443 . . . . . . 7  |-  ( n  e.  ( NN0  u.  { +oo } ) ,  a  e.  |^|_ k  e.  ( ( 0 [,] n )  i^i  ZZ ) dom  ( ( S  Dn F ) `
 k )  |->  U_ x  e.  CC  ( { x }  X.  (fld tsums  ( k  e.  ( ( 0 [,] n )  i^i  ZZ )  |->  ( ( ( ( ( S  Dn F ) `  k ) `
 a )  / 
( ! `  k
) )  x.  (
( x  -  a
) ^ k ) ) ) ) ) )  =  ( n  e.  ( NN0  u.  { +oo } ) ,  a  e.  |^|_ k  e.  ( ( 0 [,] n )  i^i  ZZ ) dom  ( ( S  Dn F ) `
 k )  |->  U_ x  e.  CC  ( { x }  X.  (fld tsums  ( k  e.  ( ( 0 [,] n )  i^i  ZZ )  |->  ( ( ( ( ( S  Dn F ) `  k ) `
 a )  / 
( ! `  k
) )  x.  (
( x  -  a
) ^ k ) ) ) ) ) )
5958mpt2exxg 6650 . . . . . 6  |-  ( ( ( NN0  u.  { +oo } )  e.  _V  /\ 
A. n  e.  ( NN0  u.  { +oo } ) |^|_ k  e.  ( ( 0 [,] n
)  i^i  ZZ ) dom  ( ( S  Dn F ) `  k )  e.  _V )  ->  ( n  e.  ( NN0  u.  { +oo } ) ,  a  e.  |^|_ k  e.  ( ( 0 [,] n
)  i^i  ZZ ) dom  ( ( S  Dn F ) `  k )  |->  U_ x  e.  CC  ( { x }  X.  (fld tsums 
( k  e.  ( ( 0 [,] n
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  a )  /  ( ! `  k ) )  x.  ( ( x  -  a ) ^ k
) ) ) ) ) )  e.  _V )
6029, 57, 59mp2an 672 . . . . 5  |-  ( n  e.  ( NN0  u.  { +oo } ) ,  a  e.  |^|_ k  e.  ( ( 0 [,] n )  i^i  ZZ ) dom  ( ( S  Dn F ) `
 k )  |->  U_ x  e.  CC  ( { x }  X.  (fld tsums  ( k  e.  ( ( 0 [,] n )  i^i  ZZ )  |->  ( ( ( ( ( S  Dn F ) `  k ) `
 a )  / 
( ! `  k
) )  x.  (
( x  -  a
) ^ k ) ) ) ) ) )  e.  _V
6160a1i 11 . . . 4  |-  ( ph  ->  ( n  e.  ( NN0  u.  { +oo } ) ,  a  e. 
|^|_ k  e.  ( ( 0 [,] n
)  i^i  ZZ ) dom  ( ( S  Dn F ) `  k )  |->  U_ x  e.  CC  ( { x }  X.  (fld tsums 
( k  e.  ( ( 0 [,] n
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  a )  /  ( ! `  k ) )  x.  ( ( x  -  a ) ^ k
) ) ) ) ) )  e.  _V )
623, 17, 19, 20, 26, 61ovmpt2dx 6220 . . 3  |-  ( ph  ->  ( S Tayl  F )  =  ( n  e.  ( NN0  u.  { +oo } ) ,  a  e.  |^|_ k  e.  ( ( 0 [,] n
)  i^i  ZZ ) dom  ( ( S  Dn F ) `  k )  |->  U_ x  e.  CC  ( { x }  X.  (fld tsums 
( k  e.  ( ( 0 [,] n
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  a )  /  ( ! `  k ) )  x.  ( ( x  -  a ) ^ k
) ) ) ) ) ) )
63 simprl 755 . . . . . . . . 9  |-  ( (
ph  /\  ( n  =  N  /\  a  =  B ) )  ->  n  =  N )
6463oveq2d 6110 . . . . . . . 8  |-  ( (
ph  /\  ( n  =  N  /\  a  =  B ) )  -> 
( 0 [,] n
)  =  ( 0 [,] N ) )
6564ineq1d 3554 . . . . . . 7  |-  ( (
ph  /\  ( n  =  N  /\  a  =  B ) )  -> 
( ( 0 [,] n )  i^i  ZZ )  =  ( (
0 [,] N )  i^i  ZZ ) )
66 simprr 756 . . . . . . . . . 10  |-  ( (
ph  /\  ( n  =  N  /\  a  =  B ) )  -> 
a  =  B )
6766fveq2d 5698 . . . . . . . . 9  |-  ( (
ph  /\  ( n  =  N  /\  a  =  B ) )  -> 
( ( ( S  Dn F ) `
 k ) `  a )  =  ( ( ( S  Dn F ) `  k ) `  B
) )
6867oveq1d 6109 . . . . . . . 8  |-  ( (
ph  /\  ( n  =  N  /\  a  =  B ) )  -> 
( ( ( ( S  Dn F ) `  k ) `
 a )  / 
( ! `  k
) )  =  ( ( ( ( S  Dn F ) `
 k ) `  B )  /  ( ! `  k )
) )
6966oveq2d 6110 . . . . . . . . 9  |-  ( (
ph  /\  ( n  =  N  /\  a  =  B ) )  -> 
( x  -  a
)  =  ( x  -  B ) )
7069oveq1d 6109 . . . . . . . 8  |-  ( (
ph  /\  ( n  =  N  /\  a  =  B ) )  -> 
( ( x  -  a ) ^ k
)  =  ( ( x  -  B ) ^ k ) )
7168, 70oveq12d 6112 . . . . . . 7  |-  ( (
ph  /\  ( n  =  N  /\  a  =  B ) )  -> 
( ( ( ( ( S  Dn
F ) `  k
) `  a )  /  ( ! `  k ) )  x.  ( ( x  -  a ) ^ k
) )  =  ( ( ( ( ( S  Dn F ) `  k ) `
 B )  / 
( ! `  k
) )  x.  (
( x  -  B
) ^ k ) ) )
7265, 71mpteq12dv 4373 . . . . . 6  |-  ( (
ph  /\  ( n  =  N  /\  a  =  B ) )  -> 
( k  e.  ( ( 0 [,] n
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  a )  /  ( ! `  k ) )  x.  ( ( x  -  a ) ^ k
) ) )  =  ( k  e.  ( ( 0 [,] N
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  B )  /  ( ! `  k ) )  x.  ( ( x  -  B ) ^ k
) ) ) )
7372oveq2d 6110 . . . . 5  |-  ( (
ph  /\  ( n  =  N  /\  a  =  B ) )  -> 
(fld tsums  ( k  e.  ( ( 0 [,] n
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  a )  /  ( ! `  k ) )  x.  ( ( x  -  a ) ^ k
) ) ) )  =  (fld tsums 
( k  e.  ( ( 0 [,] N
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  B )  /  ( ! `  k ) )  x.  ( ( x  -  B ) ^ k
) ) ) ) )
7473xpeq2d 4867 . . . 4  |-  ( (
ph  /\  ( n  =  N  /\  a  =  B ) )  -> 
( { x }  X.  (fld tsums 
( k  e.  ( ( 0 [,] n
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  a )  /  ( ! `  k ) )  x.  ( ( x  -  a ) ^ k
) ) ) ) )  =  ( { x }  X.  (fld tsums  ( k  e.  ( ( 0 [,] N )  i^i 
ZZ )  |->  ( ( ( ( ( S  Dn F ) `
 k ) `  B )  /  ( ! `  k )
)  x.  ( ( x  -  B ) ^ k ) ) ) ) ) )
7574iuneq2d 4200 . . 3  |-  ( (
ph  /\  ( n  =  N  /\  a  =  B ) )  ->  U_ x  e.  CC  ( { x }  X.  (fld tsums  ( k  e.  ( ( 0 [,] n )  i^i  ZZ )  |->  ( ( ( ( ( S  Dn F ) `  k ) `
 a )  / 
( ! `  k
) )  x.  (
( x  -  a
) ^ k ) ) ) ) )  =  U_ x  e.  CC  ( { x }  X.  (fld tsums 
( k  e.  ( ( 0 [,] N
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  B )  /  ( ! `  k ) )  x.  ( ( x  -  B ) ^ k
) ) ) ) ) )
76 simpr 461 . . . . . 6  |-  ( (
ph  /\  n  =  N )  ->  n  =  N )
7776oveq2d 6110 . . . . 5  |-  ( (
ph  /\  n  =  N )  ->  (
0 [,] n )  =  ( 0 [,] N ) )
7877ineq1d 3554 . . . 4  |-  ( (
ph  /\  n  =  N )  ->  (
( 0 [,] n
)  i^i  ZZ )  =  ( ( 0 [,] N )  i^i 
ZZ ) )
79 iineq1 4188 . . . 4  |-  ( ( ( 0 [,] n
)  i^i  ZZ )  =  ( ( 0 [,] N )  i^i 
ZZ )  ->  |^|_ k  e.  ( ( 0 [,] n )  i^i  ZZ ) dom  ( ( S  Dn F ) `
 k )  = 
|^|_ k  e.  ( ( 0 [,] N
)  i^i  ZZ ) dom  ( ( S  Dn F ) `  k ) )
8078, 79syl 16 . . 3  |-  ( (
ph  /\  n  =  N )  ->  |^|_ k  e.  ( ( 0 [,] n )  i^i  ZZ ) dom  ( ( S  Dn F ) `
 k )  = 
|^|_ k  e.  ( ( 0 [,] N
)  i^i  ZZ ) dom  ( ( S  Dn F ) `  k ) )
81 taylfval.n . . . . 5  |-  ( ph  ->  ( N  e.  NN0  \/  N  = +oo )
)
82 pnfex 11096 . . . . . . 7  |- +oo  e.  _V
8382elsnc2 3911 . . . . . 6  |-  ( N  e.  { +oo }  <->  N  = +oo )
8483orbi2i 519 . . . . 5  |-  ( ( N  e.  NN0  \/  N  e.  { +oo }
)  <->  ( N  e. 
NN0  \/  N  = +oo ) )
8581, 84sylibr 212 . . . 4  |-  ( ph  ->  ( N  e.  NN0  \/  N  e.  { +oo } ) )
86 elun 3500 . . . 4  |-  ( N  e.  ( NN0  u.  { +oo } )  <->  ( N  e.  NN0  \/  N  e. 
{ +oo } ) )
8785, 86sylibr 212 . . 3  |-  ( ph  ->  N  e.  ( NN0 
u.  { +oo } ) )
88 taylfval.b . . . . 5  |-  ( (
ph  /\  k  e.  ( ( 0 [,] N )  i^i  ZZ ) )  ->  B  e.  dom  ( ( S  Dn F ) `
 k ) )
8988ralrimiva 2802 . . . 4  |-  ( ph  ->  A. k  e.  ( ( 0 [,] N
)  i^i  ZZ ) B  e.  dom  ( ( S  Dn F ) `  k ) )
90 oveq2 6102 . . . . . . . . . 10  |-  ( n  =  N  ->  (
0 [,] n )  =  ( 0 [,] N ) )
9190ineq1d 3554 . . . . . . . . 9  |-  ( n  =  N  ->  (
( 0 [,] n
)  i^i  ZZ )  =  ( ( 0 [,] N )  i^i 
ZZ ) )
9291neeq1d 2624 . . . . . . . 8  |-  ( n  =  N  ->  (
( ( 0 [,] n )  i^i  ZZ )  =/=  (/)  <->  ( ( 0 [,] N )  i^i 
ZZ )  =/=  (/) ) )
9392, 51vtoclga 3039 . . . . . . 7  |-  ( N  e.  ( NN0  u.  { +oo } )  -> 
( ( 0 [,] N )  i^i  ZZ )  =/=  (/) )
9487, 93syl 16 . . . . . 6  |-  ( ph  ->  ( ( 0 [,] N )  i^i  ZZ )  =/=  (/) )
95 r19.2z 3772 . . . . . 6  |-  ( ( ( ( 0 [,] N )  i^i  ZZ )  =/=  (/)  /\  A. k  e.  ( ( 0 [,] N )  i^i  ZZ ) B  e.  dom  ( ( S  Dn F ) `  k ) )  ->  E. k  e.  (
( 0 [,] N
)  i^i  ZZ ) B  e.  dom  ( ( S  Dn F ) `  k ) )
9694, 89, 95syl2anc 661 . . . . 5  |-  ( ph  ->  E. k  e.  ( ( 0 [,] N
)  i^i  ZZ ) B  e.  dom  ( ( S  Dn F ) `  k ) )
97 elex 2984 . . . . . 6  |-  ( B  e.  dom  ( ( S  Dn F ) `  k )  ->  B  e.  _V )
9897rexlimivw 2840 . . . . 5  |-  ( E. k  e.  ( ( 0 [,] N )  i^i  ZZ ) B  e.  dom  ( ( S  Dn F ) `  k )  ->  B  e.  _V )
99 eliin 4179 . . . . 5  |-  ( B  e.  _V  ->  ( B  e.  |^|_ k  e.  ( ( 0 [,] N )  i^i  ZZ ) dom  ( ( S  Dn F ) `
 k )  <->  A. k  e.  ( ( 0 [,] N )  i^i  ZZ ) B  e.  dom  ( ( S  Dn F ) `  k ) ) )
10096, 98, 993syl 20 . . . 4  |-  ( ph  ->  ( B  e.  |^|_ k  e.  ( (
0 [,] N )  i^i  ZZ ) dom  ( ( S  Dn F ) `  k )  <->  A. k  e.  ( ( 0 [,] N )  i^i  ZZ ) B  e.  dom  ( ( S  Dn F ) `  k ) ) )
10189, 100mpbird 232 . . 3  |-  ( ph  ->  B  e.  |^|_ k  e.  ( ( 0 [,] N )  i^i  ZZ ) dom  ( ( S  Dn F ) `
 k ) )
102 snssi 4020 . . . . . . . 8  |-  ( x  e.  CC  ->  { x }  C_  CC )
103102adantl 466 . . . . . . 7  |-  ( (
ph  /\  x  e.  CC )  ->  { x }  C_  CC )
10420, 23, 24, 81, 88taylfvallem 21826 . . . . . . 7  |-  ( (
ph  /\  x  e.  CC )  ->  (fld tsums  ( k  e.  ( ( 0 [,] N )  i^i  ZZ )  |->  ( ( ( ( ( S  Dn F ) `  k ) `  B
)  /  ( ! `
 k ) )  x.  ( ( x  -  B ) ^
k ) ) ) )  C_  CC )
105 xpss12 4948 . . . . . . 7  |-  ( ( { x }  C_  CC  /\  (fld tsums 
( k  e.  ( ( 0 [,] N
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  B )  /  ( ! `  k ) )  x.  ( ( x  -  B ) ^ k
) ) ) ) 
C_  CC )  -> 
( { x }  X.  (fld tsums 
( k  e.  ( ( 0 [,] N
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  B )  /  ( ! `  k ) )  x.  ( ( x  -  B ) ^ k
) ) ) ) )  C_  ( CC  X.  CC ) )
106103, 104, 105syl2anc 661 . . . . . 6  |-  ( (
ph  /\  x  e.  CC )  ->  ( { x }  X.  (fld tsums  ( k  e.  ( ( 0 [,] N )  i^i 
ZZ )  |->  ( ( ( ( ( S  Dn F ) `
 k ) `  B )  /  ( ! `  k )
)  x.  ( ( x  -  B ) ^ k ) ) ) ) )  C_  ( CC  X.  CC ) )
107106ralrimiva 2802 . . . . 5  |-  ( ph  ->  A. x  e.  CC  ( { x }  X.  (fld tsums  ( k  e.  ( ( 0 [,] N )  i^i  ZZ )  |->  ( ( ( ( ( S  Dn F ) `  k ) `
 B )  / 
( ! `  k
) )  x.  (
( x  -  B
) ^ k ) ) ) ) ) 
C_  ( CC  X.  CC ) )
108 iunss 4214 . . . . 5  |-  ( U_ x  e.  CC  ( { x }  X.  (fld tsums  ( k  e.  ( ( 0 [,] N )  i^i  ZZ )  |->  ( ( ( ( ( S  Dn F ) `  k ) `
 B )  / 
( ! `  k
) )  x.  (
( x  -  B
) ^ k ) ) ) ) ) 
C_  ( CC  X.  CC )  <->  A. x  e.  CC  ( { x }  X.  (fld tsums  ( k  e.  ( ( 0 [,] N )  i^i  ZZ )  |->  ( ( ( ( ( S  Dn F ) `  k ) `
 B )  / 
( ! `  k
) )  x.  (
( x  -  B
) ^ k ) ) ) ) ) 
C_  ( CC  X.  CC ) )
109107, 108sylibr 212 . . . 4  |-  ( ph  ->  U_ x  e.  CC  ( { x }  X.  (fld tsums  ( k  e.  ( ( 0 [,] N )  i^i  ZZ )  |->  ( ( ( ( ( S  Dn F ) `  k ) `
 B )  / 
( ! `  k
) )  x.  (
( x  -  B
) ^ k ) ) ) ) ) 
C_  ( CC  X.  CC ) )
11021, 21xpex 6511 . . . . 5  |-  ( CC 
X.  CC )  e. 
_V
111110ssex 4439 . . . 4  |-  ( U_ x  e.  CC  ( { x }  X.  (fld tsums  ( k  e.  ( ( 0 [,] N )  i^i  ZZ )  |->  ( ( ( ( ( S  Dn F ) `  k ) `
 B )  / 
( ! `  k
) )  x.  (
( x  -  B
) ^ k ) ) ) ) ) 
C_  ( CC  X.  CC )  ->  U_ x  e.  CC  ( { x }  X.  (fld tsums 
( k  e.  ( ( 0 [,] N
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  B )  /  ( ! `  k ) )  x.  ( ( x  -  B ) ^ k
) ) ) ) )  e.  _V )
112109, 111syl 16 . . 3  |-  ( ph  ->  U_ x  e.  CC  ( { x }  X.  (fld tsums  ( k  e.  ( ( 0 [,] N )  i^i  ZZ )  |->  ( ( ( ( ( S  Dn F ) `  k ) `
 B )  / 
( ! `  k
) )  x.  (
( x  -  B
) ^ k ) ) ) ) )  e.  _V )
11362, 75, 80, 87, 101, 112ovmpt2dx 6220 . 2  |-  ( ph  ->  ( N ( S Tayl 
F ) B )  =  U_ x  e.  CC  ( { x }  X.  (fld tsums 
( k  e.  ( ( 0 [,] N
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  B )  /  ( ! `  k ) )  x.  ( ( x  -  B ) ^ k
) ) ) ) ) )
1141, 113syl5eq 2487 1  |-  ( ph  ->  T  =  U_ x  e.  CC  ( { x }  X.  (fld tsums 
( k  e.  ( ( 0 [,] N
)  i^i  ZZ )  |->  ( ( ( ( ( S  Dn
F ) `  k
) `  B )  /  ( ! `  k ) )  x.  ( ( x  -  B ) ^ k
) ) ) ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    \/ wo 368    /\ wa 369    = wceq 1369    e. wcel 1756    =/= wne 2609   A.wral 2718   E.wrex 2719   _Vcvv 2975    u. cun 3329    i^i cin 3330    C_ wss 3331   (/)c0 3640   {csn 3880   {cpr 3882   U_ciun 4174   |^|_ciin 4175   class class class wbr 4295    e. cmpt 4353    X. cxp 4841   dom cdm 4843   -->wf 5417   ` cfv 5421  (class class class)co 6094    e. cmpt2 6096    ^pm cpm 7218   CCcc 9283   RRcr 9284   0cc0 9285    x. cmul 9290   +oocpnf 9418   RR*cxr 9420    <_ cle 9422    - cmin 9598    / cdiv 9996   NN0cn0 10582   ZZcz 10649   [,]cicc 11306   ^cexp 11868   !cfa 12054  ℂfldccnfld 17821   tsums ctsu 19699    Dncdvn 21342   Tayl ctayl 21821
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-8 1758  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-rep 4406  ax-sep 4416  ax-nul 4424  ax-pow 4473  ax-pr 4534  ax-un 6375  ax-inf2 7850  ax-cnex 9341  ax-resscn 9342  ax-1cn 9343  ax-icn 9344  ax-addcl 9345  ax-addrcl 9346  ax-mulcl 9347  ax-mulrcl 9348  ax-mulcom 9349  ax-addass 9350  ax-mulass 9351  ax-distr 9352  ax-i2m1 9353  ax-1ne0 9354  ax-1rid 9355  ax-rnegex 9356  ax-rrecex 9357  ax-cnre 9358  ax-pre-lttri 9359  ax-pre-lttrn 9360  ax-pre-ltadd 9361  ax-pre-mulgt0 9362  ax-pre-sup 9363  ax-addf 9364  ax-mulf 9365
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2571  df-ne 2611  df-nel 2612  df-ral 2723  df-rex 2724  df-reu 2725  df-rmo 2726  df-rab 2727  df-v 2977  df-sbc 3190  df-csb 3292  df-dif 3334  df-un 3336  df-in 3338  df-ss 3345  df-pss 3347  df-nul 3641  df-if 3795  df-pw 3865  df-sn 3881  df-pr 3883  df-tp 3885  df-op 3887  df-uni 4095  df-int 4132  df-iun 4176  df-iin 4177  df-br 4296  df-opab 4354  df-mpt 4355  df-tr 4389  df-eprel 4635  df-id 4639  df-po 4644  df-so 4645  df-fr 4682  df-se 4683  df-we 4684  df-ord 4725  df-on 4726  df-lim 4727  df-suc 4728  df-xp 4849  df-rel 4850  df-cnv 4851  df-co 4852  df-dm 4853  df-rn 4854  df-res 4855  df-ima 4856  df-iota 5384  df-fun 5423  df-fn 5424  df-f 5425  df-f1 5426  df-fo 5427  df-f1o 5428  df-fv 5429  df-isom 5430  df-riota 6055  df-ov 6097  df-oprab 6098  df-mpt2 6099  df-om 6480  df-1st 6580  df-2nd 6581  df-supp 6694  df-recs 6835  df-rdg 6869  df-1o 6923  df-oadd 6927  df-er 7104  df-map 7219  df-pm 7220  df-en 7314  df-dom 7315  df-sdom 7316  df-fin 7317  df-fsupp 7624  df-fi 7664  df-sup 7694  df-oi 7727  df-card 8112  df-pnf 9423  df-mnf 9424  df-xr 9425  df-ltxr 9426  df-le 9427  df-sub 9600  df-neg 9601  df-div 9997  df-nn 10326  df-2 10383  df-3 10384  df-4 10385  df-5 10386  df-6 10387  df-7 10388  df-8 10389  df-9 10390  df-10 10391  df-n0 10583  df-z 10650  df-dec 10759  df-uz 10865  df-q 10957  df-rp 10995  df-xneg 11092  df-xadd 11093  df-xmul 11094  df-icc 11310  df-fz 11441  df-fzo 11552  df-seq 11810  df-exp 11869  df-fac 12055  df-hash 12107  df-cj 12591  df-re 12592  df-im 12593  df-sqr 12727  df-abs 12728  df-struct 14179  df-ndx 14180  df-slot 14181  df-base 14182  df-sets 14183  df-plusg 14254  df-mulr 14255  df-starv 14256  df-tset 14260  df-ple 14261  df-ds 14263  df-unif 14264  df-rest 14364  df-topn 14365  df-0g 14383  df-gsum 14384  df-topgen 14385  df-mnd 15418  df-grp 15548  df-minusg 15549  df-cntz 15838  df-cmn 16282  df-abl 16283  df-mgp 16595  df-ur 16607  df-rng 16650  df-cring 16651  df-psmet 17812  df-xmet 17813  df-met 17814  df-bl 17815  df-mopn 17816  df-fbas 17817  df-fg 17818  df-cnfld 17822  df-top 18506  df-bases 18508  df-topon 18509  df-topsp 18510  df-cld 18626  df-ntr 18627  df-cls 18628  df-nei 18705  df-lp 18743  df-perf 18744  df-cnp 18835  df-haus 18922  df-fil 19422  df-fm 19514  df-flim 19515  df-flf 19516  df-tsms 19700  df-xms 19898  df-ms 19899  df-limc 21344  df-dv 21345  df-dvn 21346  df-tayl 21823
This theorem is referenced by:  eltayl  21828  taylf  21829  taylpfval  21833
  Copyright terms: Public domain W3C validator