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

Theorem ltexprlemloc 7556
Description: Our constructed difference is located. Lemma for ltexpri 7562. (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 7358 . . . . . 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 7454 . . . . . . . . . 10  |-  <P  C_  ( P.  X.  P. )
43brel 4661 . . . . . . . . 9  |-  ( A 
<P  B  ->  ( A  e.  P.  /\  B  e.  P. ) )
54simpld 111 . . . . . . . 8  |-  ( A 
<P  B  ->  A  e. 
P. )
6 prop 7424 . . . . . . . . 9  |-  ( A  e.  P.  ->  <. ( 1st `  A ) ,  ( 2nd `  A
) >.  e.  P. )
7 prarloc 7452 . . . . . . . . 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 7349 . . . . . . . . . . . . . . . 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 7431 . . . . . . . . . . . . . . . . . . 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 7430 . . . . . . . . . . . . . . . . . . . 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 7324 . . . . . . . . . . . . . . . 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 7314 . . . . . . . . . . . . . . . . . . 19  |-  <Q  C_  ( Q.  X.  Q. )
3029brel 4661 . . . . . . . . . . . . . . . . . 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 7330 . . . . . . . . . . . . . . . 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 6019 . . . . . . . . . . . . . 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 7331 . . . . . . . . . . . . . . . . 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 7330 . . . . . . . . . . . . . . . . . 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 5866 . . . . . . . . . . . . . . . 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 5866 . . . . . . . . . . . . . . . 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 3999 . . . . . . . . . . . . . 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 7424 . . . . . . . . . . . . 13  |-  ( B  e.  P.  ->  <. ( 1st `  B ) ,  ( 2nd `  B
) >.  e.  P. )
49 prloc 7440 . . . . . . . . . . . . 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 7426 . . . . . . . . . . . 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 3507 . . . . . . . . . . 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 7427 . . . . . . . . . . . . 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 3505 . . . . . . . . . . . . . 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 7547 . . . . . . . . . . . . 13  |-  ( q  e.  ( 1st `  C
)  <->  ( q  e. 
Q.  /\  E. y
( y  e.  ( 2nd `  A )  /\  ( y  +Q  q )  e.  ( 1st `  B ) ) ) )
7472ltexprlemelu 7548 . . . . . . . . . . . . . 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 5857 . . . . . . . . . . . . . . . . . 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 3584   class class class wbr 3987   ` cfv 5196  (class class class)co 5850   1stc1st 6114   2ndc2nd 6115   Q.cnq 7229    +Q cplq 7231    <Q cltq 7234   P.cnp 7240    <P cltp 7244
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 4102  ax-sep 4105  ax-nul 4113  ax-pow 4158  ax-pr 4192  ax-un 4416  ax-setind 4519  ax-iinf 4570
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 3566  df-sn 3587  df-pr 3588  df-op 3590  df-uni 3795  df-int 3830  df-iun 3873  df-br 3988  df-opab 4049  df-mpt 4050  df-tr 4086  df-eprel 4272  df-id 4276  df-po 4279  df-iso 4280  df-iord 4349  df-on 4351  df-suc 4354  df-iom 4573  df-xp 4615  df-rel 4616  df-cnv 4617  df-co 4618  df-dm 4619  df-rn 4620  df-res 4621  df-ima 4622  df-iota 5158  df-fun 5198  df-fn 5199  df-f 5200  df-f1 5201  df-fo 5202  df-f1o 5203  df-fv 5204  df-ov 5853  df-oprab 5854  df-mpo 5855  df-1st 6116  df-2nd 6117  df-recs 6281  df-irdg 6346  df-1o 6392  df-2o 6393  df-oadd 6396  df-omul 6397  df-er 6509  df-ec 6511  df-qs 6515  df-ni 7253  df-pli 7254  df-mi 7255  df-lti 7256  df-plpq 7293  df-mpq 7294  df-enq 7296  df-nqqs 7297  df-plqqs 7298  df-mqqs 7299  df-1nqqs 7300  df-rq 7301  df-ltnqqs 7302  df-enq0 7373  df-nq0 7374  df-0nq0 7375  df-plq0 7376  df-mq0 7377  df-inp 7415  df-iltp 7419
This theorem is referenced by:  ltexprlempr  7557
  Copyright terms: Public domain W3C validator