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

Theorem supaddc 29615
Description: The supremum function distributes over addition in a sense similar to that in supmul1 10504. (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 3116 . . . . . . 7  |-  w  e. 
_V
2 oveq1 6289 . . . . . . . . . 10  |-  ( v  =  a  ->  (
v  +  B )  =  ( a  +  B ) )
32eqeq2d 2481 . . . . . . . . 9  |-  ( v  =  a  ->  (
z  =  ( v  +  B )  <->  z  =  ( a  +  B
) ) )
43cbvrexv 3089 . . . . . . . 8  |-  ( E. v  e.  A  z  =  ( v  +  B )  <->  E. a  e.  A  z  =  ( a  +  B
) )
5 eqeq1 2471 . . . . . . . . 9  |-  ( z  =  w  ->  (
z  =  ( a  +  B )  <->  w  =  ( a  +  B
) ) )
65rexbidv 2973 . . . . . . . 8  |-  ( z  =  w  ->  ( E. a  e.  A  z  =  ( a  +  B )  <->  E. a  e.  A  w  =  ( a  +  B
) ) )
74, 6syl5bb 257 . . . . . . 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 3253 . . . . . 6  |-  ( w  e.  C  <->  E. a  e.  A  w  =  ( a  +  B
) )
10 supadd.a1 . . . . . . . . . 10  |-  ( ph  ->  A  C_  RR )
1110sselda 3504 . . . . . . . . 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 10499 . . . . . . . . . . 11  |-  ( ( A  C_  RR  /\  A  =/=  (/)  /\  E. x  e.  RR  A. y  e.  A  y  <_  x
)  ->  sup ( A ,  RR ,  <  )  e.  RR )
1510, 12, 13, 14syl3anc 1228 . . . . . . . . . 10  |-  ( ph  ->  sup ( A ,  RR ,  <  )  e.  RR )
1615adantr 465 . . . . . . . . 9  |-  ( (
ph  /\  a  e.  A )  ->  sup ( A ,  RR ,  <  )  e.  RR )
17 supaddc.b . . . . . . . . . 10  |-  ( ph  ->  B  e.  RR )
1817adantr 465 . . . . . . . . 9  |-  ( (
ph  /\  a  e.  A )  ->  B  e.  RR )
1910, 12, 133jca 1176 . . . . . . . . . 10  |-  ( ph  ->  ( A  C_  RR  /\  A  =/=  (/)  /\  E. x  e.  RR  A. y  e.  A  y  <_  x ) )
20 suprub 10500 . . . . . . . . . 10  |-  ( ( ( A  C_  RR  /\  A  =/=  (/)  /\  E. x  e.  RR  A. y  e.  A  y  <_  x )  /\  a  e.  A )  ->  a  <_  sup ( A ,  RR ,  <  ) )
2119, 20sylan 471 . . . . . . . . 9  |-  ( (
ph  /\  a  e.  A )  ->  a  <_  sup ( A ,  RR ,  <  ) )
2211, 16, 18, 21leadd1dd 10162 . . . . . . . 8  |-  ( (
ph  /\  a  e.  A )  ->  (
a  +  B )  <_  ( sup ( A ,  RR ,  <  )  +  B ) )
23 breq1 4450 . . . . . . . 8  |-  ( w  =  ( a  +  B )  ->  (
w  <_  ( sup ( A ,  RR ,  <  )  +  B )  <-> 
( a  +  B
)  <_  ( sup ( A ,  RR ,  <  )  +  B ) ) )
2422, 23syl5ibrcom 222 . . . . . . 7  |-  ( (
ph  /\  a  e.  A )  ->  (
w  =  ( a  +  B )  ->  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) ) )
2524rexlimdva 2955 . . . . . 6  |-  ( ph  ->  ( E. a  e.  A  w  =  ( a  +  B )  ->  w  <_  ( sup ( A ,  RR ,  <  )  +  B
) ) )
269, 25syl5bi 217 . . . . 5  |-  ( ph  ->  ( w  e.  C  ->  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) ) )
2726ralrimiv 2876 . . . 4  |-  ( ph  ->  A. w  e.  C  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) )
2811, 18readdcld 9619 . . . . . . . . 9  |-  ( (
ph  /\  a  e.  A )  ->  (
a  +  B )  e.  RR )
29 eleq1a 2550 . . . . . . . . 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 2955 . . . . . . 7  |-  ( ph  ->  ( E. a  e.  A  w  =  ( a  +  B )  ->  w  e.  RR ) )
329, 31syl5bi 217 . . . . . 6  |-  ( ph  ->  ( w  e.  C  ->  w  e.  RR ) )
3332ssrdv 3510 . . . . 5  |-  ( ph  ->  C  C_  RR )
34 ovex 6307 . . . . . . . . 9  |-  ( a  +  B )  e. 
_V
3534isseti 3119 . . . . . . . 8  |-  E. w  w  =  ( a  +  B )
3635rgenw 2825 . . . . . . 7  |-  A. a  e.  A  E. w  w  =  ( a  +  B )
37 r19.2z 3917 . . . . . . 7  |-  ( ( A  =/=  (/)  /\  A. a  e.  A  E. w  w  =  (
a  +  B ) )  ->  E. a  e.  A  E. w  w  =  ( a  +  B ) )
3812, 36, 37sylancl 662 . . . . . 6  |-  ( ph  ->  E. a  e.  A  E. w  w  =  ( a  +  B
) )
399exbii 1644 . . . . . . 7  |-  ( E. w  w  e.  C  <->  E. w E. a  e.  A  w  =  ( a  +  B ) )
40 n0 3794 . . . . . . 7  |-  ( C  =/=  (/)  <->  E. w  w  e.  C )
41 rexcom4 3133 . . . . . . 7  |-  ( E. a  e.  A  E. w  w  =  (
a  +  B )  <->  E. w E. a  e.  A  w  =  ( a  +  B ) )
4239, 40, 413bitr4i 277 . . . . . 6  |-  ( C  =/=  (/)  <->  E. a  e.  A  E. w  w  =  ( a  +  B
) )
4338, 42sylibr 212 . . . . 5  |-  ( ph  ->  C  =/=  (/) )
4415, 17readdcld 9619 . . . . . 6  |-  ( ph  ->  ( sup ( A ,  RR ,  <  )  +  B )  e.  RR )
45 breq2 4451 . . . . . . . 8  |-  ( x  =  ( sup ( A ,  RR ,  <  )  +  B )  ->  ( w  <_  x 
<->  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) ) )
4645ralbidv 2903 . . . . . . 7  |-  ( x  =  ( sup ( A ,  RR ,  <  )  +  B )  ->  ( A. w  e.  C  w  <_  x  <->  A. w  e.  C  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) ) )
4746rspcev 3214 . . . . . 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 661 . . . . 5  |-  ( ph  ->  E. x  e.  RR  A. w  e.  C  w  <_  x )
49 suprleub 10503 . . . . 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 1231 . . . 4  |-  ( ph  ->  ( sup ( C ,  RR ,  <  )  <_  ( sup ( A ,  RR ,  <  )  +  B )  <->  A. w  e.  C  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) ) )
5127, 50mpbird 232 . . 3  |-  ( ph  ->  sup ( C ,  RR ,  <  )  <_ 
( sup ( A ,  RR ,  <  )  +  B ) )
52 suprcl 10499 . . . . . . . 8  |-  ( ( C  C_  RR  /\  C  =/=  (/)  /\  E. x  e.  RR  A. w  e.  C  w  <_  x
)  ->  sup ( C ,  RR ,  <  )  e.  RR )
5333, 43, 48, 52syl3anc 1228 . . . . . . 7  |-  ( ph  ->  sup ( C ,  RR ,  <  )  e.  RR )
5453, 17, 15ltsubaddd 10144 . . . . . 6  |-  ( ph  ->  ( ( sup ( C ,  RR ,  <  )  -  B )  <  sup ( A ,  RR ,  <  )  <->  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) ) )
5554biimpar 485 . . . . 5  |-  ( (
ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  ->  ( sup ( C ,  RR ,  <  )  -  B
)  <  sup ( A ,  RR ,  <  ) )
5653, 17resubcld 9983 . . . . . . 7  |-  ( ph  ->  ( sup ( C ,  RR ,  <  )  -  B )  e.  RR )
57 suprlub 10501 . . . . . . 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 1231 . . . . . 6  |-  ( ph  ->  ( ( sup ( C ,  RR ,  <  )  -  B )  <  sup ( A ,  RR ,  <  )  <->  E. a  e.  A  ( sup ( C ,  RR ,  <  )  -  B )  <  a ) )
5958adantr 465 . . . . 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 210 . . . 4  |-  ( (
ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  ->  E. a  e.  A  ( sup ( C ,  RR ,  <  )  -  B )  <  a )
61 rspe 2922 . . . . . . . . . . . . . 14  |-  ( ( a  e.  A  /\  w  =  ( a  +  B ) )  ->  E. a  e.  A  w  =  ( a  +  B ) )
6261, 9sylibr 212 . . . . . . . . . . . . 13  |-  ( ( a  e.  A  /\  w  =  ( a  +  B ) )  ->  w  e.  C )
6362adantl 466 . . . . . . . . . . . 12  |-  ( (
ph  /\  ( a  e.  A  /\  w  =  ( a  +  B ) ) )  ->  w  e.  C
)
64 simplrr 760 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  (
a  e.  A  /\  w  =  ( a  +  B ) ) )  /\  w  e.  C
)  ->  w  =  ( a  +  B
) )
6533, 43, 483jca 1176 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( C  C_  RR  /\  C  =/=  (/)  /\  E. x  e.  RR  A. w  e.  C  w  <_  x ) )
66 suprub 10500 . . . . . . . . . . . . . . 15  |-  ( ( ( C  C_  RR  /\  C  =/=  (/)  /\  E. x  e.  RR  A. w  e.  C  w  <_  x )  /\  w  e.  C )  ->  w  <_  sup ( C ,  RR ,  <  ) )
6765, 66sylan 471 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  w  e.  C )  ->  w  <_  sup ( C ,  RR ,  <  ) )
6867adantlr 714 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  (
a  e.  A  /\  w  =  ( a  +  B ) ) )  /\  w  e.  C
)  ->  w  <_  sup ( C ,  RR ,  <  ) )
6964, 68eqbrtrrd 4469 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  (
a  e.  A  /\  w  =  ( a  +  B ) ) )  /\  w  e.  C
)  ->  ( a  +  B )  <_  sup ( C ,  RR ,  <  ) )
7063, 69mpdan 668 . . . . . . . . . . 11  |-  ( (
ph  /\  ( a  e.  A  /\  w  =  ( a  +  B ) ) )  ->  ( a  +  B )  <_  sup ( C ,  RR ,  <  ) )
7170expr 615 . . . . . . . . . 10  |-  ( (
ph  /\  a  e.  A )  ->  (
w  =  ( a  +  B )  -> 
( a  +  B
)  <_  sup ( C ,  RR ,  <  ) ) )
7271exlimdv 1700 . . . . . . . . 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 714 . . . . . . 7  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  (
a  +  B )  <_  sup ( C ,  RR ,  <  ) )
7528adantlr 714 . . . . . . . 8  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  (
a  +  B )  e.  RR )
7653ad2antrr 725 . . . . . . . 8  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  sup ( C ,  RR ,  <  )  e.  RR )
7775, 76lenltd 9726 . . . . . . 7  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  (
( a  +  B
)  <_  sup ( C ,  RR ,  <  )  <->  -.  sup ( C ,  RR ,  <  )  <  ( a  +  B ) ) )
7874, 77mpbid 210 . . . . . 6  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  -.  sup ( C ,  RR ,  <  )  <  (
a  +  B ) )
7917ad2antrr 725 . . . . . . 7  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  B  e.  RR )
8011adantlr 714 . . . . . . 7  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  a  e.  RR )
8176, 79, 80ltsubaddd 10144 . . . . . 6  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  (
( sup ( C ,  RR ,  <  )  -  B )  < 
a  <->  sup ( C ,  RR ,  <  )  < 
( a  +  B
) ) )
8278, 81mtbird 301 . . . . 5  |-  ( ( ( ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  /\  a  e.  A )  ->  -.  ( sup ( C ,  RR ,  <  )  -  B )  <  a
)
8382nrexdv 2920 . . . 4  |-  ( (
ph  /\  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B
) )  ->  -.  E. a  e.  A  ( sup ( C ,  RR ,  <  )  -  B )  <  a
)
8460, 83pm2.65da 576 . . 3  |-  ( ph  ->  -.  sup ( C ,  RR ,  <  )  <  ( sup ( A ,  RR ,  <  )  +  B ) )
8553, 44eqleltd 9724 . . 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 920 . 2  |-  ( ph  ->  sup ( C ,  RR ,  <  )  =  ( sup ( A ,  RR ,  <  )  +  B ) )
8786eqcomd 2475 1  |-  ( ph  ->  ( sup ( A ,  RR ,  <  )  +  B )  =  sup ( C ,  RR ,  <  ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 184    /\ wa 369    /\ w3a 973    = wceq 1379   E.wex 1596    e. wcel 1767   {cab 2452    =/= wne 2662   A.wral 2814   E.wrex 2815    C_ wss 3476   (/)c0 3785   class class class wbr 4447  (class class class)co 6282   supcsup 7896   RRcr 9487    + caddc 9491    < clt 9624    <_ cle 9625    - cmin 9801
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1601  ax-4 1612  ax-5 1680  ax-6 1719  ax-7 1739  ax-8 1769  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-sep 4568  ax-nul 4576  ax-pow 4625  ax-pr 4686  ax-un 6574  ax-resscn 9545  ax-1cn 9546  ax-icn 9547  ax-addcl 9548  ax-addrcl 9549  ax-mulcl 9550  ax-mulrcl 9551  ax-mulcom 9552  ax-addass 9553  ax-mulass 9554  ax-distr 9555  ax-i2m1 9556  ax-1ne0 9557  ax-1rid 9558  ax-rnegex 9559  ax-rrecex 9560  ax-cnre 9561  ax-pre-lttri 9562  ax-pre-lttrn 9563  ax-pre-ltadd 9564  ax-pre-mulgt0 9565  ax-pre-sup 9566
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 974  df-3an 975  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-nel 2665  df-ral 2819  df-rex 2820  df-reu 2821  df-rmo 2822  df-rab 2823  df-v 3115  df-sbc 3332  df-csb 3436  df-dif 3479  df-un 3481  df-in 3483  df-ss 3490  df-nul 3786  df-if 3940  df-pw 4012  df-sn 4028  df-pr 4030  df-op 4034  df-uni 4246  df-br 4448  df-opab 4506  df-mpt 4507  df-id 4795  df-po 4800  df-so 4801  df-xp 5005  df-rel 5006  df-cnv 5007  df-co 5008  df-dm 5009  df-rn 5010  df-res 5011  df-ima 5012  df-iota 5549  df-fun 5588  df-fn 5589  df-f 5590  df-f1 5591  df-fo 5592  df-f1o 5593  df-fv 5594  df-riota 6243  df-ov 6285  df-oprab 6286  df-mpt2 6287  df-er 7308  df-en 7514  df-dom 7515  df-sdom 7516  df-sup 7897  df-pnf 9626  df-mnf 9627  df-xr 9628  df-ltxr 9629  df-le 9630  df-sub 9803  df-neg 9804
This theorem is referenced by:  supadd  29616
  Copyright terms: Public domain W3C validator