ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  efsep Unicode version

Theorem efsep 11411
Description: Separate out the next term of the power series expansion of the exponential function. The last hypothesis allows the separated terms to be rearranged as desired. (Contributed by Paul Chapman, 23-Nov-2007.) (Revised by Mario Carneiro, 29-Apr-2014.)
Hypotheses
Ref Expression
efsep.1  |-  F  =  ( n  e.  NN0  |->  ( ( A ^
n )  /  ( ! `  n )
) )
efsep.2  |-  N  =  ( M  +  1 )
efsep.3  |-  M  e. 
NN0
efsep.4  |-  ( ph  ->  A  e.  CC )
efsep.5  |-  ( ph  ->  B  e.  CC )
efsep.6  |-  ( ph  ->  ( exp `  A
)  =  ( B  +  sum_ k  e.  (
ZZ>= `  M ) ( F `  k ) ) )
efsep.7  |-  ( ph  ->  ( B  +  ( ( A ^ M
)  /  ( ! `
 M ) ) )  =  D )
Assertion
Ref Expression
efsep  |-  ( ph  ->  ( exp `  A
)  =  ( D  +  sum_ k  e.  (
ZZ>= `  N ) ( F `  k ) ) )
Distinct variable groups:    k, n, A   
k, F    k, M, n    k, N, n    ph, k
Allowed substitution hints:    ph( n)    B( k, n)    D( k, n)    F( n)

Proof of Theorem efsep
StepHypRef Expression
1 efsep.6 . 2  |-  ( ph  ->  ( exp `  A
)  =  ( B  +  sum_ k  e.  (
ZZ>= `  M ) ( F `  k ) ) )
2 eqid 2139 . . . . . 6  |-  ( ZZ>= `  M )  =  (
ZZ>= `  M )
3 efsep.3 . . . . . . . 8  |-  M  e. 
NN0
43nn0zi 9090 . . . . . . 7  |-  M  e.  ZZ
54a1i 9 . . . . . 6  |-  ( ph  ->  M  e.  ZZ )
6 eqidd 2140 . . . . . 6  |-  ( (
ph  /\  k  e.  ( ZZ>= `  M )
)  ->  ( F `  k )  =  ( F `  k ) )
7 eluznn0 9407 . . . . . . . 8  |-  ( ( M  e.  NN0  /\  k  e.  ( ZZ>= `  M ) )  -> 
k  e.  NN0 )
83, 7mpan 420 . . . . . . 7  |-  ( k  e.  ( ZZ>= `  M
)  ->  k  e.  NN0 )
9 efsep.4 . . . . . . . . 9  |-  ( ph  ->  A  e.  CC )
10 efsep.1 . . . . . . . . . 10  |-  F  =  ( n  e.  NN0  |->  ( ( A ^
n )  /  ( ! `  n )
) )
1110eftvalcn 11377 . . . . . . . . 9  |-  ( ( A  e.  CC  /\  k  e.  NN0 )  -> 
( F `  k
)  =  ( ( A ^ k )  /  ( ! `  k ) ) )
129, 11sylan 281 . . . . . . . 8  |-  ( (
ph  /\  k  e.  NN0 )  ->  ( F `  k )  =  ( ( A ^ k
)  /  ( ! `
 k ) ) )
13 eftcl 11374 . . . . . . . . 9  |-  ( ( A  e.  CC  /\  k  e.  NN0 )  -> 
( ( A ^
k )  /  ( ! `  k )
)  e.  CC )
149, 13sylan 281 . . . . . . . 8  |-  ( (
ph  /\  k  e.  NN0 )  ->  ( ( A ^ k )  / 
( ! `  k
) )  e.  CC )
1512, 14eqeltrd 2216 . . . . . . 7  |-  ( (
ph  /\  k  e.  NN0 )  ->  ( F `  k )  e.  CC )
168, 15sylan2 284 . . . . . 6  |-  ( (
ph  /\  k  e.  ( ZZ>= `  M )
)  ->  ( F `  k )  e.  CC )
1710eftlcvg 11407 . . . . . . 7  |-  ( ( A  e.  CC  /\  M  e.  NN0 )  ->  seq M (  +  ,  F )  e.  dom  ~~>  )
189, 3, 17sylancl 409 . . . . . 6  |-  ( ph  ->  seq M (  +  ,  F )  e. 
dom 
~~>  )
192, 5, 6, 16, 18isum1p 11275 . . . . 5  |-  ( ph  -> 
sum_ k  e.  (
ZZ>= `  M ) ( F `  k )  =  ( ( F `
 M )  + 
sum_ k  e.  (
ZZ>= `  ( M  + 
1 ) ) ( F `  k ) ) )
2010eftvalcn 11377 . . . . . . 7  |-  ( ( A  e.  CC  /\  M  e.  NN0 )  -> 
( F `  M
)  =  ( ( A ^ M )  /  ( ! `  M ) ) )
219, 3, 20sylancl 409 . . . . . 6  |-  ( ph  ->  ( F `  M
)  =  ( ( A ^ M )  /  ( ! `  M ) ) )
22 efsep.2 . . . . . . . . . 10  |-  N  =  ( M  +  1 )
2322eqcomi 2143 . . . . . . . . 9  |-  ( M  +  1 )  =  N
2423fveq2i 5424 . . . . . . . 8  |-  ( ZZ>= `  ( M  +  1
) )  =  (
ZZ>= `  N )
2524sumeq1i 11146 . . . . . . 7  |-  sum_ k  e.  ( ZZ>= `  ( M  +  1 ) ) ( F `  k
)  =  sum_ k  e.  ( ZZ>= `  N )
( F `  k
)
2625a1i 9 . . . . . 6  |-  ( ph  -> 
sum_ k  e.  (
ZZ>= `  ( M  + 
1 ) ) ( F `  k )  =  sum_ k  e.  (
ZZ>= `  N ) ( F `  k ) )
2721, 26oveq12d 5792 . . . . 5  |-  ( ph  ->  ( ( F `  M )  +  sum_ k  e.  ( ZZ>= `  ( M  +  1
) ) ( F `
 k ) )  =  ( ( ( A ^ M )  /  ( ! `  M ) )  + 
sum_ k  e.  (
ZZ>= `  N ) ( F `  k ) ) )
2819, 27eqtrd 2172 . . . 4  |-  ( ph  -> 
sum_ k  e.  (
ZZ>= `  M ) ( F `  k )  =  ( ( ( A ^ M )  /  ( ! `  M ) )  + 
sum_ k  e.  (
ZZ>= `  N ) ( F `  k ) ) )
2928oveq2d 5790 . . 3  |-  ( ph  ->  ( B  +  sum_ k  e.  ( ZZ>= `  M ) ( F `
 k ) )  =  ( B  +  ( ( ( A ^ M )  / 
( ! `  M
) )  +  sum_ k  e.  ( ZZ>= `  N ) ( F `
 k ) ) ) )
30 efsep.5 . . . 4  |-  ( ph  ->  B  e.  CC )
31 eftcl 11374 . . . . 5  |-  ( ( A  e.  CC  /\  M  e.  NN0 )  -> 
( ( A ^ M )  /  ( ! `  M )
)  e.  CC )
329, 3, 31sylancl 409 . . . 4  |-  ( ph  ->  ( ( A ^ M )  /  ( ! `  M )
)  e.  CC )
33 peano2nn0 9031 . . . . . . 7  |-  ( M  e.  NN0  ->  ( M  +  1 )  e. 
NN0 )
343, 33ax-mp 5 . . . . . 6  |-  ( M  +  1 )  e. 
NN0
3522, 34eqeltri 2212 . . . . 5  |-  N  e. 
NN0
3610eftlcl 11408 . . . . 5  |-  ( ( A  e.  CC  /\  N  e.  NN0 )  ->  sum_ k  e.  ( ZZ>= `  N ) ( F `
 k )  e.  CC )
379, 35, 36sylancl 409 . . . 4  |-  ( ph  -> 
sum_ k  e.  (
ZZ>= `  N ) ( F `  k )  e.  CC )
3830, 32, 37addassd 7802 . . 3  |-  ( ph  ->  ( ( B  +  ( ( A ^ M )  /  ( ! `  M )
) )  +  sum_ k  e.  ( ZZ>= `  N ) ( F `
 k ) )  =  ( B  +  ( ( ( A ^ M )  / 
( ! `  M
) )  +  sum_ k  e.  ( ZZ>= `  N ) ( F `
 k ) ) ) )
3929, 38eqtr4d 2175 . 2  |-  ( ph  ->  ( B  +  sum_ k  e.  ( ZZ>= `  M ) ( F `
 k ) )  =  ( ( B  +  ( ( A ^ M )  / 
( ! `  M
) ) )  + 
sum_ k  e.  (
ZZ>= `  N ) ( F `  k ) ) )
40 efsep.7 . . 3  |-  ( ph  ->  ( B  +  ( ( A ^ M
)  /  ( ! `
 M ) ) )  =  D )
4140oveq1d 5789 . 2  |-  ( ph  ->  ( ( B  +  ( ( A ^ M )  /  ( ! `  M )
) )  +  sum_ k  e.  ( ZZ>= `  N ) ( F `
 k ) )  =  ( D  +  sum_ k  e.  ( ZZ>= `  N ) ( F `
 k ) ) )
421, 39, 413eqtrd 2176 1  |-  ( ph  ->  ( exp `  A
)  =  ( D  +  sum_ k  e.  (
ZZ>= `  N ) ( F `  k ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    = wceq 1331    e. wcel 1480    |-> cmpt 3989   dom cdm 4539   ` cfv 5123  (class class class)co 5774   CCcc 7632   1c1 7635    + caddc 7637    / cdiv 8446   NN0cn0 8991   ZZcz 9068   ZZ>=cuz 9340    seqcseq 10232   ^cexp 10306   !cfa 10485    ~~> cli 11061   sum_csu 11136   expce 11362
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-13 1491  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121  ax-coll 4043  ax-sep 4046  ax-nul 4054  ax-pow 4098  ax-pr 4131  ax-un 4355  ax-setind 4452  ax-iinf 4502  ax-cnex 7725  ax-resscn 7726  ax-1cn 7727  ax-1re 7728  ax-icn 7729  ax-addcl 7730  ax-addrcl 7731  ax-mulcl 7732  ax-mulrcl 7733  ax-addcom 7734  ax-mulcom 7735  ax-addass 7736  ax-mulass 7737  ax-distr 7738  ax-i2m1 7739  ax-0lt1 7740  ax-1rid 7741  ax-0id 7742  ax-rnegex 7743  ax-precex 7744  ax-cnre 7745  ax-pre-ltirr 7746  ax-pre-ltwlin 7747  ax-pre-lttrn 7748  ax-pre-apti 7749  ax-pre-ltadd 7750  ax-pre-mulgt0 7751  ax-pre-mulext 7752  ax-arch 7753  ax-caucvg 7754
This theorem depends on definitions:  df-bi 116  df-dc 820  df-3or 963  df-3an 964  df-tru 1334  df-fal 1337  df-nf 1437  df-sb 1736  df-eu 2002  df-mo 2003  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-ne 2309  df-nel 2404  df-ral 2421  df-rex 2422  df-reu 2423  df-rmo 2424  df-rab 2425  df-v 2688  df-sbc 2910  df-csb 3004  df-dif 3073  df-un 3075  df-in 3077  df-ss 3084  df-nul 3364  df-if 3475  df-pw 3512  df-sn 3533  df-pr 3534  df-op 3536  df-uni 3737  df-int 3772  df-iun 3815  df-br 3930  df-opab 3990  df-mpt 3991  df-tr 4027  df-id 4215  df-po 4218  df-iso 4219  df-iord 4288  df-on 4290  df-ilim 4291  df-suc 4293  df-iom 4505  df-xp 4545  df-rel 4546  df-cnv 4547  df-co 4548  df-dm 4549  df-rn 4550  df-res 4551  df-ima 4552  df-iota 5088  df-fun 5125  df-fn 5126  df-f 5127  df-f1 5128  df-fo 5129  df-f1o 5130  df-fv 5131  df-isom 5132  df-riota 5730  df-ov 5777  df-oprab 5778  df-mpo 5779  df-1st 6038  df-2nd 6039  df-recs 6202  df-irdg 6267  df-frec 6288  df-1o 6313  df-oadd 6317  df-er 6429  df-en 6635  df-dom 6636  df-fin 6637  df-pnf 7816  df-mnf 7817  df-xr 7818  df-ltxr 7819  df-le 7820  df-sub 7949  df-neg 7950  df-reap 8351  df-ap 8358  df-div 8447  df-inn 8735  df-2 8793  df-3 8794  df-4 8795  df-n0 8992  df-z 9069  df-uz 9341  df-q 9426  df-rp 9456  df-ico 9691  df-fz 9805  df-fzo 9934  df-seqfrec 10233  df-exp 10307  df-fac 10486  df-ihash 10536  df-cj 10628  df-re 10629  df-im 10630  df-rsqrt 10784  df-abs 10785  df-clim 11062  df-sumdc 11137
This theorem is referenced by:  ef4p  11414  dveflem  12872
  Copyright terms: Public domain W3C validator