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

Theorem ltexprlemloc 7548
Description: Our constructed difference is located. Lemma for ltexpri 7554. (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 7350 . . . . . 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 7446 . . . . . . . . . 10  |-  <P  C_  ( P.  X.  P. )
43brel 4656 . . . . . . . . 9  |-  ( A 
<P  B  ->  ( A  e.  P.  /\  B  e.  P. ) )
54simpld 111 . . . . . . . 8  |-  ( A 
<P  B  ->  A  e. 
P. )
6 prop 7416 . . . . . . . . 9  |-  ( A  e.  P.  ->  <. ( 1st `  A ) ,  ( 2nd `  A
) >.  e.  P. )
7 prarloc 7444 . . . . . . . . 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 501 . . . . . 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 480 . . . . . . . . . . . . 13  |-  ( ( ( A  <P  B  /\  q  <Q  r )  /\  ( w  e.  Q.  /\  ( q  +Q  w
)  =  r ) )  ->  B  e.  P. )
1312ad2antrr 480 . . . . . . . . . . . 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 7341 . . . . . . . . . . . . . . . 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 7423 . . . . . . . . . . . . . . . . . . 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 469 . . . . . . . . . . . . . . . 16  |-  ( ( ( A  <P  B  /\  q  <Q  r )  /\  y  e.  ( 2nd `  A ) )  -> 
y  e.  Q. )
2019ad2ant2rl 503 . . . . . . . . . . . . . . 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 7422 . . . . . . . . . . . . . . . . . . . 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 469 . . . . . . . . . . . . . . . . 17  |-  ( ( ( A  <P  B  /\  q  <Q  r )  /\  z  e.  ( 1st `  A ) )  -> 
z  e.  Q. )
2524ad2ant2r 501 . . . . . . . . . . . . . . . 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 525 . . . . . . . . . . . . . . . 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 7316 . . . . . . . . . . . . . . . 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 7306 . . . . . . . . . . . . . . . . . . 19  |-  <Q  C_  ( Q.  X.  Q. )
3029brel 4656 . . . . . . . . . . . . . . . . . 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 480 . . . . . . . . . . . . . . 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 7322 . . . . . . . . . . . . . . . 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 6011 . . . . . . . . . . . . . 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 7323 . . . . . . . . . . . . . . . . 17  |-  ( ( z  e.  Q.  /\  w  e.  Q.  /\  q  e.  Q. )  ->  (
( z  +Q  w
)  +Q  q )  =  ( z  +Q  ( w  +Q  q
) ) )
3825, 26, 33, 37syl3anc 1228 . . . . . . . . . . . . . . . 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 7322 . . . . . . . . . . . . . . . . . 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 5858 . . . . . . . . . . . . . . . 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 526 . . . . . . . . . . . . . . . . 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 5858 . . . . . . . . . . . . . . . 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 2202 . . . . . . . . . . . . . . 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 3994 . . . . . . . . . . . . . 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 7416 . . . . . . . . . . . . 13  |-  ( B  e.  P.  ->  <. ( 1st `  B ) ,  ( 2nd `  B
) >.  e.  P. )
49 prloc 7432 . . . . . . . . . . . . 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 2568 . . . . . . . 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 2568 . . . . . . 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 7418 . . . . . . . . . . . 12  |-  ( <.
( 1st `  A
) ,  ( 2nd `  A ) >.  e.  P.  ->  E. z  e.  Q.  z  e.  ( 1st `  A ) )
57 rexex 2512 . . . . . . . . . . . 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 3502 . . . . . . . . . . 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 7419 . . . . . . . . . . . . 13  |-  ( <.
( 1st `  A
) ,  ( 2nd `  A ) >.  e.  P.  ->  E. x  e.  Q.  x  e.  ( 2nd `  A ) )
63 rexex 2512 . . . . . . . . . . . . 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 2624 . . . . . . . . . . . . 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 3500 . . . . . . . . . . . . . 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 780 . . . . . . . . . . . . 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 2467 . . . . . . . . . 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 7539 . . . . . . . . . . . . 13  |-  ( q  e.  ( 1st `  C
)  <->  ( q  e. 
Q.  /\  E. y
( y  e.  ( 2nd `  A )  /\  ( y  +Q  q )  e.  ( 1st `  B ) ) ) )
7472ltexprlemelu 7540 . . . . . . . . . . . . . 14  |-  ( r  e.  ( 2nd `  C
)  <->  ( r  e. 
Q.  /\  E. y
( y  e.  ( 1st `  A )  /\  ( y  +Q  r )  e.  ( 2nd `  B ) ) ) )
75 eleq1 2229 . . . . . . . . . . . . . . . . 17  |-  ( y  =  z  ->  (
y  e.  ( 1st `  A )  <->  z  e.  ( 1st `  A ) ) )
76 oveq1 5849 . . . . . . . . . . . . . . . . . 18  |-  ( y  =  z  ->  (
y  +Q  r )  =  ( z  +Q  r ) )
7776eleq1d 2235 . . . . . . . . . . . . . . . . 17  |-  ( y  =  z  ->  (
( y  +Q  r
)  e.  ( 2nd `  B )  <->  ( z  +Q  r )  e.  ( 2nd `  B ) ) )
7875, 77anbi12d 465 . . . . . . . . . . . . . . . 16  |-  ( y  =  z  ->  (
( y  e.  ( 1st `  A )  /\  ( y  +Q  r )  e.  ( 2nd `  B ) )  <->  ( z  e.  ( 1st `  A
)  /\  ( z  +Q  r )  e.  ( 2nd `  B ) ) ) )
7978cbvexv 1906 . . . . . . . . . . . . . . 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 453 . . . . . . . . . . . . . 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 754 . . . . . . . . . . . 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 783 . . . . . . . . . . . . 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 2450 . . . . . . . . . . . 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 2450 . . . . . . . . . . . 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 754 . . . . . . . . . . 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 2588 . . . 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 2540 . 2  |-  ( A 
<P  B  ->  A. r  e.  Q.  ( q  <Q 
r  ->  ( q  e.  ( 1st `  C
)  \/  r  e.  ( 2nd `  C
) ) ) )
102101ralrimivw 2540 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 698    /\ w3a 968    = wceq 1343   E.wex 1480    e. wcel 2136   A.wral 2444   E.wrex 2445   {crab 2448   <.cop 3579   class class class wbr 3982   ` cfv 5188  (class class class)co 5842   1stc1st 6106   2ndc2nd 6107   Q.cnq 7221    +Q cplq 7223    <Q cltq 7226   P.cnp 7232    <P cltp 7236
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 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514  ax-iinf 4565
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3or 969  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-ral 2449  df-rex 2450  df-reu 2451  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-eprel 4267  df-id 4271  df-po 4274  df-iso 4275  df-iord 4344  df-on 4346  df-suc 4349  df-iom 4568  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-ov 5845  df-oprab 5846  df-mpo 5847  df-1st 6108  df-2nd 6109  df-recs 6273  df-irdg 6338  df-1o 6384  df-2o 6385  df-oadd 6388  df-omul 6389  df-er 6501  df-ec 6503  df-qs 6507  df-ni 7245  df-pli 7246  df-mi 7247  df-lti 7248  df-plpq 7285  df-mpq 7286  df-enq 7288  df-nqqs 7289  df-plqqs 7290  df-mqqs 7291  df-1nqqs 7292  df-rq 7293  df-ltnqqs 7294  df-enq0 7365  df-nq0 7366  df-0nq0 7367  df-plq0 7368  df-mq0 7369  df-inp 7407  df-iltp 7411
This theorem is referenced by:  ltexprlempr  7549
  Copyright terms: Public domain W3C validator