ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ledivdiv Unicode version

Theorem ledivdiv 8112
Description: Invert ratios of positive numbers and swap their ordering. (Contributed by NM, 9-Jan-2006.)
Assertion
Ref Expression
ledivdiv  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  ( ( A  /  B )  <_ 
( C  /  D
)  <->  ( D  /  C )  <_  ( B  /  A ) ) )

Proof of Theorem ledivdiv
StepHypRef Expression
1 simplll 500 . . . 4  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  A  e.  RR )
2 simplrl 502 . . . 4  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  B  e.  RR )
3 simplrr 503 . . . . 5  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  0  <  B
)
42, 3gt0ap0d 7872 . . . 4  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  B #  0 )
51, 2, 4redivclapd 8064 . . 3  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  ( A  /  B )  e.  RR )
6 divgt0 8094 . . . 4  |-  ( ( ( A  e.  RR  /\  0  <  A )  /\  ( B  e.  RR  /\  0  < 
B ) )  -> 
0  <  ( A  /  B ) )
76adantr 270 . . 3  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  0  <  ( A  /  B ) )
8 simprll 504 . . . 4  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  C  e.  RR )
9 simprrl 506 . . . 4  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  D  e.  RR )
10 simprrr 507 . . . . 5  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  0  <  D
)
119, 10gt0ap0d 7872 . . . 4  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  D #  0 )
128, 9, 11redivclapd 8064 . . 3  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  ( C  /  D )  e.  RR )
13 divgt0 8094 . . . 4  |-  ( ( ( C  e.  RR  /\  0  <  C )  /\  ( D  e.  RR  /\  0  < 
D ) )  -> 
0  <  ( C  /  D ) )
1413adantl 271 . . 3  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  0  <  ( C  /  D ) )
15 lerec 8106 . . 3  |-  ( ( ( ( A  /  B )  e.  RR  /\  0  <  ( A  /  B ) )  /\  ( ( C  /  D )  e.  RR  /\  0  < 
( C  /  D
) ) )  -> 
( ( A  /  B )  <_  ( C  /  D )  <->  ( 1  /  ( C  /  D ) )  <_ 
( 1  /  ( A  /  B ) ) ) )
165, 7, 12, 14, 15syl22anc 1171 . 2  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  ( ( A  /  B )  <_ 
( C  /  D
)  <->  ( 1  / 
( C  /  D
) )  <_  (
1  /  ( A  /  B ) ) ) )
178recnd 7286 . . . 4  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  C  e.  CC )
189recnd 7286 . . . 4  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  D  e.  CC )
19 simprlr 505 . . . . 5  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  0  <  C
)
208, 19gt0ap0d 7872 . . . 4  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  C #  0 )
2117, 18, 20, 11recdivapd 8038 . . 3  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  ( 1  / 
( C  /  D
) )  =  ( D  /  C ) )
221recnd 7286 . . . 4  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  A  e.  CC )
232recnd 7286 . . . 4  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  B  e.  CC )
24 simpllr 501 . . . . 5  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  0  <  A
)
251, 24gt0ap0d 7872 . . . 4  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  A #  0 )
2622, 23, 25, 4recdivapd 8038 . . 3  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  ( 1  / 
( A  /  B
) )  =  ( B  /  A ) )
2721, 26breq12d 3819 . 2  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  ( ( 1  /  ( C  /  D ) )  <_ 
( 1  /  ( A  /  B ) )  <-> 
( D  /  C
)  <_  ( B  /  A ) ) )
2816, 27bitrd 186 1  |-  ( ( ( ( A  e.  RR  /\  0  < 
A )  /\  ( B  e.  RR  /\  0  <  B ) )  /\  ( ( C  e.  RR  /\  0  < 
C )  /\  ( D  e.  RR  /\  0  <  D ) ) )  ->  ( ( A  /  B )  <_ 
( C  /  D
)  <->  ( D  /  C )  <_  ( B  /  A ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 102    <-> wb 103    e. wcel 1434   class class class wbr 3806  (class class class)co 5565   RRcr 7119   0cc0 7120   1c1 7121    < clt 7292    <_ cle 7293    / cdiv 7904
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 577  ax-in2 578  ax-io 663  ax-5 1377  ax-7 1378  ax-gen 1379  ax-ie1 1423  ax-ie2 1424  ax-8 1436  ax-10 1437  ax-11 1438  ax-i12 1439  ax-bndl 1440  ax-4 1441  ax-13 1445  ax-14 1446  ax-17 1460  ax-i9 1464  ax-ial 1468  ax-i5r 1469  ax-ext 2065  ax-sep 3917  ax-pow 3969  ax-pr 3993  ax-un 4217  ax-setind 4309  ax-cnex 7206  ax-resscn 7207  ax-1cn 7208  ax-1re 7209  ax-icn 7210  ax-addcl 7211  ax-addrcl 7212  ax-mulcl 7213  ax-mulrcl 7214  ax-addcom 7215  ax-mulcom 7216  ax-addass 7217  ax-mulass 7218  ax-distr 7219  ax-i2m1 7220  ax-0lt1 7221  ax-1rid 7222  ax-0id 7223  ax-rnegex 7224  ax-precex 7225  ax-cnre 7226  ax-pre-ltirr 7227  ax-pre-ltwlin 7228  ax-pre-lttrn 7229  ax-pre-apti 7230  ax-pre-ltadd 7231  ax-pre-mulgt0 7232  ax-pre-mulext 7233
This theorem depends on definitions:  df-bi 115  df-3an 922  df-tru 1288  df-fal 1291  df-nf 1391  df-sb 1688  df-eu 1946  df-mo 1947  df-clab 2070  df-cleq 2076  df-clel 2079  df-nfc 2212  df-ne 2250  df-nel 2345  df-ral 2358  df-rex 2359  df-reu 2360  df-rmo 2361  df-rab 2362  df-v 2613  df-sbc 2826  df-dif 2985  df-un 2987  df-in 2989  df-ss 2996  df-pw 3403  df-sn 3423  df-pr 3424  df-op 3426  df-uni 3623  df-br 3807  df-opab 3861  df-id 4077  df-po 4080  df-iso 4081  df-xp 4398  df-rel 4399  df-cnv 4400  df-co 4401  df-dm 4402  df-iota 4918  df-fun 4955  df-fv 4961  df-riota 5521  df-ov 5568  df-oprab 5569  df-mpt2 5570  df-pnf 7294  df-mnf 7295  df-xr 7296  df-ltxr 7297  df-le 7298  df-sub 7425  df-neg 7426  df-reap 7819  df-ap 7826  df-div 7905
This theorem is referenced by:  ledivdivd  8957
  Copyright terms: Public domain W3C validator