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 41628
Description: The supremum function distributes over subtraction in a sense similar to that in supaddc 11610. (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 3969 . . . . . . . . . 10 ((𝜑𝑣𝐴) → 𝑣 ∈ ℝ)
54recnd 10671 . . . . . . . . 9 ((𝜑𝑣𝐴) → 𝑣 ∈ ℂ)
6 supsubc.b . . . . . . . . . . 11 (𝜑𝐵 ∈ ℝ)
76recnd 10671 . . . . . . . . . 10 (𝜑𝐵 ∈ ℂ)
87adantr 483 . . . . . . . . 9 ((𝜑𝑣𝐴) → 𝐵 ∈ ℂ)
95, 8negsubd 11005 . . . . . . . 8 ((𝜑𝑣𝐴) → (𝑣 + -𝐵) = (𝑣𝐵))
109eqcomd 2829 . . . . . . 7 ((𝜑𝑣𝐴) → (𝑣𝐵) = (𝑣 + -𝐵))
1110eqeq2d 2834 . . . . . 6 ((𝜑𝑣𝐴) → (𝑧 = (𝑣𝐵) ↔ 𝑧 = (𝑣 + -𝐵)))
1211rexbidva 3298 . . . . 5 (𝜑 → (∃𝑣𝐴 𝑧 = (𝑣𝐵) ↔ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)))
1312abbidv 2887 . . . 4 (𝜑 → {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣𝐵)} = {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)})
14 eqidd 2824 . . . 4 (𝜑 → {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)} = {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)})
152, 13, 143eqtrd 2862 . . 3 (𝜑𝐶 = {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)})
1615supeq1d 8912 . 2 (𝜑 → sup(𝐶, ℝ, < ) = sup({𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)}, ℝ, < ))
17 supsubc.a2 . . . 4 (𝜑𝐴 ≠ ∅)
18 supsubc.a3 . . . 4 (𝜑 → ∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦𝑥)
196renegcld 11069 . . . 4 (𝜑 → -𝐵 ∈ ℝ)
20 eqid 2823 . . . 4 {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)} = {𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)}
213, 17, 18, 19, 20supaddc 11610 . . 3 (𝜑 → (sup(𝐴, ℝ, < ) + -𝐵) = sup({𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)}, ℝ, < ))
2221eqcomd 2829 . 2 (𝜑 → sup({𝑧 ∣ ∃𝑣𝐴 𝑧 = (𝑣 + -𝐵)}, ℝ, < ) = (sup(𝐴, ℝ, < ) + -𝐵))
23 suprcl 11603 . . . . 5 ((𝐴 ⊆ ℝ ∧ 𝐴 ≠ ∅ ∧ ∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦𝑥) → sup(𝐴, ℝ, < ) ∈ ℝ)
243, 17, 18, 23syl3anc 1367 . . . 4 (𝜑 → sup(𝐴, ℝ, < ) ∈ ℝ)
2524recnd 10671 . . 3 (𝜑 → sup(𝐴, ℝ, < ) ∈ ℂ)
2625, 7negsubd 11005 . 2 (𝜑 → (sup(𝐴, ℝ, < ) + -𝐵) = (sup(𝐴, ℝ, < ) − 𝐵))
2716, 22, 263eqtrrd 2863 1 (𝜑 → (sup(𝐴, ℝ, < ) − 𝐵) = sup(𝐶, ℝ, < ))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wcel 2114  {cab 2801  wne 3018  wral 3140  wrex 3141  wss 3938  c0 4293   class class class wbr 5068  (class class class)co 7158  supcsup 8906  cc 10537  cr 10538   + caddc 10542   < clt 10677  cle 10678  cmin 10872  -cneg 10873
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 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463  ax-resscn 10596  ax-1cn 10597  ax-icn 10598  ax-addcl 10599  ax-addrcl 10600  ax-mulcl 10601  ax-mulrcl 10602  ax-mulcom 10603  ax-addass 10604  ax-mulass 10605  ax-distr 10606  ax-i2m1 10607  ax-1ne0 10608  ax-1rid 10609  ax-rnegex 10610  ax-rrecex 10611  ax-cnre 10612  ax-pre-lttri 10613  ax-pre-lttrn 10614  ax-pre-ltadd 10615  ax-pre-mulgt0 10616  ax-pre-sup 10617
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-nel 3126  df-ral 3145  df-rex 3146  df-reu 3147  df-rmo 3148  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-po 5476  df-so 5477  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-riota 7116  df-ov 7161  df-oprab 7162  df-mpo 7163  df-er 8291  df-en 8512  df-dom 8513  df-sdom 8514  df-sup 8908  df-pnf 10679  df-mnf 10680  df-xr 10681  df-ltxr 10682  df-le 10683  df-sub 10874  df-neg 10875
This theorem is referenced by:  hoidmvlelem1  42884
  Copyright terms: Public domain W3C validator