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

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

Proof of Theorem ltanq
StepHypRef Expression
1 addnqf 8452 . . 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 ordpinq 8447 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( A  <Q  B  <->  ( ( 1st `  A )  .N  ( 2nd `  B
) )  <N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )
653adant3 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 ) ) ) )
7 elpqn 8429 . . . . . . 7  |-  ( C  e.  Q.  ->  C  e.  ( N.  X.  N. ) )
873ad2ant3 983 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  C  e.  ( N.  X.  N. ) )
9 elpqn 8429 . . . . . . 7  |-  ( A  e.  Q.  ->  A  e.  ( N.  X.  N. ) )
1093ad2ant1 981 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  A  e.  ( N.  X.  N. ) )
11 addpipq2 8440 . . . . . 6  |-  ( ( C  e.  ( N. 
X.  N. )  /\  A  e.  ( N.  X.  N. ) )  ->  ( C  +pQ  A )  = 
<. ( ( ( 1st `  C )  .N  ( 2nd `  A ) )  +N  ( ( 1st `  A )  .N  ( 2nd `  C ) ) ) ,  ( ( 2nd `  C )  .N  ( 2nd `  A
) ) >. )
128, 10, 11syl2anc 645 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( C  +pQ  A )  = 
<. ( ( ( 1st `  C )  .N  ( 2nd `  A ) )  +N  ( ( 1st `  A )  .N  ( 2nd `  C ) ) ) ,  ( ( 2nd `  C )  .N  ( 2nd `  A
) ) >. )
13 elpqn 8429 . . . . . . 7  |-  ( B  e.  Q.  ->  B  e.  ( N.  X.  N. ) )
14133ad2ant2 982 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  B  e.  ( N.  X.  N. ) )
15 addpipq2 8440 . . . . . 6  |-  ( ( C  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. ) )  ->  ( C  +pQ  B )  = 
<. ( ( ( 1st `  C )  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B )  .N  ( 2nd `  C ) ) ) ,  ( ( 2nd `  C )  .N  ( 2nd `  B
) ) >. )
168, 14, 15syl2anc 645 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( C  +pQ  B )  = 
<. ( ( ( 1st `  C )  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B )  .N  ( 2nd `  C ) ) ) ,  ( ( 2nd `  C )  .N  ( 2nd `  B
) ) >. )
1712, 16breq12d 3933 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( C  +pQ  A
)  <pQ  ( C  +pQ  B )  <->  <. ( ( ( 1st `  C )  .N  ( 2nd `  A
) )  +N  (
( 1st `  A
)  .N  ( 2nd `  C ) ) ) ,  ( ( 2nd `  C )  .N  ( 2nd `  A ) )
>.  <pQ  <. ( ( ( 1st `  C )  .N  ( 2nd `  B
) )  +N  (
( 1st `  B
)  .N  ( 2nd `  C ) ) ) ,  ( ( 2nd `  C )  .N  ( 2nd `  B ) )
>. ) )
18 addpqnq 8442 . . . . . . . 8  |-  ( ( C  e.  Q.  /\  A  e.  Q. )  ->  ( C  +Q  A
)  =  ( /Q
`  ( C  +pQ  A ) ) )
1918ancoms 441 . . . . . . 7  |-  ( ( A  e.  Q.  /\  C  e.  Q. )  ->  ( C  +Q  A
)  =  ( /Q
`  ( C  +pQ  A ) ) )
20193adant2 979 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( C  +Q  A )  =  ( /Q `  ( C  +pQ  A ) ) )
21 addpqnq 8442 . . . . . . . 8  |-  ( ( C  e.  Q.  /\  B  e.  Q. )  ->  ( C  +Q  B
)  =  ( /Q
`  ( C  +pQ  B ) ) )
2221ancoms 441 . . . . . . 7  |-  ( ( B  e.  Q.  /\  C  e.  Q. )  ->  ( C  +Q  B
)  =  ( /Q
`  ( C  +pQ  B ) ) )
23223adant1 978 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( C  +Q  B )  =  ( /Q `  ( C  +pQ  B ) ) )
2420, 23breq12d 3933 . . . . 5  |-  ( ( 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 ) ) ) )
25 lterpq 8474 . . . . 5  |-  ( ( C  +pQ  A ) 
<pQ  ( C  +pQ  B
)  <->  ( /Q `  ( C  +pQ  A ) )  <Q  ( /Q `  ( C  +pQ  B
) ) )
2624, 25syl6bbr 256 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( C  +Q  A
)  <Q  ( C  +Q  B )  <->  ( C  +pQ  A )  <pQ  ( C 
+pQ  B ) ) )
27 xp2nd 6002 . . . . . . . . . 10  |-  ( C  e.  ( N.  X.  N. )  ->  ( 2nd `  C )  e.  N. )
288, 27syl 17 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 2nd `  C )  e. 
N. )
29 mulclpi 8397 . . . . . . . . 9  |-  ( ( ( 2nd `  C
)  e.  N.  /\  ( 2nd `  C )  e.  N. )  -> 
( ( 2nd `  C
)  .N  ( 2nd `  C ) )  e. 
N. )
3028, 28, 29syl2anc 645 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 2nd `  C
)  .N  ( 2nd `  C ) )  e. 
N. )
31 ltmpi 8408 . . . . . . . 8  |-  ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  e. 
N.  ->  ( ( ( 1st `  A )  .N  ( 2nd `  B
) )  <N  (
( 1st `  B
)  .N  ( 2nd `  A ) )  <->  ( (
( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) ) 
<N  ( ( ( 2nd `  C )  .N  ( 2nd `  C ) )  .N  ( ( 1st `  B )  .N  ( 2nd `  A ) ) ) ) )
3230, 31syl 17 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( ( 1st `  A
)  .N  ( 2nd `  B ) )  <N 
( ( 1st `  B
)  .N  ( 2nd `  A ) )  <->  ( (
( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) ) 
<N  ( ( ( 2nd `  C )  .N  ( 2nd `  C ) )  .N  ( ( 1st `  B )  .N  ( 2nd `  A ) ) ) ) )
33 xp2nd 6002 . . . . . . . . . . 11  |-  ( B  e.  ( N.  X.  N. )  ->  ( 2nd `  B )  e.  N. )
3414, 33syl 17 . . . . . . . . . 10  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 2nd `  B )  e. 
N. )
35 mulclpi 8397 . . . . . . . . . 10  |-  ( ( ( 2nd `  C
)  e.  N.  /\  ( 2nd `  B )  e.  N. )  -> 
( ( 2nd `  C
)  .N  ( 2nd `  B ) )  e. 
N. )
3628, 34, 35syl2anc 645 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 2nd `  C
)  .N  ( 2nd `  B ) )  e. 
N. )
37 xp1st 6001 . . . . . . . . . . 11  |-  ( C  e.  ( N.  X.  N. )  ->  ( 1st `  C )  e.  N. )
388, 37syl 17 . . . . . . . . . 10  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 1st `  C )  e. 
N. )
39 xp2nd 6002 . . . . . . . . . . 11  |-  ( A  e.  ( N.  X.  N. )  ->  ( 2nd `  A )  e.  N. )
4010, 39syl 17 . . . . . . . . . 10  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 2nd `  A )  e. 
N. )
41 mulclpi 8397 . . . . . . . . . 10  |-  ( ( ( 1st `  C
)  e.  N.  /\  ( 2nd `  A )  e.  N. )  -> 
( ( 1st `  C
)  .N  ( 2nd `  A ) )  e. 
N. )
4238, 40, 41syl2anc 645 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 1st `  C
)  .N  ( 2nd `  A ) )  e. 
N. )
43 mulclpi 8397 . . . . . . . . 9  |-  ( ( ( ( 2nd `  C
)  .N  ( 2nd `  B ) )  e. 
N.  /\  ( ( 1st `  C )  .N  ( 2nd `  A
) )  e.  N. )  ->  ( ( ( 2nd `  C )  .N  ( 2nd `  B
) )  .N  (
( 1st `  C
)  .N  ( 2nd `  A ) ) )  e.  N. )
4436, 42, 43syl2anc 645 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  e.  N. )
45 ltapi 8407 . . . . . . . 8  |-  ( ( ( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  e.  N.  ->  (
( ( ( 2nd `  C )  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A )  .N  ( 2nd `  B ) ) )  <N  ( (
( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) )  <-> 
( ( ( ( 2nd `  C )  .N  ( 2nd `  B
) )  .N  (
( 1st `  C
)  .N  ( 2nd `  A ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  A
)  .N  ( 2nd `  B ) ) ) )  <N  ( (
( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) ) ) )
4644, 45syl 17 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( ( ( 2nd `  C )  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A )  .N  ( 2nd `  B ) ) )  <N  ( (
( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) )  <-> 
( ( ( ( 2nd `  C )  .N  ( 2nd `  B
) )  .N  (
( 1st `  C
)  .N  ( 2nd `  A ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  A
)  .N  ( 2nd `  B ) ) ) )  <N  ( (
( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) ) ) )
4732, 46bitrd 246 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( ( 1st `  A
)  .N  ( 2nd `  B ) )  <N 
( ( 1st `  B
)  .N  ( 2nd `  A ) )  <->  ( (
( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  A
)  .N  ( 2nd `  B ) ) ) )  <N  ( (
( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) ) ) )
48 mulcompi 8400 . . . . . . . . . 10  |-  ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) )  =  ( ( ( 1st `  A )  .N  ( 2nd `  B
) )  .N  (
( 2nd `  C
)  .N  ( 2nd `  C ) ) )
49 fvex 5391 . . . . . . . . . . 11  |-  ( 1st `  A )  e.  _V
50 fvex 5391 . . . . . . . . . . 11  |-  ( 2nd `  B )  e.  _V
51 fvex 5391 . . . . . . . . . . 11  |-  ( 2nd `  C )  e.  _V
52 mulcompi 8400 . . . . . . . . . . 11  |-  ( x  .N  y )  =  ( y  .N  x
)
53 mulasspi 8401 . . . . . . . . . . 11  |-  ( ( x  .N  y )  .N  z )  =  ( x  .N  (
y  .N  z ) )
5449, 50, 51, 52, 53, 51caov411 5904 . . . . . . . . . 10  |-  ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  .N  ( ( 2nd `  C
)  .N  ( 2nd `  C ) ) )  =  ( ( ( 2nd `  C )  .N  ( 2nd `  B
) )  .N  (
( 1st `  A
)  .N  ( 2nd `  C ) ) )
5548, 54eqtri 2273 . . . . . . . . 9  |-  ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) )  =  ( ( ( 2nd `  C )  .N  ( 2nd `  B
) )  .N  (
( 1st `  A
)  .N  ( 2nd `  C ) ) )
5655oveq2i 5721 . . . . . . . 8  |-  ( ( ( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  A
)  .N  ( 2nd `  B ) ) ) )  =  ( ( ( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  B
) )  .N  (
( 1st `  A
)  .N  ( 2nd `  C ) ) ) )
57 distrpi 8402 . . . . . . . 8  |-  ( ( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( ( 1st `  C )  .N  ( 2nd `  A ) )  +N  ( ( 1st `  A )  .N  ( 2nd `  C ) ) ) )  =  ( ( ( ( 2nd `  C )  .N  ( 2nd `  B ) )  .N  ( ( 1st `  C )  .N  ( 2nd `  A ) ) )  +N  ( ( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  C ) ) ) )
58 mulcompi 8400 . . . . . . . 8  |-  ( ( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( ( 1st `  C )  .N  ( 2nd `  A ) )  +N  ( ( 1st `  A )  .N  ( 2nd `  C ) ) ) )  =  ( ( ( ( 1st `  C )  .N  ( 2nd `  A ) )  +N  ( ( 1st `  A )  .N  ( 2nd `  C ) ) )  .N  ( ( 2nd `  C )  .N  ( 2nd `  B
) ) )
5956, 57, 583eqtr2i 2279 . . . . . . 7  |-  ( ( ( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  A
)  .N  ( 2nd `  B ) ) ) )  =  ( ( ( ( 1st `  C
)  .N  ( 2nd `  A ) )  +N  ( ( 1st `  A
)  .N  ( 2nd `  C ) ) )  .N  ( ( 2nd `  C )  .N  ( 2nd `  B ) ) )
60 mulcompi 8400 . . . . . . . . . 10  |-  ( ( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  =  ( ( ( 1st `  C )  .N  ( 2nd `  A
) )  .N  (
( 2nd `  C
)  .N  ( 2nd `  B ) ) )
61 fvex 5391 . . . . . . . . . . 11  |-  ( 1st `  C )  e.  _V
62 fvex 5391 . . . . . . . . . . 11  |-  ( 2nd `  A )  e.  _V
6361, 62, 51, 52, 53, 50caov411 5904 . . . . . . . . . 10  |-  ( ( ( 1st `  C
)  .N  ( 2nd `  A ) )  .N  ( ( 2nd `  C
)  .N  ( 2nd `  B ) ) )  =  ( ( ( 2nd `  C )  .N  ( 2nd `  A
) )  .N  (
( 1st `  C
)  .N  ( 2nd `  B ) ) )
6460, 63eqtri 2273 . . . . . . . . 9  |-  ( ( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  =  ( ( ( 2nd `  C )  .N  ( 2nd `  A
) )  .N  (
( 1st `  C
)  .N  ( 2nd `  B ) ) )
65 mulcompi 8400 . . . . . . . . . 10  |-  ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) )  =  ( ( ( 1st `  B )  .N  ( 2nd `  A
) )  .N  (
( 2nd `  C
)  .N  ( 2nd `  C ) ) )
66 fvex 5391 . . . . . . . . . . 11  |-  ( 1st `  B )  e.  _V
6766, 62, 51, 52, 53, 51caov411 5904 . . . . . . . . . 10  |-  ( ( ( 1st `  B
)  .N  ( 2nd `  A ) )  .N  ( ( 2nd `  C
)  .N  ( 2nd `  C ) ) )  =  ( ( ( 2nd `  C )  .N  ( 2nd `  A
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  C ) ) )
6865, 67eqtri 2273 . . . . . . . . 9  |-  ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) )  =  ( ( ( 2nd `  C )  .N  ( 2nd `  A
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  C ) ) )
6964, 68oveq12i 5722 . . . . . . . 8  |-  ( ( ( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )  =  ( ( ( ( 2nd `  C
)  .N  ( 2nd `  A ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  A
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  C ) ) ) )
70 distrpi 8402 . . . . . . . 8  |-  ( ( ( 2nd `  C
)  .N  ( 2nd `  A ) )  .N  ( ( ( 1st `  C )  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B )  .N  ( 2nd `  C ) ) ) )  =  ( ( ( ( 2nd `  C )  .N  ( 2nd `  A ) )  .N  ( ( 1st `  C )  .N  ( 2nd `  B ) ) )  +N  ( ( ( 2nd `  C
)  .N  ( 2nd `  A ) )  .N  ( ( 1st `  B
)  .N  ( 2nd `  C ) ) ) )
71 mulcompi 8400 . . . . . . . 8  |-  ( ( ( 2nd `  C
)  .N  ( 2nd `  A ) )  .N  ( ( ( 1st `  C )  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B )  .N  ( 2nd `  C ) ) ) )  =  ( ( ( ( 1st `  C )  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B )  .N  ( 2nd `  C ) ) )  .N  ( ( 2nd `  C )  .N  ( 2nd `  A
) ) )
7269, 70, 713eqtr2i 2279 . . . . . . 7  |-  ( ( ( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )  =  ( ( ( ( 1st `  C
)  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B
)  .N  ( 2nd `  C ) ) )  .N  ( ( 2nd `  C )  .N  ( 2nd `  A ) ) )
7359, 72breq12i 3929 . . . . . 6  |-  ( ( ( ( ( 2nd `  C )  .N  ( 2nd `  B ) )  .N  ( ( 1st `  C )  .N  ( 2nd `  A ) ) )  +N  ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) ) )  <N  ( (
( ( 2nd `  C
)  .N  ( 2nd `  B ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )  <->  ( ( ( ( 1st `  C
)  .N  ( 2nd `  A ) )  +N  ( ( 1st `  A
)  .N  ( 2nd `  C ) ) )  .N  ( ( 2nd `  C )  .N  ( 2nd `  B ) ) )  <N  ( (
( ( 1st `  C
)  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B
)  .N  ( 2nd `  C ) ) )  .N  ( ( 2nd `  C )  .N  ( 2nd `  A ) ) ) )
7447, 73syl6bb 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  ( 2nd `  A ) )  +N  ( ( 1st `  A
)  .N  ( 2nd `  C ) ) )  .N  ( ( 2nd `  C )  .N  ( 2nd `  B ) ) )  <N  ( (
( ( 1st `  C
)  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B
)  .N  ( 2nd `  C ) ) )  .N  ( ( 2nd `  C )  .N  ( 2nd `  A ) ) ) ) )
75 ordpipq 8446 . . . . 5  |-  ( <.
( ( ( 1st `  C )  .N  ( 2nd `  A ) )  +N  ( ( 1st `  A )  .N  ( 2nd `  C ) ) ) ,  ( ( 2nd `  C )  .N  ( 2nd `  A
) ) >.  <pQ  <. (
( ( 1st `  C
)  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B
)  .N  ( 2nd `  C ) ) ) ,  ( ( 2nd `  C )  .N  ( 2nd `  B ) )
>. 
<->  ( ( ( ( 1st `  C )  .N  ( 2nd `  A
) )  +N  (
( 1st `  A
)  .N  ( 2nd `  C ) ) )  .N  ( ( 2nd `  C )  .N  ( 2nd `  B ) ) )  <N  ( (
( ( 1st `  C
)  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B
)  .N  ( 2nd `  C ) ) )  .N  ( ( 2nd `  C )  .N  ( 2nd `  A ) ) ) )
7674, 75syl6bbr 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  ( 2nd `  A ) )  +N  ( ( 1st `  A
)  .N  ( 2nd `  C ) ) ) ,  ( ( 2nd `  C )  .N  ( 2nd `  A ) )
>.  <pQ  <. ( ( ( 1st `  C )  .N  ( 2nd `  B
) )  +N  (
( 1st `  B
)  .N  ( 2nd `  C ) ) ) ,  ( ( 2nd `  C )  .N  ( 2nd `  B ) )
>. ) )
7717, 26, 763bitr4rd 279 . . 3  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( ( 1st `  A
)  .N  ( 2nd `  B ) )  <N 
( ( 1st `  B
)  .N  ( 2nd `  A ) )  <->  ( C  +Q  A )  <Q  ( C  +Q  B ) ) )
786, 77bitrd 246 . 2  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( A  <Q  B  <->  ( C  +Q  A )  <Q  ( C  +Q  B ) ) )
792, 3, 4, 78ndmovord 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 cpli 8347    .N cmi 8348    <N clti 8349    +pQ cplpq 8350    <pQ cltpq 8352   Q.cnq 8354   /Qcerq 8356    +Q cplq 8357    <Q cltq 8360
This theorem is referenced by:  ltaddnq  8478  ltbtwnnq  8482  addclpr  8522  distrlem4pr  8530  ltexprlem3  8542  ltexprlem4  8543  ltexprlem6  8545  prlem936  8551
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-pli 8377  df-mi 8378  df-lti 8379  df-plpq 8412  df-ltpq 8414  df-enq 8415  df-nq 8416  df-erq 8417  df-plq 8418  df-1nq 8420  df-ltnq 8422
  Copyright terms: Public domain W3C validator