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

Theorem ioorval 24738
Description: Define a function from open intervals to their endpoints. (Contributed by Mario Carneiro, 26-Mar-2015.) (Revised by AV, 13-Sep-2020.)
Hypothesis
Ref Expression
ioorf.1 𝐹 = (𝑥 ∈ ran (,) ↦ if(𝑥 = ∅, ⟨0, 0⟩, ⟨inf(𝑥, ℝ*, < ), sup(𝑥, ℝ*, < )⟩))
Assertion
Ref Expression
ioorval (𝐴 ∈ ran (,) → (𝐹𝐴) = if(𝐴 = ∅, ⟨0, 0⟩, ⟨inf(𝐴, ℝ*, < ), sup(𝐴, ℝ*, < )⟩))
Distinct variable group:   𝑥,𝐴
Allowed substitution hint:   𝐹(𝑥)

Proof of Theorem ioorval
StepHypRef Expression
1 eqeq1 2742 . . 3 (𝑥 = 𝐴 → (𝑥 = ∅ ↔ 𝐴 = ∅))
2 infeq1 9235 . . . 4 (𝑥 = 𝐴 → inf(𝑥, ℝ*, < ) = inf(𝐴, ℝ*, < ))
3 supeq1 9204 . . . 4 (𝑥 = 𝐴 → sup(𝑥, ℝ*, < ) = sup(𝐴, ℝ*, < ))
42, 3opeq12d 4812 . . 3 (𝑥 = 𝐴 → ⟨inf(𝑥, ℝ*, < ), sup(𝑥, ℝ*, < )⟩ = ⟨inf(𝐴, ℝ*, < ), sup(𝐴, ℝ*, < )⟩)
51, 4ifbieq2d 4485 . 2 (𝑥 = 𝐴 → if(𝑥 = ∅, ⟨0, 0⟩, ⟨inf(𝑥, ℝ*, < ), sup(𝑥, ℝ*, < )⟩) = if(𝐴 = ∅, ⟨0, 0⟩, ⟨inf(𝐴, ℝ*, < ), sup(𝐴, ℝ*, < )⟩))
6 ioorf.1 . 2 𝐹 = (𝑥 ∈ ran (,) ↦ if(𝑥 = ∅, ⟨0, 0⟩, ⟨inf(𝑥, ℝ*, < ), sup(𝑥, ℝ*, < )⟩))
7 opex 5379 . . 3 ⟨0, 0⟩ ∈ V
8 opex 5379 . . 3 ⟨inf(𝐴, ℝ*, < ), sup(𝐴, ℝ*, < )⟩ ∈ V
97, 8ifex 4509 . 2 if(𝐴 = ∅, ⟨0, 0⟩, ⟨inf(𝐴, ℝ*, < ), sup(𝐴, ℝ*, < )⟩) ∈ V
105, 6, 9fvmpt 6875 1 (𝐴 ∈ ran (,) → (𝐹𝐴) = if(𝐴 = ∅, ⟨0, 0⟩, ⟨inf(𝐴, ℝ*, < ), sup(𝐴, ℝ*, < )⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  wcel 2106  c0 4256  ifcif 4459  cop 4567  cmpt 5157  ran crn 5590  cfv 6433  supcsup 9199  infcinf 9200  0cc0 10871  *cxr 11008   < clt 11009  (,)cioo 13079
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  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 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-iota 6391  df-fun 6435  df-fv 6441  df-sup 9201  df-inf 9202
This theorem is referenced by:  ioorinv2  24739  ioorinv  24740  ioorcl  24741
  Copyright terms: Public domain W3C validator