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

Theorem hsphoival 47588
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
hsphoival.h 𝐻 = (𝑥 ∈ ℝ ↦ (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥)))))
hsphoival.a (𝜑 → 𝐴 ∈ ℝ)
hsphoival.x (𝜑 → 𝑋 ∈ 𝑉)
hsphoival.b (𝜑 → 𝐵:𝑋⟶ℝ)
hsphoival.k (𝜑 → 𝐾 ∈ 𝑋)
Assertion
Ref Expression
hsphoival (𝜑 → (((𝐻‘𝐴)‘𝐵)‘𝐾) = if(𝐾 ∈ 𝑌, (𝐵‘𝐾), if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴)))
Distinct variable groups:   𝐴,𝑎,𝑗,𝑥   𝐵,𝑎,𝑗   𝑗,𝐾   𝑋,𝑎,𝑗,𝑥   𝑌,𝑎,𝑗,𝑥   𝜑,𝑎,𝑗,𝑥
Allowed substitution hints:   𝐵(𝑥)   𝐻(𝑥, 𝑗, 𝑎)   𝐾(𝑥, 𝑎)   𝑉(𝑥, 𝑗, 𝑎)

Proof of Theorem hsphoival
StepHypRef Expression
1 hsphoival.h . . . 4 𝐻 = (𝑥 ∈ ℝ ↦ (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥)))))
2 breq2 5107 . . . . . . . 8 (𝑥 = 𝐴 → ((𝑎‘𝑗) ≤ 𝑥 ↔ (𝑎‘𝑗) ≤ 𝐴))
3 id 23 . . . . . . . 8 (𝑥 = 𝐴 → 𝑥 = 𝐴)
42, 3ifbieq2d 4509 . . . . . . 7 (𝑥 = 𝐴 → if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥) = if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴))
54ifeq2d 4503 . . . . . 6 (𝑥 = 𝐴 → if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥)) = if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))
65mpteq2dv 5199 . . . . 5 (𝑥 = 𝐴 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥))) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴))))
76mpteq2dv 5199 . . . 4 (𝑥 = 𝐴 → (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥)))) = (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))))
8 hsphoival.a . . . 4 (𝜑 → 𝐴 ∈ ℝ)
9 ovex 7453 . . . . . 6 (ℝ ↑m 𝑋) ∈ V
109mptex 7229 . . . . 5 (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))) ∈ V
1110a1i 11 . . . 4 (𝜑 → (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))) ∈ V)
121, 7, 8, 11fvmptd3 7017 . . 3 (𝜑 → (𝐻‘𝐴) = (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))))
13 fveq1 6884 . . . . . 6 (𝑎 = 𝐵 → (𝑎‘𝑗) = (𝐵‘𝑗))
1413breq1d 5113 . . . . . . 7 (𝑎 = 𝐵 → ((𝑎‘𝑗) ≤ 𝐴 ↔ (𝐵‘𝑗) ≤ 𝐴))
1514, 13ifbieq1d 4507 . . . . . 6 (𝑎 = 𝐵 → if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴) = if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))
1613, 15ifeq12d 4504 . . . . 5 (𝑎 = 𝐵 → if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)) = if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴)))
1716mpteq2dv 5199 . . . 4 (𝑎 = 𝐵 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴))) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))))
1817adantl 487 . . 3 ((𝜑 ∧ 𝑎 = 𝐵) → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴))) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))))
19 hsphoival.b . . . 4 (𝜑 → 𝐵:𝑋⟶ℝ)
20 reex 11291 . . . . . . 7 ℝ ∈ V
2120a1i 11 . . . . . 6 (𝜑 → ℝ ∈ V)
22 hsphoival.x . . . . . 6 (𝜑 → 𝑋 ∈ 𝑉)
2321, 22jca 521 . . . . 5 (𝜑 → (ℝ ∈ V ∧ 𝑋 ∈ 𝑉))
24 elmapg 8859 . . . . 5 ((ℝ ∈ V ∧ 𝑋 ∈ 𝑉) → (𝐵 ∈ (ℝ ↑m 𝑋) ↔ 𝐵:𝑋⟶ℝ))
2523, 24syl 18 . . . 4 (𝜑 → (𝐵 ∈ (ℝ ↑m 𝑋) ↔ 𝐵:𝑋⟶ℝ))
2619, 25mpbird 260 . . 3 (𝜑 → 𝐵 ∈ (ℝ ↑m 𝑋))
27 mptexg 7227 . . . 4 (𝑋 ∈ 𝑉 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))) ∈ V)
2822, 27syl 18 . . 3 (𝜑 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))) ∈ V)
2912, 18, 26, 28fvmptd 7001 . 2 (𝜑 → ((𝐻‘𝐴)‘𝐵) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))))
30 eleq1 2849 . . . 4 (𝑗 = 𝐾 → (𝑗 ∈ 𝑌 ↔ 𝐾 ∈ 𝑌))
31 fveq2 6885 . . . 4 (𝑗 = 𝐾 → (𝐵‘𝑗) = (𝐵‘𝐾))
3231breq1d 5113 . . . . 5 (𝑗 = 𝐾 → ((𝐵‘𝑗) ≤ 𝐴 ↔ (𝐵‘𝐾) ≤ 𝐴))
3332, 31ifbieq1d 4507 . . . 4 (𝑗 = 𝐾 → if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴) = if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴))
3430, 31, 33ifbieq12d 4511 . . 3 (𝑗 = 𝐾 → if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴)) = if(𝐾 ∈ 𝑌, (𝐵‘𝐾), if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴)))
3534adantl 487 . 2 ((𝜑 ∧ 𝑗 = 𝐾) → if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴)) = if(𝐾 ∈ 𝑌, (𝐵‘𝐾), if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴)))
36 hsphoival.k . 2 (𝜑 → 𝐾 ∈ 𝑋)
3719, 36ffvelcdmd 7085 . . 3 (𝜑 → (𝐵‘𝐾) ∈ ℝ)
3837, 8ifcld 4529 . . 3 (𝜑 → if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴) ∈ ℝ)
3937, 38ifexd 4531 . 2 (𝜑 → if(𝐾 ∈ 𝑌, (𝐵‘𝐾), if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴)) ∈ V)
4029, 35, 36, 39fvmptd 7001 1 (𝜑 → (((𝐻‘𝐴)‘𝐵)‘𝐾) = if(𝐾 ∈ 𝑌, (𝐵‘𝐾), if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴)))
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 6534  ‘cfv 6538  (class class class)co 7420   ↑m cmap 8847  ℝcr 11199   ≤ cle 11344
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 7751  ax-cnex 11256  ax-resscn 11257
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 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-map 8849
This theorem is used by:  hsphoidmvle2  47594  hsphoidmvle  47595  hoidmvlelem2  47605  hspmbllem1  47635
  Copyright terms: Public domain W3C validator