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 47728
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 5109 . . . . . . . 8 (𝑥 = 𝐴 → ((𝑎‘𝑗) ≤ 𝑥 ↔ (𝑎‘𝑗) ≤ 𝐴))
3 id 23 . . . . . . . 8 (𝑥 = 𝐴 → 𝑥 = 𝐴)
42, 3ifbieq2d 4511 . . . . . . 7 (𝑥 = 𝐴 → if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥) = if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴))
54ifeq2d 4505 . . . . . 6 (𝑥 = 𝐴 → if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥)) = if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))
65mpteq2dv 5201 . . . . 5 (𝑥 = 𝐴 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥))) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴))))
76mpteq2dv 5201 . . . 4 (𝑥 = 𝐴 → (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥)))) = (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))))
8 hsphoival.a . . . 4 (𝜑 → 𝐴 ∈ ℝ)
9 ovex 7460 . . . . . 6 (ℝ ↑m 𝑋) ∈ V
109mptex 7236 . . . . 5 (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))) ∈ V
1110a1i 11 . . . 4 (𝜑 → (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))) ∈ V)
121, 7, 8, 11fvmptd3 7025 . . 3 (𝜑 → (𝐻‘𝐴) = (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))))
13 fveq1 6892 . . . . . 6 (𝑎 = 𝐵 → (𝑎‘𝑗) = (𝐵‘𝑗))
1413breq1d 5115 . . . . . . 7 (𝑎 = 𝐵 → ((𝑎‘𝑗) ≤ 𝐴 ↔ (𝐵‘𝑗) ≤ 𝐴))
1514, 13ifbieq1d 4509 . . . . . 6 (𝑎 = 𝐵 → if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴) = if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))
1613, 15ifeq12d 4506 . . . . 5 (𝑎 = 𝐵 → if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)) = if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴)))
1716mpteq2dv 5201 . . . 4 (𝑎 = 𝐵 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴))) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))))
1817adantl 487 . . 3 ((𝜑 ∧ 𝑎 = 𝐵) → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴))) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))))
19 hsphoival.b . . . 4 (𝜑 → 𝐵:𝑋⟶ℝ)
20 reex 11301 . . . . . . 7 ℝ ∈ V
2120a1i 11 . . . . . 6 (𝜑 → ℝ ∈ V)
22 hsphoival.x . . . . . 6 (𝜑 → 𝑋 ∈ 𝑉)
2321, 22jca 521 . . . . 5 (𝜑 → (ℝ ∈ V ∧ 𝑋 ∈ 𝑉))
24 elmapg 8870 . . . . 5 ((ℝ ∈ V ∧ 𝑋 ∈ 𝑉) → (𝐵 ∈ (ℝ ↑m 𝑋) ↔ 𝐵:𝑋⟶ℝ))
2523, 24syl 18 . . . 4 (𝜑 → (𝐵 ∈ (ℝ ↑m 𝑋) ↔ 𝐵:𝑋⟶ℝ))
2619, 25mpbird 260 . . 3 (𝜑 → 𝐵 ∈ (ℝ ↑m 𝑋))
27 mptexg 7234 . . . 4 (𝑋 ∈ 𝑉 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))) ∈ V)
2822, 27syl 18 . . 3 (𝜑 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))) ∈ V)
2912, 18, 26, 28fvmptd 7009 . 2 (𝜑 → ((𝐻‘𝐴)‘𝐵) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))))
30 eleq1 2851 . . . 4 (𝑗 = 𝐾 → (𝑗 ∈ 𝑌 ↔ 𝐾 ∈ 𝑌))
31 fveq2 6893 . . . 4 (𝑗 = 𝐾 → (𝐵‘𝑗) = (𝐵‘𝐾))
3231breq1d 5115 . . . . 5 (𝑗 = 𝐾 → ((𝐵‘𝑗) ≤ 𝐴 ↔ (𝐵‘𝐾) ≤ 𝐴))
3332, 31ifbieq1d 4509 . . . 4 (𝑗 = 𝐾 → if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴) = if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴))
3430, 31, 33ifbieq12d 4513 . . 3 (𝑗 = 𝐾 → if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴)) = if(𝐾 ∈ 𝑌, (𝐵‘𝐾), if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴)))
3534adantl 487 . 2 ((𝜑 ∧ 𝑗 = 𝐾) → if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴)) = if(𝐾 ∈ 𝑌, (𝐵‘𝐾), if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴)))
36 hsphoival.k . 2 (𝜑 → 𝐾 ∈ 𝑋)
3719, 36ffvelcdmd 7093 . . 3 (𝜑 → (𝐵‘𝐾) ∈ ℝ)
3837, 8ifcld 4531 . . 3 (𝜑 → if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴) ∈ ℝ)
3937, 38ifexd 4533 . 2 (𝜑 → if(𝐾 ∈ 𝑌, (𝐵‘𝐾), if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴)) ∈ V)
4029, 35, 36, 39fvmptd 7009 1 (𝜑 → (((𝐻‘𝐴)‘𝐵)‘𝐾) = if(𝐾 ∈ 𝑌, (𝐵‘𝐾), if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2146  Vcvv 3453  ifcif 4484   class class class wbr 5105   ↦ cmpt 5188  ⟶wf 6542  ‘cfv 6546  (class class class)co 7427   ↑m cmap 8858  ℝcr 11209   ≤ cle 11354
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-rep 5234  ax-sep 5251  ax-nul 5262  ax-pow 5330  ax-pr 5394  ax-un 7758  ax-cnex 11266  ax-resscn 11267
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-ral 3080  df-rex 3090  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4838  df-uni 4870  df-iun 4955  df-br 5106  df-opab 5170  df-mpt 5189  df-id 5549  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-iota 6500  df-fun 6548  df-fn 6549  df-f 6550  df-f1 6551  df-fo 6552  df-f1o 6553  df-fv 6554  df-ov 7430  df-oprab 7431  df-mpo 7432  df-map 8860
This theorem is used by:  hsphoidmvle2  47734  hsphoidmvle  47735  hoidmvlelem2  47745  hspmbllem1  47775
  Copyright terms: Public domain W3C validator