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 42852
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 6845 . . . 4 ((𝜑𝑗𝑋) → (𝐵𝑗) ∈ ℝ)
3 hsphoif.a . . . . . 6 (𝜑𝐴 ∈ ℝ)
43adantr 483 . . . . 5 ((𝜑𝑗𝑋) → 𝐴 ∈ ℝ)
52, 4ifcld 4511 . . . 4 ((𝜑𝑗𝑋) → if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴) ∈ ℝ)
62, 5ifcld 4511 . . 3 ((𝜑𝑗𝑋) → if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴)) ∈ ℝ)
7 eqid 2821 . . 3 (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴)))
86, 7fmptd 6872 . 2 (𝜑 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))):𝑋⟶ℝ)
9 hsphoif.h . . . . 5 𝐻 = (𝑥 ∈ ℝ ↦ (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥)))))
10 breq2 5062 . . . . . . . . 9 (𝑥 = 𝐴 → ((𝑎𝑗) ≤ 𝑥 ↔ (𝑎𝑗) ≤ 𝐴))
11 id 22 . . . . . . . . 9 (𝑥 = 𝐴𝑥 = 𝐴)
1210, 11ifbieq2d 4491 . . . . . . . 8 (𝑥 = 𝐴 → if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥) = if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴))
1312ifeq2d 4485 . . . . . . 7 (𝑥 = 𝐴 → if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥)) = if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))
1413mpteq2dv 5154 . . . . . 6 (𝑥 = 𝐴 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥))) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴))))
1514mpteq2dv 5154 . . . . 5 (𝑥 = 𝐴 → (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥)))) = (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))))
16 ovex 7183 . . . . . . 7 (ℝ ↑m 𝑋) ∈ V
1716mptex 6980 . . . . . 6 (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))) ∈ V
1817a1i 11 . . . . 5 (𝜑 → (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))) ∈ V)
199, 15, 3, 18fvmptd3 6785 . . . 4 (𝜑 → (𝐻𝐴) = (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))))
20 fveq1 6663 . . . . . . 7 (𝑎 = 𝐵 → (𝑎𝑗) = (𝐵𝑗))
2120breq1d 5068 . . . . . . . 8 (𝑎 = 𝐵 → ((𝑎𝑗) ≤ 𝐴 ↔ (𝐵𝑗) ≤ 𝐴))
2221, 20ifbieq1d 4489 . . . . . . 7 (𝑎 = 𝐵 → if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴) = if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))
2320, 22ifeq12d 4486 . . . . . 6 (𝑎 = 𝐵 → if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)) = if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴)))
2423mpteq2dv 5154 . . . . 5 (𝑎 = 𝐵 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴))) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))))
2524adantl 484 . . . 4 ((𝜑𝑎 = 𝐵) → (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴))) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))))
26 reex 10622 . . . . . . . 8 ℝ ∈ V
2726a1i 11 . . . . . . 7 (𝜑 → ℝ ∈ V)
28 hsphoif.x . . . . . . 7 (𝜑𝑋𝑉)
2927, 28jca 514 . . . . . 6 (𝜑 → (ℝ ∈ V ∧ 𝑋𝑉))
30 elmapg 8413 . . . . . 6 ((ℝ ∈ V ∧ 𝑋𝑉) → (𝐵 ∈ (ℝ ↑m 𝑋) ↔ 𝐵:𝑋⟶ℝ))
3129, 30syl 17 . . . . 5 (𝜑 → (𝐵 ∈ (ℝ ↑m 𝑋) ↔ 𝐵:𝑋⟶ℝ))
321, 31mpbird 259 . . . 4 (𝜑𝐵 ∈ (ℝ ↑m 𝑋))
33 mptexg 6978 . . . . 5 (𝑋𝑉 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))) ∈ V)
3428, 33syl 17 . . . 4 (𝜑 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))) ∈ V)
3519, 25, 32, 34fvmptd 6769 . . 3 (𝜑 → ((𝐻𝐴)‘𝐵) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))))
3635feq1d 6493 . 2 (𝜑 → (((𝐻𝐴)‘𝐵):𝑋⟶ℝ ↔ (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))):𝑋⟶ℝ))
378, 36mpbird 259 1 (𝜑 → ((𝐻𝐴)‘𝐵):𝑋⟶ℝ)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1533  wcel 2110  Vcvv 3494  ifcif 4466   class class class wbr 5058  cmpt 5138  wf 6345  cfv 6349  (class class class)co 7150  m cmap 8400  cr 10530  cle 10670
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-rep 5182  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7455  ax-cnex 10587  ax-resscn 10588
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-iun 4913  df-br 5059  df-opab 5121  df-mpt 5139  df-id 5454  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-res 5561  df-ima 5562  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-f1 6354  df-fo 6355  df-f1o 6356  df-fv 6357  df-ov 7153  df-oprab 7154  df-mpo 7155  df-map 8402
This theorem is referenced by:  hsphoidmvle2  42861  hsphoidmvle  42862  sge0hsphoire  42865  hoidmvlelem1  42871  hoidmvlelem2  42872  hoidmvlelem4  42874  hspmbllem1  42902  hspmbllem2  42903
  Copyright terms: Public domain W3C validator