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

Theorem eqord2 9304
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 9046 . . 3  |-  ( x  =  y  ->  -u A  =  -u B )
3 ltord.2 . . . 4  |-  ( x  =  C  ->  A  =  M )
43negeqd 9046 . . 3  |-  ( x  =  C  ->  -u A  =  -u M )
5 ltord.3 . . . 4  |-  ( x  =  D  ->  A  =  N )
65negeqd 9046 . . 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 9210 . . 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 2626 . . . . . . 7  |-  ( ph  ->  A. x  e.  S  A  e.  RR )
121eleq1d 2349 . . . . . . . 8  |-  ( x  =  y  ->  ( A  e.  RR  <->  B  e.  RR ) )
1312rspccva 2883 . . . . . . 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 9274 . . . . 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 9301 . 2  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( C  =  D  <->  -u M  =  -u N
) )
213eleq1d 2349 . . . . . . 7  |-  ( x  =  C  ->  ( A  e.  RR  <->  M  e.  RR ) )
2221rspccva 2883 . . . . . 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 8861 . . 3  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  ->  M  e.  CC )
265eleq1d 2349 . . . . . . 7  |-  ( x  =  D  ->  ( A  e.  RR  <->  N  e.  RR ) )
2726rspccva 2883 . . . . . 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 8861 . . 3  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  ->  N  e.  CC )
31 neg11 9098 . . 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 1623    e. wcel 1684   A.wral 2543    C_ wss 3152   class class class wbr 4023   CCcc 8735   RRcr 8736    < clt 8867   -ucneg 9038
This theorem is referenced by:  basellem4  20321
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-resscn 8794  ax-1cn 8795  ax-icn 8796  ax-addcl 8797  ax-addrcl 8798  ax-mulcl 8799  ax-mulrcl 8800  ax-mulcom 8801  ax-addass 8802  ax-mulass 8803  ax-distr 8804  ax-i2m1 8805  ax-1ne0 8806  ax-1rid 8807  ax-rnegex 8808  ax-rrecex 8809  ax-cnre 8810  ax-pre-lttri 8811  ax-pre-lttrn 8812  ax-pre-ltadd 8813
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-nel 2449  df-ral 2548  df-rex 2549  df-reu 2550  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-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-br 4024  df-opab 4078  df-mpt 4079  df-id 4309  df-po 4314  df-so 4315  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-riota 6304  df-er 6660  df-en 6864  df-dom 6865  df-sdom 6866  df-pnf 8869  df-mnf 8870  df-xr 8871  df-ltxr 8872  df-le 8873  df-sub 9039  df-neg 9040
  Copyright terms: Public domain W3C validator