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

Theorem ltord1 9299
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 )
ltord.6  |-  ( (
ph  /\  ( x  e.  S  /\  y  e.  S ) )  -> 
( x  <  y  ->  A  <  B ) )
Assertion
Ref Expression
ltord1  |-  ( (
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 ltord1
StepHypRef Expression
1 ltord.1 . . 3  |-  ( x  =  y  ->  A  =  B )
2 ltord.2 . . 3  |-  ( x  =  C  ->  A  =  M )
3 ltord.3 . . 3  |-  ( x  =  D  ->  A  =  N )
4 ltord.4 . . 3  |-  S  C_  RR
5 ltord.5 . . 3  |-  ( (
ph  /\  x  e.  S )  ->  A  e.  RR )
6 ltord.6 . . 3  |-  ( (
ph  /\  ( x  e.  S  /\  y  e.  S ) )  -> 
( x  <  y  ->  A  <  B ) )
71, 2, 3, 4, 5, 6ltordlem 9298 . 2  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( C  <  D  ->  M  <  N ) )
8 eqeq1 2289 . . . . . . . 8  |-  ( x  =  C  ->  (
x  =  D  <->  C  =  D ) )
92eqeq1d 2291 . . . . . . . 8  |-  ( x  =  C  ->  ( A  =  N  <->  M  =  N ) )
108, 9imbi12d 311 . . . . . . 7  |-  ( x  =  C  ->  (
( x  =  D  ->  A  =  N )  <->  ( C  =  D  ->  M  =  N ) ) )
1110, 3vtoclg 2843 . . . . . 6  |-  ( C  e.  S  ->  ( C  =  D  ->  M  =  N ) )
1211ad2antrl 708 . . . . 5  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( C  =  D  ->  M  =  N ) )
131, 3, 2, 4, 5, 6ltordlem 9298 . . . . . 6  |-  ( (
ph  /\  ( D  e.  S  /\  C  e.  S ) )  -> 
( D  <  C  ->  N  <  M ) )
1413ancom2s 777 . . . . 5  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( D  <  C  ->  N  <  M ) )
1512, 14orim12d 811 . . . 4  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( ( C  =  D  \/  D  < 
C )  ->  ( M  =  N  \/  N  <  M ) ) )
1615con3d 125 . . 3  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( -.  ( M  =  N  \/  N  <  M )  ->  -.  ( C  =  D  \/  D  <  C ) ) )
175ralrimiva 2626 . . . . . 6  |-  ( ph  ->  A. x  e.  S  A  e.  RR )
182eleq1d 2349 . . . . . . 7  |-  ( x  =  C  ->  ( A  e.  RR  <->  M  e.  RR ) )
1918rspccva 2883 . . . . . 6  |-  ( ( A. x  e.  S  A  e.  RR  /\  C  e.  S )  ->  M  e.  RR )
2017, 19sylan 457 . . . . 5  |-  ( (
ph  /\  C  e.  S )  ->  M  e.  RR )
213eleq1d 2349 . . . . . . 7  |-  ( x  =  D  ->  ( A  e.  RR  <->  N  e.  RR ) )
2221rspccva 2883 . . . . . 6  |-  ( ( A. x  e.  S  A  e.  RR  /\  D  e.  S )  ->  N  e.  RR )
2317, 22sylan 457 . . . . 5  |-  ( (
ph  /\  D  e.  S )  ->  N  e.  RR )
2420, 23anim12dan 810 . . . 4  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( M  e.  RR  /\  N  e.  RR ) )
25 axlttri 8894 . . . 4  |-  ( ( M  e.  RR  /\  N  e.  RR )  ->  ( M  <  N  <->  -.  ( M  =  N  \/  N  <  M
) ) )
2624, 25syl 15 . . 3  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( M  <  N  <->  -.  ( M  =  N  \/  N  <  M
) ) )
274sseli 3176 . . . . 5  |-  ( C  e.  S  ->  C  e.  RR )
284sseli 3176 . . . . 5  |-  ( D  e.  S  ->  D  e.  RR )
29 axlttri 8894 . . . . 5  |-  ( ( C  e.  RR  /\  D  e.  RR )  ->  ( C  <  D  <->  -.  ( C  =  D  \/  D  <  C
) ) )
3027, 28, 29syl2an 463 . . . 4  |-  ( ( C  e.  S  /\  D  e.  S )  ->  ( C  <  D  <->  -.  ( C  =  D  \/  D  <  C
) ) )
3130adantl 452 . . 3  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( C  <  D  <->  -.  ( C  =  D  \/  D  <  C
) ) )
3216, 26, 313imtr4d 259 . 2  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( M  <  N  ->  C  <  D ) )
337, 32impbid 183 1  |-  ( (
ph  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( C  <  D  <->  M  <  N ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 176    \/ wo 357    /\ wa 358    = wceq 1623    e. wcel 1684   A.wral 2543    C_ wss 3152   class class class wbr 4023   RRcr 8736    < clt 8867
This theorem is referenced by:  leord1  9300  ltord2  9302  ltexp2  11155  eflt  12397  tanord1  19899  tanord  19900  monotuz  27026  monotoddzzfi  27027  rpexpmord  27033
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-pre-lttri 8811
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  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-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-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-er 6660  df-en 6864  df-dom 6865  df-sdom 6866  df-pnf 8869  df-mnf 8870  df-ltxr 8872
  Copyright terms: Public domain W3C validator