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 47530
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 (𝜑 → 𝐵:𝑋⟶ℝ)
21ffvelcdmda 7076 . . . 4 ((𝜑 ∧ 𝑗 ∈ 𝑋) → (𝐵‘𝑗) ∈ ℝ)
3 hsphoif.a . . . . . 6 (𝜑 → 𝐴 ∈ ℝ)
43adantr 486 . . . . 5 ((𝜑 ∧ 𝑗 ∈ 𝑋) → 𝐴 ∈ ℝ)
52, 4ifcld 4529 . . . 4 ((𝜑 ∧ 𝑗 ∈ 𝑋) → if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴) ∈ ℝ)
62, 5ifcld 4529 . . 3 ((𝜑 ∧ 𝑗 ∈ 𝑋) → if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴)) ∈ ℝ)
7 eqid 2761 . . 3 (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴)))
86, 7fmptd 7106 . 2 (𝜑 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))):𝑋⟶ℝ)
9 hsphoif.h . . . . 5 𝐻 = (𝑥 ∈ ℝ ↦ (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥)))))
10 breq2 5107 . . . . . . . . 9 (𝑥 = 𝐴 → ((𝑎‘𝑗) ≤ 𝑥 ↔ (𝑎‘𝑗) ≤ 𝐴))
11 id 23 . . . . . . . . 9 (𝑥 = 𝐴 → 𝑥 = 𝐴)
1210, 11ifbieq2d 4509 . . . . . . . 8 (𝑥 = 𝐴 → if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥) = if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴))
1312ifeq2d 4503 . . . . . . 7 (𝑥 = 𝐴 → if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥)) = if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))
1413mpteq2dv 5199 . . . . . 6 (𝑥 = 𝐴 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥))) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴))))
1514mpteq2dv 5199 . . . . 5 (𝑥 = 𝐴 → (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥)))) = (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))))
16 ovex 7445 . . . . . . 7 (ℝ ↑m 𝑋) ∈ V
1716mptex 7221 . . . . . 6 (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))) ∈ V
1817a1i 11 . . . . 5 (𝜑 → (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))) ∈ V)
199, 15, 3, 18fvmptd3 7009 . . . 4 (𝜑 → (𝐻‘𝐴) = (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))))
20 fveq1 6876 . . . . . . 7 (𝑎 = 𝐵 → (𝑎‘𝑗) = (𝐵‘𝑗))
2120breq1d 5113 . . . . . . . 8 (𝑎 = 𝐵 → ((𝑎‘𝑗) ≤ 𝐴 ↔ (𝐵‘𝑗) ≤ 𝐴))
2221, 20ifbieq1d 4507 . . . . . . 7 (𝑎 = 𝐵 → if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴) = if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))
2320, 22ifeq12d 4504 . . . . . 6 (𝑎 = 𝐵 → if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)) = if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴)))
2423mpteq2dv 5199 . . . . 5 (𝑎 = 𝐵 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴))) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))))
2524adantl 487 . . . 4 ((𝜑 ∧ 𝑎 = 𝐵) → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴))) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))))
26 reex 11272 . . . . . . . 8 ℝ ∈ V
2726a1i 11 . . . . . . 7 (𝜑 → ℝ ∈ V)
28 hsphoif.x . . . . . . 7 (𝜑 → 𝑋 ∈ 𝑉)
2927, 28jca 521 . . . . . 6 (𝜑 → (ℝ ∈ V ∧ 𝑋 ∈ 𝑉))
30 elmapg 8843 . . . . . 6 ((ℝ ∈ V ∧ 𝑋 ∈ 𝑉) → (𝐵 ∈ (ℝ ↑m 𝑋) ↔ 𝐵:𝑋⟶ℝ))
3129, 30syl 18 . . . . 5 (𝜑 → (𝐵 ∈ (ℝ ↑m 𝑋) ↔ 𝐵:𝑋⟶ℝ))
321, 31mpbird 260 . . . 4 (𝜑 → 𝐵 ∈ (ℝ ↑m 𝑋))
33 mptexg 7219 . . . . 5 (𝑋 ∈ 𝑉 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))) ∈ V)
3428, 33syl 18 . . . 4 (𝜑 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))) ∈ V)
3519, 25, 32, 34fvmptd 6993 . . 3 (𝜑 → ((𝐻‘𝐴)‘𝐵) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))))
3635feq1d 6683 . 2 (𝜑 → (((𝐻‘𝐴)‘𝐵):𝑋⟶ℝ ↔ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))):𝑋⟶ℝ))
378, 36mpbird 260 1 (𝜑 → ((𝐻‘𝐴)‘𝐵):𝑋⟶ℝ)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Vcvv 3451  ifcif 4482   class class class wbr 5103   ↦ cmpt 5186  ⟶wf 6527  ‘cfv 6531  (class class class)co 7412   ↑m cmap 8831  ℝcr 11180   ≤ cle 11325
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740  ax-cnex 11237  ax-resscn 11238
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-ov 7415  df-oprab 7416  df-mpo 7417  df-map 8833
This theorem is used by:  hsphoidmvle2  47539  hsphoidmvle  47540  sge0hsphoire  47543  hoidmvlelem1  47549  hoidmvlelem2  47550  hoidmvlelem4  47552  hspmbllem1  47580  hspmbllem2  47581
  Copyright terms: Public domain W3C validator