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

Theorem ltsrpr 8715
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 8708 . 2  |-  ~R  e.  _V
2 enrer 8706 . . 3  |-  ~R  Er  ( P.  X.  P. )
3 erdm 6686 . . 3  |-  (  ~R  Er  ( P.  X.  P. )  ->  dom  ~R  =  ( P.  X.  P. )
)
42, 3ax-mp 8 . 2  |-  dom  ~R  =  ( P.  X.  P. )
5 df-nr 8698 . 2  |-  R.  =  ( ( P.  X.  P. ) /.  ~R  )
6 ltrelsr 8709 . 2  |-  <R  C_  ( R.  X.  R. )
7 ltrelpr 8638 . 2  |-  <P  C_  ( P.  X.  P. )
8 0npr 8632 . 2  |-  -.  (/)  e.  P.
9 dmplp 8652 . 2  |-  dom  +P.  =  ( P.  X.  P. )
10 df-ltr 8701 . . 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 8658 . . . . . . 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 8658 . . . . . . 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 8707 . . . . . 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 8707 . . . . . . 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 2298 . . . . . . 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 5883 . . . . . 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 8661 . . . . . . . . . 10  |-  ( u  +P.  B )  =  ( B  +P.  u
)
2423oveq1i 5884 . . . . . . . . 9  |-  ( ( u  +P.  B )  +P.  C )  =  ( ( B  +P.  u )  +P.  C
)
25 addasspr 8662 . . . . . . . . 9  |-  ( ( u  +P.  B )  +P.  C )  =  ( u  +P.  ( B  +P.  C ) )
26 addasspr 8662 . . . . . . . . 9  |-  ( ( B  +P.  u )  +P.  C )  =  ( B  +P.  (
u  +P.  C )
)
2724, 25, 263eqtr3i 2324 . . . . . . . 8  |-  ( u  +P.  ( B  +P.  C ) )  =  ( B  +P.  ( u  +P.  C ) )
2827oveq2i 5885 . . . . . . 7  |-  ( z  +P.  ( u  +P.  ( B  +P.  C ) ) )  =  ( z  +P.  ( B  +P.  ( u  +P.  C ) ) )
29 addasspr 8662 . . . . . . 7  |-  ( ( z  +P.  u )  +P.  ( B  +P.  C ) )  =  ( z  +P.  ( u  +P.  ( B  +P.  C ) ) )
30 addasspr 8662 . . . . . . 7  |-  ( ( z  +P.  B )  +P.  ( u  +P.  C ) )  =  ( z  +P.  ( B  +P.  ( u  +P.  C ) ) )
3128, 29, 303eqtr4i 2326 . . . . . 6  |-  ( ( z  +P.  u )  +P.  ( B  +P.  C ) )  =  ( ( z  +P.  B
)  +P.  ( u  +P.  C ) )
32 addcompr 8661 . . . . . . . . . 10  |-  ( v  +P.  A )  =  ( A  +P.  v
)
3332oveq1i 5884 . . . . . . . . 9  |-  ( ( v  +P.  A )  +P.  D )  =  ( ( A  +P.  v )  +P.  D
)
34 addasspr 8662 . . . . . . . . 9  |-  ( ( v  +P.  A )  +P.  D )  =  ( v  +P.  ( A  +P.  D ) )
35 addasspr 8662 . . . . . . . . 9  |-  ( ( A  +P.  v )  +P.  D )  =  ( A  +P.  (
v  +P.  D )
)
3633, 34, 353eqtr3i 2324 . . . . . . . 8  |-  ( v  +P.  ( A  +P.  D ) )  =  ( A  +P.  ( v  +P.  D ) )
3736oveq2i 5885 . . . . . . 7  |-  ( w  +P.  ( v  +P.  ( A  +P.  D
) ) )  =  ( w  +P.  ( A  +P.  ( v  +P. 
D ) ) )
38 addasspr 8662 . . . . . . 7  |-  ( ( w  +P.  v )  +P.  ( A  +P.  D ) )  =  ( w  +P.  ( v  +P.  ( A  +P.  D ) ) )
39 addasspr 8662 . . . . . . 7  |-  ( ( w  +P.  A )  +P.  ( v  +P. 
D ) )  =  ( w  +P.  ( A  +P.  ( v  +P. 
D ) ) )
4037, 38, 393eqtr4i 2326 . . . . . 6  |-  ( ( w  +P.  v )  +P.  ( A  +P.  D ) )  =  ( ( w  +P.  A
)  +P.  ( v  +P.  D ) )
4122, 31, 403eqtr4g 2353 . . . . 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 5899 . . . . 5  |-  ( z  +P.  u )  e. 
_V
44 ovex 5899 . . . . 5  |-  ( B  +P.  C )  e. 
_V
45 ltapr 8685 . . . . 5  |-  ( f  e.  P.  ->  (
x  <P  y  <->  ( f  +P.  x )  <P  (
f  +P.  y )
) )
46 ovex 5899 . . . . 5  |-  ( w  +P.  v )  e. 
_V
47 addcompr 8661 . . . . 5  |-  ( x  +P.  y )  =  ( y  +P.  x
)
48 ovex 5899 . . . . 5  |-  ( A  +P.  D )  e. 
_V
4943, 44, 45, 46, 47, 48caovord3 6049 . . . 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 6767 . 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 6768 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 1632    e. wcel 1696   <.cop 3656   class class class wbr 4039    X. cxp 4703   dom cdm 4705  (class class class)co 5874    Er wer 6673   [cec 6674   P.cnp 8497    +P. cpp 8499    <P cltp 8501    ~R cer 8504   R.cnr 8505    <R cltr 8511
This theorem is referenced by:  gt0srpr  8716  ltsosr  8732  0lt1sr  8733  ltasr  8738  mappsrpr  8746  ltpsrpr  8747  map2psrpr  8748
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528  ax-inf2 7358
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 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-reu 2563  df-rmo 2564  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pss 3181  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-tp 3661  df-op 3662  df-uni 3844  df-int 3879  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-tr 4130  df-eprel 4321  df-id 4325  df-po 4330  df-so 4331  df-fr 4368  df-we 4370  df-ord 4411  df-on 4412  df-lim 4413  df-suc 4414  df-om 4673  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-ov 5877  df-oprab 5878  df-mpt2 5879  df-1st 6138  df-2nd 6139  df-recs 6404  df-rdg 6439  df-1o 6495  df-oadd 6499  df-omul 6500  df-er 6676  df-ec 6678  df-qs 6682  df-ni 8512  df-pli 8513  df-mi 8514  df-lti 8515  df-plpq 8548  df-mpq 8549  df-ltpq 8550  df-enq 8551  df-nq 8552  df-erq 8553  df-plq 8554  df-mq 8555  df-1nq 8556  df-rq 8557  df-ltnq 8558  df-np 8621  df-plp 8623  df-ltp 8625  df-enr 8697  df-nr 8698  df-ltr 8701
  Copyright terms: Public domain W3C validator