Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  supsubc Structured version   Visualization version   GIF version

Theorem supsubc 43141
Description: The supremum function distributes over subtraction in a sense similar to that in supaddc 12022. (Contributed by Glauco Siliprandi, 21-Nov-2020.)
Hypotheses
Ref Expression
supsubc.a1 (𝜑𝐴 ⊆ ℝ)
supsubc.a2 (𝜑𝐴 ≠ ∅)
supsubc.a3 (𝜑 → ∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦𝑥)
supsubc.b (𝜑𝐵 ∈ ℝ)
supsubc.c 𝐶 = {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣𝐵)}
Assertion
Ref Expression
supsubc (𝜑 → (sup(𝐴, ℝ, < ) − 𝐵) = sup(𝐶, ℝ, < ))
Distinct variable groups:   𝑣,𝐴,𝑥,𝑦,𝑧   𝑣,𝐵,𝑥,𝑦,𝑧   𝜑,𝑣,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐶(𝑥,𝑦,𝑧,𝑣)

Proof of Theorem supsubc
StepHypRef Expression
1 supsubc.c . . . . 5 𝐶 = {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣𝐵)}
21a1i 11 . . . 4 (𝜑𝐶 = {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣𝐵)})
3 supsubc.a1 . . . . . . . . . . 11 (𝜑𝐴 ⊆ ℝ)
43sselda 3931 . . . . . . . . . 10 ((𝜑𝑣𝐴) → 𝑣 ∈ ℝ)
54recnd 11083 . . . . . . . . 9 ((𝜑𝑣𝐴) → 𝑣 ∈ ℂ)
6 supsubc.b . . . . . . . . . . 11 (𝜑𝐵 ∈ ℝ)
76recnd 11083 . . . . . . . . . 10 (𝜑𝐵 ∈ ℂ)
87adantr 481 . . . . . . . . 9 ((𝜑𝑣𝐴) → 𝐵 ∈ ℂ)
95, 8negsubd 11418 . . . . . . . 8 ((𝜑𝑣𝐴) → (𝑣 + -𝐵) = (𝑣𝐵))
109eqcomd 2743 . . . . . . 7 ((𝜑𝑣𝐴) → (𝑣𝐵) = (𝑣 + -𝐵))
1110eqeq2d 2748 . . . . . 6 ((𝜑𝑣𝐴) → (𝑧 = (𝑣𝐵) ↔ 𝑧 = (𝑣 + -𝐵)))
1211rexbidva 3170 . . . . 5 (𝜑 → (∃𝑣𝐴 𝑧 = (𝑣𝐵) ↔ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)))
1312abbidv 2806 . . . 4 (𝜑 → {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣𝐵)} = {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)})
14 eqidd 2738 . . . 4 (𝜑 → {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)} = {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)})
152, 13, 143eqtrd 2781 . . 3 (𝜑𝐶 = {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)})
1615supeq1d 9282 . 2 (𝜑 → sup(𝐶, ℝ, < ) = sup({𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)}, ℝ, < ))
17 supsubc.a2 . . . 4 (𝜑𝐴 ≠ ∅)
18 supsubc.a3 . . . 4 (𝜑 → ∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦𝑥)
196renegcld 11482 . . . 4 (𝜑 → -𝐵 ∈ ℝ)
20 eqid 2737 . . . 4 {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)} = {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)}
213, 17, 18, 19, 20supaddc 12022 . . 3 (𝜑 → (sup(𝐴, ℝ, < ) + -𝐵) = sup({𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)}, ℝ, < ))
2221eqcomd 2743 . 2 (𝜑 → sup({𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)}, ℝ, < ) = (sup(𝐴, ℝ, < ) + -𝐵))
23 suprcl 12015 . . . . 5 ((𝐴 ⊆ ℝ ∧ 𝐴 ≠ ∅ ∧ ∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦𝑥) → sup(𝐴, ℝ, < ) ∈ ℝ)
243, 17, 18, 23syl3anc 1370 . . . 4 (𝜑 → sup(𝐴, ℝ, < ) ∈ ℝ)
2524recnd 11083 . . 3 (𝜑 → sup(𝐴, ℝ, < ) ∈ ℂ)
2625, 7negsubd 11418 . 2 (𝜑 → (sup(𝐴, ℝ, < ) + -𝐵) = (sup(𝐴, ℝ, < ) − 𝐵))
2716, 22, 263eqtrrd 2782 1 (𝜑 → (sup(𝐴, ℝ, < ) − 𝐵) = sup(𝐶, ℝ, < ))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1540  wcel 2105  {cab 2714  wne 2941  wral 3062  wrex 3071  wss 3897  c0 4267   class class class wbr 5087  (class class class)co 7317  supcsup 9276  cc 10949  cr 10950   + caddc 10954   < clt 11089  cle 11090  cmin 11285  -cneg 11286
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2708  ax-sep 5238  ax-nul 5245  ax-pow 5303  ax-pr 5367  ax-un 7630  ax-resscn 11008  ax-1cn 11009  ax-icn 11010  ax-addcl 11011  ax-addrcl 11012  ax-mulcl 11013  ax-mulrcl 11014  ax-mulcom 11015  ax-addass 11016  ax-mulass 11017  ax-distr 11018  ax-i2m1 11019  ax-1ne0 11020  ax-1rid 11021  ax-rnegex 11022  ax-rrecex 11023  ax-cnre 11024  ax-pre-lttri 11025  ax-pre-lttrn 11026  ax-pre-ltadd 11027  ax-pre-mulgt0 11028  ax-pre-sup 11029
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2815  df-nfc 2887  df-ne 2942  df-nel 3048  df-ral 3063  df-rex 3072  df-rmo 3350  df-reu 3351  df-rab 3405  df-v 3443  df-sbc 3727  df-csb 3843  df-dif 3900  df-un 3902  df-in 3904  df-ss 3914  df-nul 4268  df-if 4472  df-pw 4547  df-sn 4572  df-pr 4574  df-op 4578  df-uni 4851  df-br 5088  df-opab 5150  df-mpt 5171  df-id 5507  df-po 5521  df-so 5522  df-xp 5614  df-rel 5615  df-cnv 5616  df-co 5617  df-dm 5618  df-rn 5619  df-res 5620  df-ima 5621  df-iota 6418  df-fun 6468  df-fn 6469  df-f 6470  df-f1 6471  df-fo 6472  df-f1o 6473  df-fv 6474  df-riota 7274  df-ov 7320  df-oprab 7321  df-mpo 7322  df-er 8548  df-en 8784  df-dom 8785  df-sdom 8786  df-sup 9278  df-pnf 11091  df-mnf 11092  df-xr 11093  df-ltxr 11094  df-le 11095  df-sub 11287  df-neg 11288
This theorem is referenced by:  hoidmvlelem1  44384
  Copyright terms: Public domain W3C validator