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

Theorem eqord2 9391
Description: Infer an ordering relation from a proof in only one direction. (Contributed by Mario Carneiro, 14-Jun-2014.)
Hypotheses
Ref Expression
ltord.1  |-  ( x  =  y  ->  A  =  B )
ltord.2  |-  ( x  =  C  ->  A  =  M )
ltord.3  |-  ( x  =  D  ->  A  =  N )
ltord.4  |-  S  C_  RR
ltord.5  |-  ( (
ph  /\  x  e.  S )  ->  A  e.  RR )
ltord2.6  |-  ( (
ph  /\  ( x  e.  S  /\  y  e.  S ) )  -> 
( x  <  y  ->  B  <  A ) )
Assertion
Ref Expression
eqord2  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( C  =  D  <-> 
M  =  N ) )
Distinct variable groups:    x, B    x, y, C    x, D, y    x, M, y    x, N, y    ph, x, y   
x, S, y
Allowed substitution hints:    A( x, y)    B( y)

Proof of Theorem eqord2
StepHypRef Expression
1 ltord.1 . . . 4  |-  ( x  =  y  ->  A  =  B )
21negeqd 9133 . . 3  |-  ( x  =  y  ->  -u A  =  -u B )
3 ltord.2 . . . 4  |-  ( x  =  C  ->  A  =  M )
43negeqd 9133 . . 3  |-  ( x  =  C  ->  -u A  =  -u M )
5 ltord.3 . . . 4  |-  ( x  =  D  ->  A  =  N )
65negeqd 9133 . . 3  |-  ( x  =  D  ->  -u A  =  -u N )
7 ltord.4 . . 3  |-  S  C_  RR
8 ltord.5 . . . 4  |-  ( (
ph  /\  x  e.  S )  ->  A  e.  RR )
98renegcld 9297 . . 3  |-  ( (
ph  /\  x  e.  S )  ->  -u A  e.  RR )
10 ltord2.6 . . . 4  |-  ( (
ph  /\  ( x  e.  S  /\  y  e.  S ) )  -> 
( x  <  y  ->  B  <  A ) )
118ralrimiva 2702 . . . . . . 7  |-  ( ph  ->  A. x  e.  S  A  e.  RR )
121eleq1d 2424 . . . . . . . 8  |-  ( x  =  y  ->  ( A  e.  RR  <->  B  e.  RR ) )
1312rspccva 2959 . . . . . . 7  |-  ( ( A. x  e.  S  A  e.  RR  /\  y  e.  S )  ->  B  e.  RR )
1411, 13sylan 457 . . . . . 6  |-  ( (
ph  /\  y  e.  S )  ->  B  e.  RR )
1514adantrl 696 . . . . 5  |-  ( (
ph  /\  ( x  e.  S  /\  y  e.  S ) )  ->  B  e.  RR )
168adantrr 697 . . . . 5  |-  ( (
ph  /\  ( x  e.  S  /\  y  e.  S ) )  ->  A  e.  RR )
17 ltneg 9361 . . . . 5  |-  ( ( B  e.  RR  /\  A  e.  RR )  ->  ( B  <  A  <->  -u A  <  -u B
) )
1815, 16, 17syl2anc 642 . . . 4  |-  ( (
ph  /\  ( x  e.  S  /\  y  e.  S ) )  -> 
( B  <  A  <->  -u A  <  -u B
) )
1910, 18sylibd 205 . . 3  |-  ( (
ph  /\  ( x  e.  S  /\  y  e.  S ) )  -> 
( x  <  y  -> 
-u A  <  -u B
) )
202, 4, 6, 7, 9, 19eqord1 9388 . 2  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( C  =  D  <->  -u M  =  -u N
) )
213eleq1d 2424 . . . . . . 7  |-  ( x  =  C  ->  ( A  e.  RR  <->  M  e.  RR ) )
2221rspccva 2959 . . . . . 6  |-  ( ( A. x  e.  S  A  e.  RR  /\  C  e.  S )  ->  M  e.  RR )
2311, 22sylan 457 . . . . 5  |-  ( (
ph  /\  C  e.  S )  ->  M  e.  RR )
2423adantrr 697 . . . 4  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  ->  M  e.  RR )
2524recnd 8948 . . 3  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  ->  M  e.  CC )
265eleq1d 2424 . . . . . . 7  |-  ( x  =  D  ->  ( A  e.  RR  <->  N  e.  RR ) )
2726rspccva 2959 . . . . . 6  |-  ( ( A. x  e.  S  A  e.  RR  /\  D  e.  S )  ->  N  e.  RR )
2811, 27sylan 457 . . . . 5  |-  ( (
ph  /\  D  e.  S )  ->  N  e.  RR )
2928adantrl 696 . . . 4  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  ->  N  e.  RR )
3029recnd 8948 . . 3  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  ->  N  e.  CC )
31 neg11 9185 . . 3  |-  ( ( M  e.  CC  /\  N  e.  CC )  ->  ( -u M  = 
-u N  <->  M  =  N ) )
3225, 30, 31syl2anc 642 . 2  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( -u M  =  -u N 
<->  M  =  N ) )
3320, 32bitrd 244 1  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( C  =  D  <-> 
M  =  N ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    = wceq 1642    e. wcel 1710   A.wral 2619    C_ wss 3228   class class class wbr 4102   CCcc 8822   RRcr 8823    < clt 8954   -ucneg 9125
This theorem is referenced by:  basellem4  20427
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1546  ax-5 1557  ax-17 1616  ax-9 1654  ax-8 1675  ax-13 1712  ax-14 1714  ax-6 1729  ax-7 1734  ax-11 1746  ax-12 1930  ax-ext 2339  ax-sep 4220  ax-nul 4228  ax-pow 4267  ax-pr 4293  ax-un 4591  ax-resscn 8881  ax-1cn 8882  ax-icn 8883  ax-addcl 8884  ax-addrcl 8885  ax-mulcl 8886  ax-mulrcl 8887  ax-mulcom 8888  ax-addass 8889  ax-mulass 8890  ax-distr 8891  ax-i2m1 8892  ax-1ne0 8893  ax-1rid 8894  ax-rnegex 8895  ax-rrecex 8896  ax-cnre 8897  ax-pre-lttri 8898  ax-pre-lttrn 8899  ax-pre-ltadd 8900
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1319  df-ex 1542  df-nf 1545  df-sb 1649  df-eu 2213  df-mo 2214  df-clab 2345  df-cleq 2351  df-clel 2354  df-nfc 2483  df-ne 2523  df-nel 2524  df-ral 2624  df-rex 2625  df-reu 2626  df-rab 2628  df-v 2866  df-sbc 3068  df-csb 3158  df-dif 3231  df-un 3233  df-in 3235  df-ss 3242  df-nul 3532  df-if 3642  df-pw 3703  df-sn 3722  df-pr 3723  df-op 3725  df-uni 3907  df-br 4103  df-opab 4157  df-mpt 4158  df-id 4388  df-po 4393  df-so 4394  df-xp 4774  df-rel 4775  df-cnv 4776  df-co 4777  df-dm 4778  df-rn 4779  df-res 4780  df-ima 4781  df-iota 5298  df-fun 5336  df-fn 5337  df-f 5338  df-f1 5339  df-fo 5340  df-f1o 5341  df-fv 5342  df-ov 5945  df-oprab 5946  df-mpt2 5947  df-riota 6388  df-er 6744  df-en 6949  df-dom 6950  df-sdom 6951  df-pnf 8956  df-mnf 8957  df-xr 8958  df-ltxr 8959  df-le 8960  df-sub 9126  df-neg 9127
  Copyright terms: Public domain W3C validator