Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  xaddeq0 Unicode version

Theorem xaddeq0 23339
Description: Two extended reals which add up to zero are each other's negatives. (Contributed by Thierry Arnoux, 13-Jun-2017.)
Assertion
Ref Expression
xaddeq0  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  (
( A + e B )  =  0  <-> 
A  =  - e B ) )

Proof of Theorem xaddeq0
StepHypRef Expression
1 elxr 10505 . . 3  |-  ( A  e.  RR*  <->  ( A  e.  RR  \/  A  = 
+oo  \/  A  =  -oo ) )
2 simpll 730 . . . . . . . 8  |-  ( ( ( A  e.  RR  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  A  e.  RR )
32rexrd 8926 . . . . . . 7  |-  ( ( ( A  e.  RR  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  A  e.  RR* )
4 xnegneg 10588 . . . . . . 7  |-  ( A  e.  RR*  ->  - e  - e A  =  A )
53, 4syl 15 . . . . . 6  |-  ( ( ( A  e.  RR  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  - e  - e A  =  A
)
63xnegcld 10667 . . . . . . . . 9  |-  ( ( ( A  e.  RR  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  - e A  e.  RR* )
7 xaddid2 10614 . . . . . . . . 9  |-  (  - e A  e.  RR*  ->  ( 0 + e  - e A )  =  - e A )
86, 7syl 15 . . . . . . . 8  |-  ( ( ( A  e.  RR  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  ( 0 + e  - e A )  =  - e A )
9 simplr 731 . . . . . . . . . . 11  |-  ( ( ( A  e.  RR  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  B  e.  RR* )
10 xaddcom 10612 . . . . . . . . . . 11  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  ( A + e B )  =  ( B + e A ) )
113, 9, 10syl2anc 642 . . . . . . . . . 10  |-  ( ( ( A  e.  RR  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  ( A + e B )  =  ( B + e A ) )
1211oveq1d 5915 . . . . . . . . 9  |-  ( ( ( A  e.  RR  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  ( ( A + e B ) + e  - e A )  =  ( ( B + e A ) + e  - e A ) )
13 simpr 447 . . . . . . . . . 10  |-  ( ( ( A  e.  RR  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  ( A + e B )  =  0 )
1413oveq1d 5915 . . . . . . . . 9  |-  ( ( ( A  e.  RR  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  ( ( A + e B ) + e  - e A )  =  ( 0 + e  - e A ) )
15 xpncan 10618 . . . . . . . . . . 11  |-  ( ( B  e.  RR*  /\  A  e.  RR )  ->  (
( B + e A ) + e  - e A )  =  B )
1615ancoms 439 . . . . . . . . . 10  |-  ( ( A  e.  RR  /\  B  e.  RR* )  -> 
( ( B + e A ) + e  - e A )  =  B )
1716adantr 451 . . . . . . . . 9  |-  ( ( ( A  e.  RR  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  ( ( B + e A ) + e  - e A )  =  B )
1812, 14, 173eqtr3d 2356 . . . . . . . 8  |-  ( ( ( A  e.  RR  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  ( 0 + e  - e A )  =  B )
198, 18eqtr3d 2350 . . . . . . 7  |-  ( ( ( A  e.  RR  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  - e A  =  B )
20 xnegeq 10581 . . . . . . 7  |-  (  - e A  =  B  -> 
- e  - e A  =  - e B )
2119, 20syl 15 . . . . . 6  |-  ( ( ( A  e.  RR  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  - e  - e A  =  - e B )
225, 21eqtr3d 2350 . . . . 5  |-  ( ( ( A  e.  RR  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  A  =  - e B )
2322ex 423 . . . 4  |-  ( ( A  e.  RR  /\  B  e.  RR* )  -> 
( ( A + e B )  =  0  ->  A  =  - e B ) )
24 simpll 730 . . . . . 6  |-  ( ( ( A  =  +oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  A  =  +oo )
25 simplr 731 . . . . . . . . . 10  |-  ( ( ( A  =  +oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  B  e.  RR* )
2624oveq1d 5915 . . . . . . . . . . . . 13  |-  ( ( ( A  =  +oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  ( A + e B )  =  (  +oo + e B ) )
27 simpr 447 . . . . . . . . . . . . 13  |-  ( ( ( A  =  +oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  ( A + e B )  =  0 )
2826, 27eqtr3d 2350 . . . . . . . . . . . 12  |-  ( ( ( A  =  +oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  (  +oo + e B )  =  0 )
29 0re 8883 . . . . . . . . . . . . . 14  |-  0  e.  RR
30 renepnf 8924 . . . . . . . . . . . . . 14  |-  ( 0  e.  RR  ->  0  =/=  +oo )
3129, 30ax-mp 8 . . . . . . . . . . . . 13  |-  0  =/=  +oo
3231a1i 10 . . . . . . . . . . . 12  |-  ( ( ( A  =  +oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  0  =/=  +oo )
3328, 32eqnetrd 2497 . . . . . . . . . . 11  |-  ( ( ( A  =  +oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  (  +oo + e B )  =/= 
+oo )
3433neneqd 2495 . . . . . . . . . 10  |-  ( ( ( A  =  +oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  -.  (  +oo + e B )  =  +oo )
35 xaddpnf2 10601 . . . . . . . . . . . 12  |-  ( ( B  e.  RR*  /\  B  =/=  -oo )  ->  (  +oo + e B )  =  +oo )
3635ex 423 . . . . . . . . . . 11  |-  ( B  e.  RR*  ->  ( B  =/=  -oo  ->  (  +oo + e B )  = 
+oo ) )
3736con3and 428 . . . . . . . . . 10  |-  ( ( B  e.  RR*  /\  -.  (  +oo + e B )  =  +oo )  ->  -.  B  =/=  -oo )
3825, 34, 37syl2anc 642 . . . . . . . . 9  |-  ( ( ( A  =  +oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  -.  B  =/=  -oo )
39 nne 2483 . . . . . . . . 9  |-  ( -.  B  =/=  -oo  <->  B  =  -oo )
4038, 39sylib 188 . . . . . . . 8  |-  ( ( ( A  =  +oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  B  =  -oo )
41 xnegeq 10581 . . . . . . . 8  |-  ( B  =  -oo  ->  - e B  =  - e  -oo )
4240, 41syl 15 . . . . . . 7  |-  ( ( ( A  =  +oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  - e B  =  - e  -oo )
43 xnegmnf 10584 . . . . . . 7  |-  - e  -oo  =  +oo
4442, 43syl6req 2365 . . . . . 6  |-  ( ( ( A  =  +oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  +oo  =  - e B )
4524, 44eqtrd 2348 . . . . 5  |-  ( ( ( A  =  +oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  A  =  - e B )
4645ex 423 . . . 4  |-  ( ( A  =  +oo  /\  B  e.  RR* )  -> 
( ( A + e B )  =  0  ->  A  =  - e B ) )
47 simpll 730 . . . . . 6  |-  ( ( ( A  =  -oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  A  =  -oo )
48 simplr 731 . . . . . . . . . 10  |-  ( ( ( A  =  -oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  B  e.  RR* )
4947oveq1d 5915 . . . . . . . . . . . . 13  |-  ( ( ( A  =  -oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  ( A + e B )  =  (  -oo + e B ) )
50 simpr 447 . . . . . . . . . . . . 13  |-  ( ( ( A  =  -oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  ( A + e B )  =  0 )
5149, 50eqtr3d 2350 . . . . . . . . . . . 12  |-  ( ( ( A  =  -oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  (  -oo + e B )  =  0 )
52 renemnf 8925 . . . . . . . . . . . . . 14  |-  ( 0  e.  RR  ->  0  =/=  -oo )
5329, 52ax-mp 8 . . . . . . . . . . . . 13  |-  0  =/=  -oo
5453a1i 10 . . . . . . . . . . . 12  |-  ( ( ( A  =  -oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  0  =/=  -oo )
5551, 54eqnetrd 2497 . . . . . . . . . . 11  |-  ( ( ( A  =  -oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  (  -oo + e B )  =/= 
-oo )
5655neneqd 2495 . . . . . . . . . 10  |-  ( ( ( A  =  -oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  -.  (  -oo + e B )  =  -oo )
57 xaddmnf2 10603 . . . . . . . . . . . 12  |-  ( ( B  e.  RR*  /\  B  =/=  +oo )  ->  (  -oo + e B )  =  -oo )
5857ex 423 . . . . . . . . . . 11  |-  ( B  e.  RR*  ->  ( B  =/=  +oo  ->  (  -oo + e B )  = 
-oo ) )
5958con3and 428 . . . . . . . . . 10  |-  ( ( B  e.  RR*  /\  -.  (  -oo + e B )  =  -oo )  ->  -.  B  =/=  +oo )
6048, 56, 59syl2anc 642 . . . . . . . . 9  |-  ( ( ( A  =  -oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  -.  B  =/=  +oo )
61 nne 2483 . . . . . . . . 9  |-  ( -.  B  =/=  +oo  <->  B  =  +oo )
6260, 61sylib 188 . . . . . . . 8  |-  ( ( ( A  =  -oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  B  =  +oo )
63 xnegeq 10581 . . . . . . . 8  |-  ( B  =  +oo  ->  - e B  =  - e  +oo )
6462, 63syl 15 . . . . . . 7  |-  ( ( ( A  =  -oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  - e B  =  - e  +oo )
65 xnegpnf 10583 . . . . . . 7  |-  - e  +oo  =  -oo
6664, 65syl6req 2365 . . . . . 6  |-  ( ( ( A  =  -oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  -oo  =  - e B )
6747, 66eqtrd 2348 . . . . 5  |-  ( ( ( A  =  -oo  /\  B  e.  RR* )  /\  ( A + e B )  =  0 )  ->  A  =  - e B )
6867ex 423 . . . 4  |-  ( ( A  =  -oo  /\  B  e.  RR* )  -> 
( ( A + e B )  =  0  ->  A  =  - e B ) )
6923, 46, 683jaoian 1247 . . 3  |-  ( ( ( A  e.  RR  \/  A  =  +oo  \/  A  =  -oo )  /\  B  e.  RR* )  ->  ( ( A + e B )  =  0  ->  A  =  - e B ) )
701, 69sylanb 458 . 2  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  (
( A + e B )  =  0  ->  A  =  - e B ) )
71 simpr 447 . . . . 5  |-  ( ( ( A  e.  RR*  /\  B  e.  RR* )  /\  A  =  - e B )  ->  A  =  - e B )
7271oveq1d 5915 . . . 4  |-  ( ( ( A  e.  RR*  /\  B  e.  RR* )  /\  A  =  - e B )  ->  ( A + e B )  =  (  - e B + e B ) )
73 xnegcl 10587 . . . . . 6  |-  ( B  e.  RR*  ->  - e B  e.  RR* )
7473ad2antlr 707 . . . . 5  |-  ( ( ( A  e.  RR*  /\  B  e.  RR* )  /\  A  =  - e B )  ->  - e B  e.  RR* )
75 simplr 731 . . . . 5  |-  ( ( ( A  e.  RR*  /\  B  e.  RR* )  /\  A  =  - e B )  ->  B  e.  RR* )
76 xaddcom 10612 . . . . 5  |-  ( ( 
- e B  e. 
RR*  /\  B  e.  RR* )  ->  (  - e B + e B )  =  ( B + e  - e B ) )
7774, 75, 76syl2anc 642 . . . 4  |-  ( ( ( A  e.  RR*  /\  B  e.  RR* )  /\  A  =  - e B )  ->  (  - e B + e B )  =  ( B + e  - e B ) )
78 xnegid 10610 . . . . 5  |-  ( B  e.  RR*  ->  ( B + e  - e B )  =  0 )
7975, 78syl 15 . . . 4  |-  ( ( ( A  e.  RR*  /\  B  e.  RR* )  /\  A  =  - e B )  ->  ( B + e  - e B )  =  0 )
8072, 77, 793eqtrd 2352 . . 3  |-  ( ( ( A  e.  RR*  /\  B  e.  RR* )  /\  A  =  - e B )  ->  ( A + e B )  =  0 )
8180ex 423 . 2  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  ( A  =  - e B  ->  ( A + e B )  =  0 ) )
8270, 81impbid 183 1  |-  ( ( A  e.  RR*  /\  B  e.  RR* )  ->  (
( A + e B )  =  0  <-> 
A  =  - e B ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 176    /\ wa 358    \/ w3o 933    = wceq 1633    e. wcel 1701    =/= wne 2479  (class class class)co 5900   RRcr 8781   0cc0 8782    +oocpnf 8909    -oocmnf 8910   RR*cxr 8911    - ecxne 10496   + ecxad 10497
This theorem is referenced by:  xrsinvgval  23341
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1537  ax-5 1548  ax-17 1607  ax-9 1645  ax-8 1666  ax-13 1703  ax-14 1705  ax-6 1720  ax-7 1725  ax-11 1732  ax-12 1897  ax-ext 2297  ax-sep 4178  ax-nul 4186  ax-pow 4225  ax-pr 4251  ax-un 4549  ax-cnex 8838  ax-resscn 8839  ax-1cn 8840  ax-icn 8841  ax-addcl 8842  ax-addrcl 8843  ax-mulcl 8844  ax-mulrcl 8845  ax-mulcom 8846  ax-addass 8847  ax-mulass 8848  ax-distr 8849  ax-i2m1 8850  ax-1ne0 8851  ax-1rid 8852  ax-rnegex 8853  ax-rrecex 8854  ax-cnre 8855  ax-pre-lttri 8856  ax-pre-lttrn 8857  ax-pre-ltadd 8858
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1533  df-nf 1536  df-sb 1640  df-eu 2180  df-mo 2181  df-clab 2303  df-cleq 2309  df-clel 2312  df-nfc 2441  df-ne 2481  df-nel 2482  df-ral 2582  df-rex 2583  df-reu 2584  df-rab 2586  df-v 2824  df-sbc 3026  df-csb 3116  df-dif 3189  df-un 3191  df-in 3193  df-ss 3200  df-nul 3490  df-if 3600  df-pw 3661  df-sn 3680  df-pr 3681  df-op 3683  df-uni 3865  df-iun 3944  df-br 4061  df-opab 4115  df-mpt 4116  df-id 4346  df-po 4351  df-so 4352  df-xp 4732  df-rel 4733  df-cnv 4734  df-co 4735  df-dm 4736  df-rn 4737  df-res 4738  df-ima 4739  df-iota 5256  df-fun 5294  df-fn 5295  df-f 5296  df-f1 5297  df-fo 5298  df-f1o 5299  df-fv 5300  df-ov 5903  df-oprab 5904  df-mpt2 5905  df-1st 6164  df-2nd 6165  df-riota 6346  df-er 6702  df-en 6907  df-dom 6908  df-sdom 6909  df-pnf 8914  df-mnf 8915  df-xr 8916  df-ltxr 8917  df-sub 9084  df-neg 9085  df-xneg 10499  df-xadd 10500
  Copyright terms: Public domain W3C validator