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

Theorem addnqprlemrl 7490
Description: Lemma for addnqpr 7494. The reverse subset relationship for the lower cut. (Contributed by Jim Kingdon, 19-Aug-2020.)
Assertion
Ref Expression
addnqprlemrl  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
)  C_  ( 1st ` 
<. { l  |  l 
<Q  ( A  +Q  B
) } ,  {
u  |  ( A  +Q  B )  <Q  u } >. ) )
Distinct variable groups:    A, l, u    B, l, u

Proof of Theorem addnqprlemrl
Dummy variables  f  g  h  r  s  t  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nqprlu 7480 . . . . . 6  |-  ( A  e.  Q.  ->  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >.  e.  P. )
2 nqprlu 7480 . . . . . 6  |-  ( B  e.  Q.  ->  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >.  e.  P. )
3 df-iplp 7401 . . . . . . 7  |-  +P.  =  ( x  e.  P. ,  y  e.  P.  |->  <. { f  e.  Q.  |  E. g  e.  Q.  E. h  e.  Q.  (
g  e.  ( 1st `  x )  /\  h  e.  ( 1st `  y
)  /\  f  =  ( g  +Q  h
) ) } ,  { f  e.  Q.  |  E. g  e.  Q.  E. h  e.  Q.  (
g  e.  ( 2nd `  x )  /\  h  e.  ( 2nd `  y
)  /\  f  =  ( g  +Q  h
) ) } >. )
4 addclnq 7308 . . . . . . 7  |-  ( ( g  e.  Q.  /\  h  e.  Q. )  ->  ( g  +Q  h
)  e.  Q. )
53, 4genpelvl 7445 . . . . . 6  |-  ( (
<. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  e.  P.  /\ 
<. { l  |  l 
<Q  B } ,  {
u  |  B  <Q  u } >.  e.  P. )  ->  ( r  e.  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
)  <->  E. s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. ) E. t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
r  =  ( s  +Q  t ) ) )
61, 2, 5syl2an 287 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( r  e.  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
)  <->  E. s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. ) E. t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
r  =  ( s  +Q  t ) ) )
76biimpa 294 . . . 4  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 1st `  ( <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. ) ) )  ->  E. s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. ) E. t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
r  =  ( s  +Q  t ) )
8 vex 2725 . . . . . . . . . . . . 13  |-  s  e. 
_V
9 breq1 3980 . . . . . . . . . . . . 13  |-  ( l  =  s  ->  (
l  <Q  A  <->  s  <Q  A ) )
10 ltnqex 7482 . . . . . . . . . . . . . 14  |-  { l  |  l  <Q  A }  e.  _V
11 gtnqex 7483 . . . . . . . . . . . . . 14  |-  { u  |  A  <Q  u }  e.  _V
1210, 11op1st 6107 . . . . . . . . . . . . 13  |-  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  =  { l  |  l 
<Q  A }
138, 9, 12elab2 2870 . . . . . . . . . . . 12  |-  ( s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  <->  s  <Q  A )
1413biimpi 119 . . . . . . . . . . 11  |-  ( s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  ->  s  <Q  A )
1514ad2antrl 482 . . . . . . . . . 10  |-  ( ( ( ( A  e. 
Q.  /\  B  e.  Q. )  /\  r  e.  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  ->  s  <Q  A )
1615adantr 274 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  -> 
s  <Q  A )
17 vex 2725 . . . . . . . . . . . . 13  |-  t  e. 
_V
18 breq1 3980 . . . . . . . . . . . . 13  |-  ( l  =  t  ->  (
l  <Q  B  <->  t  <Q  B ) )
19 ltnqex 7482 . . . . . . . . . . . . . 14  |-  { l  |  l  <Q  B }  e.  _V
20 gtnqex 7483 . . . . . . . . . . . . . 14  |-  { u  |  B  <Q  u }  e.  _V
2119, 20op1st 6107 . . . . . . . . . . . . 13  |-  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )  =  { l  |  l 
<Q  B }
2217, 18, 21elab2 2870 . . . . . . . . . . . 12  |-  ( t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )  <->  t  <Q  B )
2322biimpi 119 . . . . . . . . . . 11  |-  ( t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )  ->  t  <Q  B )
2423ad2antll 483 . . . . . . . . . 10  |-  ( ( ( ( A  e. 
Q.  /\  B  e.  Q. )  /\  r  e.  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  ->  t  <Q  B )
2524adantr 274 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  -> 
t  <Q  B )
26 ltrelnq 7298 . . . . . . . . . . . 12  |-  <Q  C_  ( Q.  X.  Q. )
2726brel 4651 . . . . . . . . . . 11  |-  ( s 
<Q  A  ->  ( s  e.  Q.  /\  A  e.  Q. ) )
2816, 27syl 14 . . . . . . . . . 10  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  -> 
( s  e.  Q.  /\  A  e.  Q. )
)
2926brel 4651 . . . . . . . . . . 11  |-  ( t 
<Q  B  ->  ( t  e.  Q.  /\  B  e.  Q. ) )
3025, 29syl 14 . . . . . . . . . 10  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  -> 
( t  e.  Q.  /\  B  e.  Q. )
)
31 lt2addnq 7337 . . . . . . . . . 10  |-  ( ( ( s  e.  Q.  /\  A  e.  Q. )  /\  ( t  e.  Q.  /\  B  e.  Q. )
)  ->  ( (
s  <Q  A  /\  t  <Q  B )  ->  (
s  +Q  t ) 
<Q  ( A  +Q  B
) ) )
3228, 30, 31syl2anc 409 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  -> 
( ( s  <Q  A  /\  t  <Q  B )  ->  ( s  +Q  t )  <Q  ( A  +Q  B ) ) )
3316, 25, 32mp2and 430 . . . . . . . 8  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  -> 
( s  +Q  t
)  <Q  ( A  +Q  B ) )
34 breq1 3980 . . . . . . . . 9  |-  ( r  =  ( s  +Q  t )  ->  (
r  <Q  ( A  +Q  B )  <->  ( s  +Q  t )  <Q  ( A  +Q  B ) ) )
3534adantl 275 . . . . . . . 8  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  -> 
( r  <Q  ( A  +Q  B )  <->  ( s  +Q  t )  <Q  ( A  +Q  B ) ) )
3633, 35mpbird 166 . . . . . . 7  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  -> 
r  <Q  ( A  +Q  B ) )
37 vex 2725 . . . . . . . 8  |-  r  e. 
_V
38 breq1 3980 . . . . . . . 8  |-  ( l  =  r  ->  (
l  <Q  ( A  +Q  B )  <->  r  <Q  ( A  +Q  B ) ) )
39 ltnqex 7482 . . . . . . . . 9  |-  { l  |  l  <Q  ( A  +Q  B ) }  e.  _V
40 gtnqex 7483 . . . . . . . . 9  |-  { u  |  ( A  +Q  B )  <Q  u }  e.  _V
4139, 40op1st 6107 . . . . . . . 8  |-  ( 1st `  <. { l  |  l  <Q  ( A  +Q  B ) } ,  { u  |  ( A  +Q  B )  <Q  u } >. )  =  {
l  |  l  <Q 
( A  +Q  B
) }
4237, 38, 41elab2 2870 . . . . . . 7  |-  ( r  e.  ( 1st `  <. { l  |  l  <Q 
( A  +Q  B
) } ,  {
u  |  ( A  +Q  B )  <Q  u } >. )  <->  r  <Q  ( A  +Q  B ) )
4336, 42sylibr 133 . . . . . 6  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  -> 
r  e.  ( 1st `  <. { l  |  l  <Q  ( A  +Q  B ) } ,  { u  |  ( A  +Q  B )  <Q  u } >. ) )
4443ex 114 . . . . 5  |-  ( ( ( ( A  e. 
Q.  /\  B  e.  Q. )  /\  r  e.  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  ->  (
r  =  ( s  +Q  t )  -> 
r  e.  ( 1st `  <. { l  |  l  <Q  ( A  +Q  B ) } ,  { u  |  ( A  +Q  B )  <Q  u } >. ) ) )
4544rexlimdvva 2589 . . . 4  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 1st `  ( <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. ) ) )  -> 
( E. s  e.  ( 1st `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. ) E. t  e.  ( 1st `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. ) r  =  ( s  +Q  t )  ->  r  e.  ( 1st `  <. { l  |  l  <Q  ( A  +Q  B ) } ,  { u  |  ( A  +Q  B
)  <Q  u } >. ) ) )
467, 45mpd 13 . . 3  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 1st `  ( <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. ) ) )  -> 
r  e.  ( 1st `  <. { l  |  l  <Q  ( A  +Q  B ) } ,  { u  |  ( A  +Q  B )  <Q  u } >. ) )
4746ex 114 . 2  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( r  e.  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
)  ->  r  e.  ( 1st `  <. { l  |  l  <Q  ( A  +Q  B ) } ,  { u  |  ( A  +Q  B
)  <Q  u } >. ) ) )
4847ssrdv 3144 1  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( 1st `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
)  C_  ( 1st ` 
<. { l  |  l 
<Q  ( A  +Q  B
) } ,  {
u  |  ( A  +Q  B )  <Q  u } >. ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    = wceq 1342    e. wcel 2135   {cab 2150   E.wrex 2443    C_ wss 3112   <.cop 3574   class class class wbr 3977   ` cfv 5183  (class class class)co 5837   1stc1st 6099   Q.cnq 7213    +Q cplq 7215    <Q cltq 7218   P.cnp 7224    +P. cpp 7226
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 1434  ax-7 1435  ax-gen 1436  ax-ie1 1480  ax-ie2 1481  ax-8 1491  ax-10 1492  ax-11 1493  ax-i12 1494  ax-bndl 1496  ax-4 1497  ax-17 1513  ax-i9 1517  ax-ial 1521  ax-i5r 1522  ax-13 2137  ax-14 2138  ax-ext 2146  ax-coll 4092  ax-sep 4095  ax-nul 4103  ax-pow 4148  ax-pr 4182  ax-un 4406  ax-setind 4509  ax-iinf 4560
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3or 968  df-3an 969  df-tru 1345  df-fal 1348  df-nf 1448  df-sb 1750  df-eu 2016  df-mo 2017  df-clab 2151  df-cleq 2157  df-clel 2160  df-nfc 2295  df-ne 2335  df-ral 2447  df-rex 2448  df-reu 2449  df-rab 2451  df-v 2724  df-sbc 2948  df-csb 3042  df-dif 3114  df-un 3116  df-in 3118  df-ss 3125  df-nul 3406  df-pw 3556  df-sn 3577  df-pr 3578  df-op 3580  df-uni 3785  df-int 3820  df-iun 3863  df-br 3978  df-opab 4039  df-mpt 4040  df-tr 4076  df-eprel 4262  df-id 4266  df-po 4269  df-iso 4270  df-iord 4339  df-on 4341  df-suc 4344  df-iom 4563  df-xp 4605  df-rel 4606  df-cnv 4607  df-co 4608  df-dm 4609  df-rn 4610  df-res 4611  df-ima 4612  df-iota 5148  df-fun 5185  df-fn 5186  df-f 5187  df-f1 5188  df-fo 5189  df-f1o 5190  df-fv 5191  df-ov 5840  df-oprab 5841  df-mpo 5842  df-1st 6101  df-2nd 6102  df-recs 6265  df-irdg 6330  df-1o 6376  df-oadd 6380  df-omul 6381  df-er 6493  df-ec 6495  df-qs 6499  df-ni 7237  df-pli 7238  df-mi 7239  df-lti 7240  df-plpq 7277  df-mpq 7278  df-enq 7280  df-nqqs 7281  df-plqqs 7282  df-mqqs 7283  df-1nqqs 7284  df-rq 7285  df-ltnqqs 7286  df-inp 7399  df-iplp 7401
This theorem is referenced by:  addnqprlemfu  7493  addnqpr  7494
  Copyright terms: Public domain W3C validator