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

Theorem oexpneg 12903
Description: The exponential of the negative of a number, when the exponent is odd. (Contributed by Mario Carneiro, 25-Apr-2015.)
Assertion
Ref Expression
oexpneg  |-  ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  -> 
( -u A ^ N
)  =  -u ( A ^ N ) )

Proof of Theorem oexpneg
Dummy variable  n is distinct from all other variables.
StepHypRef Expression
1 nnz 10295 . . . . 5  |-  ( N  e.  NN  ->  N  e.  ZZ )
2 odd2np1 12900 . . . . 5  |-  ( N  e.  ZZ  ->  ( -.  2  ||  N  <->  E. n  e.  ZZ  ( ( 2  x.  n )  +  1 )  =  N ) )
31, 2syl 16 . . . 4  |-  ( N  e.  NN  ->  ( -.  2  ||  N  <->  E. n  e.  ZZ  ( ( 2  x.  n )  +  1 )  =  N ) )
43biimpa 471 . . 3  |-  ( ( N  e.  NN  /\  -.  2  ||  N )  ->  E. n  e.  ZZ  ( ( 2  x.  n )  +  1 )  =  N )
543adant1 975 . 2  |-  ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  ->  E. n  e.  ZZ  ( ( 2  x.  n )  +  1 )  =  N )
6 simpl1 960 . . . . . 6  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  ->  A  e.  CC )
7 simprr 734 . . . . . . . 8  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( ( 2  x.  n )  +  1 )  =  N )
8 simpl2 961 . . . . . . . . . 10  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  ->  N  e.  NN )
98nncnd 10008 . . . . . . . . 9  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  ->  N  e.  CC )
10 ax-1cn 9040 . . . . . . . . . 10  |-  1  e.  CC
1110a1i 11 . . . . . . . . 9  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
1  e.  CC )
12 2z 10304 . . . . . . . . . . 11  |-  2  e.  ZZ
13 simprl 733 . . . . . . . . . . 11  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  ->  n  e.  ZZ )
14 zmulcl 10316 . . . . . . . . . . 11  |-  ( ( 2  e.  ZZ  /\  n  e.  ZZ )  ->  ( 2  x.  n
)  e.  ZZ )
1512, 13, 14sylancr 645 . . . . . . . . . 10  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( 2  x.  n
)  e.  ZZ )
1615zcnd 10368 . . . . . . . . 9  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( 2  x.  n
)  e.  CC )
179, 11, 16subadd2d 9422 . . . . . . . 8  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( ( N  - 
1 )  =  ( 2  x.  n )  <-> 
( ( 2  x.  n )  +  1 )  =  N ) )
187, 17mpbird 224 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( N  -  1 )  =  ( 2  x.  n ) )
19 nnm1nn0 10253 . . . . . . . 8  |-  ( N  e.  NN  ->  ( N  -  1 )  e.  NN0 )
208, 19syl 16 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( N  -  1 )  e.  NN0 )
2118, 20eqeltrrd 2510 . . . . . 6  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( 2  x.  n
)  e.  NN0 )
226, 21expcld 11515 . . . . 5  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( A ^ (
2  x.  n ) )  e.  CC )
2322, 6mulneg2d 9479 . . . 4  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( ( A ^
( 2  x.  n
) )  x.  -u A
)  =  -u (
( A ^ (
2  x.  n ) )  x.  A ) )
24 sqneg 11434 . . . . . . . . 9  |-  ( A  e.  CC  ->  ( -u A ^ 2 )  =  ( A ^
2 ) )
256, 24syl 16 . . . . . . . 8  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( -u A ^ 2 )  =  ( A ^ 2 ) )
2625oveq1d 6088 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( ( -u A ^ 2 ) ^
n )  =  ( ( A ^ 2 ) ^ n ) )
276negcld 9390 . . . . . . . 8  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  ->  -u A  e.  CC )
28 2re 10061 . . . . . . . . . . 11  |-  2  e.  RR
2928a1i 11 . . . . . . . . . 10  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
2  e.  RR )
3013zred 10367 . . . . . . . . . 10  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  ->  n  e.  RR )
31 2pos 10074 . . . . . . . . . . 11  |-  0  <  2
3231a1i 11 . . . . . . . . . 10  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
0  <  2 )
3321nn0ge0d 10269 . . . . . . . . . 10  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
0  <_  ( 2  x.  n ) )
34 prodge0 9849 . . . . . . . . . 10  |-  ( ( ( 2  e.  RR  /\  n  e.  RR )  /\  ( 0  <  2  /\  0  <_ 
( 2  x.  n
) ) )  -> 
0  <_  n )
3529, 30, 32, 33, 34syl22anc 1185 . . . . . . . . 9  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
0  <_  n )
36 elnn0z 10286 . . . . . . . . 9  |-  ( n  e.  NN0  <->  ( n  e.  ZZ  /\  0  <_  n ) )
3713, 35, 36sylanbrc 646 . . . . . . . 8  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  ->  n  e.  NN0 )
38 2nn0 10230 . . . . . . . . 9  |-  2  e.  NN0
3938a1i 11 . . . . . . . 8  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
2  e.  NN0 )
4027, 37, 39expmuld 11518 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( -u A ^ (
2  x.  n ) )  =  ( (
-u A ^ 2 ) ^ n ) )
416, 37, 39expmuld 11518 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( A ^ (
2  x.  n ) )  =  ( ( A ^ 2 ) ^ n ) )
4226, 40, 413eqtr4d 2477 . . . . . 6  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( -u A ^ (
2  x.  n ) )  =  ( A ^ ( 2  x.  n ) ) )
4342oveq1d 6088 . . . . 5  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( ( -u A ^ ( 2  x.  n ) )  x.  -u A )  =  ( ( A ^ (
2  x.  n ) )  x.  -u A
) )
4427, 21expp1d 11516 . . . . . 6  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( -u A ^ (
( 2  x.  n
)  +  1 ) )  =  ( (
-u A ^ (
2  x.  n ) )  x.  -u A
) )
457oveq2d 6089 . . . . . 6  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( -u A ^ (
( 2  x.  n
)  +  1 ) )  =  ( -u A ^ N ) )
4644, 45eqtr3d 2469 . . . . 5  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( ( -u A ^ ( 2  x.  n ) )  x.  -u A )  =  (
-u A ^ N
) )
4743, 46eqtr3d 2469 . . . 4  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( ( A ^
( 2  x.  n
) )  x.  -u A
)  =  ( -u A ^ N ) )
4823, 47eqtr3d 2469 . . 3  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  ->  -u ( ( A ^
( 2  x.  n
) )  x.  A
)  =  ( -u A ^ N ) )
496, 21expp1d 11516 . . . . 5  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( A ^ (
( 2  x.  n
)  +  1 ) )  =  ( ( A ^ ( 2  x.  n ) )  x.  A ) )
507oveq2d 6089 . . . . 5  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( A ^ (
( 2  x.  n
)  +  1 ) )  =  ( A ^ N ) )
5149, 50eqtr3d 2469 . . . 4  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( ( A ^
( 2  x.  n
) )  x.  A
)  =  ( A ^ N ) )
5251negeqd 9292 . . 3  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  ->  -u ( ( A ^
( 2  x.  n
) )  x.  A
)  =  -u ( A ^ N ) )
5348, 52eqtr3d 2469 . 2  |-  ( ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  /\  ( n  e.  ZZ  /\  ( ( 2  x.  n )  +  1 )  =  N ) )  -> 
( -u A ^ N
)  =  -u ( A ^ N ) )
545, 53rexlimddv 2826 1  |-  ( ( A  e.  CC  /\  N  e.  NN  /\  -.  2  ||  N )  -> 
( -u A ^ N
)  =  -u ( A ^ N ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 177    /\ wa 359    /\ w3a 936    = wceq 1652    e. wcel 1725   E.wrex 2698   class class class wbr 4204  (class class class)co 6073   CCcc 8980   RRcr 8981   0cc0 8982   1c1 8983    + caddc 8985    x. cmul 8987    < clt 9112    <_ cle 9113    - cmin 9283   -ucneg 9284   NNcn 9992   2c2 10041   NN0cn0 10213   ZZcz 10274   ^cexp 11374    || cdivides 12844
This theorem is referenced by:  dcubic1lem  20675  dcubic2  20676  mcubic  20679  lgseisenlem1  21125  lgseisenlem4  21128  m1lgs  21138  stirlinglem5  27794
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395  ax-un 4693  ax-cnex 9038  ax-resscn 9039  ax-1cn 9040  ax-icn 9041  ax-addcl 9042  ax-addrcl 9043  ax-mulcl 9044  ax-mulrcl 9045  ax-mulcom 9046  ax-addass 9047  ax-mulass 9048  ax-distr 9049  ax-i2m1 9050  ax-1ne0 9051  ax-1rid 9052  ax-rnegex 9053  ax-rrecex 9054  ax-cnre 9055  ax-pre-lttri 9056  ax-pre-lttrn 9057  ax-pre-ltadd 9058  ax-pre-mulgt0 9059
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-nel 2601  df-ral 2702  df-rex 2703  df-reu 2704  df-rmo 2705  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-pss 3328  df-nul 3621  df-if 3732  df-pw 3793  df-sn 3812  df-pr 3813  df-tp 3814  df-op 3815  df-uni 4008  df-iun 4087  df-br 4205  df-opab 4259  df-mpt 4260  df-tr 4295  df-eprel 4486  df-id 4490  df-po 4495  df-so 4496  df-fr 4533  df-we 4535  df-ord 4576  df-on 4577  df-lim 4578  df-suc 4579  df-om 4838  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-res 4882  df-ima 4883  df-iota 5410  df-fun 5448  df-fn 5449  df-f 5450  df-f1 5451  df-fo 5452  df-f1o 5453  df-fv 5454  df-ov 6076  df-oprab 6077  df-mpt2 6078  df-2nd 6342  df-riota 6541  df-recs 6625  df-rdg 6660  df-er 6897  df-en 7102  df-dom 7103  df-sdom 7104  df-pnf 9114  df-mnf 9115  df-xr 9116  df-ltxr 9117  df-le 9118  df-sub 9285  df-neg 9286  df-div 9670  df-nn 9993  df-2 10050  df-n0 10214  df-z 10275  df-uz 10481  df-seq 11316  df-exp 11375  df-dvds 12845
  Copyright terms: Public domain W3C validator