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

Theorem ltsrpr 8699
Description: Ordering of signed reals in terms of positive reals. (Contributed by NM, 20-Feb-1996.) (Revised by Mario Carneiro, 12-Aug-2015.) (New usage is discouraged.)
Assertion
Ref Expression
ltsrpr  |-  ( [
<. A ,  B >. ]  ~R  <R  [ <. C ,  D >. ]  ~R  <->  ( A  +P.  D )  <P  ( B  +P.  C ) )

Proof of Theorem ltsrpr
Dummy variables  x  y  z  w  v  u  f are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 enrex 8692 . 2  |-  ~R  e.  _V
2 enrer 8690 . . 3  |-  ~R  Er  ( P.  X.  P. )
3 erdm 6670 . . 3  |-  (  ~R  Er  ( P.  X.  P. )  ->  dom  ~R  =  ( P.  X.  P. )
)
42, 3ax-mp 8 . 2  |-  dom  ~R  =  ( P.  X.  P. )
5 df-nr 8682 . 2  |-  R.  =  ( ( P.  X.  P. ) /.  ~R  )
6 ltrelsr 8693 . 2  |-  <R  C_  ( R.  X.  R. )
7 ltrelpr 8622 . 2  |-  <P  C_  ( P.  X.  P. )
8 0npr 8616 . 2  |-  -.  (/)  e.  P.
9 dmplp 8636 . 2  |-  dom  +P.  =  ( P.  X.  P. )
10 df-ltr 8685 . . 3  |-  <R  =  { <. x ,  y
>.  |  ( (
x  e.  R.  /\  y  e.  R. )  /\  E. z E. w E. v E. u ( ( x  =  [ <. z ,  w >. ]  ~R  /\  y  =  [ <. v ,  u >. ]  ~R  )  /\  ( z  +P.  u
)  <P  ( w  +P.  v ) ) ) }
11 addclpr 8642 . . . . . . 7  |-  ( ( w  e.  P.  /\  v  e.  P. )  ->  ( w  +P.  v
)  e.  P. )
1211ad2ant2lr 728 . . . . . 6  |-  ( ( ( z  e.  P.  /\  w  e.  P. )  /\  ( v  e.  P.  /\  u  e.  P. )
)  ->  ( w  +P.  v )  e.  P. )
13 addclpr 8642 . . . . . . 7  |-  ( ( B  e.  P.  /\  C  e.  P. )  ->  ( B  +P.  C
)  e.  P. )
1413ad2ant2lr 728 . . . . . 6  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( B  +P.  C )  e.  P. )
1512, 14anim12ci 550 . . . . 5  |-  ( ( ( ( z  e. 
P.  /\  w  e.  P. )  /\  (
v  e.  P.  /\  u  e.  P. )
)  /\  ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. ) ) )  ->  ( ( B  +P.  C )  e. 
P.  /\  ( w  +P.  v )  e.  P. ) )
1615an4s 799 . . . 4  |-  ( ( ( ( z  e. 
P.  /\  w  e.  P. )  /\  ( A  e.  P.  /\  B  e.  P. ) )  /\  ( ( v  e. 
P.  /\  u  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. ) ) )  ->  ( ( B  +P.  C )  e. 
P.  /\  ( w  +P.  v )  e.  P. ) )
17 enreceq 8691 . . . . . 6  |-  ( ( ( z  e.  P.  /\  w  e.  P. )  /\  ( A  e.  P.  /\  B  e.  P. )
)  ->  ( [ <. z ,  w >. ]  ~R  =  [ <. A ,  B >. ]  ~R  <->  ( z  +P.  B )  =  ( w  +P.  A ) ) )
18 enreceq 8691 . . . . . . 7  |-  ( ( ( v  e.  P.  /\  u  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( [ <. v ,  u >. ]  ~R  =  [ <. C ,  D >. ]  ~R  <->  ( v  +P.  D )  =  ( u  +P.  C ) ) )
19 eqcom 2285 . . . . . . 7  |-  ( ( v  +P.  D )  =  ( u  +P.  C )  <->  ( u  +P.  C )  =  ( v  +P.  D ) )
2018, 19syl6bb 252 . . . . . 6  |-  ( ( ( v  e.  P.  /\  u  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( [ <. v ,  u >. ]  ~R  =  [ <. C ,  D >. ]  ~R  <->  ( u  +P.  C )  =  ( v  +P. 
D ) ) )
2117, 20bi2anan9 843 . . . . 5  |-  ( ( ( ( z  e. 
P.  /\  w  e.  P. )  /\  ( A  e.  P.  /\  B  e.  P. ) )  /\  ( ( v  e. 
P.  /\  u  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. ) ) )  ->  ( ( [
<. z ,  w >. ]  ~R  =  [ <. A ,  B >. ]  ~R  /\ 
[ <. v ,  u >. ]  ~R  =  [ <. C ,  D >. ]  ~R  )  <->  ( (
z  +P.  B )  =  ( w  +P.  A )  /\  ( u  +P.  C )  =  ( v  +P.  D
) ) ) )
22 oveq12 5867 . . . . . 6  |-  ( ( ( z  +P.  B
)  =  ( w  +P.  A )  /\  ( u  +P.  C )  =  ( v  +P. 
D ) )  -> 
( ( z  +P. 
B )  +P.  (
u  +P.  C )
)  =  ( ( w  +P.  A )  +P.  ( v  +P. 
D ) ) )
23 addcompr 8645 . . . . . . . . . 10  |-  ( u  +P.  B )  =  ( B  +P.  u
)
2423oveq1i 5868 . . . . . . . . 9  |-  ( ( u  +P.  B )  +P.  C )  =  ( ( B  +P.  u )  +P.  C
)
25 addasspr 8646 . . . . . . . . 9  |-  ( ( u  +P.  B )  +P.  C )  =  ( u  +P.  ( B  +P.  C ) )
26 addasspr 8646 . . . . . . . . 9  |-  ( ( B  +P.  u )  +P.  C )  =  ( B  +P.  (
u  +P.  C )
)
2724, 25, 263eqtr3i 2311 . . . . . . . 8  |-  ( u  +P.  ( B  +P.  C ) )  =  ( B  +P.  ( u  +P.  C ) )
2827oveq2i 5869 . . . . . . 7  |-  ( z  +P.  ( u  +P.  ( B  +P.  C ) ) )  =  ( z  +P.  ( B  +P.  ( u  +P.  C ) ) )
29 addasspr 8646 . . . . . . 7  |-  ( ( z  +P.  u )  +P.  ( B  +P.  C ) )  =  ( z  +P.  ( u  +P.  ( B  +P.  C ) ) )
30 addasspr 8646 . . . . . . 7  |-  ( ( z  +P.  B )  +P.  ( u  +P.  C ) )  =  ( z  +P.  ( B  +P.  ( u  +P.  C ) ) )
3128, 29, 303eqtr4i 2313 . . . . . 6  |-  ( ( z  +P.  u )  +P.  ( B  +P.  C ) )  =  ( ( z  +P.  B
)  +P.  ( u  +P.  C ) )
32 addcompr 8645 . . . . . . . . . 10  |-  ( v  +P.  A )  =  ( A  +P.  v
)
3332oveq1i 5868 . . . . . . . . 9  |-  ( ( v  +P.  A )  +P.  D )  =  ( ( A  +P.  v )  +P.  D
)
34 addasspr 8646 . . . . . . . . 9  |-  ( ( v  +P.  A )  +P.  D )  =  ( v  +P.  ( A  +P.  D ) )
35 addasspr 8646 . . . . . . . . 9  |-  ( ( A  +P.  v )  +P.  D )  =  ( A  +P.  (
v  +P.  D )
)
3633, 34, 353eqtr3i 2311 . . . . . . . 8  |-  ( v  +P.  ( A  +P.  D ) )  =  ( A  +P.  ( v  +P.  D ) )
3736oveq2i 5869 . . . . . . 7  |-  ( w  +P.  ( v  +P.  ( A  +P.  D
) ) )  =  ( w  +P.  ( A  +P.  ( v  +P. 
D ) ) )
38 addasspr 8646 . . . . . . 7  |-  ( ( w  +P.  v )  +P.  ( A  +P.  D ) )  =  ( w  +P.  ( v  +P.  ( A  +P.  D ) ) )
39 addasspr 8646 . . . . . . 7  |-  ( ( w  +P.  A )  +P.  ( v  +P. 
D ) )  =  ( w  +P.  ( A  +P.  ( v  +P. 
D ) ) )
4037, 38, 393eqtr4i 2313 . . . . . 6  |-  ( ( w  +P.  v )  +P.  ( A  +P.  D ) )  =  ( ( w  +P.  A
)  +P.  ( v  +P.  D ) )
4122, 31, 403eqtr4g 2340 . . . . 5  |-  ( ( ( z  +P.  B
)  =  ( w  +P.  A )  /\  ( u  +P.  C )  =  ( v  +P. 
D ) )  -> 
( ( z  +P.  u )  +P.  ( B  +P.  C ) )  =  ( ( w  +P.  v )  +P.  ( A  +P.  D
) ) )
4221, 41syl6bi 219 . . . 4  |-  ( ( ( ( z  e. 
P.  /\  w  e.  P. )  /\  ( A  e.  P.  /\  B  e.  P. ) )  /\  ( ( v  e. 
P.  /\  u  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. ) ) )  ->  ( ( [
<. z ,  w >. ]  ~R  =  [ <. A ,  B >. ]  ~R  /\ 
[ <. v ,  u >. ]  ~R  =  [ <. C ,  D >. ]  ~R  )  ->  (
( z  +P.  u
)  +P.  ( B  +P.  C ) )  =  ( ( w  +P.  v )  +P.  ( A  +P.  D ) ) ) )
43 ovex 5883 . . . . 5  |-  ( z  +P.  u )  e. 
_V
44 ovex 5883 . . . . 5  |-  ( B  +P.  C )  e. 
_V
45 ltapr 8669 . . . . 5  |-  ( f  e.  P.  ->  (
x  <P  y  <->  ( f  +P.  x )  <P  (
f  +P.  y )
) )
46 ovex 5883 . . . . 5  |-  ( w  +P.  v )  e. 
_V
47 addcompr 8645 . . . . 5  |-  ( x  +P.  y )  =  ( y  +P.  x
)
48 ovex 5883 . . . . 5  |-  ( A  +P.  D )  e. 
_V
4943, 44, 45, 46, 47, 48caovord3 6033 . . . 4  |-  ( ( ( ( B  +P.  C )  e.  P.  /\  ( w  +P.  v )  e.  P. )  /\  ( ( z  +P.  u )  +P.  ( B  +P.  C ) )  =  ( ( w  +P.  v )  +P.  ( A  +P.  D
) ) )  -> 
( ( z  +P.  u )  <P  (
w  +P.  v )  <->  ( A  +P.  D ) 
<P  ( B  +P.  C
) ) )
5016, 42, 49ee12an 1353 . . 3  |-  ( ( ( ( z  e. 
P.  /\  w  e.  P. )  /\  ( A  e.  P.  /\  B  e.  P. ) )  /\  ( ( v  e. 
P.  /\  u  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. ) ) )  ->  ( ( [
<. z ,  w >. ]  ~R  =  [ <. A ,  B >. ]  ~R  /\ 
[ <. v ,  u >. ]  ~R  =  [ <. C ,  D >. ]  ~R  )  ->  (
( z  +P.  u
)  <P  ( w  +P.  v )  <->  ( A  +P.  D )  <P  ( B  +P.  C ) ) ) )
511, 2, 5, 10, 50brecop 6751 . 2  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( [ <. A ,  B >. ]  ~R  <R  [ <. C ,  D >. ]  ~R  <->  ( A  +P.  D )  <P  ( B  +P.  C ) ) )
521, 4, 5, 6, 7, 8, 9, 51brecop2 6752 1  |-  ( [
<. A ,  B >. ]  ~R  <R  [ <. C ,  D >. ]  ~R  <->  ( A  +P.  D )  <P  ( B  +P.  C ) )
Colors of variables: wff set class
Syntax hints:    <-> wb 176    /\ wa 358    = wceq 1623    e. wcel 1684   <.cop 3643   class class class wbr 4023    X. cxp 4687   dom cdm 4689  (class class class)co 5858    Er wer 6657   [cec 6658   P.cnp 8481    +P. cpp 8483    <P cltp 8485    ~R cer 8488   R.cnr 8489    <R cltr 8495
This theorem is referenced by:  gt0srpr  8700  ltsosr  8716  0lt1sr  8717  ltasr  8722  mappsrpr  8730  ltpsrpr  8731  map2psrpr  8732
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-inf2 7342
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 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-int 3863  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-1st 6122  df-2nd 6123  df-recs 6388  df-rdg 6423  df-1o 6479  df-oadd 6483  df-omul 6484  df-er 6660  df-ec 6662  df-qs 6666  df-ni 8496  df-pli 8497  df-mi 8498  df-lti 8499  df-plpq 8532  df-mpq 8533  df-ltpq 8534  df-enq 8535  df-nq 8536  df-erq 8537  df-plq 8538  df-mq 8539  df-1nq 8540  df-rq 8541  df-ltnq 8542  df-np 8605  df-plp 8607  df-ltp 8609  df-enr 8681  df-nr 8682  df-ltr 8685
  Copyright terms: Public domain W3C validator