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

Theorem supaddc 30203
Description: The supremum function distributes over addition in a sense similar to that in supmul1 10528. (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 3112 . . . . . . 7  |-  w  e. 
_V
2 oveq1 6303 . . . . . . . . . 10  |-  ( v  =  a  ->  (
v  +  B )  =  ( a  +  B ) )
32eqeq2d 2471 . . . . . . . . 9  |-  ( v  =  a  ->  (
z  =  ( v  +  B )  <->  z  =  ( a  +  B
) ) )
43cbvrexv 3085 . . . . . . . 8  |-  ( E. v  e.  A  z  =  ( v  +  B )  <->  E. a  e.  A  z  =  ( a  +  B
) )
5 eqeq1 2461 . . . . . . . . 9  |-  ( z  =  w  ->  (
z  =  ( a  +  B )  <->  w  =  ( a  +  B
) ) )
65rexbidv 2968 . . . . . . . 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 3249 . . . . . 6  |-  ( w  e.  C  <->  E. a  e.  A  w  =  ( a  +  B
) )
10 supadd.a1 . . . . . . . . . 10  |-  ( ph  ->  A  C_  RR )
1110sselda 3499 . . . . . . . . 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 10523 . . . . . . . . . . 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 10524 . . . . . . . . . 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 10187 . . . . . . . 8  |-  ( (
ph  /\  a  e.  A )  ->  (
a  +  B )  <_  ( sup ( A ,  RR ,  <  )  +  B ) )
23 breq1 4459 . . . . . . . 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 2949 . . . . . 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 2869 . . . 4  |-  ( ph  ->  A. w  e.  C  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) )
2811, 18readdcld 9640 . . . . . . . . 9  |-  ( (
ph  /\  a  e.  A )  ->  (
a  +  B )  e.  RR )
29 eleq1a 2540 . . . . . . . . 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 2949 . . . . . . 7  |-  ( ph  ->  ( E. a  e.  A  w  =  ( a  +  B )  ->  w  e.  RR ) )
329, 31syl5bi 217 . . . . . 6  |-  ( ph  ->  ( w  e.  C  ->  w  e.  RR ) )
3332ssrdv 3505 . . . . 5  |-  ( ph  ->  C  C_  RR )
34 ovex 6324 . . . . . . . . 9  |-  ( a  +  B )  e. 
_V
3534isseti 3115 . . . . . . . 8  |-  E. w  w  =  ( a  +  B )
3635rgenw 2818 . . . . . . 7  |-  A. a  e.  A  E. w  w  =  ( a  +  B )
37 r19.2z 3921 . . . . . . 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 1668 . . . . . . 7  |-  ( E. w  w  e.  C  <->  E. w E. a  e.  A  w  =  ( a  +  B ) )
40 n0 3803 . . . . . . 7  |-  ( C  =/=  (/)  <->  E. w  w  e.  C )
41 rexcom4 3129 . . . . . . 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 9640 . . . . . 6  |-  ( ph  ->  ( sup ( A ,  RR ,  <  )  +  B )  e.  RR )
45 breq2 4460 . . . . . . . 8  |-  ( x  =  ( sup ( A ,  RR ,  <  )  +  B )  ->  ( w  <_  x 
<->  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) ) )
4645ralbidv 2896 . . . . . . 7  |-  ( x  =  ( sup ( A ,  RR ,  <  )  +  B )  ->  ( A. w  e.  C  w  <_  x  <->  A. w  e.  C  w  <_  ( sup ( A ,  RR ,  <  )  +  B ) ) )
4746rspcev 3210 . . . . . 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 10527 . . . . 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 10523 . . . . . . . 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 10169 . . . . . 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 10008 . . . . . . 7  |-  ( ph  ->  ( sup ( C ,  RR ,  <  )  -  B )  e.  RR )
57 suprlub 10525 . . . . . . 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 2915 . . . . . . . . . . . . . 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 762 . . . . . . . . . . . . 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 10524 . . . . . . . . . . . . . . 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 4478 . . . . . . . . . . . 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 1725 . . . . . . . . 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 9748 . . . . . . 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 10169 . . . . . 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 2913 . . . 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 9746 . . 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 922 . 2  |-  ( ph  ->  sup ( C ,  RR ,  <  )  =  ( sup ( A ,  RR ,  <  )  +  B ) )
8786eqcomd 2465 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 1395   E.wex 1613    e. wcel 1819   {cab 2442    =/= wne 2652   A.wral 2807   E.wrex 2808    C_ wss 3471   (/)c0 3793   class class class wbr 4456  (class class class)co 6296   supcsup 7918   RRcr 9508    + caddc 9512    < clt 9645    <_ cle 9646    - cmin 9824
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1619  ax-4 1632  ax-5 1705  ax-6 1748  ax-7 1791  ax-8 1821  ax-9 1823  ax-10 1838  ax-11 1843  ax-12 1855  ax-13 2000  ax-ext 2435  ax-sep 4578  ax-nul 4586  ax-pow 4634  ax-pr 4695  ax-un 6591  ax-resscn 9566  ax-1cn 9567  ax-icn 9568  ax-addcl 9569  ax-addrcl 9570  ax-mulcl 9571  ax-mulrcl 9572  ax-mulcom 9573  ax-addass 9574  ax-mulass 9575  ax-distr 9576  ax-i2m1 9577  ax-1ne0 9578  ax-1rid 9579  ax-rnegex 9580  ax-rrecex 9581  ax-cnre 9582  ax-pre-lttri 9583  ax-pre-lttrn 9584  ax-pre-ltadd 9585  ax-pre-mulgt0 9586  ax-pre-sup 9587
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 974  df-3an 975  df-tru 1398  df-ex 1614  df-nf 1618  df-sb 1741  df-eu 2287  df-mo 2288  df-clab 2443  df-cleq 2449  df-clel 2452  df-nfc 2607  df-ne 2654  df-nel 2655  df-ral 2812  df-rex 2813  df-reu 2814  df-rmo 2815  df-rab 2816  df-v 3111  df-sbc 3328  df-csb 3431  df-dif 3474  df-un 3476  df-in 3478  df-ss 3485  df-nul 3794  df-if 3945  df-pw 4017  df-sn 4033  df-pr 4035  df-op 4039  df-uni 4252  df-br 4457  df-opab 4516  df-mpt 4517  df-id 4804  df-po 4809  df-so 4810  df-xp 5014  df-rel 5015  df-cnv 5016  df-co 5017  df-dm 5018  df-rn 5019  df-res 5020  df-ima 5021  df-iota 5557  df-fun 5596  df-fn 5597  df-f 5598  df-f1 5599  df-fo 5600  df-f1o 5601  df-fv 5602  df-riota 6258  df-ov 6299  df-oprab 6300  df-mpt2 6301  df-er 7329  df-en 7536  df-dom 7537  df-sdom 7538  df-sup 7919  df-pnf 9647  df-mnf 9648  df-xr 9649  df-ltxr 9650  df-le 9651  df-sub 9826  df-neg 9827
This theorem is referenced by:  supadd  30204
  Copyright terms: Public domain W3C validator