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

Theorem hsphoif 43141
 Description: 𝐻 is a function (that returns the representation of the right side of a half-open interval intersected with a half-space). Step (b) in Lemma 115B of [Fremlin1] p. 29. (Contributed by Glauco Siliprandi, 21-Nov-2020.)
Hypotheses
Ref Expression
hsphoif.h 𝐻 = (𝑥 ∈ ℝ ↦ (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥)))))
hsphoif.a (𝜑𝐴 ∈ ℝ)
hsphoif.x (𝜑𝑋𝑉)
hsphoif.b (𝜑𝐵:𝑋⟶ℝ)
Assertion
Ref Expression
hsphoif (𝜑 → ((𝐻𝐴)‘𝐵):𝑋⟶ℝ)
Distinct variable groups:   𝐴,𝑎,𝑗,𝑥   𝐵,𝑎,𝑗   𝑋,𝑎,𝑗,𝑥   𝑌,𝑎,𝑥   𝜑,𝑎,𝑗,𝑥
Allowed substitution hints:   𝐵(𝑥)   𝐻(𝑥,𝑗,𝑎)   𝑉(𝑥,𝑗,𝑎)   𝑌(𝑗)

Proof of Theorem hsphoif
StepHypRef Expression
1 hsphoif.b . . . . 5 (𝜑𝐵:𝑋⟶ℝ)
21ffvelrnda 6842 . . . 4 ((𝜑𝑗𝑋) → (𝐵𝑗) ∈ ℝ)
3 hsphoif.a . . . . . 6 (𝜑𝐴 ∈ ℝ)
43adantr 484 . . . . 5 ((𝜑𝑗𝑋) → 𝐴 ∈ ℝ)
52, 4ifcld 4495 . . . 4 ((𝜑𝑗𝑋) → if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴) ∈ ℝ)
62, 5ifcld 4495 . . 3 ((𝜑𝑗𝑋) → if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴)) ∈ ℝ)
7 eqid 2824 . . 3 (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴)))
86, 7fmptd 6869 . 2 (𝜑 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))):𝑋⟶ℝ)
9 hsphoif.h . . . . 5 𝐻 = (𝑥 ∈ ℝ ↦ (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥)))))
10 breq2 5056 . . . . . . . . 9 (𝑥 = 𝐴 → ((𝑎𝑗) ≤ 𝑥 ↔ (𝑎𝑗) ≤ 𝐴))
11 id 22 . . . . . . . . 9 (𝑥 = 𝐴𝑥 = 𝐴)
1210, 11ifbieq2d 4475 . . . . . . . 8 (𝑥 = 𝐴 → if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥) = if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴))
1312ifeq2d 4469 . . . . . . 7 (𝑥 = 𝐴 → if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥)) = if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))
1413mpteq2dv 5148 . . . . . 6 (𝑥 = 𝐴 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥))) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴))))
1514mpteq2dv 5148 . . . . 5 (𝑥 = 𝐴 → (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥)))) = (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))))
16 ovex 7182 . . . . . . 7 (ℝ ↑m 𝑋) ∈ V
1716mptex 6977 . . . . . 6 (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))) ∈ V
1817a1i 11 . . . . 5 (𝜑 → (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))) ∈ V)
199, 15, 3, 18fvmptd3 6782 . . . 4 (𝜑 → (𝐻𝐴) = (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))))
20 fveq1 6660 . . . . . . 7 (𝑎 = 𝐵 → (𝑎𝑗) = (𝐵𝑗))
2120breq1d 5062 . . . . . . . 8 (𝑎 = 𝐵 → ((𝑎𝑗) ≤ 𝐴 ↔ (𝐵𝑗) ≤ 𝐴))
2221, 20ifbieq1d 4473 . . . . . . 7 (𝑎 = 𝐵 → if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴) = if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))
2320, 22ifeq12d 4470 . . . . . 6 (𝑎 = 𝐵 → if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)) = if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴)))
2423mpteq2dv 5148 . . . . 5 (𝑎 = 𝐵 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴))) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))))
2524adantl 485 . . . 4 ((𝜑𝑎 = 𝐵) → (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴))) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))))
26 reex 10626 . . . . . . . 8 ℝ ∈ V
2726a1i 11 . . . . . . 7 (𝜑 → ℝ ∈ V)
28 hsphoif.x . . . . . . 7 (𝜑𝑋𝑉)
2927, 28jca 515 . . . . . 6 (𝜑 → (ℝ ∈ V ∧ 𝑋𝑉))
30 elmapg 8415 . . . . . 6 ((ℝ ∈ V ∧ 𝑋𝑉) → (𝐵 ∈ (ℝ ↑m 𝑋) ↔ 𝐵:𝑋⟶ℝ))
3129, 30syl 17 . . . . 5 (𝜑 → (𝐵 ∈ (ℝ ↑m 𝑋) ↔ 𝐵:𝑋⟶ℝ))
321, 31mpbird 260 . . . 4 (𝜑𝐵 ∈ (ℝ ↑m 𝑋))
33 mptexg 6975 . . . . 5 (𝑋𝑉 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))) ∈ V)
3428, 33syl 17 . . . 4 (𝜑 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))) ∈ V)
3519, 25, 32, 34fvmptd 6766 . . 3 (𝜑 → ((𝐻𝐴)‘𝐵) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))))
3635feq1d 6488 . 2 (𝜑 → (((𝐻𝐴)‘𝐵):𝑋⟶ℝ ↔ (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))):𝑋⟶ℝ))
378, 36mpbird 260 1 (𝜑 → ((𝐻𝐴)‘𝐵):𝑋⟶ℝ)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 209   ∧ wa 399   = wceq 1538   ∈ wcel 2115  Vcvv 3480  ifcif 4450   class class class wbr 5052   ↦ cmpt 5132  ⟶wf 6339  ‘cfv 6343  (class class class)co 7149   ↑m cmap 8402  ℝcr 10534   ≤ cle 10674 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 1912  ax-6 1971  ax-7 2016  ax-8 2117  ax-9 2125  ax-10 2146  ax-11 2162  ax-12 2179  ax-ext 2796  ax-rep 5176  ax-sep 5189  ax-nul 5196  ax-pow 5253  ax-pr 5317  ax-un 7455  ax-cnex 10591  ax-resscn 10592 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2071  df-mo 2624  df-eu 2655  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2964  df-ne 3015  df-ral 3138  df-rex 3139  df-reu 3140  df-rab 3142  df-v 3482  df-sbc 3759  df-csb 3867  df-dif 3922  df-un 3924  df-in 3926  df-ss 3936  df-nul 4277  df-if 4451  df-pw 4524  df-sn 4551  df-pr 4553  df-op 4557  df-uni 4825  df-iun 4907  df-br 5053  df-opab 5115  df-mpt 5133  df-id 5447  df-xp 5548  df-rel 5549  df-cnv 5550  df-co 5551  df-dm 5552  df-rn 5553  df-res 5554  df-ima 5555  df-iota 6302  df-fun 6345  df-fn 6346  df-f 6347  df-f1 6348  df-fo 6349  df-f1o 6350  df-fv 6351  df-ov 7152  df-oprab 7153  df-mpo 7154  df-map 8404 This theorem is referenced by:  hsphoidmvle2  43150  hsphoidmvle  43151  sge0hsphoire  43154  hoidmvlelem1  43160  hoidmvlelem2  43161  hoidmvlelem4  43163  hspmbllem1  43191  hspmbllem2  43192
 Copyright terms: Public domain W3C validator