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 46463
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 4490 . . . . . 6 (𝐴 = ∅ → if(𝐴 = ∅, 0, sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < )) = 0)
3 0red 11321 . . . . . 6 (𝐴 = ∅ → 0 ∈ ℝ)
42, 3eqeltrd 2863 . . . . 5 (𝐴 = ∅ → if(𝐴 = ∅, 0, sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < )) ∈ ℝ)
54adantl 487 . . . 4 ((𝜑 ∧ 𝐴 = ∅) → if(𝐴 = ∅, 0, sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < )) ∈ ℝ)
6 simpr 490 . . . . . 6 ((𝜑 ∧ ¬ 𝐴 = ∅) → ¬ 𝐴 = ∅)
76iffalsed 4495 . . . . 5 ((𝜑 ∧ ¬ 𝐴 = ∅) → if(𝐴 = ∅, 0, sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < )) = sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < ))
86neqned 2965 . . . . . . 7 ((𝜑 ∧ ¬ 𝐴 = ∅) → 𝐴 ≠ ∅)
9 upbdrech2.b . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ ℝ)
109adantlr 728 . . . . . . 7 (((𝜑 ∧ ¬ 𝐴 = ∅) ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ ℝ)
11 upbdrech2.bd . . . . . . . 8 (𝜑 → ∃𝑦 ∈ ℝ ∀𝑥 ∈ 𝐴 𝐵 ≤ 𝑦)
1211adantr 486 . . . . . . 7 ((𝜑 ∧ ¬ 𝐴 = ∅) → ∃𝑦 ∈ ℝ ∀𝑥 ∈ 𝐴 𝐵 ≤ 𝑦)
13 eqid 2763 . . . . . . 7 sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < ) = sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < )
148, 10, 12, 13upbdrech 46460 . . . . . 6 ((𝜑 ∧ ¬ 𝐴 = ∅) → (sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < ) ∈ ℝ ∧ ∀𝑥 ∈ 𝐴 𝐵 ≤ sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < )))
1514simpld 500 . . . . 5 ((𝜑 ∧ ¬ 𝐴 = ∅) → sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < ) ∈ ℝ)
167, 15eqeltrd 2863 . . . 4 ((𝜑 ∧ ¬ 𝐴 = ∅) → if(𝐴 = ∅, 0, sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < )) ∈ ℝ)
175, 16pm2.61dan 825 . . 3 (𝜑 → if(𝐴 = ∅, 0, sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < )) ∈ ℝ)
181, 17eqeltrid 2867 . 2 (𝜑 → 𝐶 ∈ ℝ)
19 rzal 4452 . . . 4 (𝐴 = ∅ → ∀𝑥 ∈ 𝐴 𝐵 ≤ 𝐶)
2019adantl 487 . . 3 ((𝜑 ∧ 𝐴 = ∅) → ∀𝑥 ∈ 𝐴 𝐵 ≤ 𝐶)
2114simprd 501 . . . 4 ((𝜑 ∧ ¬ 𝐴 = ∅) → ∀𝑥 ∈ 𝐴 𝐵 ≤ sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < ))
22 iffalse 4493 . . . . . . . 8 (¬ 𝐴 = ∅ → if(𝐴 = ∅, 0, sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < )) = sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < ))
231, 22eqtrid 2810 . . . . . . 7 (¬ 𝐴 = ∅ → 𝐶 = sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < ))
2423breq2d 5117 . . . . . 6 (¬ 𝐴 = ∅ → (𝐵 ≤ 𝐶 ↔ 𝐵 ≤ sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < )))
2524ralbidv 3188 . . . . 5 (¬ 𝐴 = ∅ → (∀𝑥 ∈ 𝐴 𝐵 ≤ 𝐶 ↔ ∀𝑥 ∈ 𝐴 𝐵 ≤ sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < )))
2625adantl 487 . . . 4 ((𝜑 ∧ ¬ 𝐴 = ∅) → (∀𝑥 ∈ 𝐴 𝐵 ≤ 𝐶 ↔ ∀𝑥 ∈ 𝐴 𝐵 ≤ sup({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}, ℝ, < )))
2721, 26mpbird 260 . . 3 ((𝜑 ∧ ¬ 𝐴 = ∅) → ∀𝑥 ∈ 𝐴 𝐵 ≤ 𝐶)
2820, 27pm2.61dan 825 . 2 (𝜑 → ∀𝑥 ∈ 𝐴 𝐵 ≤ 𝐶)
2918, 28jca 521 1 (𝜑 → (𝐶 ∈ ℝ ∧ ∀𝑥 ∈ 𝐴 𝐵 ≤ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2146  {cab 2741  ∀wral 3079  ∃wrex 3089  ∅c0 4280  ifcif 4484   class class class wbr 5105  supcsup 9442  ℝcr 11209  0cc0 11210   < clt 11353   ≤ cle 11354
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5251  ax-nul 5262  ax-pow 5330  ax-pr 5394  ax-un 7758  ax-resscn 11267  ax-1cn 11268  ax-icn 11269  ax-addcl 11270  ax-addrcl 11271  ax-mulcl 11272  ax-mulrcl 11273  ax-mulcom 11274  ax-addass 11275  ax-mulass 11276  ax-distr 11277  ax-i2m1 11278  ax-1ne0 11279  ax-1rid 11280  ax-rnegex 11281  ax-rrecex 11282  ax-cnre 11283  ax-pre-lttri 11284  ax-pre-lttrn 11285  ax-pre-ltadd 11286  ax-pre-mulgt0 11287  ax-pre-sup 11288
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-nel 3065  df-ral 3080  df-rex 3090  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4838  df-uni 4870  df-br 5106  df-opab 5170  df-mpt 5189  df-id 5549  df-po 5562  df-so 5563  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-iota 6500  df-fun 6548  df-fn 6549  df-f 6550  df-f1 6551  df-fo 6552  df-f1o 6553  df-fv 6554  df-riota 7384  df-ov 7430  df-oprab 7431  df-mpo 7432  df-er 8728  df-en 8985  df-dom 8986  df-sdom 8987  df-sup 9444  df-pnf 11355  df-mnf 11356  df-xr 11357  df-ltxr 11358  df-le 11359  df-sub 11553  df-neg 11554
This theorem is used by:  ssfiunibd  46464
  Copyright terms: Public domain W3C validator