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

Theorem ltmnq 8596
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 8573 . . 3  |-  .Q  :
( Q.  X.  Q. )
--> Q.
21fdmi 5394 . 2  |-  dom  .Q  =  ( Q.  X.  Q. )
3 ltrelnq 8550 . 2  |-  <Q  C_  ( Q.  X.  Q. )
4 0nnq 8548 . 2  |-  -.  (/)  e.  Q.
5 elpqn 8549 . . . . . . . . . 10  |-  ( C  e.  Q.  ->  C  e.  ( N.  X.  N. ) )
653ad2ant3 978 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  C  e.  ( N.  X.  N. ) )
7 xp1st 6149 . . . . . . . . 9  |-  ( C  e.  ( N.  X.  N. )  ->  ( 1st `  C )  e.  N. )
86, 7syl 15 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 1st `  C )  e. 
N. )
9 xp2nd 6150 . . . . . . . . 9  |-  ( C  e.  ( N.  X.  N. )  ->  ( 2nd `  C )  e.  N. )
106, 9syl 15 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 2nd `  C )  e. 
N. )
11 mulclpi 8517 . . . . . . . 8  |-  ( ( ( 1st `  C
)  e.  N.  /\  ( 2nd `  C )  e.  N. )  -> 
( ( 1st `  C
)  .N  ( 2nd `  C ) )  e. 
N. )
128, 10, 11syl2anc 642 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 1st `  C
)  .N  ( 2nd `  C ) )  e. 
N. )
13 ltmpi 8528 . . . . . . 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 15 . . . . . 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 5539 . . . . . . . 8  |-  ( 1st `  C )  e.  _V
16 fvex 5539 . . . . . . . 8  |-  ( 2nd `  C )  e.  _V
17 fvex 5539 . . . . . . . 8  |-  ( 1st `  A )  e.  _V
18 mulcompi 8520 . . . . . . . 8  |-  ( x  .N  y )  =  ( y  .N  x
)
19 mulasspi 8521 . . . . . . . 8  |-  ( ( x  .N  y )  .N  z )  =  ( x  .N  (
y  .N  z ) )
20 fvex 5539 . . . . . . . 8  |-  ( 2nd `  B )  e.  _V
2115, 16, 17, 18, 19, 20caov4 6051 . . . . . . 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 5539 . . . . . . . 8  |-  ( 1st `  B )  e.  _V
23 fvex 5539 . . . . . . . 8  |-  ( 2nd `  A )  e.  _V
2415, 16, 22, 18, 19, 23caov4 6051 . . . . . . 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 4032 . . . . . 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 252 . . . . 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 8566 . . . . 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 254 . . . 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 8549 . . . . . . 7  |-  ( A  e.  Q.  ->  A  e.  ( N.  X.  N. ) )
30293ad2ant1 976 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  A  e.  ( N.  X.  N. ) )
31 mulpipq2 8563 . . . . . 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 642 . . . . 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 8549 . . . . . . 7  |-  ( B  e.  Q.  ->  B  e.  ( N.  X.  N. ) )
34333ad2ant2 977 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  B  e.  ( N.  X.  N. ) )
35 mulpipq2 8563 . . . . . 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 642 . . . . 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 4036 . . . 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 247 . . 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 8567 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( A  <Q  B  <->  ( ( 1st `  A )  .N  ( 2nd `  B
) )  <N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )
40393adant3 975 . . 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 8565 . . . . . . 7  |-  ( ( C  e.  Q.  /\  A  e.  Q. )  ->  ( C  .Q  A
)  =  ( /Q
`  ( C  .pQ  A ) ) )
4241ancoms 439 . . . . . 6  |-  ( ( A  e.  Q.  /\  C  e.  Q. )  ->  ( C  .Q  A
)  =  ( /Q
`  ( C  .pQ  A ) ) )
43423adant2 974 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( C  .Q  A )  =  ( /Q `  ( C  .pQ  A ) ) )
44 mulpqnq 8565 . . . . . . 7  |-  ( ( C  e.  Q.  /\  B  e.  Q. )  ->  ( C  .Q  B
)  =  ( /Q
`  ( C  .pQ  B ) ) )
4544ancoms 439 . . . . . 6  |-  ( ( B  e.  Q.  /\  C  e.  Q. )  ->  ( C  .Q  B
)  =  ( /Q
`  ( C  .pQ  B ) ) )
46453adant1 973 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( C  .Q  B )  =  ( /Q `  ( C  .pQ  B ) ) )
4743, 46breq12d 4036 . . . 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 8594 . . . 4  |-  ( ( C  .pQ  A ) 
<pQ  ( C  .pQ  B
)  <->  ( /Q `  ( C  .pQ  A ) )  <Q  ( /Q `  ( C  .pQ  B
) ) )
4947, 48syl6bbr 254 . . 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 276 . 2  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( A  <Q  B  <->  ( C  .Q  A )  <Q  ( C  .Q  B ) ) )
512, 3, 4, 50ndmovord 6010 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 176    /\ w3a 934    = wceq 1623    e. wcel 1684   <.cop 3643   class class class wbr 4023    X. cxp 4687   ` cfv 5255  (class class class)co 5858   1stc1st 6120   2ndc2nd 6121   N.cnpi 8466    .N cmi 8468    <N clti 8469    .pQ cmpq 8471    <pQ cltpq 8472   Q.cnq 8474   /Qcerq 8476    .Q cmq 8478    <Q cltq 8480
This theorem is referenced by:  ltaddnq  8598  ltrnq  8603  addclprlem1  8640  mulclprlem  8643  mulclpr  8644  distrlem4pr  8650  1idpr  8653  prlem934  8657  prlem936  8671  reclem3pr  8673  reclem4pr  8674
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
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-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  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-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  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-1st 6122  df-2nd 6123  df-recs 6388  df-rdg 6423  df-1o 6479  df-oadd 6483  df-omul 6484  df-er 6660  df-ni 8496  df-mi 8498  df-lti 8499  df-mpq 8533  df-ltpq 8534  df-enq 8535  df-nq 8536  df-erq 8537  df-mq 8539  df-1nq 8540  df-ltnq 8542
  Copyright terms: Public domain W3C validator