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 42855
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 5062 . . . . . . . 8 (𝑥 = 𝐴 → ((𝑎𝑗) ≤ 𝑥 ↔ (𝑎𝑗) ≤ 𝐴))
3 id 22 . . . . . . . 8 (𝑥 = 𝐴𝑥 = 𝐴)
42, 3ifbieq2d 4491 . . . . . . 7 (𝑥 = 𝐴 → if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥) = if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴))
54ifeq2d 4485 . . . . . 6 (𝑥 = 𝐴 → if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥)) = if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))
65mpteq2dv 5154 . . . . 5 (𝑥 = 𝐴 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥))) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴))))
76mpteq2dv 5154 . . . 4 (𝑥 = 𝐴 → (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝑥, (𝑎𝑗), 𝑥)))) = (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))))
8 hsphoival.a . . . 4 (𝜑𝐴 ∈ ℝ)
9 ovex 7183 . . . . . 6 (ℝ ↑m 𝑋) ∈ V
109mptex 6980 . . . . 5 (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))) ∈ V
1110a1i 11 . . . 4 (𝜑 → (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))) ∈ V)
121, 7, 8, 11fvmptd3 6785 . . 3 (𝜑 → (𝐻𝐴) = (𝑎 ∈ (ℝ ↑m 𝑋) ↦ (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)))))
13 fveq1 6663 . . . . . 6 (𝑎 = 𝐵 → (𝑎𝑗) = (𝐵𝑗))
1413breq1d 5068 . . . . . . 7 (𝑎 = 𝐵 → ((𝑎𝑗) ≤ 𝐴 ↔ (𝐵𝑗) ≤ 𝐴))
1514, 13ifbieq1d 4489 . . . . . 6 (𝑎 = 𝐵 → if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴) = if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))
1613, 15ifeq12d 4486 . . . . 5 (𝑎 = 𝐵 → if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴)) = if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴)))
1716mpteq2dv 5154 . . . 4 (𝑎 = 𝐵 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴))) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))))
1817adantl 484 . . 3 ((𝜑𝑎 = 𝐵) → (𝑗𝑋 ↦ if(𝑗𝑌, (𝑎𝑗), if((𝑎𝑗) ≤ 𝐴, (𝑎𝑗), 𝐴))) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))))
19 hsphoival.b . . . 4 (𝜑𝐵:𝑋⟶ℝ)
20 reex 10622 . . . . . . 7 ℝ ∈ V
2120a1i 11 . . . . . 6 (𝜑 → ℝ ∈ V)
22 hsphoival.x . . . . . 6 (𝜑𝑋𝑉)
2321, 22jca 514 . . . . 5 (𝜑 → (ℝ ∈ V ∧ 𝑋𝑉))
24 elmapg 8413 . . . . 5 ((ℝ ∈ V ∧ 𝑋𝑉) → (𝐵 ∈ (ℝ ↑m 𝑋) ↔ 𝐵:𝑋⟶ℝ))
2523, 24syl 17 . . . 4 (𝜑 → (𝐵 ∈ (ℝ ↑m 𝑋) ↔ 𝐵:𝑋⟶ℝ))
2619, 25mpbird 259 . . 3 (𝜑𝐵 ∈ (ℝ ↑m 𝑋))
27 mptexg 6978 . . . 4 (𝑋𝑉 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))) ∈ V)
2822, 27syl 17 . . 3 (𝜑 → (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))) ∈ V)
2912, 18, 26, 28fvmptd 6769 . 2 (𝜑 → ((𝐻𝐴)‘𝐵) = (𝑗𝑋 ↦ if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴))))
30 eleq1 2900 . . . 4 (𝑗 = 𝐾 → (𝑗𝑌𝐾𝑌))
31 fveq2 6664 . . . 4 (𝑗 = 𝐾 → (𝐵𝑗) = (𝐵𝐾))
3231breq1d 5068 . . . . 5 (𝑗 = 𝐾 → ((𝐵𝑗) ≤ 𝐴 ↔ (𝐵𝐾) ≤ 𝐴))
3332, 31ifbieq1d 4489 . . . 4 (𝑗 = 𝐾 → if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴) = if((𝐵𝐾) ≤ 𝐴, (𝐵𝐾), 𝐴))
3430, 31, 33ifbieq12d 4493 . . 3 (𝑗 = 𝐾 → if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴)) = if(𝐾𝑌, (𝐵𝐾), if((𝐵𝐾) ≤ 𝐴, (𝐵𝐾), 𝐴)))
3534adantl 484 . 2 ((𝜑𝑗 = 𝐾) → if(𝑗𝑌, (𝐵𝑗), if((𝐵𝑗) ≤ 𝐴, (𝐵𝑗), 𝐴)) = if(𝐾𝑌, (𝐵𝐾), if((𝐵𝐾) ≤ 𝐴, (𝐵𝐾), 𝐴)))
36 hsphoival.k . 2 (𝜑𝐾𝑋)
3719, 36ffvelrnd 6846 . . 3 (𝜑 → (𝐵𝐾) ∈ ℝ)
3837, 8ifcld 4511 . . 3 (𝜑 → if((𝐵𝐾) ≤ 𝐴, (𝐵𝐾), 𝐴) ∈ ℝ)
39 ifexg 4513 . . 3 (((𝐵𝐾) ∈ ℝ ∧ if((𝐵𝐾) ≤ 𝐴, (𝐵𝐾), 𝐴) ∈ ℝ) → if(𝐾𝑌, (𝐵𝐾), if((𝐵𝐾) ≤ 𝐴, (𝐵𝐾), 𝐴)) ∈ V)
4037, 38, 39syl2anc 586 . 2 (𝜑 → if(𝐾𝑌, (𝐵𝐾), if((𝐵𝐾) ≤ 𝐴, (𝐵𝐾), 𝐴)) ∈ V)
4129, 35, 36, 40fvmptd 6769 1 (𝜑 → (((𝐻𝐴)‘𝐵)‘𝐾) = if(𝐾𝑌, (𝐵𝐾), if((𝐵𝐾) ≤ 𝐴, (𝐵𝐾), 𝐴)))
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  hoidmvlelem2  42872  hspmbllem1  42902
  Copyright terms: Public domain W3C validator