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

Theorem negeu 9723
Description: Existential uniqueness of negatives. Theorem I.2 of [Apostol] p. 18. (Contributed by NM, 22-Nov-1994.) (Proof shortened by Mario Carneiro, 27-May-2016.)
Assertion
Ref Expression
negeu  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  E! x  e.  CC  ( A  +  x
)  =  B )
Distinct variable groups:    x, A    x, B

Proof of Theorem negeu
Dummy variable  y is distinct from all other variables.
StepHypRef Expression
1 cnegex 9672 . . 3  |-  ( A  e.  CC  ->  E. y  e.  CC  ( A  +  y )  =  0 )
21adantr 463 . 2  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  E. y  e.  CC  ( A  +  y
)  =  0 )
3 simpl 455 . . . 4  |-  ( ( y  e.  CC  /\  ( A  +  y
)  =  0 )  ->  y  e.  CC )
4 simpr 459 . . . 4  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  B  e.  CC )
5 addcl 9485 . . . 4  |-  ( ( y  e.  CC  /\  B  e.  CC )  ->  ( y  +  B
)  e.  CC )
63, 4, 5syl2anr 476 . . 3  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( y  e.  CC  /\  ( A  +  y )  =  0 ) )  -> 
( y  +  B
)  e.  CC )
7 simplrr 760 . . . . . . . 8  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
y  e.  CC  /\  ( A  +  y
)  =  0 ) )  /\  x  e.  CC )  ->  ( A  +  y )  =  0 )
87oveq1d 6211 . . . . . . 7  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
y  e.  CC  /\  ( A  +  y
)  =  0 ) )  /\  x  e.  CC )  ->  (
( A  +  y )  +  B )  =  ( 0  +  B ) )
9 simplll 757 . . . . . . . 8  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
y  e.  CC  /\  ( A  +  y
)  =  0 ) )  /\  x  e.  CC )  ->  A  e.  CC )
10 simplrl 759 . . . . . . . 8  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
y  e.  CC  /\  ( A  +  y
)  =  0 ) )  /\  x  e.  CC )  ->  y  e.  CC )
11 simpllr 758 . . . . . . . 8  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
y  e.  CC  /\  ( A  +  y
)  =  0 ) )  /\  x  e.  CC )  ->  B  e.  CC )
129, 10, 11addassd 9529 . . . . . . 7  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
y  e.  CC  /\  ( A  +  y
)  =  0 ) )  /\  x  e.  CC )  ->  (
( A  +  y )  +  B )  =  ( A  +  ( y  +  B
) ) )
1311addid2d 9692 . . . . . . 7  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
y  e.  CC  /\  ( A  +  y
)  =  0 ) )  /\  x  e.  CC )  ->  (
0  +  B )  =  B )
148, 12, 133eqtr3rd 2432 . . . . . 6  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
y  e.  CC  /\  ( A  +  y
)  =  0 ) )  /\  x  e.  CC )  ->  B  =  ( A  +  ( y  +  B
) ) )
1514eqeq2d 2396 . . . . 5  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
y  e.  CC  /\  ( A  +  y
)  =  0 ) )  /\  x  e.  CC )  ->  (
( A  +  x
)  =  B  <->  ( A  +  x )  =  ( A  +  ( y  +  B ) ) ) )
16 simpr 459 . . . . . 6  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
y  e.  CC  /\  ( A  +  y
)  =  0 ) )  /\  x  e.  CC )  ->  x  e.  CC )
1710, 11addcld 9526 . . . . . 6  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
y  e.  CC  /\  ( A  +  y
)  =  0 ) )  /\  x  e.  CC )  ->  (
y  +  B )  e.  CC )
189, 16, 17addcand 9694 . . . . 5  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
y  e.  CC  /\  ( A  +  y
)  =  0 ) )  /\  x  e.  CC )  ->  (
( A  +  x
)  =  ( A  +  ( y  +  B ) )  <->  x  =  ( y  +  B
) ) )
1915, 18bitrd 253 . . . 4  |-  ( ( ( ( A  e.  CC  /\  B  e.  CC )  /\  (
y  e.  CC  /\  ( A  +  y
)  =  0 ) )  /\  x  e.  CC )  ->  (
( A  +  x
)  =  B  <->  x  =  ( y  +  B
) ) )
2019ralrimiva 2796 . . 3  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( y  e.  CC  /\  ( A  +  y )  =  0 ) )  ->  A. x  e.  CC  ( ( A  +  x )  =  B  <-> 
x  =  ( y  +  B ) ) )
21 reu6i 3215 . . 3  |-  ( ( ( y  +  B
)  e.  CC  /\  A. x  e.  CC  (
( A  +  x
)  =  B  <->  x  =  ( y  +  B
) ) )  ->  E! x  e.  CC  ( A  +  x
)  =  B )
226, 20, 21syl2anc 659 . 2  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( y  e.  CC  /\  ( A  +  y )  =  0 ) )  ->  E! x  e.  CC  ( A  +  x
)  =  B )
232, 22rexlimddv 2878 1  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  E! x  e.  CC  ( A  +  x
)  =  B )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 367    = wceq 1399    e. wcel 1826   A.wral 2732   E.wrex 2733   E!wreu 2734  (class class class)co 6196   CCcc 9401   0cc0 9403    + caddc 9406
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-sep 4488  ax-nul 4496  ax-pow 4543  ax-pr 4601  ax-un 6491  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
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-3or 972  df-3an 973  df-tru 1402  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-rab 2741  df-v 3036  df-sbc 3253  df-csb 3349  df-dif 3392  df-un 3394  df-in 3396  df-ss 3403  df-nul 3712  df-if 3858  df-pw 3929  df-sn 3945  df-pr 3947  df-op 3951  df-uni 4164  df-br 4368  df-opab 4426  df-mpt 4427  df-id 4709  df-po 4714  df-so 4715  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-ov 6199  df-er 7229  df-en 7436  df-dom 7437  df-sdom 7438  df-pnf 9541  df-mnf 9542  df-ltxr 9544
This theorem is referenced by:  subcl  9732  subadd  9736  addinv  25471
  Copyright terms: Public domain W3C validator