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

Theorem ltmnq 8838
Description: Ordering property of multiplication for positive fractions. Proposition 9-2.6(iii) of [Gleason] p. 120. (Contributed by NM, 6-Mar-1996.) (Revised by Mario Carneiro, 10-May-2013.) (New usage is discouraged.)
Assertion
Ref Expression
ltmnq  |-  ( C  e.  Q.  ->  ( A  <Q  B  <->  ( C  .Q  A )  <Q  ( C  .Q  B ) ) )

Proof of Theorem ltmnq
Dummy variables  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mulnqf 8815 . . 3  |-  .Q  :
( Q.  X.  Q. )
--> Q.
21fdmi 5587 . 2  |-  dom  .Q  =  ( Q.  X.  Q. )
3 ltrelnq 8792 . 2  |-  <Q  C_  ( Q.  X.  Q. )
4 0nnq 8790 . 2  |-  -.  (/)  e.  Q.
5 elpqn 8791 . . . . . . . . . 10  |-  ( C  e.  Q.  ->  C  e.  ( N.  X.  N. ) )
653ad2ant3 980 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  C  e.  ( N.  X.  N. ) )
7 xp1st 6367 . . . . . . . . 9  |-  ( C  e.  ( N.  X.  N. )  ->  ( 1st `  C )  e.  N. )
86, 7syl 16 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 1st `  C )  e. 
N. )
9 xp2nd 6368 . . . . . . . . 9  |-  ( C  e.  ( N.  X.  N. )  ->  ( 2nd `  C )  e.  N. )
106, 9syl 16 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 2nd `  C )  e. 
N. )
11 mulclpi 8759 . . . . . . . 8  |-  ( ( ( 1st `  C
)  e.  N.  /\  ( 2nd `  C )  e.  N. )  -> 
( ( 1st `  C
)  .N  ( 2nd `  C ) )  e. 
N. )
128, 10, 11syl2anc 643 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 1st `  C
)  .N  ( 2nd `  C ) )  e. 
N. )
13 ltmpi 8770 . . . . . . 7  |-  ( ( ( 1st `  C
)  .N  ( 2nd `  C ) )  e. 
N.  ->  ( ( ( 1st `  A )  .N  ( 2nd `  B
) )  <N  (
( 1st `  B
)  .N  ( 2nd `  A ) )  <->  ( (
( 1st `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) ) 
<N  ( ( ( 1st `  C )  .N  ( 2nd `  C ) )  .N  ( ( 1st `  B )  .N  ( 2nd `  A ) ) ) ) )
1412, 13syl 16 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( ( 1st `  A
)  .N  ( 2nd `  B ) )  <N 
( ( 1st `  B
)  .N  ( 2nd `  A ) )  <->  ( (
( 1st `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) ) 
<N  ( ( ( 1st `  C )  .N  ( 2nd `  C ) )  .N  ( ( 1st `  B )  .N  ( 2nd `  A ) ) ) ) )
15 fvex 5733 . . . . . . . 8  |-  ( 1st `  C )  e.  _V
16 fvex 5733 . . . . . . . 8  |-  ( 2nd `  C )  e.  _V
17 fvex 5733 . . . . . . . 8  |-  ( 1st `  A )  e.  _V
18 mulcompi 8762 . . . . . . . 8  |-  ( x  .N  y )  =  ( y  .N  x
)
19 mulasspi 8763 . . . . . . . 8  |-  ( ( x  .N  y )  .N  z )  =  ( x  .N  (
y  .N  z ) )
20 fvex 5733 . . . . . . . 8  |-  ( 2nd `  B )  e.  _V
2115, 16, 17, 18, 19, 20caov4 6269 . . . . . . 7  |-  ( ( ( 1st `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) )  =  ( ( ( 1st `  C )  .N  ( 1st `  A
) )  .N  (
( 2nd `  C
)  .N  ( 2nd `  B ) ) )
22 fvex 5733 . . . . . . . 8  |-  ( 1st `  B )  e.  _V
23 fvex 5733 . . . . . . . 8  |-  ( 2nd `  A )  e.  _V
2415, 16, 22, 18, 19, 23caov4 6269 . . . . . . 7  |-  ( ( ( 1st `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) )  =  ( ( ( 1st `  C )  .N  ( 1st `  B
) )  .N  (
( 2nd `  C
)  .N  ( 2nd `  A ) ) )
2521, 24breq12i 4213 . . . . . 6  |-  ( ( ( ( 1st `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) ) 
<N  ( ( ( 1st `  C )  .N  ( 2nd `  C ) )  .N  ( ( 1st `  B )  .N  ( 2nd `  A ) ) )  <->  ( ( ( 1st `  C )  .N  ( 1st `  A
) )  .N  (
( 2nd `  C
)  .N  ( 2nd `  B ) ) ) 
<N  ( ( ( 1st `  C )  .N  ( 1st `  B ) )  .N  ( ( 2nd `  C )  .N  ( 2nd `  A ) ) ) )
2614, 25syl6bb 253 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( ( 1st `  A
)  .N  ( 2nd `  B ) )  <N 
( ( 1st `  B
)  .N  ( 2nd `  A ) )  <->  ( (
( 1st `  C
)  .N  ( 1st `  A ) )  .N  ( ( 2nd `  C
)  .N  ( 2nd `  B ) ) ) 
<N  ( ( ( 1st `  C )  .N  ( 1st `  B ) )  .N  ( ( 2nd `  C )  .N  ( 2nd `  A ) ) ) ) )
27 ordpipq 8808 . . . . 5  |-  ( <.
( ( 1st `  C
)  .N  ( 1st `  A ) ) ,  ( ( 2nd `  C
)  .N  ( 2nd `  A ) ) >.  <pQ 
<. ( ( 1st `  C
)  .N  ( 1st `  B ) ) ,  ( ( 2nd `  C
)  .N  ( 2nd `  B ) ) >.  <->  ( ( ( 1st `  C
)  .N  ( 1st `  A ) )  .N  ( ( 2nd `  C
)  .N  ( 2nd `  B ) ) ) 
<N  ( ( ( 1st `  C )  .N  ( 1st `  B ) )  .N  ( ( 2nd `  C )  .N  ( 2nd `  A ) ) ) )
2826, 27syl6bbr 255 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( ( 1st `  A
)  .N  ( 2nd `  B ) )  <N 
( ( 1st `  B
)  .N  ( 2nd `  A ) )  <->  <. ( ( 1st `  C )  .N  ( 1st `  A
) ) ,  ( ( 2nd `  C
)  .N  ( 2nd `  A ) ) >.  <pQ 
<. ( ( 1st `  C
)  .N  ( 1st `  B ) ) ,  ( ( 2nd `  C
)  .N  ( 2nd `  B ) ) >.
) )
29 elpqn 8791 . . . . . . 7  |-  ( A  e.  Q.  ->  A  e.  ( N.  X.  N. ) )
30293ad2ant1 978 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  A  e.  ( N.  X.  N. ) )
31 mulpipq2 8805 . . . . . 6  |-  ( ( C  e.  ( N. 
X.  N. )  /\  A  e.  ( N.  X.  N. ) )  ->  ( C  .pQ  A )  = 
<. ( ( 1st `  C
)  .N  ( 1st `  A ) ) ,  ( ( 2nd `  C
)  .N  ( 2nd `  A ) ) >.
)
326, 30, 31syl2anc 643 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( C  .pQ  A )  = 
<. ( ( 1st `  C
)  .N  ( 1st `  A ) ) ,  ( ( 2nd `  C
)  .N  ( 2nd `  A ) ) >.
)
33 elpqn 8791 . . . . . . 7  |-  ( B  e.  Q.  ->  B  e.  ( N.  X.  N. ) )
34333ad2ant2 979 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  B  e.  ( N.  X.  N. ) )
35 mulpipq2 8805 . . . . . 6  |-  ( ( C  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. ) )  ->  ( C  .pQ  B )  = 
<. ( ( 1st `  C
)  .N  ( 1st `  B ) ) ,  ( ( 2nd `  C
)  .N  ( 2nd `  B ) ) >.
)
366, 34, 35syl2anc 643 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( C  .pQ  B )  = 
<. ( ( 1st `  C
)  .N  ( 1st `  B ) ) ,  ( ( 2nd `  C
)  .N  ( 2nd `  B ) ) >.
)
3732, 36breq12d 4217 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( C  .pQ  A
)  <pQ  ( C  .pQ  B )  <->  <. ( ( 1st `  C )  .N  ( 1st `  A ) ) ,  ( ( 2nd `  C )  .N  ( 2nd `  A ) )
>.  <pQ  <. ( ( 1st `  C )  .N  ( 1st `  B ) ) ,  ( ( 2nd `  C )  .N  ( 2nd `  B ) )
>. ) )
3828, 37bitr4d 248 . . 3  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( ( 1st `  A
)  .N  ( 2nd `  B ) )  <N 
( ( 1st `  B
)  .N  ( 2nd `  A ) )  <->  ( C  .pQ  A )  <pQ  ( C 
.pQ  B ) ) )
39 ordpinq 8809 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( A  <Q  B  <->  ( ( 1st `  A )  .N  ( 2nd `  B
) )  <N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )
40393adant3 977 . . 3  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( A  <Q  B  <->  ( ( 1st `  A )  .N  ( 2nd `  B
) )  <N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )
41 mulpqnq 8807 . . . . . . 7  |-  ( ( C  e.  Q.  /\  A  e.  Q. )  ->  ( C  .Q  A
)  =  ( /Q
`  ( C  .pQ  A ) ) )
4241ancoms 440 . . . . . 6  |-  ( ( A  e.  Q.  /\  C  e.  Q. )  ->  ( C  .Q  A
)  =  ( /Q
`  ( C  .pQ  A ) ) )
43423adant2 976 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( C  .Q  A )  =  ( /Q `  ( C  .pQ  A ) ) )
44 mulpqnq 8807 . . . . . . 7  |-  ( ( C  e.  Q.  /\  B  e.  Q. )  ->  ( C  .Q  B
)  =  ( /Q
`  ( C  .pQ  B ) ) )
4544ancoms 440 . . . . . 6  |-  ( ( B  e.  Q.  /\  C  e.  Q. )  ->  ( C  .Q  B
)  =  ( /Q
`  ( C  .pQ  B ) ) )
46453adant1 975 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( C  .Q  B )  =  ( /Q `  ( C  .pQ  B ) ) )
4743, 46breq12d 4217 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( C  .Q  A
)  <Q  ( C  .Q  B )  <->  ( /Q `  ( C  .pQ  A
) )  <Q  ( /Q `  ( C  .pQ  B ) ) ) )
48 lterpq 8836 . . . 4  |-  ( ( C  .pQ  A ) 
<pQ  ( C  .pQ  B
)  <->  ( /Q `  ( C  .pQ  A ) )  <Q  ( /Q `  ( C  .pQ  B
) ) )
4947, 48syl6bbr 255 . . 3  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( C  .Q  A
)  <Q  ( C  .Q  B )  <->  ( C  .pQ  A )  <pQ  ( C 
.pQ  B ) ) )
5038, 40, 493bitr4d 277 . 2  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( A  <Q  B  <->  ( C  .Q  A )  <Q  ( C  .Q  B ) ) )
512, 3, 4, 50ndmovord 6228 1  |-  ( C  e.  Q.  ->  ( A  <Q  B  <->  ( C  .Q  A )  <Q  ( C  .Q  B ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ w3a 936    = wceq 1652    e. wcel 1725   <.cop 3809   class class class wbr 4204    X. cxp 4867   ` cfv 5445  (class class class)co 6072   1stc1st 6338   2ndc2nd 6339   N.cnpi 8708    .N cmi 8710    <N clti 8711    .pQ cmpq 8713    <pQ cltpq 8714   Q.cnq 8716   /Qcerq 8718    .Q cmq 8720    <Q cltq 8722
This theorem is referenced by:  ltaddnq  8840  ltrnq  8845  addclprlem1  8882  mulclprlem  8885  mulclpr  8886  distrlem4pr  8892  1idpr  8895  prlem934  8899  prlem936  8913  reclem3pr  8915  reclem4pr  8916
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395  ax-un 4692
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-ral 2702  df-rex 2703  df-reu 2704  df-rmo 2705  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-pss 3328  df-nul 3621  df-if 3732  df-pw 3793  df-sn 3812  df-pr 3813  df-tp 3814  df-op 3815  df-uni 4008  df-iun 4087  df-br 4205  df-opab 4259  df-mpt 4260  df-tr 4295  df-eprel 4486  df-id 4490  df-po 4495  df-so 4496  df-fr 4533  df-we 4535  df-ord 4576  df-on 4577  df-lim 4578  df-suc 4579  df-om 4837  df-xp 4875  df-rel 4876  df-cnv 4877  df-co 4878  df-dm 4879  df-rn 4880  df-res 4881  df-ima 4882  df-iota 5409  df-fun 5447  df-fn 5448  df-f 5449  df-f1 5450  df-fo 5451  df-f1o 5452  df-fv 5453  df-ov 6075  df-oprab 6076  df-mpt2 6077  df-1st 6340  df-2nd 6341  df-recs 6624  df-rdg 6659  df-1o 6715  df-oadd 6719  df-omul 6720  df-er 6896  df-ni 8738  df-mi 8740  df-lti 8741  df-mpq 8775  df-ltpq 8776  df-enq 8777  df-nq 8778  df-erq 8779  df-mq 8781  df-1nq 8782  df-ltnq 8784
  Copyright terms: Public domain W3C validator