MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ioounsn Structured version   Visualization version   GIF version

Theorem ioounsn 13458
Description: The union of an open interval with its upper endpoint is a left-open right-closed interval. (Contributed by Jon Pennant, 8-Jun-2019.)
Assertion
Ref Expression
ioounsn ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐴 < 𝐵) → ((𝐴(,)𝐵) ∪ {𝐵}) = (𝐴(,]𝐵))

Proof of Theorem ioounsn
Dummy variables 𝑥 𝑤 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simp2 1137 . . . 4 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐴 < 𝐵) → 𝐵 ∈ ℝ*)
2 iccid 13373 . . . 4 (𝐵 ∈ ℝ* → (𝐵[,]𝐵) = {𝐵})
31, 2syl 17 . . 3 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐴 < 𝐵) → (𝐵[,]𝐵) = {𝐵})
43uneq2d 4163 . 2 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐴 < 𝐵) → ((𝐴(,)𝐵) ∪ (𝐵[,]𝐵)) = ((𝐴(,)𝐵) ∪ {𝐵}))
5 simp1 1136 . . 3 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐴 < 𝐵) → 𝐴 ∈ ℝ*)
6 simp3 1138 . . 3 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐴 < 𝐵) → 𝐴 < 𝐵)
71xrleidd 13135 . . 3 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐴 < 𝐵) → 𝐵𝐵)
8 df-ioo 13332 . . . 4 (,) = (𝑥 ∈ ℝ*, 𝑦 ∈ ℝ* ↦ {𝑧 ∈ ℝ* ∣ (𝑥 < 𝑧𝑧 < 𝑦)})
9 df-icc 13335 . . . 4 [,] = (𝑥 ∈ ℝ*, 𝑦 ∈ ℝ* ↦ {𝑧 ∈ ℝ* ∣ (𝑥𝑧𝑧𝑦)})
10 xrlenlt 11283 . . . 4 ((𝐵 ∈ ℝ*𝑤 ∈ ℝ*) → (𝐵𝑤 ↔ ¬ 𝑤 < 𝐵))
11 df-ioc 13333 . . . 4 (,] = (𝑥 ∈ ℝ*, 𝑦 ∈ ℝ* ↦ {𝑧 ∈ ℝ* ∣ (𝑥 < 𝑧𝑧𝑦)})
12 simpl1 1191 . . . . . 6 (((𝑤 ∈ ℝ*𝐵 ∈ ℝ*𝐵 ∈ ℝ*) ∧ (𝑤 < 𝐵𝐵𝐵)) → 𝑤 ∈ ℝ*)
13 simpl2 1192 . . . . . 6 (((𝑤 ∈ ℝ*𝐵 ∈ ℝ*𝐵 ∈ ℝ*) ∧ (𝑤 < 𝐵𝐵𝐵)) → 𝐵 ∈ ℝ*)
14 simprl 769 . . . . . 6 (((𝑤 ∈ ℝ*𝐵 ∈ ℝ*𝐵 ∈ ℝ*) ∧ (𝑤 < 𝐵𝐵𝐵)) → 𝑤 < 𝐵)
1512, 13, 14xrltled 13133 . . . . 5 (((𝑤 ∈ ℝ*𝐵 ∈ ℝ*𝐵 ∈ ℝ*) ∧ (𝑤 < 𝐵𝐵𝐵)) → 𝑤𝐵)
1615ex 413 . . . 4 ((𝑤 ∈ ℝ*𝐵 ∈ ℝ*𝐵 ∈ ℝ*) → ((𝑤 < 𝐵𝐵𝐵) → 𝑤𝐵))
17 xrltletr 13140 . . . 4 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝑤 ∈ ℝ*) → ((𝐴 < 𝐵𝐵𝑤) → 𝐴 < 𝑤))
188, 9, 10, 11, 16, 17ixxun 13344 . . 3 (((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐵 ∈ ℝ*) ∧ (𝐴 < 𝐵𝐵𝐵)) → ((𝐴(,)𝐵) ∪ (𝐵[,]𝐵)) = (𝐴(,]𝐵))
195, 1, 1, 6, 7, 18syl32anc 1378 . 2 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐴 < 𝐵) → ((𝐴(,)𝐵) ∪ (𝐵[,]𝐵)) = (𝐴(,]𝐵))
204, 19eqtr3d 2774 1 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*𝐴 < 𝐵) → ((𝐴(,)𝐵) ∪ {𝐵}) = (𝐴(,]𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1087   = wceq 1541  wcel 2106  cun 3946  {csn 4628   class class class wbr 5148  (class class class)co 7411  *cxr 11251   < clt 11252  cle 11253  (,)cioo 13328  (,]cioc 13329  [,]cicc 13331
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2703  ax-sep 5299  ax-nul 5306  ax-pow 5363  ax-pr 5427  ax-un 7727  ax-cnex 11168  ax-resscn 11169  ax-pre-lttri 11186  ax-pre-lttrn 11187
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2534  df-eu 2563  df-clab 2710  df-cleq 2724  df-clel 2810  df-nfc 2885  df-ne 2941  df-nel 3047  df-ral 3062  df-rex 3071  df-rab 3433  df-v 3476  df-sbc 3778  df-csb 3894  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-nul 4323  df-if 4529  df-pw 4604  df-sn 4629  df-pr 4631  df-op 4635  df-uni 4909  df-br 5149  df-opab 5211  df-mpt 5232  df-id 5574  df-po 5588  df-so 5589  df-xp 5682  df-rel 5683  df-cnv 5684  df-co 5685  df-dm 5686  df-rn 5687  df-res 5688  df-ima 5689  df-iota 6495  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-ov 7414  df-oprab 7415  df-mpo 7416  df-er 8705  df-en 8942  df-dom 8943  df-sdom 8944  df-pnf 11254  df-mnf 11255  df-xr 11256  df-ltxr 11257  df-le 11258  df-ioo 13332  df-ioc 13333  df-icc 13335
This theorem is referenced by:  iocunico  42262  iocmbl  42264  limcicciooub  44652  limcresiooub  44657  ioccncflimc  44900  volioc  44987  fourierdlem33  45155  fourierdlem49  45170  fourierdlem93  45214  fouriersw  45246
  Copyright terms: Public domain W3C validator