Users' Mathboxes Mathbox for Brendan Leahy < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  mbfposadd Structured version   Visualization version   GIF version

Theorem mbfposadd 35751
Description: If the sum of two measurable functions is measurable, the sum of their nonnegative parts is measurable. (Contributed by Brendan Leahy, 2-Apr-2018.)
Hypotheses
Ref Expression
mbfposadd.1 (𝜑 → (𝑥𝐴𝐵) ∈ MblFn)
mbfposadd.2 ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ)
mbfposadd.3 (𝜑 → (𝑥𝐴𝐶) ∈ MblFn)
mbfposadd.4 ((𝜑𝑥𝐴) → 𝐶 ∈ ℝ)
mbfposadd.5 (𝜑 → (𝑥𝐴 ↦ (𝐵 + 𝐶)) ∈ MblFn)
Assertion
Ref Expression
mbfposadd (𝜑 → (𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ∈ MblFn)
Distinct variable groups:   𝜑,𝑥   𝑥,𝐴
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥)

Proof of Theorem mbfposadd
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mbfposadd.2 . . . . 5 ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ)
2 0re 10908 . . . . 5 0 ∈ ℝ
3 ifcl 4501 . . . . 5 ((𝐵 ∈ ℝ ∧ 0 ∈ ℝ) → if(0 ≤ 𝐵, 𝐵, 0) ∈ ℝ)
41, 2, 3sylancl 585 . . . 4 ((𝜑𝑥𝐴) → if(0 ≤ 𝐵, 𝐵, 0) ∈ ℝ)
5 mbfposadd.4 . . . . 5 ((𝜑𝑥𝐴) → 𝐶 ∈ ℝ)
6 ifcl 4501 . . . . 5 ((𝐶 ∈ ℝ ∧ 0 ∈ ℝ) → if(0 ≤ 𝐶, 𝐶, 0) ∈ ℝ)
75, 2, 6sylancl 585 . . . 4 ((𝜑𝑥𝐴) → if(0 ≤ 𝐶, 𝐶, 0) ∈ ℝ)
84, 7readdcld 10935 . . 3 ((𝜑𝑥𝐴) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) ∈ ℝ)
98fmpttd 6971 . 2 (𝜑 → (𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))):𝐴⟶ℝ)
10 ssrab2 4009 . . . 4 {𝑥𝐴 ∣ 0 ≤ 𝐶} ⊆ 𝐴
11 fssres 6624 . . . 4 (((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))):𝐴⟶ℝ ∧ {𝑥𝐴 ∣ 0 ≤ 𝐶} ⊆ 𝐴) → ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}):{𝑥𝐴 ∣ 0 ≤ 𝐶}⟶ℝ)
129, 10, 11sylancl 585 . . 3 (𝜑 → ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}):{𝑥𝐴 ∣ 0 ≤ 𝐶}⟶ℝ)
13 inss2 4160 . . . . . 6 ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ {𝑥𝐴 ∣ 0 ≤ 𝐶}
14 resabs1 5910 . . . . . 6 (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ {𝑥𝐴 ∣ 0 ≤ 𝐶} → (((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})))
1513, 14ax-mp 5 . . . . 5 (((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
16 elin 3899 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ (𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐵} ∧ 𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
17 rabid 3304 . . . . . . . . . 10 (𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐵} ↔ (𝑥𝐴 ∧ 0 ≤ 𝐵))
18 rabid 3304 . . . . . . . . . 10 (𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐶} ↔ (𝑥𝐴 ∧ 0 ≤ 𝐶))
1917, 18anbi12i 626 . . . . . . . . 9 ((𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐵} ∧ 𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ ((𝑥𝐴 ∧ 0 ≤ 𝐵) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)))
2016, 19bitri 274 . . . . . . . 8 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ ((𝑥𝐴 ∧ 0 ≤ 𝐵) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)))
21 iftrue 4462 . . . . . . . . . 10 (0 ≤ 𝐵 → if(0 ≤ 𝐵, 𝐵, 0) = 𝐵)
22 iftrue 4462 . . . . . . . . . 10 (0 ≤ 𝐶 → if(0 ≤ 𝐶, 𝐶, 0) = 𝐶)
2321, 22oveqan12d 7274 . . . . . . . . 9 ((0 ≤ 𝐵 ∧ 0 ≤ 𝐶) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = (𝐵 + 𝐶))
2423ad2ant2l 742 . . . . . . . 8 (((𝑥𝐴 ∧ 0 ≤ 𝐵) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = (𝐵 + 𝐶))
2520, 24sylbi 216 . . . . . . 7 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = (𝐵 + 𝐶))
2625mpteq2ia 5173 . . . . . 6 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (𝐵 + 𝐶))
27 inss1 4159 . . . . . . . 8 ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ {𝑥𝐴 ∣ 0 ≤ 𝐵}
28 ssrab2 4009 . . . . . . . 8 {𝑥𝐴 ∣ 0 ≤ 𝐵} ⊆ 𝐴
2927, 28sstri 3926 . . . . . . 7 ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴
30 resmpt 5934 . . . . . . . 8 (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))))
31 nfcv 2906 . . . . . . . . . 10 𝑦(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))
32 nfcsb1v 3853 . . . . . . . . . 10 𝑥𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))
33 csbeq1a 3842 . . . . . . . . . 10 (𝑥 = 𝑦 → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
3431, 32, 33cbvmpt 5181 . . . . . . . . 9 (𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = (𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
3534reseq1i 5876 . . . . . . . 8 ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
36 nfv 1918 . . . . . . . . . 10 𝑦(𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
37 nfrab1 3310 . . . . . . . . . . . . 13 𝑥{𝑥𝐴 ∣ 0 ≤ 𝐵}
38 nfrab1 3310 . . . . . . . . . . . . 13 𝑥{𝑥𝐴 ∣ 0 ≤ 𝐶}
3937, 38nfin 4147 . . . . . . . . . . . 12 𝑥({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})
4039nfcri 2893 . . . . . . . . . . 11 𝑥 𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})
4132nfeq2 2923 . . . . . . . . . . 11 𝑥 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))
4240, 41nfan 1903 . . . . . . . . . 10 𝑥(𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
43 eleq1w 2821 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ 𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})))
4433eqeq2d 2749 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) ↔ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))))
4543, 44anbi12d 630 . . . . . . . . . 10 (𝑥 = 𝑦 → ((𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↔ (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))))
4636, 42, 45cbvopab1 5145 . . . . . . . . 9 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
47 df-mpt 5154 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
48 df-mpt 5154 . . . . . . . . 9 (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
4946, 47, 483eqtr4i 2776 . . . . . . . 8 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
5030, 35, 493eqtr4g 2804 . . . . . . 7 (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴 → ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))))
5129, 50ax-mp 5 . . . . . 6 ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
52 resmpt 5934 . . . . . . . 8 (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥(𝐵 + 𝐶)) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥(𝐵 + 𝐶)))
53 nfcv 2906 . . . . . . . . . 10 𝑦(𝐵 + 𝐶)
54 nfcsb1v 3853 . . . . . . . . . 10 𝑥𝑦 / 𝑥(𝐵 + 𝐶)
55 csbeq1a 3842 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝐵 + 𝐶) = 𝑦 / 𝑥(𝐵 + 𝐶))
5653, 54, 55cbvmpt 5181 . . . . . . . . 9 (𝑥𝐴 ↦ (𝐵 + 𝐶)) = (𝑦𝐴𝑦 / 𝑥(𝐵 + 𝐶))
5756reseq1i 5876 . . . . . . . 8 ((𝑥𝐴 ↦ (𝐵 + 𝐶)) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑦𝐴𝑦 / 𝑥(𝐵 + 𝐶)) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
58 nfv 1918 . . . . . . . . . 10 𝑦(𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (𝐵 + 𝐶))
5954nfeq2 2923 . . . . . . . . . . 11 𝑥 𝑧 = 𝑦 / 𝑥(𝐵 + 𝐶)
6040, 59nfan 1903 . . . . . . . . . 10 𝑥(𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(𝐵 + 𝐶))
6155eqeq2d 2749 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑧 = (𝐵 + 𝐶) ↔ 𝑧 = 𝑦 / 𝑥(𝐵 + 𝐶)))
6243, 61anbi12d 630 . . . . . . . . . 10 (𝑥 = 𝑦 → ((𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (𝐵 + 𝐶)) ↔ (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(𝐵 + 𝐶))))
6358, 60, 62cbvopab1 5145 . . . . . . . . 9 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (𝐵 + 𝐶))} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(𝐵 + 𝐶))}
64 df-mpt 5154 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (𝐵 + 𝐶)) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (𝐵 + 𝐶))}
65 df-mpt 5154 . . . . . . . . 9 (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥(𝐵 + 𝐶)) = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(𝐵 + 𝐶))}
6663, 64, 653eqtr4i 2776 . . . . . . . 8 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (𝐵 + 𝐶)) = (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥(𝐵 + 𝐶))
6752, 57, 663eqtr4g 2804 . . . . . . 7 (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴 → ((𝑥𝐴 ↦ (𝐵 + 𝐶)) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (𝐵 + 𝐶)))
6829, 67ax-mp 5 . . . . . 6 ((𝑥𝐴 ↦ (𝐵 + 𝐶)) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (𝐵 + 𝐶))
6926, 51, 683eqtr4i 2776 . . . . 5 ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑥𝐴 ↦ (𝐵 + 𝐶)) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
7015, 69eqtri 2766 . . . 4 (((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑥𝐴 ↦ (𝐵 + 𝐶)) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
71 mbfposadd.5 . . . . 5 (𝜑 → (𝑥𝐴 ↦ (𝐵 + 𝐶)) ∈ MblFn)
721biantrurd 532 . . . . . . . . . 10 ((𝜑𝑥𝐴) → (0 ≤ 𝐵 ↔ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)))
73 elrege0 13115 . . . . . . . . . 10 (𝐵 ∈ (0[,)+∞) ↔ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵))
7472, 73bitr4di 288 . . . . . . . . 9 ((𝜑𝑥𝐴) → (0 ≤ 𝐵𝐵 ∈ (0[,)+∞)))
7574rabbidva 3402 . . . . . . . 8 (𝜑 → {𝑥𝐴 ∣ 0 ≤ 𝐵} = {𝑥𝐴𝐵 ∈ (0[,)+∞)})
76 0xr 10953 . . . . . . . . . . 11 0 ∈ ℝ*
77 pnfxr 10960 . . . . . . . . . . 11 +∞ ∈ ℝ*
78 0ltpnf 12787 . . . . . . . . . . 11 0 < +∞
79 snunioo 13139 . . . . . . . . . . 11 ((0 ∈ ℝ* ∧ +∞ ∈ ℝ* ∧ 0 < +∞) → ({0} ∪ (0(,)+∞)) = (0[,)+∞))
8076, 77, 78, 79mp3an 1459 . . . . . . . . . 10 ({0} ∪ (0(,)+∞)) = (0[,)+∞)
8180imaeq2i 5956 . . . . . . . . 9 ((𝑥𝐴𝐵) “ ({0} ∪ (0(,)+∞))) = ((𝑥𝐴𝐵) “ (0[,)+∞))
82 imaundi 6042 . . . . . . . . 9 ((𝑥𝐴𝐵) “ ({0} ∪ (0(,)+∞))) = (((𝑥𝐴𝐵) “ {0}) ∪ ((𝑥𝐴𝐵) “ (0(,)+∞)))
83 eqid 2738 . . . . . . . . . 10 (𝑥𝐴𝐵) = (𝑥𝐴𝐵)
8483mptpreima 6130 . . . . . . . . 9 ((𝑥𝐴𝐵) “ (0[,)+∞)) = {𝑥𝐴𝐵 ∈ (0[,)+∞)}
8581, 82, 843eqtr3ri 2775 . . . . . . . 8 {𝑥𝐴𝐵 ∈ (0[,)+∞)} = (((𝑥𝐴𝐵) “ {0}) ∪ ((𝑥𝐴𝐵) “ (0(,)+∞)))
8675, 85eqtrdi 2795 . . . . . . 7 (𝜑 → {𝑥𝐴 ∣ 0 ≤ 𝐵} = (((𝑥𝐴𝐵) “ {0}) ∪ ((𝑥𝐴𝐵) “ (0(,)+∞))))
87 mbfposadd.1 . . . . . . . 8 (𝜑 → (𝑥𝐴𝐵) ∈ MblFn)
881fmpttd 6971 . . . . . . . 8 (𝜑 → (𝑥𝐴𝐵):𝐴⟶ℝ)
89 mbfimasn 24701 . . . . . . . . . 10 (((𝑥𝐴𝐵) ∈ MblFn ∧ (𝑥𝐴𝐵):𝐴⟶ℝ ∧ 0 ∈ ℝ) → ((𝑥𝐴𝐵) “ {0}) ∈ dom vol)
902, 89mp3an3 1448 . . . . . . . . 9 (((𝑥𝐴𝐵) ∈ MblFn ∧ (𝑥𝐴𝐵):𝐴⟶ℝ) → ((𝑥𝐴𝐵) “ {0}) ∈ dom vol)
91 mbfima 24699 . . . . . . . . 9 (((𝑥𝐴𝐵) ∈ MblFn ∧ (𝑥𝐴𝐵):𝐴⟶ℝ) → ((𝑥𝐴𝐵) “ (0(,)+∞)) ∈ dom vol)
92 unmbl 24606 . . . . . . . . 9 ((((𝑥𝐴𝐵) “ {0}) ∈ dom vol ∧ ((𝑥𝐴𝐵) “ (0(,)+∞)) ∈ dom vol) → (((𝑥𝐴𝐵) “ {0}) ∪ ((𝑥𝐴𝐵) “ (0(,)+∞))) ∈ dom vol)
9390, 91, 92syl2anc 583 . . . . . . . 8 (((𝑥𝐴𝐵) ∈ MblFn ∧ (𝑥𝐴𝐵):𝐴⟶ℝ) → (((𝑥𝐴𝐵) “ {0}) ∪ ((𝑥𝐴𝐵) “ (0(,)+∞))) ∈ dom vol)
9487, 88, 93syl2anc 583 . . . . . . 7 (𝜑 → (((𝑥𝐴𝐵) “ {0}) ∪ ((𝑥𝐴𝐵) “ (0(,)+∞))) ∈ dom vol)
9586, 94eqeltrd 2839 . . . . . 6 (𝜑 → {𝑥𝐴 ∣ 0 ≤ 𝐵} ∈ dom vol)
965biantrurd 532 . . . . . . . . . 10 ((𝜑𝑥𝐴) → (0 ≤ 𝐶 ↔ (𝐶 ∈ ℝ ∧ 0 ≤ 𝐶)))
97 elrege0 13115 . . . . . . . . . 10 (𝐶 ∈ (0[,)+∞) ↔ (𝐶 ∈ ℝ ∧ 0 ≤ 𝐶))
9896, 97bitr4di 288 . . . . . . . . 9 ((𝜑𝑥𝐴) → (0 ≤ 𝐶𝐶 ∈ (0[,)+∞)))
9998rabbidva 3402 . . . . . . . 8 (𝜑 → {𝑥𝐴 ∣ 0 ≤ 𝐶} = {𝑥𝐴𝐶 ∈ (0[,)+∞)})
10080imaeq2i 5956 . . . . . . . . 9 ((𝑥𝐴𝐶) “ ({0} ∪ (0(,)+∞))) = ((𝑥𝐴𝐶) “ (0[,)+∞))
101 imaundi 6042 . . . . . . . . 9 ((𝑥𝐴𝐶) “ ({0} ∪ (0(,)+∞))) = (((𝑥𝐴𝐶) “ {0}) ∪ ((𝑥𝐴𝐶) “ (0(,)+∞)))
102 eqid 2738 . . . . . . . . . 10 (𝑥𝐴𝐶) = (𝑥𝐴𝐶)
103102mptpreima 6130 . . . . . . . . 9 ((𝑥𝐴𝐶) “ (0[,)+∞)) = {𝑥𝐴𝐶 ∈ (0[,)+∞)}
104100, 101, 1033eqtr3ri 2775 . . . . . . . 8 {𝑥𝐴𝐶 ∈ (0[,)+∞)} = (((𝑥𝐴𝐶) “ {0}) ∪ ((𝑥𝐴𝐶) “ (0(,)+∞)))
10599, 104eqtrdi 2795 . . . . . . 7 (𝜑 → {𝑥𝐴 ∣ 0 ≤ 𝐶} = (((𝑥𝐴𝐶) “ {0}) ∪ ((𝑥𝐴𝐶) “ (0(,)+∞))))
106 mbfposadd.3 . . . . . . . 8 (𝜑 → (𝑥𝐴𝐶) ∈ MblFn)
1075fmpttd 6971 . . . . . . . 8 (𝜑 → (𝑥𝐴𝐶):𝐴⟶ℝ)
108 mbfimasn 24701 . . . . . . . . . 10 (((𝑥𝐴𝐶) ∈ MblFn ∧ (𝑥𝐴𝐶):𝐴⟶ℝ ∧ 0 ∈ ℝ) → ((𝑥𝐴𝐶) “ {0}) ∈ dom vol)
1092, 108mp3an3 1448 . . . . . . . . 9 (((𝑥𝐴𝐶) ∈ MblFn ∧ (𝑥𝐴𝐶):𝐴⟶ℝ) → ((𝑥𝐴𝐶) “ {0}) ∈ dom vol)
110 mbfima 24699 . . . . . . . . 9 (((𝑥𝐴𝐶) ∈ MblFn ∧ (𝑥𝐴𝐶):𝐴⟶ℝ) → ((𝑥𝐴𝐶) “ (0(,)+∞)) ∈ dom vol)
111 unmbl 24606 . . . . . . . . 9 ((((𝑥𝐴𝐶) “ {0}) ∈ dom vol ∧ ((𝑥𝐴𝐶) “ (0(,)+∞)) ∈ dom vol) → (((𝑥𝐴𝐶) “ {0}) ∪ ((𝑥𝐴𝐶) “ (0(,)+∞))) ∈ dom vol)
112109, 110, 111syl2anc 583 . . . . . . . 8 (((𝑥𝐴𝐶) ∈ MblFn ∧ (𝑥𝐴𝐶):𝐴⟶ℝ) → (((𝑥𝐴𝐶) “ {0}) ∪ ((𝑥𝐴𝐶) “ (0(,)+∞))) ∈ dom vol)
113106, 107, 112syl2anc 583 . . . . . . 7 (𝜑 → (((𝑥𝐴𝐶) “ {0}) ∪ ((𝑥𝐴𝐶) “ (0(,)+∞))) ∈ dom vol)
114105, 113eqeltrd 2839 . . . . . 6 (𝜑 → {𝑥𝐴 ∣ 0 ≤ 𝐶} ∈ dom vol)
115 inmbl 24611 . . . . . 6 (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∈ dom vol ∧ {𝑥𝐴 ∣ 0 ≤ 𝐶} ∈ dom vol) → ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ dom vol)
11695, 114, 115syl2anc 583 . . . . 5 (𝜑 → ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ dom vol)
117 mbfres 24713 . . . . 5 (((𝑥𝐴 ↦ (𝐵 + 𝐶)) ∈ MblFn ∧ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ dom vol) → ((𝑥𝐴 ↦ (𝐵 + 𝐶)) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) ∈ MblFn)
11871, 116, 117syl2anc 583 . . . 4 (𝜑 → ((𝑥𝐴 ↦ (𝐵 + 𝐶)) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) ∈ MblFn)
11970, 118eqeltrid 2843 . . 3 (𝜑 → (((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) ∈ MblFn)
120 inss2 4160 . . . . . 6 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ {𝑥𝐴 ∣ 0 ≤ 𝐶}
121 resabs1 5910 . . . . . 6 (({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ {𝑥𝐴 ∣ 0 ≤ 𝐶} → (((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})))
122120, 121ax-mp 5 . . . . 5 (((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
123 rabid 3304 . . . . . . . . . 10 (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ↔ (𝑥𝐴 ∧ ¬ 0 ≤ 𝐵))
124123, 18anbi12i 626 . . . . . . . . 9 ((𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∧ 𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ ((𝑥𝐴 ∧ ¬ 0 ≤ 𝐵) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)))
125 elin 3899 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∧ 𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
126 anandi 672 . . . . . . . . 9 ((𝑥𝐴 ∧ (¬ 0 ≤ 𝐵 ∧ 0 ≤ 𝐶)) ↔ ((𝑥𝐴 ∧ ¬ 0 ≤ 𝐵) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)))
127124, 125, 1263bitr4i 302 . . . . . . . 8 (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ (𝑥𝐴 ∧ (¬ 0 ≤ 𝐵 ∧ 0 ≤ 𝐶)))
128 iffalse 4465 . . . . . . . . . . 11 (¬ 0 ≤ 𝐵 → if(0 ≤ 𝐵, 𝐵, 0) = 0)
129128, 22oveqan12d 7274 . . . . . . . . . 10 ((¬ 0 ≤ 𝐵 ∧ 0 ≤ 𝐶) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = (0 + 𝐶))
130129ad2antll 725 . . . . . . . . 9 ((𝜑 ∧ (𝑥𝐴 ∧ (¬ 0 ≤ 𝐵 ∧ 0 ≤ 𝐶))) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = (0 + 𝐶))
1315recnd 10934 . . . . . . . . . . 11 ((𝜑𝑥𝐴) → 𝐶 ∈ ℂ)
132131addid2d 11106 . . . . . . . . . 10 ((𝜑𝑥𝐴) → (0 + 𝐶) = 𝐶)
133132adantrr 713 . . . . . . . . 9 ((𝜑 ∧ (𝑥𝐴 ∧ (¬ 0 ≤ 𝐵 ∧ 0 ≤ 𝐶))) → (0 + 𝐶) = 𝐶)
134130, 133eqtrd 2778 . . . . . . . 8 ((𝜑 ∧ (𝑥𝐴 ∧ (¬ 0 ≤ 𝐵 ∧ 0 ≤ 𝐶))) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = 𝐶)
135127, 134sylan2b 593 . . . . . . 7 ((𝜑𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = 𝐶)
136135mpteq2dva 5170 . . . . . 6 (𝜑 → (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝐶))
137 inss1 4159 . . . . . . . 8 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵}
138 ssrab2 4009 . . . . . . . 8 {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ⊆ 𝐴
139137, 138sstri 3926 . . . . . . 7 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴
140 resmpt 5934 . . . . . . . 8 (({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))))
14134reseq1i 5876 . . . . . . . 8 ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
142 nfv 1918 . . . . . . . . . 10 𝑦(𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
143 nfrab1 3310 . . . . . . . . . . . . 13 𝑥{𝑥𝐴 ∣ ¬ 0 ≤ 𝐵}
144143, 38nfin 4147 . . . . . . . . . . . 12 𝑥({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})
145144nfcri 2893 . . . . . . . . . . 11 𝑥 𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})
146145, 41nfan 1903 . . . . . . . . . 10 𝑥(𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
147 eleq1w 2821 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ 𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})))
148147, 44anbi12d 630 . . . . . . . . . 10 (𝑥 = 𝑦 → ((𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↔ (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))))
149142, 146, 148cbvopab1 5145 . . . . . . . . 9 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
150 df-mpt 5154 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
151 df-mpt 5154 . . . . . . . . 9 (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
152149, 150, 1513eqtr4i 2776 . . . . . . . 8 (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
153140, 141, 1523eqtr4g 2804 . . . . . . 7 (({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴 → ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))))
154139, 153ax-mp 5 . . . . . 6 ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
155 resmpt 5934 . . . . . . . 8 (({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥𝐶))
156 nfcv 2906 . . . . . . . . . 10 𝑦𝐶
157 nfcsb1v 3853 . . . . . . . . . 10 𝑥𝑦 / 𝑥𝐶
158 csbeq1a 3842 . . . . . . . . . 10 (𝑥 = 𝑦𝐶 = 𝑦 / 𝑥𝐶)
159156, 157, 158cbvmpt 5181 . . . . . . . . 9 (𝑥𝐴𝐶) = (𝑦𝐴𝑦 / 𝑥𝐶)
160159reseq1i 5876 . . . . . . . 8 ((𝑥𝐴𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑦𝐴𝑦 / 𝑥𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
161 nfv 1918 . . . . . . . . . 10 𝑦(𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝐶)
162157nfeq2 2923 . . . . . . . . . . 11 𝑥 𝑧 = 𝑦 / 𝑥𝐶
163145, 162nfan 1903 . . . . . . . . . 10 𝑥(𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥𝐶)
164158eqeq2d 2749 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑧 = 𝐶𝑧 = 𝑦 / 𝑥𝐶))
165147, 164anbi12d 630 . . . . . . . . . 10 (𝑥 = 𝑦 → ((𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝐶) ↔ (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥𝐶)))
166161, 163, 165cbvopab1 5145 . . . . . . . . 9 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝐶)} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥𝐶)}
167 df-mpt 5154 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝐶) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝐶)}
168 df-mpt 5154 . . . . . . . . 9 (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥𝐶) = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥𝐶)}
169166, 167, 1683eqtr4i 2776 . . . . . . . 8 (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝐶) = (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥𝐶)
170155, 160, 1693eqtr4g 2804 . . . . . . 7 (({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴 → ((𝑥𝐴𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝐶))
171139, 170ax-mp 5 . . . . . 6 ((𝑥𝐴𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝐶)
172136, 154, 1713eqtr4g 2804 . . . . 5 (𝜑 → ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑥𝐴𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})))
173122, 172syl5eq 2791 . . . 4 (𝜑 → (((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑥𝐴𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})))
17483mptpreima 6130 . . . . . . . 8 ((𝑥𝐴𝐵) “ (-∞(,)0)) = {𝑥𝐴𝐵 ∈ (-∞(,)0)}
175 elioomnf 13105 . . . . . . . . . . 11 (0 ∈ ℝ* → (𝐵 ∈ (-∞(,)0) ↔ (𝐵 ∈ ℝ ∧ 𝐵 < 0)))
17676, 175ax-mp 5 . . . . . . . . . 10 (𝐵 ∈ (-∞(,)0) ↔ (𝐵 ∈ ℝ ∧ 𝐵 < 0))
1771biantrurd 532 . . . . . . . . . . 11 ((𝜑𝑥𝐴) → (𝐵 < 0 ↔ (𝐵 ∈ ℝ ∧ 𝐵 < 0)))
178 ltnle 10985 . . . . . . . . . . . 12 ((𝐵 ∈ ℝ ∧ 0 ∈ ℝ) → (𝐵 < 0 ↔ ¬ 0 ≤ 𝐵))
1791, 2, 178sylancl 585 . . . . . . . . . . 11 ((𝜑𝑥𝐴) → (𝐵 < 0 ↔ ¬ 0 ≤ 𝐵))
180177, 179bitr3d 280 . . . . . . . . . 10 ((𝜑𝑥𝐴) → ((𝐵 ∈ ℝ ∧ 𝐵 < 0) ↔ ¬ 0 ≤ 𝐵))
181176, 180syl5bb 282 . . . . . . . . 9 ((𝜑𝑥𝐴) → (𝐵 ∈ (-∞(,)0) ↔ ¬ 0 ≤ 𝐵))
182181rabbidva 3402 . . . . . . . 8 (𝜑 → {𝑥𝐴𝐵 ∈ (-∞(,)0)} = {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵})
183174, 182syl5eq 2791 . . . . . . 7 (𝜑 → ((𝑥𝐴𝐵) “ (-∞(,)0)) = {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵})
184 mbfima 24699 . . . . . . . 8 (((𝑥𝐴𝐵) ∈ MblFn ∧ (𝑥𝐴𝐵):𝐴⟶ℝ) → ((𝑥𝐴𝐵) “ (-∞(,)0)) ∈ dom vol)
18587, 88, 184syl2anc 583 . . . . . . 7 (𝜑 → ((𝑥𝐴𝐵) “ (-∞(,)0)) ∈ dom vol)
186183, 185eqeltrrd 2840 . . . . . 6 (𝜑 → {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∈ dom vol)
187 inmbl 24611 . . . . . 6 (({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∈ dom vol ∧ {𝑥𝐴 ∣ 0 ≤ 𝐶} ∈ dom vol) → ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ dom vol)
188186, 114, 187syl2anc 583 . . . . 5 (𝜑 → ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ dom vol)
189 mbfres 24713 . . . . 5 (((𝑥𝐴𝐶) ∈ MblFn ∧ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ dom vol) → ((𝑥𝐴𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) ∈ MblFn)
190106, 188, 189syl2anc 583 . . . 4 (𝜑 → ((𝑥𝐴𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) ∈ MblFn)
191173, 190eqeltrd 2839 . . 3 (𝜑 → (((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) ∈ MblFn)
192 ssid 3939 . . . . . 6 𝐴𝐴
193 dfrab3ss 4243 . . . . . 6 (𝐴𝐴 → {𝑥𝐴 ∣ 0 ≤ 𝐶} = (𝐴 ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
194192, 193ax-mp 5 . . . . 5 {𝑥𝐴 ∣ 0 ≤ 𝐶} = (𝐴 ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})
195 rabxm 4317 . . . . . 6 𝐴 = ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∪ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵})
196195ineq1i 4139 . . . . 5 (𝐴 ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) = (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∪ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵}) ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})
197 indir 4206 . . . . 5 (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∪ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵}) ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) = (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∪ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
198194, 196, 1973eqtrri 2771 . . . 4 (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∪ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = {𝑥𝐴 ∣ 0 ≤ 𝐶}
199198a1i 11 . . 3 (𝜑 → (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∪ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = {𝑥𝐴 ∣ 0 ≤ 𝐶})
20012, 119, 191, 199mbfres2 24714 . 2 (𝜑 → ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ MblFn)
201 rabid 3304 . . . . . 6 (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↔ (𝑥𝐴 ∧ ¬ 0 ≤ 𝐶))
202 iffalse 4465 . . . . . . . . 9 (¬ 0 ≤ 𝐶 → if(0 ≤ 𝐶, 𝐶, 0) = 0)
203202oveq2d 7271 . . . . . . . 8 (¬ 0 ≤ 𝐶 → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = (if(0 ≤ 𝐵, 𝐵, 0) + 0))
2044recnd 10934 . . . . . . . . 9 ((𝜑𝑥𝐴) → if(0 ≤ 𝐵, 𝐵, 0) ∈ ℂ)
205204addid1d 11105 . . . . . . . 8 ((𝜑𝑥𝐴) → (if(0 ≤ 𝐵, 𝐵, 0) + 0) = if(0 ≤ 𝐵, 𝐵, 0))
206203, 205sylan9eqr 2801 . . . . . . 7 (((𝜑𝑥𝐴) ∧ ¬ 0 ≤ 𝐶) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = if(0 ≤ 𝐵, 𝐵, 0))
207206anasss 466 . . . . . 6 ((𝜑 ∧ (𝑥𝐴 ∧ ¬ 0 ≤ 𝐶)) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = if(0 ≤ 𝐵, 𝐵, 0))
208201, 207sylan2b 593 . . . . 5 ((𝜑𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = if(0 ≤ 𝐵, 𝐵, 0))
209208mpteq2dva 5170 . . . 4 (𝜑 → (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ if(0 ≤ 𝐵, 𝐵, 0)))
210 ssrab2 4009 . . . . 5 {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ⊆ 𝐴
211 resmpt 5934 . . . . . 6 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))))
21234reseq1i 5876 . . . . . 6 ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = ((𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶})
213 nfv 1918 . . . . . . . 8 𝑦(𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
214 nfrab1 3310 . . . . . . . . . 10 𝑥{𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}
215214nfcri 2893 . . . . . . . . 9 𝑥 𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}
216215, 41nfan 1903 . . . . . . . 8 𝑥(𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
217 eleq1w 2821 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}))
218217, 44anbi12d 630 . . . . . . . 8 (𝑥 = 𝑦 → ((𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↔ (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))))
219213, 216, 218cbvopab1 5145 . . . . . . 7 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
220 df-mpt 5154 . . . . . . 7 (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
221 df-mpt 5154 . . . . . . 7 (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
222219, 220, 2213eqtr4i 2776 . . . . . 6 (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
223211, 212, 2223eqtr4g 2804 . . . . 5 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ⊆ 𝐴 → ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))))
224210, 223ax-mp 5 . . . 4 ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
225 resmpt 5934 . . . . . 6 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0)) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0)))
226 nfcv 2906 . . . . . . . 8 𝑦if(0 ≤ 𝐵, 𝐵, 0)
227 nfcsb1v 3853 . . . . . . . 8 𝑥𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0)
228 csbeq1a 3842 . . . . . . . 8 (𝑥 = 𝑦 → if(0 ≤ 𝐵, 𝐵, 0) = 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0))
229226, 227, 228cbvmpt 5181 . . . . . . 7 (𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) = (𝑦𝐴𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0))
230229reseq1i 5876 . . . . . 6 ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = ((𝑦𝐴𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0)) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶})
231 nfv 1918 . . . . . . . 8 𝑦(𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = if(0 ≤ 𝐵, 𝐵, 0))
232227nfeq2 2923 . . . . . . . . 9 𝑥 𝑧 = 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0)
233215, 232nfan 1903 . . . . . . . 8 𝑥(𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0))
234228eqeq2d 2749 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑧 = if(0 ≤ 𝐵, 𝐵, 0) ↔ 𝑧 = 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0)))
235217, 234anbi12d 630 . . . . . . . 8 (𝑥 = 𝑦 → ((𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = if(0 ≤ 𝐵, 𝐵, 0)) ↔ (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0))))
236231, 233, 235cbvopab1 5145 . . . . . . 7 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = if(0 ≤ 𝐵, 𝐵, 0))} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0))}
237 df-mpt 5154 . . . . . . 7 (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ if(0 ≤ 𝐵, 𝐵, 0)) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = if(0 ≤ 𝐵, 𝐵, 0))}
238 df-mpt 5154 . . . . . . 7 (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0)) = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0))}
239236, 237, 2383eqtr4i 2776 . . . . . 6 (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ if(0 ≤ 𝐵, 𝐵, 0)) = (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0))
240225, 230, 2393eqtr4g 2804 . . . . 5 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ⊆ 𝐴 → ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ if(0 ≤ 𝐵, 𝐵, 0)))
241210, 240ax-mp 5 . . . 4 ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ if(0 ≤ 𝐵, 𝐵, 0))
242209, 224, 2413eqtr4g 2804 . . 3 (𝜑 → ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}))
2431, 87mbfpos 24720 . . . 4 (𝜑 → (𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn)
244102mptpreima 6130 . . . . . 6 ((𝑥𝐴𝐶) “ (-∞(,)0)) = {𝑥𝐴𝐶 ∈ (-∞(,)0)}
245 elioomnf 13105 . . . . . . . . 9 (0 ∈ ℝ* → (𝐶 ∈ (-∞(,)0) ↔ (𝐶 ∈ ℝ ∧ 𝐶 < 0)))
24676, 245ax-mp 5 . . . . . . . 8 (𝐶 ∈ (-∞(,)0) ↔ (𝐶 ∈ ℝ ∧ 𝐶 < 0))
2475biantrurd 532 . . . . . . . . 9 ((𝜑𝑥𝐴) → (𝐶 < 0 ↔ (𝐶 ∈ ℝ ∧ 𝐶 < 0)))
248 ltnle 10985 . . . . . . . . . 10 ((𝐶 ∈ ℝ ∧ 0 ∈ ℝ) → (𝐶 < 0 ↔ ¬ 0 ≤ 𝐶))
2495, 2, 248sylancl 585 . . . . . . . . 9 ((𝜑𝑥𝐴) → (𝐶 < 0 ↔ ¬ 0 ≤ 𝐶))
250247, 249bitr3d 280 . . . . . . . 8 ((𝜑𝑥𝐴) → ((𝐶 ∈ ℝ ∧ 𝐶 < 0) ↔ ¬ 0 ≤ 𝐶))
251246, 250syl5bb 282 . . . . . . 7 ((𝜑𝑥𝐴) → (𝐶 ∈ (-∞(,)0) ↔ ¬ 0 ≤ 𝐶))
252251rabbidva 3402 . . . . . 6 (𝜑 → {𝑥𝐴𝐶 ∈ (-∞(,)0)} = {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶})
253244, 252syl5eq 2791 . . . . 5 (𝜑 → ((𝑥𝐴𝐶) “ (-∞(,)0)) = {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶})
254 mbfima 24699 . . . . . 6 (((𝑥𝐴𝐶) ∈ MblFn ∧ (𝑥𝐴𝐶):𝐴⟶ℝ) → ((𝑥𝐴𝐶) “ (-∞(,)0)) ∈ dom vol)
255106, 107, 254syl2anc 583 . . . . 5 (𝜑 → ((𝑥𝐴𝐶) “ (-∞(,)0)) ∈ dom vol)
256253, 255eqeltrrd 2840 . . . 4 (𝜑 → {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∈ dom vol)
257 mbfres 24713 . . . 4 (((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn ∧ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∈ dom vol) → ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) ∈ MblFn)
258243, 256, 257syl2anc 583 . . 3 (𝜑 → ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) ∈ MblFn)
259242, 258eqeltrd 2839 . 2 (𝜑 → ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) ∈ MblFn)
260 rabxm 4317 . . . 4 𝐴 = ({𝑥𝐴 ∣ 0 ≤ 𝐶} ∪ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶})
261260eqcomi 2747 . . 3 ({𝑥𝐴 ∣ 0 ≤ 𝐶} ∪ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = 𝐴
262261a1i 11 . 2 (𝜑 → ({𝑥𝐴 ∣ 0 ≤ 𝐶} ∪ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = 𝐴)
2639, 200, 259, 262mbfres2 24714 1 (𝜑 → (𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ∈ MblFn)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  {crab 3067  csb 3828  cun 3881  cin 3882  wss 3883  ifcif 4456  {csn 4558   class class class wbr 5070  {copab 5132  cmpt 5153  ccnv 5579  dom cdm 5580  cres 5582  cima 5583  wf 6414  (class class class)co 7255  cr 10801  0cc0 10802   + caddc 10805  +∞cpnf 10937  -∞cmnf 10938  *cxr 10939   < clt 10940  cle 10941  (,)cioo 13008  [,)cico 13010  volcvol 24532  MblFncmbf 24683
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-inf2 9329  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879  ax-pre-sup 10880
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-of 7511  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-2o 8268  df-er 8456  df-map 8575  df-pm 8576  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-sup 9131  df-inf 9132  df-oi 9199  df-dju 9590  df-card 9628  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-div 11563  df-nn 11904  df-2 11966  df-3 11967  df-n0 12164  df-z 12250  df-uz 12512  df-q 12618  df-rp 12660  df-xadd 12778  df-ioo 13012  df-ico 13014  df-icc 13015  df-fz 13169  df-fzo 13312  df-fl 13440  df-seq 13650  df-exp 13711  df-hash 13973  df-cj 14738  df-re 14739  df-im 14740  df-sqrt 14874  df-abs 14875  df-clim 15125  df-sum 15326  df-xmet 20503  df-met 20504  df-ovol 24533  df-vol 24534  df-mbf 24688
This theorem is referenced by:  itgaddnclem2  35763
  Copyright terms: Public domain W3C validator