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

Theorem addnqprlemru 7096
Description: Lemma for addnqpr 7099. The reverse subset relationship for the upper cut. (Contributed by Jim Kingdon, 19-Aug-2020.)
Assertion
Ref Expression
addnqprlemru  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
)  C_  ( 2nd ` 
<. { l  |  l 
<Q  ( A  +Q  B
) } ,  {
u  |  ( A  +Q  B )  <Q  u } >. ) )
Distinct variable groups:    A, l, u    B, l, u

Proof of Theorem addnqprlemru
Dummy variables  f  g  h  r  s  t  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nqprlu 7085 . . . . . 6  |-  ( A  e.  Q.  ->  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >.  e.  P. )
2 nqprlu 7085 . . . . . 6  |-  ( B  e.  Q.  ->  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >.  e.  P. )
3 df-iplp 7006 . . . . . . 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 6913 . . . . . . 7  |-  ( ( g  e.  Q.  /\  h  e.  Q. )  ->  ( g  +Q  h
)  e.  Q. )
53, 4genpelvu 7051 . . . . . 6  |-  ( (
<. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  e.  P.  /\ 
<. { l  |  l 
<Q  B } ,  {
u  |  B  <Q  u } >.  e.  P. )  ->  ( r  e.  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
)  <->  E. s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. ) E. t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
r  =  ( s  +Q  t ) ) )
61, 2, 5syl2an 283 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( r  e.  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
)  <->  E. s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. ) E. t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
r  =  ( s  +Q  t ) ) )
76biimpa 290 . . . 4  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 2nd `  ( <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. ) ) )  ->  E. s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. ) E. t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
r  =  ( s  +Q  t ) )
8 vex 2622 . . . . . . . . . . . . 13  |-  s  e. 
_V
9 breq2 3841 . . . . . . . . . . . . 13  |-  ( u  =  s  ->  ( A  <Q  u  <->  A  <Q  s ) )
10 ltnqex 7087 . . . . . . . . . . . . . 14  |-  { l  |  l  <Q  A }  e.  _V
11 gtnqex 7088 . . . . . . . . . . . . . 14  |-  { u  |  A  <Q  u }  e.  _V
1210, 11op2nd 5900 . . . . . . . . . . . . 13  |-  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  =  { u  |  A  <Q  u }
138, 9, 12elab2 2761 . . . . . . . . . . . 12  |-  ( s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  <->  A  <Q  s )
1413biimpi 118 . . . . . . . . . . 11  |-  ( s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  ->  A  <Q  s )
1514ad2antrl 474 . . . . . . . . . 10  |-  ( ( ( ( A  e. 
Q.  /\  B  e.  Q. )  /\  r  e.  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  ->  A  <Q  s )
1615adantr 270 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  ->  A  <Q  s )
17 vex 2622 . . . . . . . . . . . . 13  |-  t  e. 
_V
18 breq2 3841 . . . . . . . . . . . . 13  |-  ( u  =  t  ->  ( B  <Q  u  <->  B  <Q  t ) )
19 ltnqex 7087 . . . . . . . . . . . . . 14  |-  { l  |  l  <Q  B }  e.  _V
20 gtnqex 7088 . . . . . . . . . . . . . 14  |-  { u  |  B  <Q  u }  e.  _V
2119, 20op2nd 5900 . . . . . . . . . . . . 13  |-  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )  =  { u  |  B  <Q  u }
2217, 18, 21elab2 2761 . . . . . . . . . . . 12  |-  ( t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )  <->  B  <Q  t )
2322biimpi 118 . . . . . . . . . . 11  |-  ( t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )  ->  B  <Q  t )
2423ad2antll 475 . . . . . . . . . 10  |-  ( ( ( ( A  e. 
Q.  /\  B  e.  Q. )  /\  r  e.  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  ->  B  <Q  t )
2524adantr 270 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  ->  B  <Q  t )
26 ltrelnq 6903 . . . . . . . . . . . 12  |-  <Q  C_  ( Q.  X.  Q. )
2726brel 4478 . . . . . . . . . . 11  |-  ( A 
<Q  s  ->  ( A  e.  Q.  /\  s  e.  Q. ) )
2816, 27syl 14 . . . . . . . . . 10  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  -> 
( A  e.  Q.  /\  s  e.  Q. )
)
2926brel 4478 . . . . . . . . . . 11  |-  ( B 
<Q  t  ->  ( B  e.  Q.  /\  t  e.  Q. ) )
3025, 29syl 14 . . . . . . . . . 10  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  -> 
( B  e.  Q.  /\  t  e.  Q. )
)
31 lt2addnq 6942 . . . . . . . . . 10  |-  ( ( ( A  e.  Q.  /\  s  e.  Q. )  /\  ( B  e.  Q.  /\  t  e.  Q. )
)  ->  ( ( A  <Q  s  /\  B  <Q  t )  ->  ( A  +Q  B )  <Q 
( s  +Q  t
) ) )
3228, 30, 31syl2anc 403 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  -> 
( ( A  <Q  s  /\  B  <Q  t
)  ->  ( A  +Q  B )  <Q  (
s  +Q  t ) ) )
3316, 25, 32mp2and 424 . . . . . . . 8  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  -> 
( A  +Q  B
)  <Q  ( s  +Q  t ) )
34 breq2 3841 . . . . . . . . 9  |-  ( r  =  ( s  +Q  t )  ->  (
( A  +Q  B
)  <Q  r  <->  ( A  +Q  B )  <Q  (
s  +Q  t ) ) )
3534adantl 271 . . . . . . . 8  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  -> 
( ( A  +Q  B )  <Q  r  <->  ( A  +Q  B ) 
<Q  ( s  +Q  t
) ) )
3633, 35mpbird 165 . . . . . . 7  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  -> 
( A  +Q  B
)  <Q  r )
37 vex 2622 . . . . . . . 8  |-  r  e. 
_V
38 breq2 3841 . . . . . . . 8  |-  ( u  =  r  ->  (
( A  +Q  B
)  <Q  u  <->  ( A  +Q  B )  <Q  r
) )
39 ltnqex 7087 . . . . . . . . 9  |-  { l  |  l  <Q  ( A  +Q  B ) }  e.  _V
40 gtnqex 7088 . . . . . . . . 9  |-  { u  |  ( A  +Q  B )  <Q  u }  e.  _V
4139, 40op2nd 5900 . . . . . . . 8  |-  ( 2nd `  <. { l  |  l  <Q  ( A  +Q  B ) } ,  { u  |  ( A  +Q  B )  <Q  u } >. )  =  {
u  |  ( A  +Q  B )  <Q  u }
4237, 38, 41elab2 2761 . . . . . . 7  |-  ( r  e.  ( 2nd `  <. { l  |  l  <Q 
( A  +Q  B
) } ,  {
u  |  ( A  +Q  B )  <Q  u } >. )  <->  ( A  +Q  B )  <Q  r
)
4336, 42sylibr 132 . . . . . 6  |-  ( ( ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  r  =  ( s  +Q  t ) )  -> 
r  e.  ( 2nd `  <. { l  |  l  <Q  ( A  +Q  B ) } ,  { u  |  ( A  +Q  B )  <Q  u } >. ) )
4443ex 113 . . . . 5  |-  ( ( ( ( A  e. 
Q.  /\  B  e.  Q. )  /\  r  e.  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  /\  (
s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. )  /\  t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
) )  ->  (
r  =  ( s  +Q  t )  -> 
r  e.  ( 2nd `  <. { l  |  l  <Q  ( A  +Q  B ) } ,  { u  |  ( A  +Q  B )  <Q  u } >. ) ) )
4544rexlimdvva 2496 . . . 4  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 2nd `  ( <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. ) ) )  -> 
( E. s  e.  ( 2nd `  <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >. ) E. t  e.  ( 2nd `  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. ) r  =  ( s  +Q  t )  ->  r  e.  ( 2nd `  <. { l  |  l  <Q  ( A  +Q  B ) } ,  { u  |  ( A  +Q  B
)  <Q  u } >. ) ) )
467, 45mpd 13 . . 3  |-  ( ( ( A  e.  Q.  /\  B  e.  Q. )  /\  r  e.  ( 2nd `  ( <. { l  |  l  <Q  A } ,  { u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. ) ) )  -> 
r  e.  ( 2nd `  <. { l  |  l  <Q  ( A  +Q  B ) } ,  { u  |  ( A  +Q  B )  <Q  u } >. ) )
4746ex 113 . 2  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( r  e.  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
)  ->  r  e.  ( 2nd `  <. { l  |  l  <Q  ( A  +Q  B ) } ,  { u  |  ( A  +Q  B
)  <Q  u } >. ) ) )
4847ssrdv 3029 1  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( 2nd `  ( <. { l  |  l 
<Q  A } ,  {
u  |  A  <Q  u } >.  +P.  <. { l  |  l  <Q  B } ,  { u  |  B  <Q  u } >. )
)  C_  ( 2nd ` 
<. { l  |  l 
<Q  ( A  +Q  B
) } ,  {
u  |  ( A  +Q  B )  <Q  u } >. ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 102    <-> wb 103    = wceq 1289    e. wcel 1438   {cab 2074   E.wrex 2360    C_ wss 2997   <.cop 3444   class class class wbr 3837   ` cfv 5002  (class class class)co 5634   2ndc2nd 5892   Q.cnq 6818    +Q cplq 6820    <Q cltq 6823   P.cnp 6829    +P. cpp 6831
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 579  ax-in2 580  ax-io 665  ax-5 1381  ax-7 1382  ax-gen 1383  ax-ie1 1427  ax-ie2 1428  ax-8 1440  ax-10 1441  ax-11 1442  ax-i12 1443  ax-bndl 1444  ax-4 1445  ax-13 1449  ax-14 1450  ax-17 1464  ax-i9 1468  ax-ial 1472  ax-i5r 1473  ax-ext 2070  ax-coll 3946  ax-sep 3949  ax-nul 3957  ax-pow 4001  ax-pr 4027  ax-un 4251  ax-setind 4343  ax-iinf 4393
This theorem depends on definitions:  df-bi 115  df-dc 781  df-3or 925  df-3an 926  df-tru 1292  df-fal 1295  df-nf 1395  df-sb 1693  df-eu 1951  df-mo 1952  df-clab 2075  df-cleq 2081  df-clel 2084  df-nfc 2217  df-ne 2256  df-ral 2364  df-rex 2365  df-reu 2366  df-rab 2368  df-v 2621  df-sbc 2839  df-csb 2932  df-dif 2999  df-un 3001  df-in 3003  df-ss 3010  df-nul 3285  df-pw 3427  df-sn 3447  df-pr 3448  df-op 3450  df-uni 3649  df-int 3684  df-iun 3727  df-br 3838  df-opab 3892  df-mpt 3893  df-tr 3929  df-eprel 4107  df-id 4111  df-po 4114  df-iso 4115  df-iord 4184  df-on 4186  df-suc 4189  df-iom 4396  df-xp 4434  df-rel 4435  df-cnv 4436  df-co 4437  df-dm 4438  df-rn 4439  df-res 4440  df-ima 4441  df-iota 4967  df-fun 5004  df-fn 5005  df-f 5006  df-f1 5007  df-fo 5008  df-f1o 5009  df-fv 5010  df-ov 5637  df-oprab 5638  df-mpt2 5639  df-1st 5893  df-2nd 5894  df-recs 6052  df-irdg 6117  df-1o 6163  df-oadd 6167  df-omul 6168  df-er 6272  df-ec 6274  df-qs 6278  df-ni 6842  df-pli 6843  df-mi 6844  df-lti 6845  df-plpq 6882  df-mpq 6883  df-enq 6885  df-nqqs 6886  df-plqqs 6887  df-mqqs 6888  df-1nqqs 6889  df-rq 6890  df-ltnqqs 6891  df-inp 7004  df-iplp 7006
This theorem is referenced by:  addnqprlemfl  7097  addnqpr  7099
  Copyright terms: Public domain W3C validator