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

Theorem ltmnq 8476
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
StepHypRef Expression
1 mulnqf 8453 . . 3  |-  .Q  :
( Q.  X.  Q. )
--> Q.
21fdmi 5251 . 2  |-  dom  .Q  =  ( Q.  X.  Q. )
3 ltrelnq 8430 . 2  |-  <Q  C_  ( Q.  X.  Q. )
4 0nnq 8428 . 2  |-  -.  (/)  e.  Q.
5 elpqn 8429 . . . . . . . . . 10  |-  ( C  e.  Q.  ->  C  e.  ( N.  X.  N. ) )
653ad2ant3 983 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  C  e.  ( N.  X.  N. ) )
7 xp1st 6001 . . . . . . . . 9  |-  ( C  e.  ( N.  X.  N. )  ->  ( 1st `  C )  e.  N. )
86, 7syl 17 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 1st `  C )  e. 
N. )
9 xp2nd 6002 . . . . . . . . 9  |-  ( C  e.  ( N.  X.  N. )  ->  ( 2nd `  C )  e.  N. )
106, 9syl 17 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 2nd `  C )  e. 
N. )
11 mulclpi 8397 . . . . . . . 8  |-  ( ( ( 1st `  C
)  e.  N.  /\  ( 2nd `  C )  e.  N. )  -> 
( ( 1st `  C
)  .N  ( 2nd `  C ) )  e. 
N. )
128, 10, 11syl2anc 645 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 1st `  C
)  .N  ( 2nd `  C ) )  e. 
N. )
13 ltmpi 8408 . . . . . . 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 17 . . . . . 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 5391 . . . . . . . 8  |-  ( 1st `  C )  e.  _V
16 fvex 5391 . . . . . . . 8  |-  ( 2nd `  C )  e.  _V
17 fvex 5391 . . . . . . . 8  |-  ( 1st `  A )  e.  _V
18 mulcompi 8400 . . . . . . . 8  |-  ( x  .N  y )  =  ( y  .N  x
)
19 mulasspi 8401 . . . . . . . 8  |-  ( ( x  .N  y )  .N  z )  =  ( x  .N  (
y  .N  z ) )
20 fvex 5391 . . . . . . . 8  |-  ( 2nd `  B )  e.  _V
2115, 16, 17, 18, 19, 20caov4 5903 . . . . . . 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 5391 . . . . . . . 8  |-  ( 1st `  B )  e.  _V
23 fvex 5391 . . . . . . . 8  |-  ( 2nd `  A )  e.  _V
2415, 16, 22, 18, 19, 23caov4 5903 . . . . . . 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 3929 . . . . . 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 254 . . . . 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 8446 . . . . 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 256 . . . 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 8429 . . . . . . 7  |-  ( A  e.  Q.  ->  A  e.  ( N.  X.  N. ) )
30293ad2ant1 981 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  A  e.  ( N.  X.  N. ) )
31 mulpipq2 8443 . . . . . 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 645 . . . . 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 8429 . . . . . . 7  |-  ( B  e.  Q.  ->  B  e.  ( N.  X.  N. ) )
34333ad2ant2 982 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  B  e.  ( N.  X.  N. ) )
35 mulpipq2 8443 . . . . . 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 645 . . . . 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 3933 . . . 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 249 . . 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 8447 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( A  <Q  B  <->  ( ( 1st `  A )  .N  ( 2nd `  B
) )  <N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )
40393adant3 980 . . 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 8445 . . . . . . 7  |-  ( ( C  e.  Q.  /\  A  e.  Q. )  ->  ( C  .Q  A
)  =  ( /Q
`  ( C  .pQ  A ) ) )
4241ancoms 441 . . . . . 6  |-  ( ( A  e.  Q.  /\  C  e.  Q. )  ->  ( C  .Q  A
)  =  ( /Q
`  ( C  .pQ  A ) ) )
43423adant2 979 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( C  .Q  A )  =  ( /Q `  ( C  .pQ  A ) ) )
44 mulpqnq 8445 . . . . . . 7  |-  ( ( C  e.  Q.  /\  B  e.  Q. )  ->  ( C  .Q  B
)  =  ( /Q
`  ( C  .pQ  B ) ) )
4544ancoms 441 . . . . . 6  |-  ( ( B  e.  Q.  /\  C  e.  Q. )  ->  ( C  .Q  B
)  =  ( /Q
`  ( C  .pQ  B ) ) )
46453adant1 978 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( C  .Q  B )  =  ( /Q `  ( C  .pQ  B ) ) )
4743, 46breq12d 3933 . . . 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 8474 . . . 4  |-  ( ( C  .pQ  A ) 
<pQ  ( C  .pQ  B
)  <->  ( /Q `  ( C  .pQ  A ) )  <Q  ( /Q `  ( C  .pQ  B
) ) )
4947, 48syl6bbr 256 . . 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 278 . 2  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( A  <Q  B  <->  ( C  .Q  A )  <Q  ( C  .Q  B ) ) )
512, 3, 4, 50ndmovord 5862 1  |-  ( C  e.  Q.  ->  ( A  <Q  B  <->  ( C  .Q  A )  <Q  ( C  .Q  B ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 6    <-> wb 178    /\ w3a 939    = wceq 1619    e. wcel 1621   <.cop 3547   class class class wbr 3920    X. cxp 4578   ` cfv 4592  (class class class)co 5710   1stc1st 5972   2ndc2nd 5973   N.cnpi 8346    .N cmi 8348    <N clti 8349    .pQ cmpq 8351    <pQ cltpq 8352   Q.cnq 8354   /Qcerq 8356    .Q cmq 8358    <Q cltq 8360
This theorem is referenced by:  ltaddnq  8478  ltrnq  8483  addclprlem1  8520  mulclprlem  8523  mulclpr  8524  distrlem4pr  8530  1idpr  8533  prlem934  8537  prlem936  8551  reclem3pr  8553  reclem4pr  8554
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-13 1625  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1926  ax-ext 2234  ax-sep 4038  ax-nul 4046  ax-pr 4108  ax-un 4403
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 940  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1883  df-eu 2118  df-mo 2119  df-clab 2240  df-cleq 2246  df-clel 2249  df-nfc 2374  df-ne 2414  df-ral 2513  df-rex 2514  df-reu 2515  df-rab 2516  df-v 2729  df-sbc 2922  df-csb 3010  df-dif 3081  df-un 3083  df-in 3085  df-ss 3089  df-pss 3091  df-nul 3363  df-if 3471  df-pw 3532  df-sn 3550  df-pr 3551  df-tp 3552  df-op 3553  df-uni 3728  df-iun 3805  df-br 3921  df-opab 3975  df-mpt 3976  df-tr 4011  df-eprel 4198  df-id 4202  df-po 4207  df-so 4208  df-fr 4245  df-we 4247  df-ord 4288  df-on 4289  df-lim 4290  df-suc 4291  df-om 4548  df-xp 4594  df-rel 4595  df-cnv 4596  df-co 4597  df-dm 4598  df-rn 4599  df-res 4600  df-ima 4601  df-fun 4602  df-fn 4603  df-f 4604  df-f1 4605  df-fo 4606  df-f1o 4607  df-fv 4608  df-ov 5713  df-oprab 5714  df-mpt2 5715  df-1st 5974  df-2nd 5975  df-recs 6274  df-rdg 6309  df-1o 6365  df-oadd 6369  df-omul 6370  df-er 6546  df-ni 8376  df-mi 8378  df-lti 8379  df-mpq 8413  df-ltpq 8414  df-enq 8415  df-nq 8416  df-erq 8417  df-mq 8419  df-1nq 8420  df-ltnq 8422
  Copyright terms: Public domain W3C validator