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

Theorem ltexnq 8567
Description: Ordering on positive fractions in terms of existence of sum. Definition in Proposition 9-2.6 of [Gleason] p. 119. (Contributed by NM, 24-Apr-1996.) (Revised by Mario Carneiro, 10-May-2013.) (New usage is discouraged.)
Assertion
Ref Expression
ltexnq  |-  ( B  e.  Q.  ->  ( A  <Q  B  <->  E. x
( A  +Q  x
)  =  B ) )
Distinct variable groups:    x, A    x, B

Proof of Theorem ltexnq
StepHypRef Expression
1 ltrelnq 8518 . . . 4  |-  <Q  C_  ( Q.  X.  Q. )
21brel 4725 . . 3  |-  ( A 
<Q  B  ->  ( A  e.  Q.  /\  B  e.  Q. ) )
3 ordpinq 8535 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( A  <Q  B  <->  ( ( 1st `  A )  .N  ( 2nd `  B
) )  <N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )
4 elpqn 8517 . . . . . . . . 9  |-  ( A  e.  Q.  ->  A  e.  ( N.  X.  N. ) )
54adantr 453 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  A  e.  ( N. 
X.  N. ) )
6 xp1st 6083 . . . . . . . 8  |-  ( A  e.  ( N.  X.  N. )  ->  ( 1st `  A )  e.  N. )
75, 6syl 17 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( 1st `  A
)  e.  N. )
8 elpqn 8517 . . . . . . . . 9  |-  ( B  e.  Q.  ->  B  e.  ( N.  X.  N. ) )
98adantl 454 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  B  e.  ( N. 
X.  N. ) )
10 xp2nd 6084 . . . . . . . 8  |-  ( B  e.  ( N.  X.  N. )  ->  ( 2nd `  B )  e.  N. )
119, 10syl 17 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( 2nd `  B
)  e.  N. )
12 mulclpi 8485 . . . . . . 7  |-  ( ( ( 1st `  A
)  e.  N.  /\  ( 2nd `  B )  e.  N. )  -> 
( ( 1st `  A
)  .N  ( 2nd `  B ) )  e. 
N. )
137, 11, 12syl2anc 645 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( ( 1st `  A
)  .N  ( 2nd `  B ) )  e. 
N. )
14 xp1st 6083 . . . . . . . 8  |-  ( B  e.  ( N.  X.  N. )  ->  ( 1st `  B )  e.  N. )
159, 14syl 17 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( 1st `  B
)  e.  N. )
16 xp2nd 6084 . . . . . . . 8  |-  ( A  e.  ( N.  X.  N. )  ->  ( 2nd `  A )  e.  N. )
175, 16syl 17 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( 2nd `  A
)  e.  N. )
18 mulclpi 8485 . . . . . . 7  |-  ( ( ( 1st `  B
)  e.  N.  /\  ( 2nd `  A )  e.  N. )  -> 
( ( 1st `  B
)  .N  ( 2nd `  A ) )  e. 
N. )
1915, 17, 18syl2anc 645 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( ( 1st `  B
)  .N  ( 2nd `  A ) )  e. 
N. )
20 ltexpi 8494 . . . . . 6  |-  ( ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  e. 
N.  /\  ( ( 1st `  B )  .N  ( 2nd `  A
) )  e.  N. )  ->  ( ( ( 1st `  A )  .N  ( 2nd `  B
) )  <N  (
( 1st `  B
)  .N  ( 2nd `  A ) )  <->  E. y  e.  N.  ( ( ( 1st `  A )  .N  ( 2nd `  B
) )  +N  y
)  =  ( ( 1st `  B )  .N  ( 2nd `  A
) ) ) )
2113, 19, 20syl2anc 645 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( ( ( 1st `  A )  .N  ( 2nd `  B ) ) 
<N  ( ( 1st `  B
)  .N  ( 2nd `  A ) )  <->  E. y  e.  N.  ( ( ( 1st `  A )  .N  ( 2nd `  B
) )  +N  y
)  =  ( ( 1st `  B )  .N  ( 2nd `  A
) ) ) )
22 relxp 4782 . . . . . . . . . . . 12  |-  Rel  ( N.  X.  N. )
234ad2antrr 709 . . . . . . . . . . . 12  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  A  e.  ( N.  X.  N. )
)
24 1st2nd 6100 . . . . . . . . . . . 12  |-  ( ( Rel  ( N.  X.  N. )  /\  A  e.  ( N.  X.  N. ) )  ->  A  =  <. ( 1st `  A
) ,  ( 2nd `  A ) >. )
2522, 23, 24sylancr 647 . . . . . . . . . . 11  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  A  =  <. ( 1st `  A ) ,  ( 2nd `  A
) >. )
2625oveq1d 5807 . . . . . . . . . 10  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( A  +pQ  <.
y ,  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) >. )  =  ( <. ( 1st `  A ) ,  ( 2nd `  A
) >.  +pQ  <. y ,  ( ( 2nd `  A
)  .N  ( 2nd `  B ) ) >.
) )
277adantr 453 . . . . . . . . . . 11  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( 1st `  A
)  e.  N. )
2817adantr 453 . . . . . . . . . . 11  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( 2nd `  A
)  e.  N. )
29 simpr 449 . . . . . . . . . . 11  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  y  e.  N. )
30 mulclpi 8485 . . . . . . . . . . . . 13  |-  ( ( ( 2nd `  A
)  e.  N.  /\  ( 2nd `  B )  e.  N. )  -> 
( ( 2nd `  A
)  .N  ( 2nd `  B ) )  e. 
N. )
3117, 11, 30syl2anc 645 . . . . . . . . . . . 12  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( ( 2nd `  A
)  .N  ( 2nd `  B ) )  e. 
N. )
3231adantr 453 . . . . . . . . . . 11  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( ( 2nd `  A )  .N  ( 2nd `  B ) )  e.  N. )
33 addpipq 8529 . . . . . . . . . . 11  |-  ( ( ( ( 1st `  A
)  e.  N.  /\  ( 2nd `  A )  e.  N. )  /\  ( y  e.  N.  /\  ( ( 2nd `  A
)  .N  ( 2nd `  B ) )  e. 
N. ) )  -> 
( <. ( 1st `  A
) ,  ( 2nd `  A ) >.  +pQ  <. y ,  ( ( 2nd `  A )  .N  ( 2nd `  B ) )
>. )  =  <. ( ( ( 1st `  A
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) )  +N  ( y  .N  ( 2nd `  A ) ) ) ,  ( ( 2nd `  A )  .N  ( ( 2nd `  A )  .N  ( 2nd `  B ) ) ) >. )
3427, 28, 29, 32, 33syl22anc 1188 . . . . . . . . . 10  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( <. ( 1st `  A ) ,  ( 2nd `  A
) >.  +pQ  <. y ,  ( ( 2nd `  A
)  .N  ( 2nd `  B ) ) >.
)  =  <. (
( ( 1st `  A
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) )  +N  ( y  .N  ( 2nd `  A ) ) ) ,  ( ( 2nd `  A )  .N  ( ( 2nd `  A )  .N  ( 2nd `  B ) ) ) >. )
3526, 34eqtrd 2290 . . . . . . . . 9  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( A  +pQ  <.
y ,  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) >. )  =  <. ( ( ( 1st `  A )  .N  ( ( 2nd `  A )  .N  ( 2nd `  B ) ) )  +N  ( y  .N  ( 2nd `  A
) ) ) ,  ( ( 2nd `  A
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) ) >.
)
36 oveq2 5800 . . . . . . . . . . . 12  |-  ( ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  +N  y )  =  ( ( 1st `  B
)  .N  ( 2nd `  A ) )  -> 
( ( 2nd `  A
)  .N  ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  +N  y ) )  =  ( ( 2nd `  A
)  .N  ( ( 1st `  B )  .N  ( 2nd `  A
) ) ) )
37 distrpi 8490 . . . . . . . . . . . . 13  |-  ( ( 2nd `  A )  .N  ( ( ( 1st `  A )  .N  ( 2nd `  B
) )  +N  y
) )  =  ( ( ( 2nd `  A
)  .N  ( ( 1st `  A )  .N  ( 2nd `  B
) ) )  +N  ( ( 2nd `  A
)  .N  y ) )
38 fvex 5472 . . . . . . . . . . . . . . 15  |-  ( 2nd `  A )  e.  _V
39 fvex 5472 . . . . . . . . . . . . . . 15  |-  ( 1st `  A )  e.  _V
40 fvex 5472 . . . . . . . . . . . . . . 15  |-  ( 2nd `  B )  e.  _V
41 mulcompi 8488 . . . . . . . . . . . . . . 15  |-  ( x  .N  y )  =  ( y  .N  x
)
42 mulasspi 8489 . . . . . . . . . . . . . . 15  |-  ( ( x  .N  y )  .N  z )  =  ( x  .N  (
y  .N  z ) )
4338, 39, 40, 41, 42caov12 5982 . . . . . . . . . . . . . 14  |-  ( ( 2nd `  A )  .N  ( ( 1st `  A )  .N  ( 2nd `  B ) ) )  =  ( ( 1st `  A )  .N  ( ( 2nd `  A )  .N  ( 2nd `  B ) ) )
44 mulcompi 8488 . . . . . . . . . . . . . 14  |-  ( ( 2nd `  A )  .N  y )  =  ( y  .N  ( 2nd `  A ) )
4543, 44oveq12i 5804 . . . . . . . . . . . . 13  |-  ( ( ( 2nd `  A
)  .N  ( ( 1st `  A )  .N  ( 2nd `  B
) ) )  +N  ( ( 2nd `  A
)  .N  y ) )  =  ( ( ( 1st `  A
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) )  +N  ( y  .N  ( 2nd `  A ) ) )
4637, 45eqtr2i 2279 . . . . . . . . . . . 12  |-  ( ( ( 1st `  A
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) )  +N  ( y  .N  ( 2nd `  A ) ) )  =  ( ( 2nd `  A )  .N  ( ( ( 1st `  A )  .N  ( 2nd `  B
) )  +N  y
) )
47 mulasspi 8489 . . . . . . . . . . . . 13  |-  ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 1st `  B
) )  =  ( ( 2nd `  A
)  .N  ( ( 2nd `  A )  .N  ( 1st `  B
) ) )
48 mulcompi 8488 . . . . . . . . . . . . . 14  |-  ( ( 2nd `  A )  .N  ( 1st `  B
) )  =  ( ( 1st `  B
)  .N  ( 2nd `  A ) )
4948oveq2i 5803 . . . . . . . . . . . . 13  |-  ( ( 2nd `  A )  .N  ( ( 2nd `  A )  .N  ( 1st `  B ) ) )  =  ( ( 2nd `  A )  .N  ( ( 1st `  B )  .N  ( 2nd `  A ) ) )
5047, 49eqtri 2278 . . . . . . . . . . . 12  |-  ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 1st `  B
) )  =  ( ( 2nd `  A
)  .N  ( ( 1st `  B )  .N  ( 2nd `  A
) ) )
5136, 46, 503eqtr4g 2315 . . . . . . . . . . 11  |-  ( ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  +N  y )  =  ( ( 1st `  B
)  .N  ( 2nd `  A ) )  -> 
( ( ( 1st `  A )  .N  (
( 2nd `  A
)  .N  ( 2nd `  B ) ) )  +N  ( y  .N  ( 2nd `  A
) ) )  =  ( ( ( 2nd `  A )  .N  ( 2nd `  A ) )  .N  ( 1st `  B
) ) )
52 mulasspi 8489 . . . . . . . . . . . . 13  |-  ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  B
) )  =  ( ( 2nd `  A
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) )
5352eqcomi 2262 . . . . . . . . . . . 12  |-  ( ( 2nd `  A )  .N  ( ( 2nd `  A )  .N  ( 2nd `  B ) ) )  =  ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  B
) )
5453a1i 12 . . . . . . . . . . 11  |-  ( ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  +N  y )  =  ( ( 1st `  B
)  .N  ( 2nd `  A ) )  -> 
( ( 2nd `  A
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) )  =  ( ( ( 2nd `  A )  .N  ( 2nd `  A ) )  .N  ( 2nd `  B
) ) )
5551, 54opeq12d 3778 . . . . . . . . . 10  |-  ( ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  +N  y )  =  ( ( 1st `  B
)  .N  ( 2nd `  A ) )  ->  <. ( ( ( 1st `  A )  .N  (
( 2nd `  A
)  .N  ( 2nd `  B ) ) )  +N  ( y  .N  ( 2nd `  A
) ) ) ,  ( ( 2nd `  A
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) ) >.  =  <. ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 1st `  B ) ) ,  ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 2nd `  B ) )
>. )
5655eqeq2d 2269 . . . . . . . . 9  |-  ( ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  +N  y )  =  ( ( 1st `  B
)  .N  ( 2nd `  A ) )  -> 
( ( A  +pQ  <.
y ,  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) >. )  =  <. ( ( ( 1st `  A )  .N  ( ( 2nd `  A )  .N  ( 2nd `  B ) ) )  +N  ( y  .N  ( 2nd `  A
) ) ) ,  ( ( 2nd `  A
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) ) >.  <->  ( A  +pQ  <. y ,  ( ( 2nd `  A )  .N  ( 2nd `  B ) )
>. )  =  <. ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 1st `  B
) ) ,  ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  B
) ) >. )
)
5735, 56syl5ibcom 213 . . . . . . . 8  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  +N  y )  =  ( ( 1st `  B
)  .N  ( 2nd `  A ) )  -> 
( A  +pQ  <. y ,  ( ( 2nd `  A )  .N  ( 2nd `  B ) )
>. )  =  <. ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 1st `  B
) ) ,  ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  B
) ) >. )
)
58 fveq2 5458 . . . . . . . . 9  |-  ( ( A  +pQ  <. y ,  ( ( 2nd `  A )  .N  ( 2nd `  B ) )
>. )  =  <. ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 1st `  B
) ) ,  ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  B
) ) >.  ->  ( /Q `  ( A  +pQ  <.
y ,  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) >. )
)  =  ( /Q
`  <. ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 1st `  B ) ) ,  ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 2nd `  B ) )
>. ) )
59 adderpq 8548 . . . . . . . . . . 11  |-  ( ( /Q `  A )  +Q  ( /Q `  <. y ,  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) >. )
)  =  ( /Q
`  ( A  +pQ  <.
y ,  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) >. )
)
60 nqerid 8525 . . . . . . . . . . . . 13  |-  ( A  e.  Q.  ->  ( /Q `  A )  =  A )
6160ad2antrr 709 . . . . . . . . . . . 12  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( /Q `  A )  =  A )
6261oveq1d 5807 . . . . . . . . . . 11  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( ( /Q
`  A )  +Q  ( /Q `  <. y ,  ( ( 2nd `  A )  .N  ( 2nd `  B ) )
>. ) )  =  ( A  +Q  ( /Q
`  <. y ,  ( ( 2nd `  A
)  .N  ( 2nd `  B ) ) >.
) ) )
6359, 62syl5eqr 2304 . . . . . . . . . 10  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( /Q `  ( A  +pQ  <. y ,  ( ( 2nd `  A )  .N  ( 2nd `  B ) )
>. ) )  =  ( A  +Q  ( /Q
`  <. y ,  ( ( 2nd `  A
)  .N  ( 2nd `  B ) ) >.
) ) )
64 mulclpi 8485 . . . . . . . . . . . . . . . 16  |-  ( ( ( 2nd `  A
)  e.  N.  /\  ( 2nd `  A )  e.  N. )  -> 
( ( 2nd `  A
)  .N  ( 2nd `  A ) )  e. 
N. )
6517, 17, 64syl2anc 645 . . . . . . . . . . . . . . 15  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  e. 
N. )
6665adantr 453 . . . . . . . . . . . . . 14  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( ( 2nd `  A )  .N  ( 2nd `  A ) )  e.  N. )
6715adantr 453 . . . . . . . . . . . . . 14  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( 1st `  B
)  e.  N. )
6811adantr 453 . . . . . . . . . . . . . 14  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( 2nd `  B
)  e.  N. )
69 mulcanenq 8552 . . . . . . . . . . . . . 14  |-  ( ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  e. 
N.  /\  ( 1st `  B )  e.  N.  /\  ( 2nd `  B
)  e.  N. )  -> 
<. ( ( ( 2nd `  A )  .N  ( 2nd `  A ) )  .N  ( 1st `  B
) ) ,  ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  B
) ) >.  ~Q  <. ( 1st `  B ) ,  ( 2nd `  B
) >. )
7066, 67, 68, 69syl3anc 1187 . . . . . . . . . . . . 13  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  <. ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 1st `  B ) ) ,  ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 2nd `  B ) )
>.  ~Q  <. ( 1st `  B
) ,  ( 2nd `  B ) >. )
718ad2antlr 710 . . . . . . . . . . . . . 14  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  B  e.  ( N.  X.  N. )
)
72 1st2nd 6100 . . . . . . . . . . . . . 14  |-  ( ( Rel  ( N.  X.  N. )  /\  B  e.  ( N.  X.  N. ) )  ->  B  =  <. ( 1st `  B
) ,  ( 2nd `  B ) >. )
7322, 71, 72sylancr 647 . . . . . . . . . . . . 13  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  B  =  <. ( 1st `  B ) ,  ( 2nd `  B
) >. )
7470, 73breqtrrd 4023 . . . . . . . . . . . 12  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  <. ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 1st `  B ) ) ,  ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 2nd `  B ) )
>.  ~Q  B )
75 mulclpi 8485 . . . . . . . . . . . . . . 15  |-  ( ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  e. 
N.  /\  ( 1st `  B )  e.  N. )  ->  ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 1st `  B ) )  e.  N. )
7666, 67, 75syl2anc 645 . . . . . . . . . . . . . 14  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 1st `  B ) )  e.  N. )
77 mulclpi 8485 . . . . . . . . . . . . . . 15  |-  ( ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  e. 
N.  /\  ( 2nd `  B )  e.  N. )  ->  ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 2nd `  B ) )  e.  N. )
7866, 68, 77syl2anc 645 . . . . . . . . . . . . . 14  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 2nd `  B ) )  e.  N. )
79 opelxpi 4709 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( 2nd `  A )  .N  ( 2nd `  A ) )  .N  ( 1st `  B
) )  e.  N.  /\  ( ( ( 2nd `  A )  .N  ( 2nd `  A ) )  .N  ( 2nd `  B
) )  e.  N. )  ->  <. ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 1st `  B ) ) ,  ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 2nd `  B ) )
>.  e.  ( N.  X.  N. ) )
8076, 78, 79syl2anc 645 . . . . . . . . . . . . 13  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  <. ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 1st `  B ) ) ,  ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 2nd `  B ) )
>.  e.  ( N.  X.  N. ) )
81 nqereq 8527 . . . . . . . . . . . . 13  |-  ( (
<. ( ( ( 2nd `  A )  .N  ( 2nd `  A ) )  .N  ( 1st `  B
) ) ,  ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  B
) ) >.  e.  ( N.  X.  N. )  /\  B  e.  ( N.  X.  N. ) )  ->  ( <. (
( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 1st `  B
) ) ,  ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  B
) ) >.  ~Q  B  <->  ( /Q `  <. (
( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 1st `  B
) ) ,  ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  B
) ) >. )  =  ( /Q `  B ) ) )
8280, 71, 81syl2anc 645 . . . . . . . . . . . 12  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( <. (
( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 1st `  B
) ) ,  ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  B
) ) >.  ~Q  B  <->  ( /Q `  <. (
( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 1st `  B
) ) ,  ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  B
) ) >. )  =  ( /Q `  B ) ) )
8374, 82mpbid 203 . . . . . . . . . . 11  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( /Q `  <. ( ( ( 2nd `  A )  .N  ( 2nd `  A ) )  .N  ( 1st `  B
) ) ,  ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  B
) ) >. )  =  ( /Q `  B ) )
84 nqerid 8525 . . . . . . . . . . . 12  |-  ( B  e.  Q.  ->  ( /Q `  B )  =  B )
8584ad2antlr 710 . . . . . . . . . . 11  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( /Q `  B )  =  B )
8683, 85eqtrd 2290 . . . . . . . . . 10  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( /Q `  <. ( ( ( 2nd `  A )  .N  ( 2nd `  A ) )  .N  ( 1st `  B
) ) ,  ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  B
) ) >. )  =  B )
8763, 86eqeq12d 2272 . . . . . . . . 9  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( ( /Q
`  ( A  +pQ  <.
y ,  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) >. )
)  =  ( /Q
`  <. ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 1st `  B ) ) ,  ( ( ( 2nd `  A )  .N  ( 2nd `  A
) )  .N  ( 2nd `  B ) )
>. )  <->  ( A  +Q  ( /Q `  <. y ,  ( ( 2nd `  A )  .N  ( 2nd `  B ) )
>. ) )  =  B ) )
8858, 87syl5ib 212 . . . . . . . 8  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( ( A 
+pQ  <. y ,  ( ( 2nd `  A
)  .N  ( 2nd `  B ) ) >.
)  =  <. (
( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 1st `  B
) ) ,  ( ( ( 2nd `  A
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  B
) ) >.  ->  ( A  +Q  ( /Q `  <. y ,  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) >. )
)  =  B ) )
8957, 88syld 42 . . . . . . 7  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  +N  y )  =  ( ( 1st `  B
)  .N  ( 2nd `  A ) )  -> 
( A  +Q  ( /Q `  <. y ,  ( ( 2nd `  A
)  .N  ( 2nd `  B ) ) >.
) )  =  B ) )
90 fvex 5472 . . . . . . . 8  |-  ( /Q
`  <. y ,  ( ( 2nd `  A
)  .N  ( 2nd `  B ) ) >.
)  e.  _V
91 oveq2 5800 . . . . . . . . 9  |-  ( x  =  ( /Q `  <. y ,  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) >. )  ->  ( A  +Q  x
)  =  ( A  +Q  ( /Q `  <. y ,  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) >. )
) )
9291eqeq1d 2266 . . . . . . . 8  |-  ( x  =  ( /Q `  <. y ,  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) >. )  ->  ( ( A  +Q  x )  =  B  <-> 
( A  +Q  ( /Q `  <. y ,  ( ( 2nd `  A
)  .N  ( 2nd `  B ) ) >.
) )  =  B ) )
9390, 92cla4ev 2850 . . . . . . 7  |-  ( ( A  +Q  ( /Q
`  <. y ,  ( ( 2nd `  A
)  .N  ( 2nd `  B ) ) >.
) )  =  B  ->  E. x ( A  +Q  x )  =  B )
9489, 93syl6 31 . . . . . 6  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  y  e.  N. )  ->  ( ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  +N  y )  =  ( ( 1st `  B
)  .N  ( 2nd `  A ) )  ->  E. x ( A  +Q  x )  =  B ) )
9594rexlimdva 2642 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( E. y  e. 
N.  ( ( ( 1st `  A )  .N  ( 2nd `  B
) )  +N  y
)  =  ( ( 1st `  B )  .N  ( 2nd `  A
) )  ->  E. x
( A  +Q  x
)  =  B ) )
9621, 95sylbid 208 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( ( ( 1st `  A )  .N  ( 2nd `  B ) ) 
<N  ( ( 1st `  B
)  .N  ( 2nd `  A ) )  ->  E. x ( A  +Q  x )  =  B ) )
973, 96sylbid 208 . . 3  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( A  <Q  B  ->  E. x ( A  +Q  x )  =  B ) )
982, 97mpcom 34 . 2  |-  ( A 
<Q  B  ->  E. x
( A  +Q  x
)  =  B )
99 eleq1 2318 . . . . . . 7  |-  ( ( A  +Q  x )  =  B  ->  (
( A  +Q  x
)  e.  Q.  <->  B  e.  Q. ) )
10099biimparc 475 . . . . . 6  |-  ( ( B  e.  Q.  /\  ( A  +Q  x
)  =  B )  ->  ( A  +Q  x )  e.  Q. )
101 addnqf 8540 . . . . . . . 8  |-  +Q  :
( Q.  X.  Q. )
--> Q.
102101fdmi 5332 . . . . . . 7  |-  dom  +Q  =  ( Q.  X.  Q. )
103 0nnq 8516 . . . . . . 7  |-  -.  (/)  e.  Q.
104102, 103ndmovrcl 5940 . . . . . 6  |-  ( ( A  +Q  x )  e.  Q.  ->  ( A  e.  Q.  /\  x  e.  Q. ) )
105 ltaddnq 8566 . . . . . 6  |-  ( ( A  e.  Q.  /\  x  e.  Q. )  ->  A  <Q  ( A  +Q  x ) )
106100, 104, 1053syl 20 . . . . 5  |-  ( ( B  e.  Q.  /\  ( A  +Q  x
)  =  B )  ->  A  <Q  ( A  +Q  x ) )
107 simpr 449 . . . . 5  |-  ( ( B  e.  Q.  /\  ( A  +Q  x
)  =  B )  ->  ( A  +Q  x )  =  B )
108106, 107breqtrd 4021 . . . 4  |-  ( ( B  e.  Q.  /\  ( A  +Q  x
)  =  B )  ->  A  <Q  B )
109108ex 425 . . 3  |-  ( B  e.  Q.  ->  (
( A  +Q  x
)  =  B  ->  A  <Q  B ) )
110109exlimdv 1933 . 2  |-  ( B  e.  Q.  ->  ( E. x ( A  +Q  x )  =  B  ->  A  <Q  B ) )
11198, 110impbid2 197 1  |-  ( B  e.  Q.  ->  ( A  <Q  B  <->  E. x
( A  +Q  x
)  =  B ) )
Colors of variables: wff set class
Syntax hints:    -> wi 6    <-> wb 178    /\ wa 360   E.wex 1537    = wceq 1619    e. wcel 1621   E.wrex 2519   <.cop 3617   class class class wbr 3997    X. cxp 4659   Rel wrel 4666   ` cfv 4673  (class class class)co 5792   1stc1st 6054   2ndc2nd 6055   N.cnpi 8434    +N cpli 8435    .N cmi 8436    <N clti 8437    +pQ cplpq 8438    ~Q ceq 8441   Q.cnq 8442   /Qcerq 8444    +Q cplq 8445    <Q cltq 8448
This theorem is referenced by:  ltbtwnnq  8570  prnmadd  8589  ltexprlem4  8631  ltexprlem7  8634  prlem936  8639
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 1927  ax-ext 2239  ax-sep 4115  ax-nul 4123  ax-pr 4186  ax-un 4484
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 1884  df-eu 2122  df-mo 2123  df-clab 2245  df-cleq 2251  df-clel 2254  df-nfc 2383  df-ne 2423  df-ral 2523  df-rex 2524  df-reu 2525  df-rmo 2526  df-rab 2527  df-v 2765  df-sbc 2967  df-csb 3057  df-dif 3130  df-un 3132  df-in 3134  df-ss 3141  df-pss 3143  df-nul 3431  df-if 3540  df-pw 3601  df-sn 3620  df-pr 3621  df-tp 3622  df-op 3623  df-uni 3802  df-int 3837  df-iun 3881  df-br 3998  df-opab 4052  df-mpt 4053  df-tr 4088  df-eprel 4277  df-id 4281  df-po 4286  df-so 4287  df-fr 4324  df-we 4326  df-ord 4367  df-on 4368  df-lim 4369  df-suc 4370  df-om 4629  df-xp 4675  df-rel 4676  df-cnv 4677  df-co 4678  df-dm 4679  df-rn 4680  df-res 4681  df-ima 4682  df-fun 4683  df-fn 4684  df-f 4685  df-f1 4686  df-fo 4687  df-f1o 4688  df-fv 4689  df-ov 5795  df-oprab 5796  df-mpt2 5797  df-1st 6056  df-2nd 6057  df-recs 6356  df-rdg 6391  df-1o 6447  df-oadd 6451  df-omul 6452  df-er 6628  df-ni 8464  df-pli 8465  df-mi 8466  df-lti 8467  df-plpq 8500  df-mpq 8501  df-ltpq 8502  df-enq 8503  df-nq 8504  df-erq 8505  df-plq 8506  df-mq 8507  df-1nq 8508  df-ltnq 8510
  Copyright terms: Public domain W3C validator