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 41985
Description: The supremum function distributes over subtraction in a sense similar to that in supaddc 11595. (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 3915 . . . . . . . . . 10 ((𝜑𝑣𝐴) → 𝑣 ∈ ℝ)
54recnd 10658 . . . . . . . . 9 ((𝜑𝑣𝐴) → 𝑣 ∈ ℂ)
6 supsubc.b . . . . . . . . . . 11 (𝜑𝐵 ∈ ℝ)
76recnd 10658 . . . . . . . . . 10 (𝜑𝐵 ∈ ℂ)
87adantr 484 . . . . . . . . 9 ((𝜑𝑣𝐴) → 𝐵 ∈ ℂ)
95, 8negsubd 10992 . . . . . . . 8 ((𝜑𝑣𝐴) → (𝑣 + -𝐵) = (𝑣𝐵))
109eqcomd 2804 . . . . . . 7 ((𝜑𝑣𝐴) → (𝑣𝐵) = (𝑣 + -𝐵))
1110eqeq2d 2809 . . . . . 6 ((𝜑𝑣𝐴) → (𝑧 = (𝑣𝐵) ↔ 𝑧 = (𝑣 + -𝐵)))
1211rexbidva 3255 . . . . 5 (𝜑 → (∃𝑣𝐴 𝑧 = (𝑣𝐵) ↔ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)))
1312abbidv 2862 . . . 4 (𝜑 → {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣𝐵)} = {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)})
14 eqidd 2799 . . . 4 (𝜑 → {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)} = {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)})
152, 13, 143eqtrd 2837 . . 3 (𝜑𝐶 = {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)})
1615supeq1d 8894 . 2 (𝜑 → sup(𝐶, ℝ, < ) = sup({𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)}, ℝ, < ))
17 supsubc.a2 . . . 4 (𝜑𝐴 ≠ ∅)
18 supsubc.a3 . . . 4 (𝜑 → ∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦𝑥)
196renegcld 11056 . . . 4 (𝜑 → -𝐵 ∈ ℝ)
20 eqid 2798 . . . 4 {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)} = {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)}
213, 17, 18, 19, 20supaddc 11595 . . 3 (𝜑 → (sup(𝐴, ℝ, < ) + -𝐵) = sup({𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)}, ℝ, < ))
2221eqcomd 2804 . 2 (𝜑 → sup({𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)}, ℝ, < ) = (sup(𝐴, ℝ, < ) + -𝐵))
23 suprcl 11588 . . . . 5 ((𝐴 ⊆ ℝ ∧ 𝐴 ≠ ∅ ∧ ∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦𝑥) → sup(𝐴, ℝ, < ) ∈ ℝ)
243, 17, 18, 23syl3anc 1368 . . . 4 (𝜑 → sup(𝐴, ℝ, < ) ∈ ℝ)
2524recnd 10658 . . 3 (𝜑 → sup(𝐴, ℝ, < ) ∈ ℂ)
2625, 7negsubd 10992 . 2 (𝜑 → (sup(𝐴, ℝ, < ) + -𝐵) = (sup(𝐴, ℝ, < ) − 𝐵))
2716, 22, 263eqtrrd 2838 1 (𝜑 → (sup(𝐴, ℝ, < ) − 𝐵) = sup(𝐶, ℝ, < ))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1538  wcel 2111  {cab 2776  wne 2987  wral 3106  wrex 3107  wss 3881  c0 4243   class class class wbr 5030  (class class class)co 7135  supcsup 8888  cc 10524  cr 10525   + caddc 10529   < clt 10664  cle 10665  cmin 10859  -cneg 10860
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603  ax-pre-sup 10604
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rmo 3114  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-po 5438  df-so 5439  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-riota 7093  df-ov 7138  df-oprab 7139  df-mpo 7140  df-er 8272  df-en 8493  df-dom 8494  df-sdom 8495  df-sup 8890  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862
This theorem is referenced by:  hoidmvlelem1  43234
  Copyright terms: Public domain W3C validator