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 47923
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 5112 . . . . . . . 8 (𝑥 = 𝐴 → ((𝑎‘𝑗) ≤ 𝑥 ↔ (𝑎‘𝑗) ≤ 𝐴))
3 id 23 . . . . . . . 8 (𝑥 = 𝐴 → 𝑥 = 𝐴)
42, 3ifbieq2d 4512 . . . . . . 7 (𝑥 = 𝐴 → if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥) = if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴))
54ifeq2d 4506 . . . . . 6 (𝑥 = 𝐴 → if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥)) = if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))
65mpteq2dv 5205 . . . . 5 (𝑥 = 𝐴 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥))) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴))))
76mpteq2dv 5205 . . . 4 (𝑥 = 𝐴 → (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝑥, (𝑎‘𝑗), 𝑥)))) = (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))))
8 hsphoival.a . . . 4 (𝜑 → 𝐴 ∈ ℝ)
9 ovex 7484 . . . . . 6 (ℝ ↑m 𝑋) ∈ V
109mptex 7260 . . . . 5 (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))) ∈ V
1110a1i 11 . . . 4 (𝜑 → (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))) ∈ V)
121, 7, 8, 11fvmptd3 7048 . . 3 (𝜑 → (𝐻‘𝐴) = (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)))))
13 fveq1 6915 . . . . . 6 (𝑎 = 𝐵 → (𝑎‘𝑗) = (𝐵‘𝑗))
1413breq1d 5118 . . . . . . 7 (𝑎 = 𝐵 → ((𝑎‘𝑗) ≤ 𝐴 ↔ (𝐵‘𝑗) ≤ 𝐴))
1514, 13ifbieq1d 4510 . . . . . 6 (𝑎 = 𝐵 → if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴) = if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))
1613, 15ifeq12d 4507 . . . . 5 (𝑎 = 𝐵 → if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴)) = if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴)))
1716mpteq2dv 5205 . . . 4 (𝑎 = 𝐵 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴))) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))))
1817adantl 487 . . 3 ((𝜑 ∧ 𝑎 = 𝐵) → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝑎‘𝑗), if((𝑎‘𝑗) ≤ 𝐴, (𝑎‘𝑗), 𝐴))) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))))
19 hsphoival.b . . . 4 (𝜑 → 𝐵:𝑋⟶ℝ)
20 reex 11330 . . . . . . 7 ℝ ∈ V
2120a1i 11 . . . . . 6 (𝜑 → ℝ ∈ V)
22 hsphoival.x . . . . . 6 (𝜑 → 𝑋 ∈ 𝑉)
2321, 22jca 521 . . . . 5 (𝜑 → (ℝ ∈ V ∧ 𝑋 ∈ 𝑉))
24 elmapg 8897 . . . . 5 ((ℝ ∈ V ∧ 𝑋 ∈ 𝑉) → (𝐵 ∈ (ℝ ↑m 𝑋) ↔ 𝐵:𝑋⟶ℝ))
2523, 24syl 18 . . . 4 (𝜑 → (𝐵 ∈ (ℝ ↑m 𝑋) ↔ 𝐵:𝑋⟶ℝ))
2619, 25mpbird 260 . . 3 (𝜑 → 𝐵 ∈ (ℝ ↑m 𝑋))
27 mptexg 7258 . . . 4 (𝑋 ∈ 𝑉 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))) ∈ V)
2822, 27syl 18 . . 3 (𝜑 → (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))) ∈ V)
2912, 18, 26, 28fvmptd 7032 . 2 (𝜑 → ((𝐻‘𝐴)‘𝐵) = (𝑗 ∈ 𝑋 ↦ if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴))))
30 eleq1 2852 . . . 4 (𝑗 = 𝐾 → (𝑗 ∈ 𝑌 ↔ 𝐾 ∈ 𝑌))
31 fveq2 6916 . . . 4 (𝑗 = 𝐾 → (𝐵‘𝑗) = (𝐵‘𝐾))
3231breq1d 5118 . . . . 5 (𝑗 = 𝐾 → ((𝐵‘𝑗) ≤ 𝐴 ↔ (𝐵‘𝐾) ≤ 𝐴))
3332, 31ifbieq1d 4510 . . . 4 (𝑗 = 𝐾 → if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴) = if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴))
3430, 31, 33ifbieq12d 4514 . . 3 (𝑗 = 𝐾 → if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴)) = if(𝐾 ∈ 𝑌, (𝐵‘𝐾), if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴)))
3534adantl 487 . 2 ((𝜑 ∧ 𝑗 = 𝐾) → if(𝑗 ∈ 𝑌, (𝐵‘𝑗), if((𝐵‘𝑗) ≤ 𝐴, (𝐵‘𝑗), 𝐴)) = if(𝐾 ∈ 𝑌, (𝐵‘𝐾), if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴)))
36 hsphoival.k . 2 (𝜑 → 𝐾 ∈ 𝑋)
3719, 36ffvelcdmd 7117 . . 3 (𝜑 → (𝐵‘𝐾) ∈ ℝ)
3837, 8ifcld 4532 . . 3 (𝜑 → if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴) ∈ ℝ)
3937, 38ifexd 4534 . 2 (𝜑 → if(𝐾 ∈ 𝑌, (𝐵‘𝐾), if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴)) ∈ V)
4029, 35, 36, 39fvmptd 7032 1 (𝜑 → (((𝐻‘𝐴)‘𝐵)‘𝐾) = if(𝐾 ∈ 𝑌, (𝐵‘𝐾), if((𝐵‘𝐾) ≤ 𝐴, (𝐵‘𝐾), 𝐴)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  Vcvv 3454  ifcif 4485   class class class wbr 5108   ↦ cmpt 5192  ⟶wf 6562  ‘cfv 6566  (class class class)co 7451   ↑m cmap 8885  ℝcr 11238   ≤ cle 11383
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5238  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783  ax-cnex 11295  ax-resscn 11296
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-map 8887
This theorem is used by:  hsphoidmvle2  47929  hsphoidmvle  47930  hoidmvlelem2  47940  hspmbllem1  47970
  Copyright terms: Public domain W3C validator