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

Theorem ltsrpr 8878
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 8871 . 2  |-  ~R  e.  _V
2 enrer 8869 . . 3  |-  ~R  Er  ( P.  X.  P. )
3 erdm 6844 . . 3  |-  (  ~R  Er  ( P.  X.  P. )  ->  dom  ~R  =  ( P.  X.  P. )
)
42, 3ax-mp 8 . 2  |-  dom  ~R  =  ( P.  X.  P. )
5 df-nr 8861 . 2  |-  R.  =  ( ( P.  X.  P. ) /.  ~R  )
6 ltrelsr 8872 . 2  |-  <R  C_  ( R.  X.  R. )
7 ltrelpr 8801 . 2  |-  <P  C_  ( P.  X.  P. )
8 0npr 8795 . 2  |-  -.  (/)  e.  P.
9 dmplp 8815 . 2  |-  dom  +P.  =  ( P.  X.  P. )
10 df-ltr 8864 . . 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 8821 . . . . . . 7  |-  ( ( w  e.  P.  /\  v  e.  P. )  ->  ( w  +P.  v
)  e.  P. )
1211ad2ant2lr 729 . . . . . 6  |-  ( ( ( z  e.  P.  /\  w  e.  P. )  /\  ( v  e.  P.  /\  u  e.  P. )
)  ->  ( w  +P.  v )  e.  P. )
13 addclpr 8821 . . . . . . 7  |-  ( ( B  e.  P.  /\  C  e.  P. )  ->  ( B  +P.  C
)  e.  P. )
1413ad2ant2lr 729 . . . . . 6  |-  ( ( ( A  e.  P.  /\  B  e.  P. )  /\  ( C  e.  P.  /\  D  e.  P. )
)  ->  ( B  +P.  C )  e.  P. )
1512, 14anim12ci 551 . . . . 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 800 . . . 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 8870 . . . . . 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 8870 . . . . . . 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 2382 . . . . . . 7  |-  ( ( v  +P.  D )  =  ( u  +P.  C )  <->  ( u  +P.  C )  =  ( v  +P.  D ) )
2018, 19syl6bb 253 . . . . . 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 844 . . . . 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 6022 . . . . . 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 8824 . . . . . . . . . 10  |-  ( u  +P.  B )  =  ( B  +P.  u
)
2423oveq1i 6023 . . . . . . . . 9  |-  ( ( u  +P.  B )  +P.  C )  =  ( ( B  +P.  u )  +P.  C
)
25 addasspr 8825 . . . . . . . . 9  |-  ( ( u  +P.  B )  +P.  C )  =  ( u  +P.  ( B  +P.  C ) )
26 addasspr 8825 . . . . . . . . 9  |-  ( ( B  +P.  u )  +P.  C )  =  ( B  +P.  (
u  +P.  C )
)
2724, 25, 263eqtr3i 2408 . . . . . . . 8  |-  ( u  +P.  ( B  +P.  C ) )  =  ( B  +P.  ( u  +P.  C ) )
2827oveq2i 6024 . . . . . . 7  |-  ( z  +P.  ( u  +P.  ( B  +P.  C ) ) )  =  ( z  +P.  ( B  +P.  ( u  +P.  C ) ) )
29 addasspr 8825 . . . . . . 7  |-  ( ( z  +P.  u )  +P.  ( B  +P.  C ) )  =  ( z  +P.  ( u  +P.  ( B  +P.  C ) ) )
30 addasspr 8825 . . . . . . 7  |-  ( ( z  +P.  B )  +P.  ( u  +P.  C ) )  =  ( z  +P.  ( B  +P.  ( u  +P.  C ) ) )
3128, 29, 303eqtr4i 2410 . . . . . 6  |-  ( ( z  +P.  u )  +P.  ( B  +P.  C ) )  =  ( ( z  +P.  B
)  +P.  ( u  +P.  C ) )
32 addcompr 8824 . . . . . . . . . 10  |-  ( v  +P.  A )  =  ( A  +P.  v
)
3332oveq1i 6023 . . . . . . . . 9  |-  ( ( v  +P.  A )  +P.  D )  =  ( ( A  +P.  v )  +P.  D
)
34 addasspr 8825 . . . . . . . . 9  |-  ( ( v  +P.  A )  +P.  D )  =  ( v  +P.  ( A  +P.  D ) )
35 addasspr 8825 . . . . . . . . 9  |-  ( ( A  +P.  v )  +P.  D )  =  ( A  +P.  (
v  +P.  D )
)
3633, 34, 353eqtr3i 2408 . . . . . . . 8  |-  ( v  +P.  ( A  +P.  D ) )  =  ( A  +P.  ( v  +P.  D ) )
3736oveq2i 6024 . . . . . . 7  |-  ( w  +P.  ( v  +P.  ( A  +P.  D
) ) )  =  ( w  +P.  ( A  +P.  ( v  +P. 
D ) ) )
38 addasspr 8825 . . . . . . 7  |-  ( ( w  +P.  v )  +P.  ( A  +P.  D ) )  =  ( w  +P.  ( v  +P.  ( A  +P.  D ) ) )
39 addasspr 8825 . . . . . . 7  |-  ( ( w  +P.  A )  +P.  ( v  +P. 
D ) )  =  ( w  +P.  ( A  +P.  ( v  +P. 
D ) ) )
4037, 38, 393eqtr4i 2410 . . . . . 6  |-  ( ( w  +P.  v )  +P.  ( A  +P.  D ) )  =  ( ( w  +P.  A
)  +P.  ( v  +P.  D ) )
4122, 31, 403eqtr4g 2437 . . . . 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 220 . . . 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 6038 . . . . 5  |-  ( z  +P.  u )  e. 
_V
44 ovex 6038 . . . . 5  |-  ( B  +P.  C )  e. 
_V
45 ltapr 8848 . . . . 5  |-  ( f  e.  P.  ->  (
x  <P  y  <->  ( f  +P.  x )  <P  (
f  +P.  y )
) )
46 ovex 6038 . . . . 5  |-  ( w  +P.  v )  e. 
_V
47 addcompr 8824 . . . . 5  |-  ( x  +P.  y )  =  ( y  +P.  x
)
48 ovex 6038 . . . . 5  |-  ( A  +P.  D )  e. 
_V
4943, 44, 45, 46, 47, 48caovord3 6192 . . . 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 1369 . . 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 6926 . 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 6927 1  |-  ( [
<. A ,  B >. ]  ~R  <R  [ <. C ,  D >. ]  ~R  <->  ( A  +P.  D )  <P  ( B  +P.  C ) )
Colors of variables: wff set class
Syntax hints:    <-> wb 177    /\ wa 359    = wceq 1649    e. wcel 1717   <.cop 3753   class class class wbr 4146    X. cxp 4809   dom cdm 4811  (class class class)co 6013    Er wer 6831   [cec 6832   P.cnp 8660    +P. cpp 8662    <P cltp 8664    ~R cer 8667   R.cnr 8668    <R cltr 8674
This theorem is referenced by:  gt0srpr  8879  ltsosr  8895  0lt1sr  8896  ltasr  8901  mappsrpr  8909  ltpsrpr  8910  map2psrpr  8911
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2361  ax-sep 4264  ax-nul 4272  ax-pow 4311  ax-pr 4337  ax-un 4634  ax-inf2 7522
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2235  df-mo 2236  df-clab 2367  df-cleq 2373  df-clel 2376  df-nfc 2505  df-ne 2545  df-ral 2647  df-rex 2648  df-reu 2649  df-rmo 2650  df-rab 2651  df-v 2894  df-sbc 3098  df-csb 3188  df-dif 3259  df-un 3261  df-in 3263  df-ss 3270  df-pss 3272  df-nul 3565  df-if 3676  df-pw 3737  df-sn 3756  df-pr 3757  df-tp 3758  df-op 3759  df-uni 3951  df-int 3986  df-iun 4030  df-br 4147  df-opab 4201  df-mpt 4202  df-tr 4237  df-eprel 4428  df-id 4432  df-po 4437  df-so 4438  df-fr 4475  df-we 4477  df-ord 4518  df-on 4519  df-lim 4520  df-suc 4521  df-om 4779  df-xp 4817  df-rel 4818  df-cnv 4819  df-co 4820  df-dm 4821  df-rn 4822  df-res 4823  df-ima 4824  df-iota 5351  df-fun 5389  df-fn 5390  df-f 5391  df-f1 5392  df-fo 5393  df-f1o 5394  df-fv 5395  df-ov 6016  df-oprab 6017  df-mpt2 6018  df-1st 6281  df-2nd 6282  df-recs 6562  df-rdg 6597  df-1o 6653  df-oadd 6657  df-omul 6658  df-er 6834  df-ec 6836  df-qs 6840  df-ni 8675  df-pli 8676  df-mi 8677  df-lti 8678  df-plpq 8711  df-mpq 8712  df-ltpq 8713  df-enq 8714  df-nq 8715  df-erq 8716  df-plq 8717  df-mq 8718  df-1nq 8719  df-rq 8720  df-ltnq 8721  df-np 8784  df-plp 8786  df-ltp 8788  df-enr 8860  df-nr 8861  df-ltr 8864
  Copyright terms: Public domain W3C validator