ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ltexprlemloc Unicode version

Theorem ltexprlemloc 7569
Description: Our constructed difference is located. Lemma for ltexpri 7575. (Contributed by Jim Kingdon, 17-Dec-2019.)
Hypothesis
Ref Expression
ltexprlem.1  |-  C  = 
<. { x  e.  Q.  |  E. y ( y  e.  ( 2nd `  A
)  /\  ( y  +Q  x )  e.  ( 1st `  B ) ) } ,  {
x  e.  Q.  |  E. y ( y  e.  ( 1st `  A
)  /\  ( y  +Q  x )  e.  ( 2nd `  B ) ) } >.
Assertion
Ref Expression
ltexprlemloc  |-  ( A 
<P  B  ->  A. q  e.  Q.  A. r  e. 
Q.  ( q  <Q 
r  ->  ( q  e.  ( 1st `  C
)  \/  r  e.  ( 2nd `  C
) ) ) )
Distinct variable groups:    x, y, q, r, A    x, B, y, q, r    x, C, y, q, r

Proof of Theorem ltexprlemloc
Dummy variables  z  w  f  g  h are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ltexnqi 7371 . . . . . 6  |-  ( q 
<Q  r  ->  E. w  e.  Q.  ( q  +Q  w )  =  r )
21adantl 275 . . . . 5  |-  ( ( A  <P  B  /\  q  <Q  r )  ->  E. w  e.  Q.  ( q  +Q  w
)  =  r )
3 ltrelpr 7467 . . . . . . . . . 10  |-  <P  C_  ( P.  X.  P. )
43brel 4663 . . . . . . . . 9  |-  ( A 
<P  B  ->  ( A  e.  P.  /\  B  e.  P. ) )
54simpld 111 . . . . . . . 8  |-  ( A 
<P  B  ->  A  e. 
P. )
6 prop 7437 . . . . . . . . 9  |-  ( A  e.  P.  ->  <. ( 1st `  A ) ,  ( 2nd `  A
) >.  e.  P. )
7 prarloc 7465 . . . . . . . . 9  |-  ( (
<. ( 1st `  A
) ,  ( 2nd `  A ) >.  e.  P.  /\  w  e.  Q. )  ->  E. z  e.  ( 1st `  A ) E. y  e.  ( 2nd `  A ) y  <Q  ( z  +Q  w ) )
86, 7sylan 281 . . . . . . . 8  |-  ( ( A  e.  P.  /\  w  e.  Q. )  ->  E. z  e.  ( 1st `  A ) E. y  e.  ( 2nd `  A ) y  <Q  ( z  +Q  w ) )
95, 8sylan 281 . . . . . . 7  |-  ( ( A  <P  B  /\  w  e.  Q. )  ->  E. z  e.  ( 1st `  A ) E. y  e.  ( 2nd `  A ) y  <Q  ( z  +Q  w ) )
109ad2ant2r 506 . . . . . 6  |-  ( ( ( A  <P  B  /\  q  <Q  r )  /\  ( w  e.  Q.  /\  ( q  +Q  w
)  =  r ) )  ->  E. z  e.  ( 1st `  A
) E. y  e.  ( 2nd `  A
) y  <Q  (
z  +Q  w ) )
114simprd 113 . . . . . . . . . . . . . 14  |-  ( A 
<P  B  ->  B  e. 
P. )
1211ad2antrr 485 . . . . . . . . . . . . 13  |-  ( ( ( A  <P  B  /\  q  <Q  r )  /\  ( w  e.  Q.  /\  ( q  +Q  w
)  =  r ) )  ->  B  e.  P. )
1312ad2antrr 485 . . . . . . . . . . . 12  |-  ( ( ( ( ( A 
<P  B  /\  q  <Q  r )  /\  (
w  e.  Q.  /\  ( q  +Q  w
)  =  r ) )  /\  ( z  e.  ( 1st `  A
)  /\  y  e.  ( 2nd `  A ) ) )  /\  y  <Q  ( z  +Q  w
) )  ->  B  e.  P. )
14 ltanqg 7362 . . . . . . . . . . . . . . . 16  |-  ( ( f  e.  Q.  /\  g  e.  Q.  /\  h  e.  Q. )  ->  (
f  <Q  g  <->  ( h  +Q  f )  <Q  (
h  +Q  g ) ) )
1514adantl 275 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( A 
<P  B  /\  q  <Q  r )  /\  (
w  e.  Q.  /\  ( q  +Q  w
)  =  r ) )  /\  ( z  e.  ( 1st `  A
)  /\  y  e.  ( 2nd `  A ) ) )  /\  (
f  e.  Q.  /\  g  e.  Q.  /\  h  e.  Q. ) )  -> 
( f  <Q  g  <->  ( h  +Q  f ) 
<Q  ( h  +Q  g
) ) )
16 elprnqu 7444 . . . . . . . . . . . . . . . . . . 19  |-  ( (
<. ( 1st `  A
) ,  ( 2nd `  A ) >.  e.  P.  /\  y  e.  ( 2nd `  A ) )  -> 
y  e.  Q. )
176, 16sylan 281 . . . . . . . . . . . . . . . . . 18  |-  ( ( A  e.  P.  /\  y  e.  ( 2nd `  A ) )  -> 
y  e.  Q. )
185, 17sylan 281 . . . . . . . . . . . . . . . . 17  |-  ( ( A  <P  B  /\  y  e.  ( 2nd `  A ) )  -> 
y  e.  Q. )
1918adantlr 474 . . . . . . . . . . . . . . . 16  |-  ( ( ( A  <P  B  /\  q  <Q  r )  /\  y  e.  ( 2nd `  A ) )  -> 
y  e.  Q. )
2019ad2ant2rl 508 . . . . . . . . . . . . . . 15  |-  ( ( ( ( A  <P  B  /\  q  <Q  r
)  /\  ( w  e.  Q.  /\  ( q  +Q  w )  =  r ) )  /\  ( z  e.  ( 1st `  A )  /\  y  e.  ( 2nd `  A ) ) )  ->  y  e.  Q. )
21 elprnql 7443 . . . . . . . . . . . . . . . . . . . 20  |-  ( (
<. ( 1st `  A
) ,  ( 2nd `  A ) >.  e.  P.  /\  z  e.  ( 1st `  A ) )  -> 
z  e.  Q. )
226, 21sylan 281 . . . . . . . . . . . . . . . . . . 19  |-  ( ( A  e.  P.  /\  z  e.  ( 1st `  A ) )  -> 
z  e.  Q. )
235, 22sylan 281 . . . . . . . . . . . . . . . . . 18  |-  ( ( A  <P  B  /\  z  e.  ( 1st `  A ) )  -> 
z  e.  Q. )
2423adantlr 474 . . . . . . . . . . . . . . . . 17  |-  ( ( ( A  <P  B  /\  q  <Q  r )  /\  z  e.  ( 1st `  A ) )  -> 
z  e.  Q. )
2524ad2ant2r 506 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( A  <P  B  /\  q  <Q  r
)  /\  ( w  e.  Q.  /\  ( q  +Q  w )  =  r ) )  /\  ( z  e.  ( 1st `  A )  /\  y  e.  ( 2nd `  A ) ) )  ->  z  e.  Q. )
26 simplrl 530 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( A  <P  B  /\  q  <Q  r
)  /\  ( w  e.  Q.  /\  ( q  +Q  w )  =  r ) )  /\  ( z  e.  ( 1st `  A )  /\  y  e.  ( 2nd `  A ) ) )  ->  w  e.  Q. )
27 addclnq 7337 . . . . . . . . . . . . . . . 16  |-  ( ( z  e.  Q.  /\  w  e.  Q. )  ->  ( z  +Q  w
)  e.  Q. )
2825, 26, 27syl2anc 409 . . . . . . . . . . . . . . 15  |-  ( ( ( ( A  <P  B  /\  q  <Q  r
)  /\  ( w  e.  Q.  /\  ( q  +Q  w )  =  r ) )  /\  ( z  e.  ( 1st `  A )  /\  y  e.  ( 2nd `  A ) ) )  ->  (
z  +Q  w )  e.  Q. )
29 ltrelnq 7327 . . . . . . . . . . . . . . . . . . 19  |-  <Q  C_  ( Q.  X.  Q. )
3029brel 4663 . . . . . . . . . . . . . . . . . 18  |-  ( q 
<Q  r  ->  ( q  e.  Q.  /\  r  e.  Q. ) )
3130simpld 111 . . . . . . . . . . . . . . . . 17  |-  ( q 
<Q  r  ->  q  e. 
Q. )
3231adantl 275 . . . . . . . . . . . . . . . 16  |-  ( ( A  <P  B  /\  q  <Q  r )  -> 
q  e.  Q. )
3332ad2antrr 485 . . . . . . . . . . . . . . 15  |-  ( ( ( ( A  <P  B  /\  q  <Q  r
)  /\  ( w  e.  Q.  /\  ( q  +Q  w )  =  r ) )  /\  ( z  e.  ( 1st `  A )  /\  y  e.  ( 2nd `  A ) ) )  ->  q  e.  Q. )
34 addcomnqg 7343 . . . . . . . . . . . . . . . 16  |-  ( ( f  e.  Q.  /\  g  e.  Q. )  ->  ( f  +Q  g
)  =  ( g  +Q  f ) )
3534adantl 275 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( A 
<P  B  /\  q  <Q  r )  /\  (
w  e.  Q.  /\  ( q  +Q  w
)  =  r ) )  /\  ( z  e.  ( 1st `  A
)  /\  y  e.  ( 2nd `  A ) ) )  /\  (
f  e.  Q.  /\  g  e.  Q. )
)  ->  ( f  +Q  g )  =  ( g  +Q  f ) )
3615, 20, 28, 33, 35caovord2d 6022 . . . . . . . . . . . . . 14  |-  ( ( ( ( A  <P  B  /\  q  <Q  r
)  /\  ( w  e.  Q.  /\  ( q  +Q  w )  =  r ) )  /\  ( z  e.  ( 1st `  A )  /\  y  e.  ( 2nd `  A ) ) )  ->  (
y  <Q  ( z  +Q  w )  <->  ( y  +Q  q )  <Q  (
( z  +Q  w
)  +Q  q ) ) )
37 addassnqg 7344 . . . . . . . . . . . . . . . . 17  |-  ( ( z  e.  Q.  /\  w  e.  Q.  /\  q  e.  Q. )  ->  (
( z  +Q  w
)  +Q  q )  =  ( z  +Q  ( w  +Q  q
) ) )
3825, 26, 33, 37syl3anc 1233 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( A  <P  B  /\  q  <Q  r
)  /\  ( w  e.  Q.  /\  ( q  +Q  w )  =  r ) )  /\  ( z  e.  ( 1st `  A )  /\  y  e.  ( 2nd `  A ) ) )  ->  (
( z  +Q  w
)  +Q  q )  =  ( z  +Q  ( w  +Q  q
) ) )
39 addcomnqg 7343 . . . . . . . . . . . . . . . . . 18  |-  ( ( w  e.  Q.  /\  q  e.  Q. )  ->  ( w  +Q  q
)  =  ( q  +Q  w ) )
4026, 33, 39syl2anc 409 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ( A  <P  B  /\  q  <Q  r
)  /\  ( w  e.  Q.  /\  ( q  +Q  w )  =  r ) )  /\  ( z  e.  ( 1st `  A )  /\  y  e.  ( 2nd `  A ) ) )  ->  (
w  +Q  q )  =  ( q  +Q  w ) )
4140oveq2d 5869 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( A  <P  B  /\  q  <Q  r
)  /\  ( w  e.  Q.  /\  ( q  +Q  w )  =  r ) )  /\  ( z  e.  ( 1st `  A )  /\  y  e.  ( 2nd `  A ) ) )  ->  (
z  +Q  ( w  +Q  q ) )  =  ( z  +Q  ( q  +Q  w
) ) )
42 simplrr 531 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ( A  <P  B  /\  q  <Q  r
)  /\  ( w  e.  Q.  /\  ( q  +Q  w )  =  r ) )  /\  ( z  e.  ( 1st `  A )  /\  y  e.  ( 2nd `  A ) ) )  ->  (
q  +Q  w )  =  r )
4342oveq2d 5869 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( A  <P  B  /\  q  <Q  r
)  /\  ( w  e.  Q.  /\  ( q  +Q  w )  =  r ) )  /\  ( z  e.  ( 1st `  A )  /\  y  e.  ( 2nd `  A ) ) )  ->  (
z  +Q  ( q  +Q  w ) )  =  ( z  +Q  r ) )
4438, 41, 433eqtrd 2207 . . . . . . . . . . . . . . 15  |-  ( ( ( ( A  <P  B  /\  q  <Q  r
)  /\  ( w  e.  Q.  /\  ( q  +Q  w )  =  r ) )  /\  ( z  e.  ( 1st `  A )  /\  y  e.  ( 2nd `  A ) ) )  ->  (
( z  +Q  w
)  +Q  q )  =  ( z  +Q  r ) )
4544breq2d 4001 . . . . . . . . . . . . . 14  |-  ( ( ( ( A  <P  B  /\  q  <Q  r
)  /\  ( w  e.  Q.  /\  ( q  +Q  w )  =  r ) )  /\  ( z  e.  ( 1st `  A )  /\  y  e.  ( 2nd `  A ) ) )  ->  (
( y  +Q  q
)  <Q  ( ( z  +Q  w )  +Q  q )  <->  ( y  +Q  q )  <Q  (
z  +Q  r ) ) )
4636, 45bitrd 187 . . . . . . . . . . . . 13  |-  ( ( ( ( A  <P  B  /\  q  <Q  r
)  /\  ( w  e.  Q.  /\  ( q  +Q  w )  =  r ) )  /\  ( z  e.  ( 1st `  A )  /\  y  e.  ( 2nd `  A ) ) )  ->  (
y  <Q  ( z  +Q  w )  <->  ( y  +Q  q )  <Q  (
z  +Q  r ) ) )
4746biimpa 294 . . . . . . . . . . . 12  |-  ( ( ( ( ( A 
<P  B  /\  q  <Q  r )  /\  (
w  e.  Q.  /\  ( q  +Q  w
)  =  r ) )  /\  ( z  e.  ( 1st `  A
)  /\  y  e.  ( 2nd `  A ) ) )  /\  y  <Q  ( z  +Q  w
) )  ->  (
y  +Q  q ) 
<Q  ( z  +Q  r
) )
48 prop 7437 . . . . . . . . . . . . 13  |-  ( B  e.  P.  ->  <. ( 1st `  B ) ,  ( 2nd `  B
) >.  e.  P. )
49 prloc 7453 . . . . . . . . . . . . 13  |-  ( (
<. ( 1st `  B
) ,  ( 2nd `  B ) >.  e.  P.  /\  ( y  +Q  q
)  <Q  ( z  +Q  r ) )  -> 
( ( y  +Q  q )  e.  ( 1st `  B )  \/  ( z  +Q  r )  e.  ( 2nd `  B ) ) )
5048, 49sylan 281 . . . . . . . . . . . 12  |-  ( ( B  e.  P.  /\  ( y  +Q  q
)  <Q  ( z  +Q  r ) )  -> 
( ( y  +Q  q )  e.  ( 1st `  B )  \/  ( z  +Q  r )  e.  ( 2nd `  B ) ) )
5113, 47, 50syl2anc 409 . . . . . . . . . . 11  |-  ( ( ( ( ( A 
<P  B  /\  q  <Q  r )  /\  (
w  e.  Q.  /\  ( q  +Q  w
)  =  r ) )  /\  ( z  e.  ( 1st `  A
)  /\  y  e.  ( 2nd `  A ) ) )  /\  y  <Q  ( z  +Q  w
) )  ->  (
( y  +Q  q
)  e.  ( 1st `  B )  \/  (
z  +Q  r )  e.  ( 2nd `  B
) ) )
5251ex 114 . . . . . . . . . 10  |-  ( ( ( ( A  <P  B  /\  q  <Q  r
)  /\  ( w  e.  Q.  /\  ( q  +Q  w )  =  r ) )  /\  ( z  e.  ( 1st `  A )  /\  y  e.  ( 2nd `  A ) ) )  ->  (
y  <Q  ( z  +Q  w )  ->  (
( y  +Q  q
)  e.  ( 1st `  B )  \/  (
z  +Q  r )  e.  ( 2nd `  B
) ) ) )
5352anassrs 398 . . . . . . . . 9  |-  ( ( ( ( ( A 
<P  B  /\  q  <Q  r )  /\  (
w  e.  Q.  /\  ( q  +Q  w
)  =  r ) )  /\  z  e.  ( 1st `  A
) )  /\  y  e.  ( 2nd `  A
) )  ->  (
y  <Q  ( z  +Q  w )  ->  (
( y  +Q  q
)  e.  ( 1st `  B )  \/  (
z  +Q  r )  e.  ( 2nd `  B
) ) ) )
5453reximdva 2572 . . . . . . . 8  |-  ( ( ( ( A  <P  B  /\  q  <Q  r
)  /\  ( w  e.  Q.  /\  ( q  +Q  w )  =  r ) )  /\  z  e.  ( 1st `  A ) )  -> 
( E. y  e.  ( 2nd `  A
) y  <Q  (
z  +Q  w )  ->  E. y  e.  ( 2nd `  A ) ( ( y  +Q  q )  e.  ( 1st `  B )  \/  ( z  +Q  r )  e.  ( 2nd `  B ) ) ) )
5554reximdva 2572 . . . . . . 7  |-  ( ( ( A  <P  B  /\  q  <Q  r )  /\  ( w  e.  Q.  /\  ( q  +Q  w
)  =  r ) )  ->  ( E. z  e.  ( 1st `  A ) E. y  e.  ( 2nd `  A
) y  <Q  (
z  +Q  w )  ->  E. z  e.  ( 1st `  A ) E. y  e.  ( 2nd `  A ) ( ( y  +Q  q )  e.  ( 1st `  B )  \/  ( z  +Q  r )  e.  ( 2nd `  B ) ) ) )
56 prml 7439 . . . . . . . . . . . 12  |-  ( <.
( 1st `  A
) ,  ( 2nd `  A ) >.  e.  P.  ->  E. z  e.  Q.  z  e.  ( 1st `  A ) )
57 rexex 2516 . . . . . . . . . . . 12  |-  ( E. z  e.  Q.  z  e.  ( 1st `  A
)  ->  E. z 
z  e.  ( 1st `  A ) )
586, 56, 573syl 17 . . . . . . . . . . 11  |-  ( A  e.  P.  ->  E. z 
z  e.  ( 1st `  A ) )
59 r19.45mv 3508 . . . . . . . . . . 11  |-  ( E. z  z  e.  ( 1st `  A )  ->  ( E. z  e.  ( 1st `  A
) ( E. y  e.  ( 2nd `  A
) ( y  +Q  q )  e.  ( 1st `  B )  \/  ( z  +Q  r )  e.  ( 2nd `  B ) )  <->  ( E. y  e.  ( 2nd `  A
) ( y  +Q  q )  e.  ( 1st `  B )  \/  E. z  e.  ( 1st `  A
) ( z  +Q  r )  e.  ( 2nd `  B ) ) ) )
605, 58, 593syl 17 . . . . . . . . . 10  |-  ( A 
<P  B  ->  ( E. z  e.  ( 1st `  A ) ( E. y  e.  ( 2nd `  A ) ( y  +Q  q )  e.  ( 1st `  B
)  \/  ( z  +Q  r )  e.  ( 2nd `  B
) )  <->  ( E. y  e.  ( 2nd `  A ) ( y  +Q  q )  e.  ( 1st `  B
)  \/  E. z  e.  ( 1st `  A
) ( z  +Q  r )  e.  ( 2nd `  B ) ) ) )
6160adantr 274 . . . . . . . . 9  |-  ( ( A  <P  B  /\  q  <Q  r )  -> 
( E. z  e.  ( 1st `  A
) ( E. y  e.  ( 2nd `  A
) ( y  +Q  q )  e.  ( 1st `  B )  \/  ( z  +Q  r )  e.  ( 2nd `  B ) )  <->  ( E. y  e.  ( 2nd `  A
) ( y  +Q  q )  e.  ( 1st `  B )  \/  E. z  e.  ( 1st `  A
) ( z  +Q  r )  e.  ( 2nd `  B ) ) ) )
62 prmu 7440 . . . . . . . . . . . . 13  |-  ( <.
( 1st `  A
) ,  ( 2nd `  A ) >.  e.  P.  ->  E. x  e.  Q.  x  e.  ( 2nd `  A ) )
63 rexex 2516 . . . . . . . . . . . . 13  |-  ( E. x  e.  Q.  x  e.  ( 2nd `  A
)  ->  E. x  x  e.  ( 2nd `  A ) )
646, 62, 633syl 17 . . . . . . . . . . . 12  |-  ( A  e.  P.  ->  E. x  x  e.  ( 2nd `  A ) )
65 r19.43 2628 . . . . . . . . . . . . 13  |-  ( E. y  e.  ( 2nd `  A ) ( ( y  +Q  q )  e.  ( 1st `  B
)  \/  ( z  +Q  r )  e.  ( 2nd `  B
) )  <->  ( E. y  e.  ( 2nd `  A ) ( y  +Q  q )  e.  ( 1st `  B
)  \/  E. y  e.  ( 2nd `  A
) ( z  +Q  r )  e.  ( 2nd `  B ) ) )
66 r19.9rmv 3506 . . . . . . . . . . . . . 14  |-  ( E. x  x  e.  ( 2nd `  A )  ->  ( ( z  +Q  r )  e.  ( 2nd `  B
)  <->  E. y  e.  ( 2nd `  A ) ( z  +Q  r
)  e.  ( 2nd `  B ) ) )
6766orbi2d 785 . . . . . . . . . . . . 13  |-  ( E. x  x  e.  ( 2nd `  A )  ->  ( ( E. y  e.  ( 2nd `  A ) ( y  +Q  q )  e.  ( 1st `  B
)  \/  ( z  +Q  r )  e.  ( 2nd `  B
) )  <->  ( E. y  e.  ( 2nd `  A ) ( y  +Q  q )  e.  ( 1st `  B
)  \/  E. y  e.  ( 2nd `  A
) ( z  +Q  r )  e.  ( 2nd `  B ) ) ) )
6865, 67bitr4id 198 . . . . . . . . . . . 12  |-  ( E. x  x  e.  ( 2nd `  A )  ->  ( E. y  e.  ( 2nd `  A
) ( ( y  +Q  q )  e.  ( 1st `  B
)  \/  ( z  +Q  r )  e.  ( 2nd `  B
) )  <->  ( E. y  e.  ( 2nd `  A ) ( y  +Q  q )  e.  ( 1st `  B
)  \/  ( z  +Q  r )  e.  ( 2nd `  B
) ) ) )
695, 64, 683syl 17 . . . . . . . . . . 11  |-  ( A 
<P  B  ->  ( E. y  e.  ( 2nd `  A ) ( ( y  +Q  q )  e.  ( 1st `  B
)  \/  ( z  +Q  r )  e.  ( 2nd `  B
) )  <->  ( E. y  e.  ( 2nd `  A ) ( y  +Q  q )  e.  ( 1st `  B
)  \/  ( z  +Q  r )  e.  ( 2nd `  B
) ) ) )
7069rexbidv 2471 . . . . . . . . . 10  |-  ( A 
<P  B  ->  ( E. z  e.  ( 1st `  A ) E. y  e.  ( 2nd `  A
) ( ( y  +Q  q )  e.  ( 1st `  B
)  \/  ( z  +Q  r )  e.  ( 2nd `  B
) )  <->  E. z  e.  ( 1st `  A
) ( E. y  e.  ( 2nd `  A
) ( y  +Q  q )  e.  ( 1st `  B )  \/  ( z  +Q  r )  e.  ( 2nd `  B ) ) ) )
7170adantr 274 . . . . . . . . 9  |-  ( ( A  <P  B  /\  q  <Q  r )  -> 
( E. z  e.  ( 1st `  A
) E. y  e.  ( 2nd `  A
) ( ( y  +Q  q )  e.  ( 1st `  B
)  \/  ( z  +Q  r )  e.  ( 2nd `  B
) )  <->  E. z  e.  ( 1st `  A
) ( E. y  e.  ( 2nd `  A
) ( y  +Q  q )  e.  ( 1st `  B )  \/  ( z  +Q  r )  e.  ( 2nd `  B ) ) ) )
72 ltexprlem.1 . . . . . . . . . . . . . 14  |-  C  = 
<. { x  e.  Q.  |  E. y ( y  e.  ( 2nd `  A
)  /\  ( y  +Q  x )  e.  ( 1st `  B ) ) } ,  {
x  e.  Q.  |  E. y ( y  e.  ( 1st `  A
)  /\  ( y  +Q  x )  e.  ( 2nd `  B ) ) } >.
7372ltexprlemell 7560 . . . . . . . . . . . . 13  |-  ( q  e.  ( 1st `  C
)  <->  ( q  e. 
Q.  /\  E. y
( y  e.  ( 2nd `  A )  /\  ( y  +Q  q )  e.  ( 1st `  B ) ) ) )
7472ltexprlemelu 7561 . . . . . . . . . . . . . 14  |-  ( r  e.  ( 2nd `  C
)  <->  ( r  e. 
Q.  /\  E. y
( y  e.  ( 1st `  A )  /\  ( y  +Q  r )  e.  ( 2nd `  B ) ) ) )
75 eleq1 2233 . . . . . . . . . . . . . . . . 17  |-  ( y  =  z  ->  (
y  e.  ( 1st `  A )  <->  z  e.  ( 1st `  A ) ) )
76 oveq1 5860 . . . . . . . . . . . . . . . . . 18  |-  ( y  =  z  ->  (
y  +Q  r )  =  ( z  +Q  r ) )
7776eleq1d 2239 . . . . . . . . . . . . . . . . 17  |-  ( y  =  z  ->  (
( y  +Q  r
)  e.  ( 2nd `  B )  <->  ( z  +Q  r )  e.  ( 2nd `  B ) ) )
7875, 77anbi12d 470 . . . . . . . . . . . . . . . 16  |-  ( y  =  z  ->  (
( y  e.  ( 1st `  A )  /\  ( y  +Q  r )  e.  ( 2nd `  B ) )  <->  ( z  e.  ( 1st `  A
)  /\  ( z  +Q  r )  e.  ( 2nd `  B ) ) ) )
7978cbvexv 1911 . . . . . . . . . . . . . . 15  |-  ( E. y ( y  e.  ( 1st `  A
)  /\  ( y  +Q  r )  e.  ( 2nd `  B ) )  <->  E. z ( z  e.  ( 1st `  A
)  /\  ( z  +Q  r )  e.  ( 2nd `  B ) ) )
8079anbi2i 454 . . . . . . . . . . . . . 14  |-  ( ( r  e.  Q.  /\  E. y ( y  e.  ( 1st `  A
)  /\  ( y  +Q  r )  e.  ( 2nd `  B ) ) )  <->  ( r  e.  Q.  /\  E. z
( z  e.  ( 1st `  A )  /\  ( z  +Q  r )  e.  ( 2nd `  B ) ) ) )
8174, 80bitri 183 . . . . . . . . . . . . 13  |-  ( r  e.  ( 2nd `  C
)  <->  ( r  e. 
Q.  /\  E. z
( z  e.  ( 1st `  A )  /\  ( z  +Q  r )  e.  ( 2nd `  B ) ) ) )
8273, 81orbi12i 759 . . . . . . . . . . . 12  |-  ( ( q  e.  ( 1st `  C )  \/  r  e.  ( 2nd `  C
) )  <->  ( (
q  e.  Q.  /\  E. y ( y  e.  ( 2nd `  A
)  /\  ( y  +Q  q )  e.  ( 1st `  B ) ) )  \/  (
r  e.  Q.  /\  E. z ( z  e.  ( 1st `  A
)  /\  ( z  +Q  r )  e.  ( 2nd `  B ) ) ) ) )
83 ibar 299 . . . . . . . . . . . . . . 15  |-  ( q  e.  Q.  ->  ( E. y ( y  e.  ( 2nd `  A
)  /\  ( y  +Q  q )  e.  ( 1st `  B ) )  <->  ( q  e. 
Q.  /\  E. y
( y  e.  ( 2nd `  A )  /\  ( y  +Q  q )  e.  ( 1st `  B ) ) ) ) )
8483adantr 274 . . . . . . . . . . . . . 14  |-  ( ( q  e.  Q.  /\  r  e.  Q. )  ->  ( E. y ( y  e.  ( 2nd `  A )  /\  (
y  +Q  q )  e.  ( 1st `  B
) )  <->  ( q  e.  Q.  /\  E. y
( y  e.  ( 2nd `  A )  /\  ( y  +Q  q )  e.  ( 1st `  B ) ) ) ) )
85 ibar 299 . . . . . . . . . . . . . . 15  |-  ( r  e.  Q.  ->  ( E. z ( z  e.  ( 1st `  A
)  /\  ( z  +Q  r )  e.  ( 2nd `  B ) )  <->  ( r  e. 
Q.  /\  E. z
( z  e.  ( 1st `  A )  /\  ( z  +Q  r )  e.  ( 2nd `  B ) ) ) ) )
8685adantl 275 . . . . . . . . . . . . . 14  |-  ( ( q  e.  Q.  /\  r  e.  Q. )  ->  ( E. z ( z  e.  ( 1st `  A )  /\  (
z  +Q  r )  e.  ( 2nd `  B
) )  <->  ( r  e.  Q.  /\  E. z
( z  e.  ( 1st `  A )  /\  ( z  +Q  r )  e.  ( 2nd `  B ) ) ) ) )
8784, 86orbi12d 788 . . . . . . . . . . . . 13  |-  ( ( q  e.  Q.  /\  r  e.  Q. )  ->  ( ( E. y
( y  e.  ( 2nd `  A )  /\  ( y  +Q  q )  e.  ( 1st `  B ) )  \/  E. z
( z  e.  ( 1st `  A )  /\  ( z  +Q  r )  e.  ( 2nd `  B ) ) )  <->  ( (
q  e.  Q.  /\  E. y ( y  e.  ( 2nd `  A
)  /\  ( y  +Q  q )  e.  ( 1st `  B ) ) )  \/  (
r  e.  Q.  /\  E. z ( z  e.  ( 1st `  A
)  /\  ( z  +Q  r )  e.  ( 2nd `  B ) ) ) ) ) )
8830, 87syl 14 . . . . . . . . . . . 12  |-  ( q 
<Q  r  ->  ( ( E. y ( y  e.  ( 2nd `  A
)  /\  ( y  +Q  q )  e.  ( 1st `  B ) )  \/  E. z
( z  e.  ( 1st `  A )  /\  ( z  +Q  r )  e.  ( 2nd `  B ) ) )  <->  ( (
q  e.  Q.  /\  E. y ( y  e.  ( 2nd `  A
)  /\  ( y  +Q  q )  e.  ( 1st `  B ) ) )  \/  (
r  e.  Q.  /\  E. z ( z  e.  ( 1st `  A
)  /\  ( z  +Q  r )  e.  ( 2nd `  B ) ) ) ) ) )
8982, 88bitr4id 198 . . . . . . . . . . 11  |-  ( q 
<Q  r  ->  ( ( q  e.  ( 1st `  C )  \/  r  e.  ( 2nd `  C
) )  <->  ( E. y ( y  e.  ( 2nd `  A
)  /\  ( y  +Q  q )  e.  ( 1st `  B ) )  \/  E. z
( z  e.  ( 1st `  A )  /\  ( z  +Q  r )  e.  ( 2nd `  B ) ) ) ) )
90 df-rex 2454 . . . . . . . . . . . 12  |-  ( E. y  e.  ( 2nd `  A ) ( y  +Q  q )  e.  ( 1st `  B
)  <->  E. y ( y  e.  ( 2nd `  A
)  /\  ( y  +Q  q )  e.  ( 1st `  B ) ) )
91 df-rex 2454 . . . . . . . . . . . 12  |-  ( E. z  e.  ( 1st `  A ) ( z  +Q  r )  e.  ( 2nd `  B
)  <->  E. z ( z  e.  ( 1st `  A
)  /\  ( z  +Q  r )  e.  ( 2nd `  B ) ) )
9290, 91orbi12i 759 . . . . . . . . . . 11  |-  ( ( E. y  e.  ( 2nd `  A ) ( y  +Q  q
)  e.  ( 1st `  B )  \/  E. z  e.  ( 1st `  A ) ( z  +Q  r )  e.  ( 2nd `  B
) )  <->  ( E. y ( y  e.  ( 2nd `  A
)  /\  ( y  +Q  q )  e.  ( 1st `  B ) )  \/  E. z
( z  e.  ( 1st `  A )  /\  ( z  +Q  r )  e.  ( 2nd `  B ) ) ) )
9389, 92bitr4di 197 . . . . . . . . . 10  |-  ( q 
<Q  r  ->  ( ( q  e.  ( 1st `  C )  \/  r  e.  ( 2nd `  C
) )  <->  ( E. y  e.  ( 2nd `  A ) ( y  +Q  q )  e.  ( 1st `  B
)  \/  E. z  e.  ( 1st `  A
) ( z  +Q  r )  e.  ( 2nd `  B ) ) ) )
9493adantl 275 . . . . . . . . 9  |-  ( ( A  <P  B  /\  q  <Q  r )  -> 
( ( q  e.  ( 1st `  C
)  \/  r  e.  ( 2nd `  C
) )  <->  ( E. y  e.  ( 2nd `  A ) ( y  +Q  q )  e.  ( 1st `  B
)  \/  E. z  e.  ( 1st `  A
) ( z  +Q  r )  e.  ( 2nd `  B ) ) ) )
9561, 71, 943bitr4rd 220 . . . . . . . 8  |-  ( ( A  <P  B  /\  q  <Q  r )  -> 
( ( q  e.  ( 1st `  C
)  \/  r  e.  ( 2nd `  C
) )  <->  E. z  e.  ( 1st `  A
) E. y  e.  ( 2nd `  A
) ( ( y  +Q  q )  e.  ( 1st `  B
)  \/  ( z  +Q  r )  e.  ( 2nd `  B
) ) ) )
9695adantr 274 . . . . . . 7  |-  ( ( ( A  <P  B  /\  q  <Q  r )  /\  ( w  e.  Q.  /\  ( q  +Q  w
)  =  r ) )  ->  ( (
q  e.  ( 1st `  C )  \/  r  e.  ( 2nd `  C
) )  <->  E. z  e.  ( 1st `  A
) E. y  e.  ( 2nd `  A
) ( ( y  +Q  q )  e.  ( 1st `  B
)  \/  ( z  +Q  r )  e.  ( 2nd `  B
) ) ) )
9755, 96sylibrd 168 . . . . . 6  |-  ( ( ( A  <P  B  /\  q  <Q  r )  /\  ( w  e.  Q.  /\  ( q  +Q  w
)  =  r ) )  ->  ( E. z  e.  ( 1st `  A ) E. y  e.  ( 2nd `  A
) y  <Q  (
z  +Q  w )  ->  ( q  e.  ( 1st `  C
)  \/  r  e.  ( 2nd `  C
) ) ) )
9810, 97mpd 13 . . . . 5  |-  ( ( ( A  <P  B  /\  q  <Q  r )  /\  ( w  e.  Q.  /\  ( q  +Q  w
)  =  r ) )  ->  ( q  e.  ( 1st `  C
)  \/  r  e.  ( 2nd `  C
) ) )
992, 98rexlimddv 2592 . . . 4  |-  ( ( A  <P  B  /\  q  <Q  r )  -> 
( q  e.  ( 1st `  C )  \/  r  e.  ( 2nd `  C ) ) )
10099ex 114 . . 3  |-  ( A 
<P  B  ->  ( q 
<Q  r  ->  ( q  e.  ( 1st `  C
)  \/  r  e.  ( 2nd `  C
) ) ) )
101100ralrimivw 2544 . 2  |-  ( A 
<P  B  ->  A. r  e.  Q.  ( q  <Q 
r  ->  ( q  e.  ( 1st `  C
)  \/  r  e.  ( 2nd `  C
) ) ) )
102101ralrimivw 2544 1  |-  ( A 
<P  B  ->  A. q  e.  Q.  A. r  e. 
Q.  ( q  <Q 
r  ->  ( q  e.  ( 1st `  C
)  \/  r  e.  ( 2nd `  C
) ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    \/ wo 703    /\ w3a 973    = wceq 1348   E.wex 1485    e. wcel 2141   A.wral 2448   E.wrex 2449   {crab 2452   <.cop 3586   class class class wbr 3989   ` cfv 5198  (class class class)co 5853   1stc1st 6117   2ndc2nd 6118   Q.cnq 7242    +Q cplq 7244    <Q cltq 7247   P.cnp 7253    <P cltp 7257
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521  ax-iinf 4572
This theorem depends on definitions:  df-bi 116  df-dc 830  df-3or 974  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-tr 4088  df-eprel 4274  df-id 4278  df-po 4281  df-iso 4282  df-iord 4351  df-on 4353  df-suc 4356  df-iom 4575  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-ov 5856  df-oprab 5857  df-mpo 5858  df-1st 6119  df-2nd 6120  df-recs 6284  df-irdg 6349  df-1o 6395  df-2o 6396  df-oadd 6399  df-omul 6400  df-er 6513  df-ec 6515  df-qs 6519  df-ni 7266  df-pli 7267  df-mi 7268  df-lti 7269  df-plpq 7306  df-mpq 7307  df-enq 7309  df-nqqs 7310  df-plqqs 7311  df-mqqs 7312  df-1nqqs 7313  df-rq 7314  df-ltnqqs 7315  df-enq0 7386  df-nq0 7387  df-0nq0 7388  df-plq0 7389  df-mq0 7390  df-inp 7428  df-iltp 7432
This theorem is referenced by:  ltexprlempr  7570
  Copyright terms: Public domain W3C validator