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

Theorem addcanpr 8624
Description: Addition cancellation law for positive reals. Proposition 9-3.5(vi) of [Gleason] p. 123. (Contributed by NM, 9-Apr-1996.) (New usage is discouraged.)
Assertion
Ref Expression
addcanpr  |-  ( ( A  e.  P.  /\  B  e.  P. )  ->  ( ( A  +P.  B )  =  ( A  +P.  C )  ->  B  =  C )
)

Proof of Theorem addcanpr
StepHypRef Expression
1 addclpr 8596 . . . 4  |-  ( ( A  e.  P.  /\  B  e.  P. )  ->  ( A  +P.  B
)  e.  P. )
2 eleq1 2316 . . . . 5  |-  ( ( A  +P.  B )  =  ( A  +P.  C )  ->  ( ( A  +P.  B )  e. 
P. 
<->  ( A  +P.  C
)  e.  P. )
)
3 dmplp 8590 . . . . . 6  |-  dom  +P.  =  ( P.  X.  P. )
4 0npr 8570 . . . . . 6  |-  -.  (/)  e.  P.
53, 4ndmovrcl 5926 . . . . 5  |-  ( ( A  +P.  C )  e.  P.  ->  ( A  e.  P.  /\  C  e.  P. ) )
62, 5syl6bi 221 . . . 4  |-  ( ( A  +P.  B )  =  ( A  +P.  C )  ->  ( ( A  +P.  B )  e. 
P.  ->  ( A  e. 
P.  /\  C  e.  P. ) ) )
71, 6syl5com 28 . . 3  |-  ( ( A  e.  P.  /\  B  e.  P. )  ->  ( ( A  +P.  B )  =  ( A  +P.  C )  -> 
( A  e.  P.  /\  C  e.  P. )
) )
8 ltapr 8623 . . . . . . . 8  |-  ( A  e.  P.  ->  ( B  <P  C  <->  ( A  +P.  B )  <P  ( A  +P.  C ) ) )
9 ltapr 8623 . . . . . . . 8  |-  ( A  e.  P.  ->  ( C  <P  B  <->  ( A  +P.  C )  <P  ( A  +P.  B ) ) )
108, 9orbi12d 693 . . . . . . 7  |-  ( A  e.  P.  ->  (
( B  <P  C  \/  C  <P  B )  <->  ( ( A  +P.  B )  <P 
( A  +P.  C
)  \/  ( A  +P.  C )  <P 
( A  +P.  B
) ) ) )
1110notbid 287 . . . . . 6  |-  ( A  e.  P.  ->  ( -.  ( B  <P  C  \/  C  <P  B )  <->  -.  (
( A  +P.  B
)  <P  ( A  +P.  C )  \/  ( A  +P.  C )  <P 
( A  +P.  B
) ) ) )
1211ad2antrr 709 . . . . 5  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( A  e.  P.  /\  C  e.  P. )
)  ->  ( -.  ( B  <P  C  \/  C  <P  B )  <->  -.  (
( A  +P.  B
)  <P  ( A  +P.  C )  \/  ( A  +P.  C )  <P 
( A  +P.  B
) ) ) )
13 ltsopr 8610 . . . . . . 7  |-  <P  Or  P.
14 sotrieq 4299 . . . . . . 7  |-  ( ( 
<P  Or  P.  /\  ( B  e.  P.  /\  C  e.  P. ) )  -> 
( B  =  C  <->  -.  ( B  <P  C  \/  C  <P  B ) ) )
1513, 14mpan 654 . . . . . 6  |-  ( ( B  e.  P.  /\  C  e.  P. )  ->  ( B  =  C  <->  -.  ( B  <P  C  \/  C  <P  B ) ) )
1615ad2ant2l 729 . . . . 5  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( A  e.  P.  /\  C  e.  P. )
)  ->  ( B  =  C  <->  -.  ( B  <P  C  \/  C  <P  B ) ) )
17 addclpr 8596 . . . . . 6  |-  ( ( A  e.  P.  /\  C  e.  P. )  ->  ( A  +P.  C
)  e.  P. )
18 sotrieq 4299 . . . . . . 7  |-  ( ( 
<P  Or  P.  /\  (
( A  +P.  B
)  e.  P.  /\  ( A  +P.  C )  e.  P. ) )  ->  ( ( A  +P.  B )  =  ( A  +P.  C
)  <->  -.  ( ( A  +P.  B )  <P 
( A  +P.  C
)  \/  ( A  +P.  C )  <P 
( A  +P.  B
) ) ) )
1913, 18mpan 654 . . . . . 6  |-  ( ( ( A  +P.  B
)  e.  P.  /\  ( A  +P.  C )  e.  P. )  -> 
( ( A  +P.  B )  =  ( A  +P.  C )  <->  -.  (
( A  +P.  B
)  <P  ( A  +P.  C )  \/  ( A  +P.  C )  <P 
( A  +P.  B
) ) ) )
201, 17, 19syl2an 465 . . . . 5  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( A  e.  P.  /\  C  e.  P. )
)  ->  ( ( A  +P.  B )  =  ( A  +P.  C
)  <->  -.  ( ( A  +P.  B )  <P 
( A  +P.  C
)  \/  ( A  +P.  C )  <P 
( A  +P.  B
) ) ) )
2112, 16, 203bitr4d 278 . . . 4  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( A  e.  P.  /\  C  e.  P. )
)  ->  ( B  =  C  <->  ( A  +P.  B )  =  ( A  +P.  C ) ) )
2221exbiri 608 . . 3  |-  ( ( A  e.  P.  /\  B  e.  P. )  ->  ( ( A  e. 
P.  /\  C  e.  P. )  ->  ( ( A  +P.  B )  =  ( A  +P.  C )  ->  B  =  C ) ) )
237, 22syld 42 . 2  |-  ( ( A  e.  P.  /\  B  e.  P. )  ->  ( ( A  +P.  B )  =  ( A  +P.  C )  -> 
( ( A  +P.  B )  =  ( A  +P.  C )  ->  B  =  C )
) )
2423pm2.43d 46 1  |-  ( ( A  e.  P.  /\  B  e.  P. )  ->  ( ( A  +P.  B )  =  ( A  +P.  C )  ->  B  =  C )
)
Colors of variables: wff set class
Syntax hints:   -. wn 5    -> wi 6    <-> wb 178    \/ wo 359    /\ wa 360    = wceq 1619    e. wcel 1621   class class class wbr 3983    Or wor 4271  (class class class)co 5778   P.cnp 8435    +P. cpp 8437    <P cltp 8439
This theorem is referenced by:  enrer  8644  mulcmpblnr  8650  mulgt0sr  8681
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-13 1625  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1927  ax-ext 2237  ax-sep 4101  ax-nul 4109  ax-pow 4146  ax-pr 4172  ax-un 4470  ax-inf2 7296
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 940  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1884  df-eu 2121  df-mo 2122  df-clab 2243  df-cleq 2249  df-clel 2252  df-nfc 2381  df-ne 2421  df-ral 2521  df-rex 2522  df-reu 2523  df-rmo 2524  df-rab 2525  df-v 2759  df-sbc 2953  df-csb 3043  df-dif 3116  df-un 3118  df-in 3120  df-ss 3127  df-pss 3129  df-nul 3417  df-if 3526  df-pw 3587  df-sn 3606  df-pr 3607  df-tp 3608  df-op 3609  df-uni 3788  df-int 3823  df-iun 3867  df-br 3984  df-opab 4038  df-mpt 4039  df-tr 4074  df-eprel 4263  df-id 4267  df-po 4272  df-so 4273  df-fr 4310  df-we 4312  df-ord 4353  df-on 4354  df-lim 4355  df-suc 4356  df-om 4615  df-xp 4661  df-rel 4662  df-cnv 4663  df-co 4664  df-dm 4665  df-rn 4666  df-res 4667  df-ima 4668  df-fun 4669  df-fn 4670  df-f 4671  df-f1 4672  df-fo 4673  df-f1o 4674  df-fv 4675  df-ov 5781  df-oprab 5782  df-mpt2 5783  df-1st 6042  df-2nd 6043  df-recs 6342  df-rdg 6377  df-1o 6433  df-oadd 6437  df-omul 6438  df-er 6614  df-ni 8450  df-pli 8451  df-mi 8452  df-lti 8453  df-plpq 8486  df-mpq 8487  df-ltpq 8488  df-enq 8489  df-nq 8490  df-erq 8491  df-plq 8492  df-mq 8493  df-1nq 8494  df-rq 8495  df-ltnq 8496  df-np 8559  df-plp 8561  df-ltp 8563
  Copyright terms: Public domain W3C validator