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

Theorem suplocexprlemloc 7683
Description: Lemma for suplocexpr 7687. The putative supremum is located. (Contributed by Jim Kingdon, 9-Jan-2024.)
Hypotheses
Ref Expression
suplocexpr.m  |-  ( ph  ->  E. x  x  e.  A )
suplocexpr.ub  |-  ( ph  ->  E. x  e.  P.  A. y  e.  A  y 
<P  x )
suplocexpr.loc  |-  ( ph  ->  A. x  e.  P.  A. y  e.  P.  (
x  <P  y  ->  ( E. z  e.  A  x  <P  z  \/  A. z  e.  A  z  <P  y ) ) )
suplocexpr.b  |-  B  = 
<. U. ( 1st " A
) ,  { u  e.  Q.  |  E. w  e.  |^| ( 2nd " A
) w  <Q  u } >.
Assertion
Ref Expression
suplocexprlemloc  |-  ( ph  ->  A. q  e.  Q.  A. r  e.  Q.  (
q  <Q  r  ->  (
q  e.  U. ( 1st " A )  \/  r  e.  ( 2nd `  B ) ) ) )
Distinct variable groups:    u, A, z, w    x, A, y, u, z    u, q, z, w    x, q, y, ph    ph, r, w, q    ph, z, x, y   
u, r
Allowed substitution hints:    ph( u)    A( r,
q)    B( x, y, z, w, u, r, q)

Proof of Theorem suplocexprlemloc
Dummy variables  s  t  v  l are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpr 109 . . . . 5  |-  ( ( ( ph  /\  (
q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  ->  q  <Q  r )
2 ltbtwnnqq 7377 . . . . 5  |-  ( q 
<Q  r  <->  E. v  e.  Q.  ( q  <Q  v  /\  v  <Q  r ) )
31, 2sylib 121 . . . 4  |-  ( ( ( ph  /\  (
q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  ->  E. v  e.  Q.  ( q  <Q 
v  /\  v  <Q  r ) )
4 simplll 528 . . . . . . 7  |-  ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  ->  ph )
5 simprl 526 . . . . . . . 8  |-  ( (
ph  /\  ( q  e.  Q.  /\  r  e. 
Q. ) )  -> 
q  e.  Q. )
65ad2antrr 485 . . . . . . 7  |-  ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  ->  q  e.  Q. )
7 simprl 526 . . . . . . 7  |-  ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  ->  v  e.  Q. )
84, 6, 7jca32 308 . . . . . 6  |-  ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  ->  ( ph  /\  ( q  e.  Q.  /\  v  e.  Q. )
) )
9 simprrl 534 . . . . . 6  |-  ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  ->  q  <Q  v
)
10 ltnqpri 7556 . . . . . . . . 9  |-  ( q 
<Q  v  ->  <. { l  |  l  <Q  q } ,  { u  |  q  <Q  u } >.  <P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )
1110adantl 275 . . . . . . . 8  |-  ( ( ( ph  /\  (
q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  ->  <. { l  |  l  <Q  q } ,  { u  |  q  <Q  u } >.  <P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )
12 breq2 3993 . . . . . . . . . 10  |-  ( y  =  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >.  ->  ( <. { l  |  l 
<Q  q } ,  {
u  |  q  <Q  u } >.  <P  y  <->  <. { l  |  l  <Q  q } ,  { u  |  q  <Q  u } >.  <P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )
)
13 breq2 3993 . . . . . . . . . . . 12  |-  ( y  =  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >.  ->  (
z  <P  y  <->  z  <P  <. { l  |  l 
<Q  v } ,  {
u  |  v  <Q  u } >. ) )
1413ralbidv 2470 . . . . . . . . . . 11  |-  ( y  =  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >.  ->  ( A. z  e.  A  z  <P  y  <->  A. z  e.  A  z  <P  <. { l  |  l 
<Q  v } ,  {
u  |  v  <Q  u } >. ) )
1514orbi2d 785 . . . . . . . . . 10  |-  ( y  =  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >.  ->  (
( E. z  e.  A  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z  \/  A. z  e.  A  z  <P  y )  <->  ( E. z  e.  A  <. { l  |  l  <Q 
q } ,  {
u  |  q  <Q  u } >.  <P  z  \/ 
A. z  e.  A  z  <P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )
) )
1612, 15imbi12d 233 . . . . . . . . 9  |-  ( y  =  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >.  ->  (
( <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  y  ->  ( E. z  e.  A  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z  \/  A. z  e.  A  z  <P  y ) )  <-> 
( <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  <. { l  |  l  <Q  v } ,  { u  |  v  <Q  u } >.  ->  ( E. z  e.  A  <. { l  |  l  <Q  q } ,  { u  |  q  <Q  u } >.  <P  z  \/  A. z  e.  A  z  <P 
<. { l  |  l 
<Q  v } ,  {
u  |  v  <Q  u } >. ) ) ) )
17 breq1 3992 . . . . . . . . . . . 12  |-  ( x  =  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  ->  (
x  <P  y  <->  <. { l  |  l  <Q  q } ,  { u  |  q  <Q  u } >.  <P  y ) )
18 breq1 3992 . . . . . . . . . . . . . 14  |-  ( x  =  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  ->  (
x  <P  z  <->  <. { l  |  l  <Q  q } ,  { u  |  q  <Q  u } >.  <P  z ) )
1918rexbidv 2471 . . . . . . . . . . . . 13  |-  ( x  =  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  ->  ( E. z  e.  A  x  <P  z  <->  E. z  e.  A  <. { l  |  l  <Q  q } ,  { u  |  q  <Q  u } >.  <P  z ) )
2019orbi1d 786 . . . . . . . . . . . 12  |-  ( x  =  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  ->  (
( E. z  e.  A  x  <P  z  \/  A. z  e.  A  z  <P  y )  <->  ( E. z  e.  A  <. { l  |  l  <Q 
q } ,  {
u  |  q  <Q  u } >.  <P  z  \/ 
A. z  e.  A  z  <P  y ) ) )
2117, 20imbi12d 233 . . . . . . . . . . 11  |-  ( x  =  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  ->  (
( x  <P  y  ->  ( E. z  e.  A  x  <P  z  \/  A. z  e.  A  z  <P  y ) )  <-> 
( <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  y  ->  ( E. z  e.  A  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z  \/  A. z  e.  A  z  <P  y ) ) ) )
2221ralbidv 2470 . . . . . . . . . 10  |-  ( x  =  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  ->  ( A. y  e.  P.  ( x  <P  y  -> 
( E. z  e.  A  x  <P  z  \/  A. z  e.  A  z  <P  y ) )  <->  A. y  e.  P.  ( <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  y  ->  ( E. z  e.  A  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z  \/  A. z  e.  A  z  <P  y ) ) ) )
23 suplocexpr.loc . . . . . . . . . . 11  |-  ( ph  ->  A. x  e.  P.  A. y  e.  P.  (
x  <P  y  ->  ( E. z  e.  A  x  <P  z  \/  A. z  e.  A  z  <P  y ) ) )
2423ad2antrr 485 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  ->  A. x  e.  P.  A. y  e. 
P.  ( x  <P  y  ->  ( E. z  e.  A  x  <P  z  \/  A. z  e.  A  z  <P  y
) ) )
25 simplrl 530 . . . . . . . . . . 11  |-  ( ( ( ph  /\  (
q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  ->  q  e.  Q. )
26 nqprlu 7509 . . . . . . . . . . 11  |-  ( q  e.  Q.  ->  <. { l  |  l  <Q  q } ,  { u  |  q  <Q  u } >.  e.  P. )
2725, 26syl 14 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  ->  <. { l  |  l  <Q  q } ,  { u  |  q  <Q  u } >.  e.  P. )
2822, 24, 27rspcdva 2839 . . . . . . . . 9  |-  ( ( ( ph  /\  (
q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  ->  A. y  e.  P.  ( <. { l  |  l  <Q  q } ,  { u  |  q  <Q  u } >.  <P  y  ->  ( E. z  e.  A  <. { l  |  l 
<Q  q } ,  {
u  |  q  <Q  u } >.  <P  z  \/ 
A. z  e.  A  z  <P  y ) ) )
29 simplrr 531 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  ->  v  e.  Q. )
30 nqprlu 7509 . . . . . . . . . 10  |-  ( v  e.  Q.  ->  <. { l  |  l  <Q  v } ,  { u  |  v  <Q  u } >.  e.  P. )
3129, 30syl 14 . . . . . . . . 9  |-  ( ( ( ph  /\  (
q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  ->  <. { l  |  l  <Q  v } ,  { u  |  v  <Q  u } >.  e.  P. )
3216, 28, 31rspcdva 2839 . . . . . . . 8  |-  ( ( ( ph  /\  (
q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  ->  ( <. { l  |  l  <Q 
q } ,  {
u  |  q  <Q  u } >.  <P  <. { l  |  l  <Q  v } ,  { u  |  v  <Q  u } >.  ->  ( E. z  e.  A  <. { l  |  l  <Q  q } ,  { u  |  q  <Q  u } >.  <P  z  \/  A. z  e.  A  z  <P 
<. { l  |  l 
<Q  v } ,  {
u  |  v  <Q  u } >. ) ) )
3311, 32mpd 13 . . . . . . 7  |-  ( ( ( ph  /\  (
q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  ->  ( E. z  e.  A  <. { l  |  l  <Q 
q } ,  {
u  |  q  <Q  u } >.  <P  z  \/ 
A. z  e.  A  z  <P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )
)
34 simpr 109 . . . . . . . . . . . 12  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q 
q } ,  {
u  |  q  <Q  u } >.  <P  z )  ->  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z
)
3527ad2antrr 485 . . . . . . . . . . . . 13  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q 
q } ,  {
u  |  q  <Q  u } >.  <P  z )  ->  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  e.  P. )
36 suplocexpr.m . . . . . . . . . . . . . . . 16  |-  ( ph  ->  E. x  x  e.  A )
37 suplocexpr.ub . . . . . . . . . . . . . . . 16  |-  ( ph  ->  E. x  e.  P.  A. y  e.  A  y 
<P  x )
3836, 37, 23suplocexprlemss 7677 . . . . . . . . . . . . . . 15  |-  ( ph  ->  A  C_  P. )
3938ad4antr 491 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q 
q } ,  {
u  |  q  <Q  u } >.  <P  z )  ->  A  C_  P. )
40 simplr 525 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q 
q } ,  {
u  |  q  <Q  u } >.  <P  z )  ->  z  e.  A
)
4139, 40sseldd 3148 . . . . . . . . . . . . 13  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q 
q } ,  {
u  |  q  <Q  u } >.  <P  z )  ->  z  e.  P. )
42 ltdfpr 7468 . . . . . . . . . . . . 13  |-  ( (
<. { l  |  l 
<Q  q } ,  {
u  |  q  <Q  u } >.  e.  P.  /\  z  e.  P. )  ->  ( <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z  <->  E. w  e.  Q.  (
w  e.  ( 2nd `  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >. )  /\  w  e.  ( 1st `  z ) ) ) )
4335, 41, 42syl2anc 409 . . . . . . . . . . . 12  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q 
q } ,  {
u  |  q  <Q  u } >.  <P  z )  ->  ( <. { l  |  l  <Q  q } ,  { u  |  q  <Q  u } >.  <P  z  <->  E. w  e.  Q.  ( w  e.  ( 2nd `  <. { l  |  l  <Q 
q } ,  {
u  |  q  <Q  u } >. )  /\  w  e.  ( 1st `  z
) ) ) )
4434, 43mpbid 146 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q 
q } ,  {
u  |  q  <Q  u } >.  <P  z )  ->  E. w  e.  Q.  ( w  e.  ( 2nd `  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >. )  /\  w  e.  ( 1st `  z ) ) )
45 vex 2733 . . . . . . . . . . . . . 14  |-  w  e. 
_V
46 breq2 3993 . . . . . . . . . . . . . 14  |-  ( u  =  w  ->  (
q  <Q  u  <->  q  <Q  w ) )
47 ltnqex 7511 . . . . . . . . . . . . . . 15  |-  { l  |  l  <Q  q }  e.  _V
48 gtnqex 7512 . . . . . . . . . . . . . . 15  |-  { u  |  q  <Q  u }  e.  _V
4947, 48op2nd 6126 . . . . . . . . . . . . . 14  |-  ( 2nd `  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >. )  =  { u  |  q 
<Q  u }
5045, 46, 49elab2 2878 . . . . . . . . . . . . 13  |-  ( w  e.  ( 2nd `  <. { l  |  l  <Q 
q } ,  {
u  |  q  <Q  u } >. )  <->  q  <Q  w )
5150anbi1i 455 . . . . . . . . . . . 12  |-  ( ( w  e.  ( 2nd `  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >. )  /\  w  e.  ( 1st `  z ) )  <-> 
( q  <Q  w  /\  w  e.  ( 1st `  z ) ) )
5251rexbii 2477 . . . . . . . . . . 11  |-  ( E. w  e.  Q.  (
w  e.  ( 2nd `  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >. )  /\  w  e.  ( 1st `  z ) )  <->  E. w  e.  Q.  ( q  <Q  w  /\  w  e.  ( 1st `  z ) ) )
5344, 52sylib 121 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q 
q } ,  {
u  |  q  <Q  u } >.  <P  z )  ->  E. w  e.  Q.  ( q  <Q  w  /\  w  e.  ( 1st `  z ) ) )
54 simpllr 529 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z
)  /\  ( w  e.  Q.  /\  ( q 
<Q  w  /\  w  e.  ( 1st `  z
) ) ) )  ->  z  e.  A
)
55 simprrl 534 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z
)  /\  ( w  e.  Q.  /\  ( q 
<Q  w  /\  w  e.  ( 1st `  z
) ) ) )  ->  q  <Q  w
)
5641adantr 274 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z
)  /\  ( w  e.  Q.  /\  ( q 
<Q  w  /\  w  e.  ( 1st `  z
) ) ) )  ->  z  e.  P. )
57 prop 7437 . . . . . . . . . . . . . . . . 17  |-  ( z  e.  P.  ->  <. ( 1st `  z ) ,  ( 2nd `  z
) >.  e.  P. )
5856, 57syl 14 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z
)  /\  ( w  e.  Q.  /\  ( q 
<Q  w  /\  w  e.  ( 1st `  z
) ) ) )  ->  <. ( 1st `  z
) ,  ( 2nd `  z ) >.  e.  P. )
59 simprrr 535 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z
)  /\  ( w  e.  Q.  /\  ( q 
<Q  w  /\  w  e.  ( 1st `  z
) ) ) )  ->  w  e.  ( 1st `  z ) )
60 prcdnql 7446 . . . . . . . . . . . . . . . 16  |-  ( (
<. ( 1st `  z
) ,  ( 2nd `  z ) >.  e.  P.  /\  w  e.  ( 1st `  z ) )  -> 
( q  <Q  w  ->  q  e.  ( 1st `  z ) ) )
6158, 59, 60syl2anc 409 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z
)  /\  ( w  e.  Q.  /\  ( q 
<Q  w  /\  w  e.  ( 1st `  z
) ) ) )  ->  ( q  <Q  w  ->  q  e.  ( 1st `  z ) ) )
6255, 61mpd 13 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z
)  /\  ( w  e.  Q.  /\  ( q 
<Q  w  /\  w  e.  ( 1st `  z
) ) ) )  ->  q  e.  ( 1st `  z ) )
6354, 62jca 304 . . . . . . . . . . . . 13  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z
)  /\  ( w  e.  Q.  /\  ( q 
<Q  w  /\  w  e.  ( 1st `  z
) ) ) )  ->  ( z  e.  A  /\  q  e.  ( 1st `  z
) ) )
646319.8ad 1584 . . . . . . . . . . . 12  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z
)  /\  ( w  e.  Q.  /\  ( q 
<Q  w  /\  w  e.  ( 1st `  z
) ) ) )  ->  E. z ( z  e.  A  /\  q  e.  ( 1st `  z
) ) )
65 df-rex 2454 . . . . . . . . . . . 12  |-  ( E. z  e.  A  q  e.  ( 1st `  z
)  <->  E. z ( z  e.  A  /\  q  e.  ( 1st `  z
) ) )
6664, 65sylibr 133 . . . . . . . . . . 11  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z
)  /\  ( w  e.  Q.  /\  ( q 
<Q  w  /\  w  e.  ( 1st `  z
) ) ) )  ->  E. z  e.  A  q  e.  ( 1st `  z ) )
67 suplocexprlemell 7675 . . . . . . . . . . 11  |-  ( q  e.  U. ( 1st " A )  <->  E. z  e.  A  q  e.  ( 1st `  z ) )
6866, 67sylibr 133 . . . . . . . . . 10  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q  q } ,  { u  |  q 
<Q  u } >.  <P  z
)  /\  ( w  e.  Q.  /\  ( q 
<Q  w  /\  w  e.  ( 1st `  z
) ) ) )  ->  q  e.  U. ( 1st " A ) )
6953, 68rexlimddv 2592 . . . . . . . . 9  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  /\  z  e.  A )  /\  <. { l  |  l  <Q 
q } ,  {
u  |  q  <Q  u } >.  <P  z )  ->  q  e.  U. ( 1st " A ) )
7069rexlimdva2 2590 . . . . . . . 8  |-  ( ( ( ph  /\  (
q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  ->  ( E. z  e.  A  <. { l  |  l  <Q 
q } ,  {
u  |  q  <Q  u } >.  <P  z  -> 
q  e.  U. ( 1st " A ) ) )
71 fo2nd 6137 . . . . . . . . . . . . . . 15  |-  2nd : _V -onto-> _V
72 fofun 5421 . . . . . . . . . . . . . . 15  |-  ( 2nd
: _V -onto-> _V  ->  Fun 
2nd )
7371, 72ax-mp 5 . . . . . . . . . . . . . 14  |-  Fun  2nd
74 fvelima 5548 . . . . . . . . . . . . . 14  |-  ( ( Fun  2nd  /\  s  e.  ( 2nd " A
) )  ->  E. t  e.  A  ( 2nd `  t )  =  s )
7573, 74mpan 422 . . . . . . . . . . . . 13  |-  ( s  e.  ( 2nd " A
)  ->  E. t  e.  A  ( 2nd `  t )  =  s )
7675adantl 275 . . . . . . . . . . . 12  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  /\  A. z  e.  A  z  <P  <. { l  |  l 
<Q  v } ,  {
u  |  v  <Q  u } >. )  /\  s  e.  ( 2nd " A
) )  ->  E. t  e.  A  ( 2nd `  t )  =  s )
77 breq1 3992 . . . . . . . . . . . . . . 15  |-  ( z  =  t  ->  (
z  <P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >.  <->  t  <P  <. { l  |  l 
<Q  v } ,  {
u  |  v  <Q  u } >. ) )
78 simpllr 529 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  A. z  e.  A  z 
<P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )  /\  s  e.  ( 2nd " A ) )  /\  ( t  e.  A  /\  ( 2nd `  t )  =  s ) )  ->  A. z  e.  A  z  <P  <. { l  |  l 
<Q  v } ,  {
u  |  v  <Q  u } >. )
79 simprl 526 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  A. z  e.  A  z 
<P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )  /\  s  e.  ( 2nd " A ) )  /\  ( t  e.  A  /\  ( 2nd `  t )  =  s ) )  ->  t  e.  A )
8077, 78, 79rspcdva 2839 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  A. z  e.  A  z 
<P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )  /\  s  e.  ( 2nd " A ) )  /\  ( t  e.  A  /\  ( 2nd `  t )  =  s ) )  ->  t  <P 
<. { l  |  l 
<Q  v } ,  {
u  |  v  <Q  u } >. )
8129ad3antrrr 489 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  A. z  e.  A  z 
<P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )  /\  s  e.  ( 2nd " A ) )  /\  ( t  e.  A  /\  ( 2nd `  t )  =  s ) )  ->  v  e.  Q. )
8238ad5antr 493 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  A. z  e.  A  z 
<P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )  /\  s  e.  ( 2nd " A ) )  /\  ( t  e.  A  /\  ( 2nd `  t )  =  s ) )  ->  A  C_ 
P. )
8382, 79sseldd 3148 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  A. z  e.  A  z 
<P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )  /\  s  e.  ( 2nd " A ) )  /\  ( t  e.  A  /\  ( 2nd `  t )  =  s ) )  ->  t  e.  P. )
84 nqpru 7514 . . . . . . . . . . . . . . 15  |-  ( ( v  e.  Q.  /\  t  e.  P. )  ->  ( v  e.  ( 2nd `  t )  <-> 
t  <P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )
)
8581, 83, 84syl2anc 409 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  A. z  e.  A  z 
<P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )  /\  s  e.  ( 2nd " A ) )  /\  ( t  e.  A  /\  ( 2nd `  t )  =  s ) )  ->  (
v  e.  ( 2nd `  t )  <->  t  <P  <. { l  |  l 
<Q  v } ,  {
u  |  v  <Q  u } >. ) )
8680, 85mpbird 166 . . . . . . . . . . . . 13  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  A. z  e.  A  z 
<P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )  /\  s  e.  ( 2nd " A ) )  /\  ( t  e.  A  /\  ( 2nd `  t )  =  s ) )  ->  v  e.  ( 2nd `  t
) )
87 simprr 527 . . . . . . . . . . . . 13  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  A. z  e.  A  z 
<P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )  /\  s  e.  ( 2nd " A ) )  /\  ( t  e.  A  /\  ( 2nd `  t )  =  s ) )  ->  ( 2nd `  t )  =  s )
8886, 87eleqtrd 2249 . . . . . . . . . . . 12  |-  ( ( ( ( ( (
ph  /\  ( q  e.  Q.  /\  v  e. 
Q. ) )  /\  q  <Q  v )  /\  A. z  e.  A  z 
<P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )  /\  s  e.  ( 2nd " A ) )  /\  ( t  e.  A  /\  ( 2nd `  t )  =  s ) )  ->  v  e.  s )
8976, 88rexlimddv 2592 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  /\  A. z  e.  A  z  <P  <. { l  |  l 
<Q  v } ,  {
u  |  v  <Q  u } >. )  /\  s  e.  ( 2nd " A
) )  ->  v  e.  s )
9089ralrimiva 2543 . . . . . . . . . 10  |-  ( ( ( ( ph  /\  ( q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  /\  A. z  e.  A  z  <P  <. { l  |  l 
<Q  v } ,  {
u  |  v  <Q  u } >. )  ->  A. s  e.  ( 2nd " A
) v  e.  s )
91 vex 2733 . . . . . . . . . . 11  |-  v  e. 
_V
9291elint2 3838 . . . . . . . . . 10  |-  ( v  e.  |^| ( 2nd " A
)  <->  A. s  e.  ( 2nd " A ) v  e.  s )
9390, 92sylibr 133 . . . . . . . . 9  |-  ( ( ( ( ph  /\  ( q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  /\  A. z  e.  A  z  <P  <. { l  |  l 
<Q  v } ,  {
u  |  v  <Q  u } >. )  ->  v  e.  |^| ( 2nd " A
) )
9493ex 114 . . . . . . . 8  |-  ( ( ( ph  /\  (
q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  ->  ( A. z  e.  A  z  <P 
<. { l  |  l 
<Q  v } ,  {
u  |  v  <Q  u } >.  ->  v  e. 
|^| ( 2nd " A
) ) )
9570, 94orim12d 781 . . . . . . 7  |-  ( ( ( ph  /\  (
q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  ->  ( ( E. z  e.  A  <. { l  |  l 
<Q  q } ,  {
u  |  q  <Q  u } >.  <P  z  \/ 
A. z  e.  A  z  <P  <. { l  |  l  <Q  v } ,  { u  |  v 
<Q  u } >. )  ->  ( q  e.  U. ( 1st " A )  \/  v  e.  |^| ( 2nd " A ) ) ) )
9633, 95mpd 13 . . . . . 6  |-  ( ( ( ph  /\  (
q  e.  Q.  /\  v  e.  Q. )
)  /\  q  <Q  v )  ->  ( q  e.  U. ( 1st " A
)  \/  v  e. 
|^| ( 2nd " A
) ) )
978, 9, 96syl2anc 409 . . . . 5  |-  ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  ->  ( q  e. 
U. ( 1st " A
)  \/  v  e. 
|^| ( 2nd " A
) ) )
98 breq2 3993 . . . . . . . . . 10  |-  ( u  =  r  ->  (
w  <Q  u  <->  w  <Q  r ) )
9998rexbidv 2471 . . . . . . . . 9  |-  ( u  =  r  ->  ( E. w  e.  |^| ( 2nd " A ) w 
<Q  u  <->  E. w  e.  |^| ( 2nd " A ) w  <Q  r )
)
100 simprr 527 . . . . . . . . . 10  |-  ( (
ph  /\  ( q  e.  Q.  /\  r  e. 
Q. ) )  -> 
r  e.  Q. )
101100ad3antrrr 489 . . . . . . . . 9  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  /\  v  e.  |^| ( 2nd " A ) )  ->  r  e.  Q. )
102 simpr 109 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  /\  v  e.  |^| ( 2nd " A ) )  ->  v  e.  |^| ( 2nd " A
) )
103 simprrr 535 . . . . . . . . . . 11  |-  ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  ->  v  <Q  r
)
104103adantr 274 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  /\  v  e.  |^| ( 2nd " A ) )  ->  v  <Q  r )
105 breq1 3992 . . . . . . . . . . 11  |-  ( w  =  v  ->  (
w  <Q  r  <->  v  <Q  r ) )
106105rspcev 2834 . . . . . . . . . 10  |-  ( ( v  e.  |^| ( 2nd " A )  /\  v  <Q  r )  ->  E. w  e.  |^| ( 2nd " A ) w 
<Q  r )
107102, 104, 106syl2anc 409 . . . . . . . . 9  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  /\  v  e.  |^| ( 2nd " A ) )  ->  E. w  e.  |^| ( 2nd " A
) w  <Q  r
)
10899, 101, 107elrabd 2888 . . . . . . . 8  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  /\  v  e.  |^| ( 2nd " A ) )  ->  r  e.  { u  e.  Q.  |  E. w  e.  |^| ( 2nd " A ) w 
<Q  u } )
109 suplocexpr.b . . . . . . . . . . . 12  |-  B  = 
<. U. ( 1st " A
) ,  { u  e.  Q.  |  E. w  e.  |^| ( 2nd " A
) w  <Q  u } >.
110109suplocexprlem2b 7676 . . . . . . . . . . 11  |-  ( A 
C_  P.  ->  ( 2nd `  B )  =  {
u  e.  Q.  |  E. w  e.  |^| ( 2nd " A ) w 
<Q  u } )
11138, 110syl 14 . . . . . . . . . 10  |-  ( ph  ->  ( 2nd `  B
)  =  { u  e.  Q.  |  E. w  e.  |^| ( 2nd " A
) w  <Q  u } )
112111eleq2d 2240 . . . . . . . . 9  |-  ( ph  ->  ( r  e.  ( 2nd `  B )  <-> 
r  e.  { u  e.  Q.  |  E. w  e.  |^| ( 2nd " A
) w  <Q  u } ) )
113112ad4antr 491 . . . . . . . 8  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  /\  v  e.  |^| ( 2nd " A ) )  ->  ( r  e.  ( 2nd `  B
)  <->  r  e.  {
u  e.  Q.  |  E. w  e.  |^| ( 2nd " A ) w 
<Q  u } ) )
114108, 113mpbird 166 . . . . . . 7  |-  ( ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  /\  v  e.  |^| ( 2nd " A ) )  ->  r  e.  ( 2nd `  B ) )
115114ex 114 . . . . . 6  |-  ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  ->  ( v  e. 
|^| ( 2nd " A
)  ->  r  e.  ( 2nd `  B ) ) )
116115orim2d 783 . . . . 5  |-  ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  ->  ( ( q  e.  U. ( 1st " A )  \/  v  e.  |^| ( 2nd " A
) )  ->  (
q  e.  U. ( 1st " A )  \/  r  e.  ( 2nd `  B ) ) ) )
11797, 116mpd 13 . . . 4  |-  ( ( ( ( ph  /\  ( q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  /\  ( v  e.  Q.  /\  (
q  <Q  v  /\  v  <Q  r ) ) )  ->  ( q  e. 
U. ( 1st " A
)  \/  r  e.  ( 2nd `  B
) ) )
1183, 117rexlimddv 2592 . . 3  |-  ( ( ( ph  /\  (
q  e.  Q.  /\  r  e.  Q. )
)  /\  q  <Q  r )  ->  ( q  e.  U. ( 1st " A
)  \/  r  e.  ( 2nd `  B
) ) )
119118ex 114 . 2  |-  ( (
ph  /\  ( q  e.  Q.  /\  r  e. 
Q. ) )  -> 
( q  <Q  r  ->  ( q  e.  U. ( 1st " A )  \/  r  e.  ( 2nd `  B ) ) ) )
120119ralrimivva 2552 1  |-  ( ph  ->  A. q  e.  Q.  A. r  e.  Q.  (
q  <Q  r  ->  (
q  e.  U. ( 1st " A )  \/  r  e.  ( 2nd `  B ) ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    \/ wo 703    = wceq 1348   E.wex 1485    e. wcel 2141   {cab 2156   A.wral 2448   E.wrex 2449   {crab 2452   _Vcvv 2730    C_ wss 3121   <.cop 3586   U.cuni 3796   |^|cint 3831   class class class wbr 3989   "cima 4614   Fun wfun 5192   -onto->wfo 5196   ` cfv 5198   1stc1st 6117   2ndc2nd 6118   Q.cnq 7242    <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-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-inp 7428  df-iltp 7432
This theorem is referenced by:  suplocexprlemex  7684
  Copyright terms: Public domain W3C validator