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

Theorem upbdrech2 41568
Description: Choice of an upper bound for a possibly empty bunded set (image set version). (Contributed by Glauco Siliprandi, 11-Dec-2019.)
Hypotheses
Ref Expression
upbdrech2.b ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ)
upbdrech2.bd (𝜑 → ∃𝑦 ∈ ℝ ∀𝑥𝐴 𝐵𝑦)
upbdrech2.c 𝐶 = if(𝐴 = ∅, 0, sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < ))
Assertion
Ref Expression
upbdrech2 (𝜑 → (𝐶 ∈ ℝ ∧ ∀𝑥𝐴 𝐵𝐶))
Distinct variable groups:   𝑥,𝐴,𝑦,𝑧   𝑦,𝐵,𝑧   𝜑,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑧)   𝐵(𝑥)   𝐶(𝑥,𝑦,𝑧)

Proof of Theorem upbdrech2
StepHypRef Expression
1 upbdrech2.c . . 3 𝐶 = if(𝐴 = ∅, 0, sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < ))
2 iftrue 4472 . . . . . 6 (𝐴 = ∅ → if(𝐴 = ∅, 0, sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < )) = 0)
3 0red 10638 . . . . . 6 (𝐴 = ∅ → 0 ∈ ℝ)
42, 3eqeltrd 2913 . . . . 5 (𝐴 = ∅ → if(𝐴 = ∅, 0, sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < )) ∈ ℝ)
54adantl 484 . . . 4 ((𝜑𝐴 = ∅) → if(𝐴 = ∅, 0, sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < )) ∈ ℝ)
6 simpr 487 . . . . . 6 ((𝜑 ∧ ¬ 𝐴 = ∅) → ¬ 𝐴 = ∅)
76iffalsed 4477 . . . . 5 ((𝜑 ∧ ¬ 𝐴 = ∅) → if(𝐴 = ∅, 0, sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < )) = sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < ))
86neqned 3023 . . . . . . 7 ((𝜑 ∧ ¬ 𝐴 = ∅) → 𝐴 ≠ ∅)
9 upbdrech2.b . . . . . . . 8 ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ)
109adantlr 713 . . . . . . 7 (((𝜑 ∧ ¬ 𝐴 = ∅) ∧ 𝑥𝐴) → 𝐵 ∈ ℝ)
11 upbdrech2.bd . . . . . . . 8 (𝜑 → ∃𝑦 ∈ ℝ ∀𝑥𝐴 𝐵𝑦)
1211adantr 483 . . . . . . 7 ((𝜑 ∧ ¬ 𝐴 = ∅) → ∃𝑦 ∈ ℝ ∀𝑥𝐴 𝐵𝑦)
13 eqid 2821 . . . . . . 7 sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < ) = sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < )
148, 10, 12, 13upbdrech 41565 . . . . . 6 ((𝜑 ∧ ¬ 𝐴 = ∅) → (sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < ) ∈ ℝ ∧ ∀𝑥𝐴 𝐵 ≤ sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < )))
1514simpld 497 . . . . 5 ((𝜑 ∧ ¬ 𝐴 = ∅) → sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < ) ∈ ℝ)
167, 15eqeltrd 2913 . . . 4 ((𝜑 ∧ ¬ 𝐴 = ∅) → if(𝐴 = ∅, 0, sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < )) ∈ ℝ)
175, 16pm2.61dan 811 . . 3 (𝜑 → if(𝐴 = ∅, 0, sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < )) ∈ ℝ)
181, 17eqeltrid 2917 . 2 (𝜑𝐶 ∈ ℝ)
19 rzal 4452 . . . 4 (𝐴 = ∅ → ∀𝑥𝐴 𝐵𝐶)
2019adantl 484 . . 3 ((𝜑𝐴 = ∅) → ∀𝑥𝐴 𝐵𝐶)
2114simprd 498 . . . 4 ((𝜑 ∧ ¬ 𝐴 = ∅) → ∀𝑥𝐴 𝐵 ≤ sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < ))
22 iffalse 4475 . . . . . . . 8 𝐴 = ∅ → if(𝐴 = ∅, 0, sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < )) = sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < ))
231, 22syl5eq 2868 . . . . . . 7 𝐴 = ∅ → 𝐶 = sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < ))
2423breq2d 5070 . . . . . 6 𝐴 = ∅ → (𝐵𝐶𝐵 ≤ sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < )))
2524ralbidv 3197 . . . . 5 𝐴 = ∅ → (∀𝑥𝐴 𝐵𝐶 ↔ ∀𝑥𝐴 𝐵 ≤ sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < )))
2625adantl 484 . . . 4 ((𝜑 ∧ ¬ 𝐴 = ∅) → (∀𝑥𝐴 𝐵𝐶 ↔ ∀𝑥𝐴 𝐵 ≤ sup({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}, ℝ, < )))
2721, 26mpbird 259 . . 3 ((𝜑 ∧ ¬ 𝐴 = ∅) → ∀𝑥𝐴 𝐵𝐶)
2820, 27pm2.61dan 811 . 2 (𝜑 → ∀𝑥𝐴 𝐵𝐶)
2918, 28jca 514 1 (𝜑 → (𝐶 ∈ ℝ ∧ ∀𝑥𝐴 𝐵𝐶))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398   = wceq 1533  wcel 2110  {cab 2799  wral 3138  wrex 3139  c0 4290  ifcif 4466   class class class wbr 5058  supcsup 8898  cr 10530  0cc0 10531   < clt 10669  cle 10670
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7455  ax-resscn 10588  ax-1cn 10589  ax-icn 10590  ax-addcl 10591  ax-addrcl 10592  ax-mulcl 10593  ax-mulrcl 10594  ax-mulcom 10595  ax-addass 10596  ax-mulass 10597  ax-distr 10598  ax-i2m1 10599  ax-1ne0 10600  ax-1rid 10601  ax-rnegex 10602  ax-rrecex 10603  ax-cnre 10604  ax-pre-lttri 10605  ax-pre-lttrn 10606  ax-pre-ltadd 10607  ax-pre-mulgt0 10608  ax-pre-sup 10609
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-br 5059  df-opab 5121  df-mpt 5139  df-id 5454  df-po 5468  df-so 5469  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-res 5561  df-ima 5562  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-f1 6354  df-fo 6355  df-f1o 6356  df-fv 6357  df-riota 7108  df-ov 7153  df-oprab 7154  df-mpo 7155  df-er 8283  df-en 8504  df-dom 8505  df-sdom 8506  df-sup 8900  df-pnf 10671  df-mnf 10672  df-xr 10673  df-ltxr 10674  df-le 10675  df-sub 10866  df-neg 10867
This theorem is referenced by:  ssfiunibd  41569
  Copyright terms: Public domain W3C validator