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

Theorem hsphoif 44004
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 6943 . . . 4 ((𝜑𝑗𝑋) → (𝐵𝑗) ∈ ℝ)
3 hsphoif.a . . . . . 6 (𝜑𝐴 ∈ ℝ)
43adantr 480 . . . . 5 ((𝜑𝑗𝑋) → 𝐴 ∈ ℝ)
52, 4ifcld 4502 . . . 4 ((𝜑𝑗𝑋) → if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴) ∈ ℝ)
62, 5ifcld 4502 . . 3 ((𝜑𝑗𝑋) → if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴)) ∈ ℝ)
7 eqid 2738 . . 3 (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴)))
86, 7fmptd 6970 . 2 (𝜑 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))):𝑋⟶ℝ)
9 hsphoif.h . . . . 5 𝐻 = (𝑥 ∈ ℝ ↦ (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥)))))
10 breq2 5074 . . . . . . . . 9 (𝑥 = 𝐴 → ((𝑎𝑗) ≤ 𝑥 ↔ (𝑎𝑗) ≤ 𝐴))
11 id 22 . . . . . . . . 9 (𝑥 = 𝐴𝑥 = 𝐴)
1210, 11ifbieq2d 4482 . . . . . . . 8 (𝑥 = 𝐴 → if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥) = if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴))
1312ifeq2d 4476 . . . . . . 7 (𝑥 = 𝐴 → if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥)) = if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))
1413mpteq2dv 5172 . . . . . 6 (𝑥 = 𝐴 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥))) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴))))
1514mpteq2dv 5172 . . . . 5 (𝑥 = 𝐴 → (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥)))) = (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))))
16 ovex 7288 . . . . . . 7 (ℝ ↑m 𝑋) ∈ V
1716mptex 7081 . . . . . 6 (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))) ∈ V
1817a1i 11 . . . . 5 (𝜑 → (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))) ∈ V)
199, 15, 3, 18fvmptd3 6880 . . . 4 (𝜑 → (𝐻𝐴) = (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))))
20 fveq1 6755 . . . . . . 7 (𝑎 = 𝐵 → (𝑎𝑗) = (𝐵𝑗))
2120breq1d 5080 . . . . . . . 8 (𝑎 = 𝐵 → ((𝑎𝑗) ≤ 𝐴 ↔ (𝐵𝑗) ≤ 𝐴))
2221, 20ifbieq1d 4480 . . . . . . 7 (𝑎 = 𝐵 → if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴) = if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))
2320, 22ifeq12d 4477 . . . . . 6 (𝑎 = 𝐵 → if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)) = if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴)))
2423mpteq2dv 5172 . . . . 5 (𝑎 = 𝐵 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴))) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))))
2524adantl 481 . . . 4 ((𝜑𝑎 = 𝐵) → (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴))) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))))
26 reex 10893 . . . . . . . 8 ℝ ∈ V
2726a1i 11 . . . . . . 7 (𝜑 → ℝ ∈ V)
28 hsphoif.x . . . . . . 7 (𝜑𝑋𝑉)
2927, 28jca 511 . . . . . 6 (𝜑 → (ℝ ∈ V ∧ 𝑋𝑉))
30 elmapg 8586 . . . . . 6 ((ℝ ∈ V ∧ 𝑋𝑉) → (𝐵 ∈ (ℝ ↑m 𝑋) ↔ 𝐵:𝑋⟶ℝ))
3129, 30syl 17 . . . . 5 (𝜑 → (𝐵 ∈ (ℝ ↑m 𝑋) ↔ 𝐵:𝑋⟶ℝ))
321, 31mpbird 256 . . . 4 (𝜑𝐵 ∈ (ℝ ↑m 𝑋))
33 mptexg 7079 . . . . 5 (𝑋𝑉 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))) ∈ V)
3428, 33syl 17 . . . 4 (𝜑 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))) ∈ V)
3519, 25, 32, 34fvmptd 6864 . . 3 (𝜑 → ((𝐻𝐴)‘𝐵) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))))
3635feq1d 6569 . 2 (𝜑 → (((𝐻𝐴)‘𝐵):𝑋⟶ℝ ↔ (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))):𝑋⟶ℝ))
378, 36mpbird 256 1 (𝜑 → ((𝐻𝐴)‘𝐵):𝑋⟶ℝ)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  Vcvv 3422  ifcif 4456   class class class wbr 5070  cmpt 5153  wf 6414  cfv 6418  (class class class)co 7255  m cmap 8573  cr 10801  cle 10941
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-map 8575
This theorem is referenced by:  hsphoidmvle2  44013  hsphoidmvle  44014  sge0hsphoire  44017  hoidmvlelem1  44023  hoidmvlelem2  44024  hoidmvlelem4  44026  hspmbllem1  44054  hspmbllem2  44055
  Copyright terms: Public domain W3C validator