ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  addextpr Unicode version

Theorem addextpr 6811
Description: Strong extensionality of addition (ordering version). This is similar to addext 7710 but for positive reals and based on less-than rather than apartness. (Contributed by Jim Kingdon, 17-Feb-2020.)
Assertion
Ref Expression
addextpr  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( ( A  +P.  B )  <P 
( C  +P.  D
)  ->  ( A  <P  C  \/  B  <P  D ) ) )

Proof of Theorem addextpr
Dummy variables  f  g are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 addclpr 6727 . . . 4  |-  ( ( A  e.  P.  /\  B  e.  P. )  ->  ( A  +P.  B
)  e.  P. )
21adantr 270 . . 3  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( A  +P.  B )  e.  P. )
3 addclpr 6727 . . . 4  |-  ( ( C  e.  P.  /\  D  e.  P. )  ->  ( C  +P.  D
)  e.  P. )
43adantl 271 . . 3  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( C  +P.  D )  e.  P. )
5 simprl 497 . . . 4  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  C  e.  P. )
6 simplr 496 . . . 4  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  B  e.  P. )
7 addclpr 6727 . . . 4  |-  ( ( C  e.  P.  /\  B  e.  P. )  ->  ( C  +P.  B
)  e.  P. )
85, 6, 7syl2anc 403 . . 3  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( C  +P.  B )  e.  P. )
9 ltsopr 6786 . . . 4  |-  <P  Or  P.
10 sowlin 4075 . . . 4  |-  ( ( 
<P  Or  P.  /\  (
( A  +P.  B
)  e.  P.  /\  ( C  +P.  D )  e.  P.  /\  ( C  +P.  B )  e. 
P. ) )  -> 
( ( A  +P.  B )  <P  ( C  +P.  D )  ->  (
( A  +P.  B
)  <P  ( C  +P.  B )  \/  ( C  +P.  B )  <P 
( C  +P.  D
) ) ) )
119, 10mpan 414 . . 3  |-  ( ( ( A  +P.  B
)  e.  P.  /\  ( C  +P.  D )  e.  P.  /\  ( C  +P.  B )  e. 
P. )  ->  (
( A  +P.  B
)  <P  ( C  +P.  D )  ->  ( ( A  +P.  B )  <P 
( C  +P.  B
)  \/  ( C  +P.  B )  <P 
( C  +P.  D
) ) ) )
122, 4, 8, 11syl3anc 1169 . 2  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( ( A  +P.  B )  <P 
( C  +P.  D
)  ->  ( ( A  +P.  B )  <P 
( C  +P.  B
)  \/  ( C  +P.  B )  <P 
( C  +P.  D
) ) ) )
13 simpll 495 . . . . 5  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  A  e.  P. )
14 ltaprg 6809 . . . . 5  |-  ( ( A  e.  P.  /\  C  e.  P.  /\  B  e.  P. )  ->  ( A  <P  C  <->  ( B  +P.  A )  <P  ( B  +P.  C ) ) )
1513, 5, 6, 14syl3anc 1169 . . . 4  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( A  <P  C  <->  ( B  +P.  A )  <P  ( B  +P.  C ) ) )
16 addcomprg 6768 . . . . . . 7  |-  ( ( f  e.  P.  /\  g  e.  P. )  ->  ( f  +P.  g
)  =  ( g  +P.  f ) )
1716adantl 271 . . . . . 6  |-  ( ( ( ( A  e. 
P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. ) )  /\  ( f  e.  P.  /\  g  e.  P. )
)  ->  ( f  +P.  g )  =  ( g  +P.  f ) )
1817, 13, 6caovcomd 5677 . . . . 5  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( A  +P.  B )  =  ( B  +P.  A ) )
1917, 5, 6caovcomd 5677 . . . . 5  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( C  +P.  B )  =  ( B  +P.  C ) )
2018, 19breq12d 3798 . . . 4  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( ( A  +P.  B )  <P 
( C  +P.  B
)  <->  ( B  +P.  A )  <P  ( B  +P.  C ) ) )
2115, 20bitr4d 189 . . 3  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( A  <P  C  <->  ( A  +P.  B )  <P  ( C  +P.  B ) ) )
22 simprr 498 . . . 4  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  D  e.  P. )
23 ltaprg 6809 . . . 4  |-  ( ( B  e.  P.  /\  D  e.  P.  /\  C  e.  P. )  ->  ( B  <P  D  <->  ( C  +P.  B )  <P  ( C  +P.  D ) ) )
246, 22, 5, 23syl3anc 1169 . . 3  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( B  <P  D  <->  ( C  +P.  B )  <P  ( C  +P.  D ) ) )
2521, 24orbi12d 739 . 2  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( ( A  <P  C  \/  B  <P  D )  <->  ( ( A  +P.  B )  <P 
( C  +P.  B
)  \/  ( C  +P.  B )  <P 
( C  +P.  D
) ) ) )
2612, 25sylibrd 167 1  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( ( A  +P.  B )  <P 
( C  +P.  D
)  ->  ( A  <P  C  \/  B  <P  D ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 102    <-> wb 103    \/ wo 661    /\ w3a 919    = wceq 1284    e. wcel 1433   class class class wbr 3785    Or wor 4050  (class class class)co 5532   P.cnp 6481    +P. cpp 6483    <P cltp 6485
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 576  ax-in2 577  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-13 1444  ax-14 1445  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063  ax-coll 3893  ax-sep 3896  ax-nul 3904  ax-pow 3948  ax-pr 3964  ax-un 4188  ax-setind 4280  ax-iinf 4329
This theorem depends on definitions:  df-bi 115  df-dc 776  df-3or 920  df-3an 921  df-tru 1287  df-fal 1290  df-nf 1390  df-sb 1686  df-eu 1944  df-mo 1945  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ne 2246  df-ral 2353  df-rex 2354  df-reu 2355  df-rab 2357  df-v 2603  df-sbc 2816  df-csb 2909  df-dif 2975  df-un 2977  df-in 2979  df-ss 2986  df-nul 3252  df-pw 3384  df-sn 3404  df-pr 3405  df-op 3407  df-uni 3602  df-int 3637  df-iun 3680  df-br 3786  df-opab 3840  df-mpt 3841  df-tr 3876  df-eprel 4044  df-id 4048  df-po 4051  df-iso 4052  df-iord 4121  df-on 4123  df-suc 4126  df-iom 4332  df-xp 4369  df-rel 4370  df-cnv 4371  df-co 4372  df-dm 4373  df-rn 4374  df-res 4375  df-ima 4376  df-iota 4887  df-fun 4924  df-fn 4925  df-f 4926  df-f1 4927  df-fo 4928  df-f1o 4929  df-fv 4930  df-ov 5535  df-oprab 5536  df-mpt2 5537  df-1st 5787  df-2nd 5788  df-recs 5943  df-irdg 5980  df-1o 6024  df-2o 6025  df-oadd 6028  df-omul 6029  df-er 6129  df-ec 6131  df-qs 6135  df-ni 6494  df-pli 6495  df-mi 6496  df-lti 6497  df-plpq 6534  df-mpq 6535  df-enq 6537  df-nqqs 6538  df-plqqs 6539  df-mqqs 6540  df-1nqqs 6541  df-rq 6542  df-ltnqqs 6543  df-enq0 6614  df-nq0 6615  df-0nq0 6616  df-plq0 6617  df-mq0 6618  df-inp 6656  df-iplp 6658  df-iltp 6660
This theorem is referenced by:  mulextsr1lem  6956
  Copyright terms: Public domain W3C validator