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

Theorem efi4p 13874
Description: Separate out the first four terms of the infinite series expansion of the exponential function of an imaginary number. (Contributed by Paul Chapman, 19-Jan-2008.) (Revised by Mario Carneiro, 30-Apr-2014.)
Hypothesis
Ref Expression
efi4p.1  |-  F  =  ( n  e.  NN0  |->  ( ( ( _i  x.  A ) ^
n )  /  ( ! `  n )
) )
Assertion
Ref Expression
efi4p  |-  ( A  e.  CC  ->  ( exp `  ( _i  x.  A ) )  =  ( ( ( 1  -  ( ( A ^ 2 )  / 
2 ) )  +  ( _i  x.  ( A  -  ( ( A ^ 3 )  / 
6 ) ) ) )  +  sum_ k  e.  ( ZZ>= `  4 )
( F `  k
) ) )
Distinct variable groups:    A, k, n    k, F
Allowed substitution hint:    F( n)

Proof of Theorem efi4p
StepHypRef Expression
1 ax-icn 9462 . . . 4  |-  _i  e.  CC
2 mulcl 9487 . . . 4  |-  ( ( _i  e.  CC  /\  A  e.  CC )  ->  ( _i  x.  A
)  e.  CC )
31, 2mpan 668 . . 3  |-  ( A  e.  CC  ->  (
_i  x.  A )  e.  CC )
4 efi4p.1 . . . 4  |-  F  =  ( n  e.  NN0  |->  ( ( ( _i  x.  A ) ^
n )  /  ( ! `  n )
) )
54ef4p 13850 . . 3  |-  ( ( _i  x.  A )  e.  CC  ->  ( exp `  ( _i  x.  A ) )  =  ( ( ( ( 1  +  ( _i  x.  A ) )  +  ( ( ( _i  x.  A ) ^ 2 )  / 
2 ) )  +  ( ( ( _i  x.  A ) ^
3 )  /  6
) )  +  sum_ k  e.  ( ZZ>= ` 
4 ) ( F `
 k ) ) )
63, 5syl 16 . 2  |-  ( A  e.  CC  ->  ( exp `  ( _i  x.  A ) )  =  ( ( ( ( 1  +  ( _i  x.  A ) )  +  ( ( ( _i  x.  A ) ^ 2 )  / 
2 ) )  +  ( ( ( _i  x.  A ) ^
3 )  /  6
) )  +  sum_ k  e.  ( ZZ>= ` 
4 ) ( F `
 k ) ) )
7 ax-1cn 9461 . . . . . 6  |-  1  e.  CC
8 addcl 9485 . . . . . 6  |-  ( ( 1  e.  CC  /\  ( _i  x.  A
)  e.  CC )  ->  ( 1  +  ( _i  x.  A
) )  e.  CC )
97, 3, 8sylancr 661 . . . . 5  |-  ( A  e.  CC  ->  (
1  +  ( _i  x.  A ) )  e.  CC )
103sqcld 12210 . . . . . 6  |-  ( A  e.  CC  ->  (
( _i  x.  A
) ^ 2 )  e.  CC )
1110halfcld 10700 . . . . 5  |-  ( A  e.  CC  ->  (
( ( _i  x.  A ) ^ 2 )  /  2 )  e.  CC )
12 3nn0 10730 . . . . . . 7  |-  3  e.  NN0
13 expcl 12087 . . . . . . 7  |-  ( ( ( _i  x.  A
)  e.  CC  /\  3  e.  NN0 )  -> 
( ( _i  x.  A ) ^ 3 )  e.  CC )
143, 12, 13sylancl 660 . . . . . 6  |-  ( A  e.  CC  ->  (
( _i  x.  A
) ^ 3 )  e.  CC )
15 6cn 10534 . . . . . . 7  |-  6  e.  CC
16 6re 10533 . . . . . . . 8  |-  6  e.  RR
17 6pos 10551 . . . . . . . 8  |-  0  <  6
1816, 17gt0ne0ii 10006 . . . . . . 7  |-  6  =/=  0
19 divcl 10130 . . . . . . 7  |-  ( ( ( ( _i  x.  A ) ^ 3 )  e.  CC  /\  6  e.  CC  /\  6  =/=  0 )  ->  (
( ( _i  x.  A ) ^ 3 )  /  6 )  e.  CC )
2015, 18, 19mp3an23 1314 . . . . . 6  |-  ( ( ( _i  x.  A
) ^ 3 )  e.  CC  ->  (
( ( _i  x.  A ) ^ 3 )  /  6 )  e.  CC )
2114, 20syl 16 . . . . 5  |-  ( A  e.  CC  ->  (
( ( _i  x.  A ) ^ 3 )  /  6 )  e.  CC )
229, 11, 21addassd 9529 . . . 4  |-  ( A  e.  CC  ->  (
( ( 1  +  ( _i  x.  A
) )  +  ( ( ( _i  x.  A ) ^ 2 )  /  2 ) )  +  ( ( ( _i  x.  A
) ^ 3 )  /  6 ) )  =  ( ( 1  +  ( _i  x.  A ) )  +  ( ( ( ( _i  x.  A ) ^ 2 )  / 
2 )  +  ( ( ( _i  x.  A ) ^ 3 )  /  6 ) ) ) )
237a1i 11 . . . . 5  |-  ( A  e.  CC  ->  1  e.  CC )
2423, 3, 11, 21add4d 9716 . . . 4  |-  ( A  e.  CC  ->  (
( 1  +  ( _i  x.  A ) )  +  ( ( ( ( _i  x.  A ) ^ 2 )  /  2 )  +  ( ( ( _i  x.  A ) ^ 3 )  / 
6 ) ) )  =  ( ( 1  +  ( ( ( _i  x.  A ) ^ 2 )  / 
2 ) )  +  ( ( _i  x.  A )  +  ( ( ( _i  x.  A ) ^ 3 )  /  6 ) ) ) )
25 2nn0 10729 . . . . . . . . . . 11  |-  2  e.  NN0
26 mulexp 12108 . . . . . . . . . . 11  |-  ( ( _i  e.  CC  /\  A  e.  CC  /\  2  e.  NN0 )  ->  (
( _i  x.  A
) ^ 2 )  =  ( ( _i
^ 2 )  x.  ( A ^ 2 ) ) )
271, 25, 26mp3an13 1313 . . . . . . . . . 10  |-  ( A  e.  CC  ->  (
( _i  x.  A
) ^ 2 )  =  ( ( _i
^ 2 )  x.  ( A ^ 2 ) ) )
28 i2 12171 . . . . . . . . . . . 12  |-  ( _i
^ 2 )  = 
-u 1
2928oveq1i 6206 . . . . . . . . . . 11  |-  ( ( _i ^ 2 )  x.  ( A ^
2 ) )  =  ( -u 1  x.  ( A ^ 2 ) )
3029a1i 11 . . . . . . . . . 10  |-  ( A  e.  CC  ->  (
( _i ^ 2 )  x.  ( A ^ 2 ) )  =  ( -u 1  x.  ( A ^ 2 ) ) )
31 sqcl 12133 . . . . . . . . . . 11  |-  ( A  e.  CC  ->  ( A ^ 2 )  e.  CC )
3231mulm1d 9926 . . . . . . . . . 10  |-  ( A  e.  CC  ->  ( -u 1  x.  ( A ^ 2 ) )  =  -u ( A ^
2 ) )
3327, 30, 323eqtrd 2427 . . . . . . . . 9  |-  ( A  e.  CC  ->  (
( _i  x.  A
) ^ 2 )  =  -u ( A ^
2 ) )
3433oveq1d 6211 . . . . . . . 8  |-  ( A  e.  CC  ->  (
( ( _i  x.  A ) ^ 2 )  /  2 )  =  ( -u ( A ^ 2 )  / 
2 ) )
35 2cn 10523 . . . . . . . . . 10  |-  2  e.  CC
36 2ne0 10545 . . . . . . . . . 10  |-  2  =/=  0
37 divneg 10156 . . . . . . . . . 10  |-  ( ( ( A ^ 2 )  e.  CC  /\  2  e.  CC  /\  2  =/=  0 )  ->  -u (
( A ^ 2 )  /  2 )  =  ( -u ( A ^ 2 )  / 
2 ) )
3835, 36, 37mp3an23 1314 . . . . . . . . 9  |-  ( ( A ^ 2 )  e.  CC  ->  -u (
( A ^ 2 )  /  2 )  =  ( -u ( A ^ 2 )  / 
2 ) )
3931, 38syl 16 . . . . . . . 8  |-  ( A  e.  CC  ->  -u (
( A ^ 2 )  /  2 )  =  ( -u ( A ^ 2 )  / 
2 ) )
4034, 39eqtr4d 2426 . . . . . . 7  |-  ( A  e.  CC  ->  (
( ( _i  x.  A ) ^ 2 )  /  2 )  =  -u ( ( A ^ 2 )  / 
2 ) )
4140oveq2d 6212 . . . . . 6  |-  ( A  e.  CC  ->  (
1  +  ( ( ( _i  x.  A
) ^ 2 )  /  2 ) )  =  ( 1  + 
-u ( ( A ^ 2 )  / 
2 ) ) )
4231halfcld 10700 . . . . . . 7  |-  ( A  e.  CC  ->  (
( A ^ 2 )  /  2 )  e.  CC )
43 negsub 9780 . . . . . . 7  |-  ( ( 1  e.  CC  /\  ( ( A ^
2 )  /  2
)  e.  CC )  ->  ( 1  + 
-u ( ( A ^ 2 )  / 
2 ) )  =  ( 1  -  (
( A ^ 2 )  /  2 ) ) )
447, 42, 43sylancr 661 . . . . . 6  |-  ( A  e.  CC  ->  (
1  +  -u (
( A ^ 2 )  /  2 ) )  =  ( 1  -  ( ( A ^ 2 )  / 
2 ) ) )
4541, 44eqtrd 2423 . . . . 5  |-  ( A  e.  CC  ->  (
1  +  ( ( ( _i  x.  A
) ^ 2 )  /  2 ) )  =  ( 1  -  ( ( A ^
2 )  /  2
) ) )
46 mulexp 12108 . . . . . . . . . . 11  |-  ( ( _i  e.  CC  /\  A  e.  CC  /\  3  e.  NN0 )  ->  (
( _i  x.  A
) ^ 3 )  =  ( ( _i
^ 3 )  x.  ( A ^ 3 ) ) )
471, 12, 46mp3an13 1313 . . . . . . . . . 10  |-  ( A  e.  CC  ->  (
( _i  x.  A
) ^ 3 )  =  ( ( _i
^ 3 )  x.  ( A ^ 3 ) ) )
48 i3 12172 . . . . . . . . . . 11  |-  ( _i
^ 3 )  = 
-u _i
4948oveq1i 6206 . . . . . . . . . 10  |-  ( ( _i ^ 3 )  x.  ( A ^
3 ) )  =  ( -u _i  x.  ( A ^ 3 ) )
5047, 49syl6eq 2439 . . . . . . . . 9  |-  ( A  e.  CC  ->  (
( _i  x.  A
) ^ 3 )  =  ( -u _i  x.  ( A ^ 3 ) ) )
5150oveq1d 6211 . . . . . . . 8  |-  ( A  e.  CC  ->  (
( ( _i  x.  A ) ^ 3 )  /  6 )  =  ( ( -u _i  x.  ( A ^
3 ) )  / 
6 ) )
52 expcl 12087 . . . . . . . . . 10  |-  ( ( A  e.  CC  /\  3  e.  NN0 )  -> 
( A ^ 3 )  e.  CC )
5312, 52mpan2 669 . . . . . . . . 9  |-  ( A  e.  CC  ->  ( A ^ 3 )  e.  CC )
54 negicn 9734 . . . . . . . . . 10  |-  -u _i  e.  CC
5515, 18pm3.2i 453 . . . . . . . . . 10  |-  ( 6  e.  CC  /\  6  =/=  0 )
56 divass 10142 . . . . . . . . . 10  |-  ( (
-u _i  e.  CC  /\  ( A ^ 3 )  e.  CC  /\  ( 6  e.  CC  /\  6  =/=  0 ) )  ->  ( ( -u _i  x.  ( A ^ 3 ) )  /  6 )  =  ( -u _i  x.  ( ( A ^
3 )  /  6
) ) )
5754, 55, 56mp3an13 1313 . . . . . . . . 9  |-  ( ( A ^ 3 )  e.  CC  ->  (
( -u _i  x.  ( A ^ 3 ) )  /  6 )  =  ( -u _i  x.  ( ( A ^
3 )  /  6
) ) )
5853, 57syl 16 . . . . . . . 8  |-  ( A  e.  CC  ->  (
( -u _i  x.  ( A ^ 3 ) )  /  6 )  =  ( -u _i  x.  ( ( A ^
3 )  /  6
) ) )
59 divcl 10130 . . . . . . . . . . 11  |-  ( ( ( A ^ 3 )  e.  CC  /\  6  e.  CC  /\  6  =/=  0 )  ->  (
( A ^ 3 )  /  6 )  e.  CC )
6015, 18, 59mp3an23 1314 . . . . . . . . . 10  |-  ( ( A ^ 3 )  e.  CC  ->  (
( A ^ 3 )  /  6 )  e.  CC )
6153, 60syl 16 . . . . . . . . 9  |-  ( A  e.  CC  ->  (
( A ^ 3 )  /  6 )  e.  CC )
62 mulneg12 9913 . . . . . . . . 9  |-  ( ( _i  e.  CC  /\  ( ( A ^
3 )  /  6
)  e.  CC )  ->  ( -u _i  x.  ( ( A ^
3 )  /  6
) )  =  ( _i  x.  -u (
( A ^ 3 )  /  6 ) ) )
631, 61, 62sylancr 661 . . . . . . . 8  |-  ( A  e.  CC  ->  ( -u _i  x.  ( ( A ^ 3 )  /  6 ) )  =  ( _i  x.  -u ( ( A ^
3 )  /  6
) ) )
6451, 58, 633eqtrd 2427 . . . . . . 7  |-  ( A  e.  CC  ->  (
( ( _i  x.  A ) ^ 3 )  /  6 )  =  ( _i  x.  -u ( ( A ^
3 )  /  6
) ) )
6564oveq2d 6212 . . . . . 6  |-  ( A  e.  CC  ->  (
( _i  x.  A
)  +  ( ( ( _i  x.  A
) ^ 3 )  /  6 ) )  =  ( ( _i  x.  A )  +  ( _i  x.  -u (
( A ^ 3 )  /  6 ) ) ) )
6661negcld 9831 . . . . . . 7  |-  ( A  e.  CC  ->  -u (
( A ^ 3 )  /  6 )  e.  CC )
67 adddi 9492 . . . . . . . 8  |-  ( ( _i  e.  CC  /\  A  e.  CC  /\  -u (
( A ^ 3 )  /  6 )  e.  CC )  -> 
( _i  x.  ( A  +  -u ( ( A ^ 3 )  /  6 ) ) )  =  ( ( _i  x.  A )  +  ( _i  x.  -u ( ( A ^
3 )  /  6
) ) ) )
681, 67mp3an1 1309 . . . . . . 7  |-  ( ( A  e.  CC  /\  -u ( ( A ^
3 )  /  6
)  e.  CC )  ->  ( _i  x.  ( A  +  -u (
( A ^ 3 )  /  6 ) ) )  =  ( ( _i  x.  A
)  +  ( _i  x.  -u ( ( A ^ 3 )  / 
6 ) ) ) )
6966, 68mpdan 666 . . . . . 6  |-  ( A  e.  CC  ->  (
_i  x.  ( A  +  -u ( ( A ^ 3 )  / 
6 ) ) )  =  ( ( _i  x.  A )  +  ( _i  x.  -u (
( A ^ 3 )  /  6 ) ) ) )
70 negsub 9780 . . . . . . . 8  |-  ( ( A  e.  CC  /\  ( ( A ^
3 )  /  6
)  e.  CC )  ->  ( A  +  -u ( ( A ^
3 )  /  6
) )  =  ( A  -  ( ( A ^ 3 )  /  6 ) ) )
7161, 70mpdan 666 . . . . . . 7  |-  ( A  e.  CC  ->  ( A  +  -u ( ( A ^ 3 )  /  6 ) )  =  ( A  -  ( ( A ^
3 )  /  6
) ) )
7271oveq2d 6212 . . . . . 6  |-  ( A  e.  CC  ->  (
_i  x.  ( A  +  -u ( ( A ^ 3 )  / 
6 ) ) )  =  ( _i  x.  ( A  -  (
( A ^ 3 )  /  6 ) ) ) )
7365, 69, 723eqtr2d 2429 . . . . 5  |-  ( A  e.  CC  ->  (
( _i  x.  A
)  +  ( ( ( _i  x.  A
) ^ 3 )  /  6 ) )  =  ( _i  x.  ( A  -  (
( A ^ 3 )  /  6 ) ) ) )
7445, 73oveq12d 6214 . . . 4  |-  ( A  e.  CC  ->  (
( 1  +  ( ( ( _i  x.  A ) ^ 2 )  /  2 ) )  +  ( ( _i  x.  A )  +  ( ( ( _i  x.  A ) ^ 3 )  / 
6 ) ) )  =  ( ( 1  -  ( ( A ^ 2 )  / 
2 ) )  +  ( _i  x.  ( A  -  ( ( A ^ 3 )  / 
6 ) ) ) ) )
7522, 24, 743eqtrd 2427 . . 3  |-  ( A  e.  CC  ->  (
( ( 1  +  ( _i  x.  A
) )  +  ( ( ( _i  x.  A ) ^ 2 )  /  2 ) )  +  ( ( ( _i  x.  A
) ^ 3 )  /  6 ) )  =  ( ( 1  -  ( ( A ^ 2 )  / 
2 ) )  +  ( _i  x.  ( A  -  ( ( A ^ 3 )  / 
6 ) ) ) ) )
7675oveq1d 6211 . 2  |-  ( A  e.  CC  ->  (
( ( ( 1  +  ( _i  x.  A ) )  +  ( ( ( _i  x.  A ) ^
2 )  /  2
) )  +  ( ( ( _i  x.  A ) ^ 3 )  /  6 ) )  +  sum_ k  e.  ( ZZ>= `  4 )
( F `  k
) )  =  ( ( ( 1  -  ( ( A ^
2 )  /  2
) )  +  ( _i  x.  ( A  -  ( ( A ^ 3 )  / 
6 ) ) ) )  +  sum_ k  e.  ( ZZ>= `  4 )
( F `  k
) ) )
776, 76eqtrd 2423 1  |-  ( A  e.  CC  ->  ( exp `  ( _i  x.  A ) )  =  ( ( ( 1  -  ( ( A ^ 2 )  / 
2 ) )  +  ( _i  x.  ( A  -  ( ( A ^ 3 )  / 
6 ) ) ) )  +  sum_ k  e.  ( ZZ>= `  4 )
( F `  k
) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 367    = wceq 1399    e. wcel 1826    =/= wne 2577    |-> cmpt 4425   ` cfv 5496  (class class class)co 6196   CCcc 9401   0cc0 9403   1c1 9404   _ici 9405    + caddc 9406    x. cmul 9408    - cmin 9718   -ucneg 9719    / cdiv 10123   2c2 10502   3c3 10503   4c4 10504   6c6 10506   NN0cn0 10712   ZZ>=cuz 11001   ^cexp 12069   !cfa 12255   sum_csu 13510   expce 13799
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1626  ax-4 1639  ax-5 1712  ax-6 1755  ax-7 1798  ax-8 1828  ax-9 1830  ax-10 1845  ax-11 1850  ax-12 1862  ax-13 2006  ax-ext 2360  ax-rep 4478  ax-sep 4488  ax-nul 4496  ax-pow 4543  ax-pr 4601  ax-un 6491  ax-inf2 7972  ax-cnex 9459  ax-resscn 9460  ax-1cn 9461  ax-icn 9462  ax-addcl 9463  ax-addrcl 9464  ax-mulcl 9465  ax-mulrcl 9466  ax-mulcom 9467  ax-addass 9468  ax-mulass 9469  ax-distr 9470  ax-i2m1 9471  ax-1ne0 9472  ax-1rid 9473  ax-rnegex 9474  ax-rrecex 9475  ax-cnre 9476  ax-pre-lttri 9477  ax-pre-lttrn 9478  ax-pre-ltadd 9479  ax-pre-mulgt0 9480  ax-pre-sup 9481  ax-addf 9482  ax-mulf 9483
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-3or 972  df-3an 973  df-tru 1402  df-fal 1405  df-ex 1621  df-nf 1625  df-sb 1748  df-eu 2222  df-mo 2223  df-clab 2368  df-cleq 2374  df-clel 2377  df-nfc 2532  df-ne 2579  df-nel 2580  df-ral 2737  df-rex 2738  df-reu 2739  df-rmo 2740  df-rab 2741  df-v 3036  df-sbc 3253  df-csb 3349  df-dif 3392  df-un 3394  df-in 3396  df-ss 3403  df-pss 3405  df-nul 3712  df-if 3858  df-pw 3929  df-sn 3945  df-pr 3947  df-tp 3949  df-op 3951  df-uni 4164  df-int 4200  df-iun 4245  df-br 4368  df-opab 4426  df-mpt 4427  df-tr 4461  df-eprel 4705  df-id 4709  df-po 4714  df-so 4715  df-fr 4752  df-se 4753  df-we 4754  df-ord 4795  df-on 4796  df-lim 4797  df-suc 4798  df-xp 4919  df-rel 4920  df-cnv 4921  df-co 4922  df-dm 4923  df-rn 4924  df-res 4925  df-ima 4926  df-iota 5460  df-fun 5498  df-fn 5499  df-f 5500  df-f1 5501  df-fo 5502  df-f1o 5503  df-fv 5504  df-isom 5505  df-riota 6158  df-ov 6199  df-oprab 6200  df-mpt2 6201  df-om 6600  df-1st 6699  df-2nd 6700  df-recs 6960  df-rdg 6994  df-1o 7048  df-oadd 7052  df-er 7229  df-pm 7341  df-en 7436  df-dom 7437  df-sdom 7438  df-fin 7439  df-sup 7816  df-oi 7850  df-card 8233  df-pnf 9541  df-mnf 9542  df-xr 9543  df-ltxr 9544  df-le 9545  df-sub 9720  df-neg 9721  df-div 10124  df-nn 10453  df-2 10511  df-3 10512  df-4 10513  df-5 10514  df-6 10515  df-n0 10713  df-z 10782  df-uz 11002  df-rp 11140  df-ico 11456  df-fz 11594  df-fzo 11718  df-fl 11828  df-seq 12011  df-exp 12070  df-fac 12256  df-hash 12308  df-shft 12902  df-cj 12934  df-re 12935  df-im 12936  df-sqrt 13070  df-abs 13071  df-limsup 13296  df-clim 13313  df-rlim 13314  df-sum 13511  df-ef 13805
This theorem is referenced by:  resin4p  13875  recos4p  13876
  Copyright terms: Public domain W3C validator