Users' Mathboxes Mathbox for Brendan Leahy < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  supaddc Structured version   Unicode version

Theorem supaddc 26239
Description: The supremum function distributes over addition in a sense similar to that in supmul1 9975. (Contributed by Brendan Leahy, 25-Sep-2017.)
Hypotheses
Ref Expression
supadd.a1  |-  ( ph  ->  A  C_  RR )
supadd.a2  |-  ( ph  ->  A  =/=  (/) )
supadd.a3  |-  ( ph  ->  E. x  e.  RR  A. y  e.  A  y  <_  x )
supaddc.b  |-  ( ph  ->  B  e.  RR )
supaddc.c  |-  C  =  { z  |  E. v  e.  A  z  =  ( v  +  B ) }
Assertion
Ref Expression
supaddc  |-  ( ph  ->  ( sup ( A ,  RR ,  <  )  +  B )  =  sup ( C ,  RR ,  <  ) )
Distinct variable groups:    x, y,
z, v, A    x, B, y, z, v    x, C    ph, z, v
Allowed substitution hints:    ph( x, y)    C( y, z, v)

Proof of Theorem supaddc
Dummy variables  w  a are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 2961 . . . . . . 7  |-  w  e. 
_V
2 oveq1 6090 . . . . . . . . . 10  |-  ( v  =  a  ->  (
v  +  B )  =  ( a  +  B ) )
32eqeq2d 2449 . . . . . . . . 9  |-  ( v  =  a  ->  (
z  =  ( v  +  B )  <->  z  =  ( a  +  B
) ) )
43cbvrexv 2935 . . . . . . . 8  |-  ( E. v  e.  A  z  =  ( v  +  B )  <->  E. a  e.  A  z  =  ( a  +  B
) )
5 eqeq1 2444 . . . . . . . . 9  |-  ( z  =  w  ->  (
z  =  ( a  +  B )  <->  w  =  ( a  +  B
) ) )
65rexbidv 2728 . . . . . . . 8  |-  ( z  =  w  ->  ( E. a  e.  A  z  =  ( a  +  B )  <->  E. a  e.  A  w  =  ( a  +  B
) ) )
74, 6syl5bb 250 . . . . . . 7  |-  ( z  =  w  ->  ( E. v  e.  A  z  =  ( v  +  B )  <->  E. a  e.  A  w  =  ( a  +  B
) ) )
8 supaddc.c . . . . . . 7  |-  C  =  { z  |  E. v  e.  A  z  =  ( v  +  B ) }
91, 7, 8elab2 3087 . . . . . 6  |-  ( w  e.  C  <->  E. a  e.  A  w  =  ( a  +  B
) )
10 supadd.a1 . . . . . . . . . 10  |-  ( ph  ->  A  C_  RR )
1110sselda 3350 . . . . . . . . 9  |-  ( (
ph  /\  a  e.  A )  ->  a  e.  RR )
12 supadd.a2 . . . . . . . . . . 11  |-  ( ph  ->  A  =/=  (/) )
13 supadd.a3 . . . . . . . . . . 11  |-  ( ph  ->  E. x  e.  RR  A. y  e.  A  y  <_  x )
14 suprcl 9970 . . . . . . . . . . 11  |-  ( ( A  C_  RR  /\  A  =/=  (/)  /\  E. x  e.  RR  A. y  e.  A  y  <_  x
)  ->  sup ( A ,  RR ,  <  )  e.  RR )
1510, 12, 13, 14syl3anc 1185 . . . . . . . . . 10  |-  ( ph  ->  sup ( A ,  RR ,  <  )  e.  RR )
1615adantr 453 . . . . . . . . 9  |-  ( (
ph  /\  a  e.  A )  ->  sup ( A ,  RR ,  <  )  e.  RR )
17 supaddc.b . . . . . . . . . 10  |-  ( ph  ->  B  e.  RR )
1817adantr 453 . . . . . . . . 9  |-  ( (
ph  /\  a  e.  A )  ->  B  e.  RR )
1910, 12, 133jca 1135 . . . . . . . . . 10  |-  ( ph  ->  ( A  C_  RR  /\  A  =/=  (/)  /\  E. x  e.  RR  A. y  e.  A  y  <_  x ) )
20 suprub 9971 . . . . . . . . . 10  |-  ( ( ( A  C_  RR  /\  A  =/=  (/)  /\  E. x  e.  RR  A. y  e.  A  y  <_  x )  /\  a  e.  A )  ->  a  <_  sup ( A ,  RR ,  <  ) )
2119, 20sylan 459 . . . . . . . . 9  |-  ( (
ph  /\  a  e.  A )  ->  a  <_  sup ( A ,  RR ,  <  ) )
2211, 16, 18, 21leadd1dd 9642 . . . . . . . 8  |-  ( (
ph  /\  a  e.  A )  ->  (
a  +  B )  <_  ( sup ( A ,  RR ,  <  )  +  B ) )
23 breq1 4217 . . . . . . . 8  |-  ( w  =  ( a  +  B )  ->  (
w  <_  ( sup ( A ,  RR ,  <  )  +  B )  <-> 
( a  +  B
)  <_  ( sup ( A ,  RR ,  <  )  +  B ) ) )
2422, 23syl5ibrcom 215 . . . . . . 7  |-  ( (
ph  /\  a  e.  A )  ->  (
w  =  ( a  +  B )  ->  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) ) )
2524rexlimdva 2832 . . . . . 6  |-  ( ph  ->  ( E. a  e.  A  w  =  ( a  +  B )  ->  w  <_  ( sup ( A ,  RR ,  <  )  +  B
) ) )
269, 25syl5bi 210 . . . . 5  |-  ( ph  ->  ( w  e.  C  ->  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) ) )
2726ralrimiv 2790 . . . 4  |-  ( ph  ->  A. w  e.  C  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) )
2811, 18readdcld 9117 . . . . . . . . 9  |-  ( (
ph  /\  a  e.  A )  ->  (
a  +  B )  e.  RR )
29 eleq1a 2507 . . . . . . . . 9  |-  ( ( a  +  B )  e.  RR  ->  (
w  =  ( a  +  B )  ->  w  e.  RR )
)
3028, 29syl 16 . . . . . . . 8  |-  ( (
ph  /\  a  e.  A )  ->  (
w  =  ( a  +  B )  ->  w  e.  RR )
)
3130rexlimdva 2832 . . . . . . 7  |-  ( ph  ->  ( E. a  e.  A  w  =  ( a  +  B )  ->  w  e.  RR ) )
329, 31syl5bi 210 . . . . . 6  |-  ( ph  ->  ( w  e.  C  ->  w  e.  RR ) )
3332ssrdv 3356 . . . . 5  |-  ( ph  ->  C  C_  RR )
34 ovex 6108 . . . . . . . . 9  |-  ( a  +  B )  e. 
_V
3534isseti 2964 . . . . . . . 8  |-  E. w  w  =  ( a  +  B )
3635rgenw 2775 . . . . . . 7  |-  A. a  e.  A  E. w  w  =  ( a  +  B )
37 r19.2z 3719 . . . . . . 7  |-  ( ( A  =/=  (/)  /\  A. a  e.  A  E. w  w  =  (
a  +  B ) )  ->  E. a  e.  A  E. w  w  =  ( a  +  B ) )
3812, 36, 37sylancl 645 . . . . . 6  |-  ( ph  ->  E. a  e.  A  E. w  w  =  ( a  +  B
) )
399exbii 1593 . . . . . . 7  |-  ( E. w  w  e.  C  <->  E. w E. a  e.  A  w  =  ( a  +  B ) )
40 n0 3639 . . . . . . 7  |-  ( C  =/=  (/)  <->  E. w  w  e.  C )
41 rexcom4 2977 . . . . . . 7  |-  ( E. a  e.  A  E. w  w  =  (
a  +  B )  <->  E. w E. a  e.  A  w  =  ( a  +  B ) )
4239, 40, 413bitr4i 270 . . . . . 6  |-  ( C  =/=  (/)  <->  E. a  e.  A  E. w  w  =  ( a  +  B
) )
4338, 42sylibr 205 . . . . 5  |-  ( ph  ->  C  =/=  (/) )
4415, 17readdcld 9117 . . . . . 6  |-  ( ph  ->  ( sup ( A ,  RR ,  <  )  +  B )  e.  RR )
45 breq2 4218 . . . . . . . 8  |-  ( x  =  ( sup ( A ,  RR ,  <  )  +  B )  ->  ( w  <_  x 
<->  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) ) )
4645ralbidv 2727 . . . . . . 7  |-  ( x  =  ( sup ( A ,  RR ,  <  )  +  B )  ->  ( A. w  e.  C  w  <_  x  <->  A. w  e.  C  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) ) )
4746rspcev 3054 . . . . . 6  |-  ( ( ( sup ( A ,  RR ,  <  )  +  B )  e.  RR  /\  A. w  e.  C  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) )  ->  E. x  e.  RR  A. w  e.  C  w  <_  x )
4844, 27, 47syl2anc 644 . . . . 5  |-  ( ph  ->  E. x  e.  RR  A. w  e.  C  w  <_  x )
49 suprleub 9974 . . . . 5  |-  ( ( ( C  C_  RR  /\  C  =/=  (/)  /\  E. x  e.  RR  A. w  e.  C  w  <_  x )  /\  ( sup ( A ,  RR ,  <  )  +  B
)  e.  RR )  ->  ( sup ( C ,  RR ,  <  )  <_  ( sup ( A ,  RR ,  <  )  +  B )  <->  A. w  e.  C  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) ) )
5033, 43, 48, 44, 49syl31anc 1188 . . . 4  |-  ( ph  ->  ( sup ( C ,  RR ,  <  )  <_  ( sup ( A ,  RR ,  <  )  +  B )  <->  A. w  e.  C  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) ) )
5127, 50mpbird 225 . . 3  |-  ( ph  ->  sup ( C ,  RR ,  <  )  <_ 
( sup ( A ,  RR ,  <  )  +  B ) )
52 suprcl 9970 . . . . . . . 8  |-  ( ( C  C_  RR  /\  C  =/=  (/)  /\  E. x  e.  RR  A. w  e.  C  w  <_  x
)  ->  sup ( C ,  RR ,  <  )  e.  RR )
5333, 43, 48, 52syl3anc 1185 . . . . . . 7  |-  ( ph  ->  sup ( C ,  RR ,  <  )  e.  RR )
5453, 17, 15ltsubaddd 9624 . . . . . 6  |-  ( ph  ->  ( ( sup ( C ,  RR ,  <  )  -  B )  <  sup ( A ,  RR ,  <  )  <->  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) ) )
5554biimpar 473 . . . . 5  |-  ( (
ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  ->  ( sup ( C ,  RR ,  <  )  -  B
)  <  sup ( A ,  RR ,  <  ) )
5653, 17resubcld 9467 . . . . . . 7  |-  ( ph  ->  ( sup ( C ,  RR ,  <  )  -  B )  e.  RR )
57 suprlub 9972 . . . . . . 7  |-  ( ( ( A  C_  RR  /\  A  =/=  (/)  /\  E. x  e.  RR  A. y  e.  A  y  <_  x )  /\  ( sup ( C ,  RR ,  <  )  -  B
)  e.  RR )  ->  ( ( sup ( C ,  RR ,  <  )  -  B
)  <  sup ( A ,  RR ,  <  )  <->  E. a  e.  A  ( sup ( C ,  RR ,  <  )  -  B )  <  a
) )
5810, 12, 13, 56, 57syl31anc 1188 . . . . . 6  |-  ( ph  ->  ( ( sup ( C ,  RR ,  <  )  -  B )  <  sup ( A ,  RR ,  <  )  <->  E. a  e.  A  ( sup ( C ,  RR ,  <  )  -  B )  <  a ) )
5958adantr 453 . . . . 5  |-  ( (
ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  ->  (
( sup ( C ,  RR ,  <  )  -  B )  <  sup ( A ,  RR ,  <  )  <->  E. a  e.  A  ( sup ( C ,  RR ,  <  )  -  B )  <  a ) )
6055, 59mpbid 203 . . . 4  |-  ( (
ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  ->  E. a  e.  A  ( sup ( C ,  RR ,  <  )  -  B )  <  a )
61 rspe 2769 . . . . . . . . . . . . . 14  |-  ( ( a  e.  A  /\  w  =  ( a  +  B ) )  ->  E. a  e.  A  w  =  ( a  +  B ) )
6261, 9sylibr 205 . . . . . . . . . . . . 13  |-  ( ( a  e.  A  /\  w  =  ( a  +  B ) )  ->  w  e.  C )
6362adantl 454 . . . . . . . . . . . 12  |-  ( (
ph  /\  ( a  e.  A  /\  w  =  ( a  +  B ) ) )  ->  w  e.  C
)
64 simplrr 739 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  (
a  e.  A  /\  w  =  ( a  +  B ) ) )  /\  w  e.  C
)  ->  w  =  ( a  +  B
) )
6533, 43, 483jca 1135 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( C  C_  RR  /\  C  =/=  (/)  /\  E. x  e.  RR  A. w  e.  C  w  <_  x ) )
66 suprub 9971 . . . . . . . . . . . . . . 15  |-  ( ( ( C  C_  RR  /\  C  =/=  (/)  /\  E. x  e.  RR  A. w  e.  C  w  <_  x )  /\  w  e.  C )  ->  w  <_  sup ( C ,  RR ,  <  ) )
6765, 66sylan 459 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  w  e.  C )  ->  w  <_  sup ( C ,  RR ,  <  ) )
6867adantlr 697 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  (
a  e.  A  /\  w  =  ( a  +  B ) ) )  /\  w  e.  C
)  ->  w  <_  sup ( C ,  RR ,  <  ) )
6964, 68eqbrtrrd 4236 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  (
a  e.  A  /\  w  =  ( a  +  B ) ) )  /\  w  e.  C
)  ->  ( a  +  B )  <_  sup ( C ,  RR ,  <  ) )
7063, 69mpdan 651 . . . . . . . . . . 11  |-  ( (
ph  /\  ( a  e.  A  /\  w  =  ( a  +  B ) ) )  ->  ( a  +  B )  <_  sup ( C ,  RR ,  <  ) )
7170expr 600 . . . . . . . . . 10  |-  ( (
ph  /\  a  e.  A )  ->  (
w  =  ( a  +  B )  -> 
( a  +  B
)  <_  sup ( C ,  RR ,  <  ) ) )
7271exlimdv 1647 . . . . . . . . 9  |-  ( (
ph  /\  a  e.  A )  ->  ( E. w  w  =  ( a  +  B
)  ->  ( a  +  B )  <_  sup ( C ,  RR ,  <  ) ) )
7335, 72mpi 17 . . . . . . . 8  |-  ( (
ph  /\  a  e.  A )  ->  (
a  +  B )  <_  sup ( C ,  RR ,  <  ) )
7473adantlr 697 . . . . . . 7  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  (
a  +  B )  <_  sup ( C ,  RR ,  <  ) )
7528adantlr 697 . . . . . . . 8  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  (
a  +  B )  e.  RR )
7653ad2antrr 708 . . . . . . . 8  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  sup ( C ,  RR ,  <  )  e.  RR )
7775, 76lenltd 9221 . . . . . . 7  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  (
( a  +  B
)  <_  sup ( C ,  RR ,  <  )  <->  -.  sup ( C ,  RR ,  <  )  <  ( a  +  B ) ) )
7874, 77mpbid 203 . . . . . 6  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  -.  sup ( C ,  RR ,  <  )  <  (
a  +  B ) )
7917ad2antrr 708 . . . . . . 7  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  B  e.  RR )
8011adantlr 697 . . . . . . 7  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  a  e.  RR )
8176, 79, 80ltsubaddd 9624 . . . . . 6  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  (
( sup ( C ,  RR ,  <  )  -  B )  < 
a  <->  sup ( C ,  RR ,  <  )  < 
( a  +  B
) ) )
8278, 81mtbird 294 . . . . 5  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  -.  ( sup ( C ,  RR ,  <  )  -  B )  <  a
)
8382nrexdv 2811 . . . 4  |-  ( (
ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  ->  -.  E. a  e.  A  ( sup ( C ,  RR ,  <  )  -  B )  <  a
)
8460, 83pm2.65da 561 . . 3  |-  ( ph  ->  -.  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B ) )
8553, 44eqleltd 9219 . . 3  |-  ( ph  ->  ( sup ( C ,  RR ,  <  )  =  ( sup ( A ,  RR ,  <  )  +  B )  <-> 
( sup ( C ,  RR ,  <  )  <_  ( sup ( A ,  RR ,  <  )  +  B )  /\  -.  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) ) ) )
8651, 84, 85mpbir2and 890 . 2  |-  ( ph  ->  sup ( C ,  RR ,  <  )  =  ( sup ( A ,  RR ,  <  )  +  B ) )
8786eqcomd 2443 1  |-  ( ph  ->  ( sup ( A ,  RR ,  <  )  +  B )  =  sup ( C ,  RR ,  <  ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 178    /\ wa 360    /\ w3a 937   E.wex 1551    = wceq 1653    e. wcel 1726   {cab 2424    =/= wne 2601   A.wral 2707   E.wrex 2708    C_ wss 3322   (/)c0 3630   class class class wbr 4214  (class class class)co 6083   supcsup 7447   RRcr 8991    + caddc 8995    < clt 9122    <_ cle 9123    - cmin 9293
This theorem is referenced by:  supadd  26240
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-13 1728  ax-14 1730  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419  ax-sep 4332  ax-nul 4340  ax-pow 4379  ax-pr 4405  ax-un 4703  ax-resscn 9049  ax-1cn 9050  ax-icn 9051  ax-addcl 9052  ax-addrcl 9053  ax-mulcl 9054  ax-mulrcl 9055  ax-mulcom 9056  ax-addass 9057  ax-mulass 9058  ax-distr 9059  ax-i2m1 9060  ax-1ne0 9061  ax-1rid 9062  ax-rnegex 9063  ax-rrecex 9064  ax-cnre 9065  ax-pre-lttri 9066  ax-pre-lttrn 9067  ax-pre-ltadd 9068  ax-pre-mulgt0 9069  ax-pre-sup 9070
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 938  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2287  df-mo 2288  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-nel 2604  df-ral 2712  df-rex 2713  df-reu 2714  df-rmo 2715  df-rab 2716  df-v 2960  df-sbc 3164  df-csb 3254  df-dif 3325  df-un 3327  df-in 3329  df-ss 3336  df-nul 3631  df-if 3742  df-pw 3803  df-sn 3822  df-pr 3823  df-op 3825  df-uni 4018  df-br 4215  df-opab 4269  df-mpt 4270  df-id 4500  df-po 4505  df-so 4506  df-xp 4886  df-rel 4887  df-cnv 4888  df-co 4889  df-dm 4890  df-rn 4891  df-res 4892  df-ima 4893  df-iota 5420  df-fun 5458  df-fn 5459  df-f 5460  df-f1 5461  df-fo 5462  df-f1o 5463  df-fv 5464  df-ov 6086  df-oprab 6087  df-mpt2 6088  df-riota 6551  df-er 6907  df-en 7112  df-dom 7113  df-sdom 7114  df-sup 7448  df-pnf 9124  df-mnf 9125  df-xr 9126  df-ltxr 9127  df-le 9128  df-sub 9295  df-neg 9296
  Copyright terms: Public domain W3C validator