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 35824
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 10977 . . . . 5 0 ∈ ℝ
3 ifcl 4504 . . . . 5 ((𝐵 ∈ ℝ ∧ 0 ∈ ℝ) → if(0 ≤ 𝐵, 𝐵, 0) ∈ ℝ)
41, 2, 3sylancl 586 . . . 4 ((𝜑𝑥𝐴) → if(0 ≤ 𝐵, 𝐵, 0) ∈ ℝ)
5 mbfposadd.4 . . . . 5 ((𝜑𝑥𝐴) → 𝐶 ∈ ℝ)
6 ifcl 4504 . . . . 5 ((𝐶 ∈ ℝ ∧ 0 ∈ ℝ) → if(0 ≤ 𝐶, 𝐶, 0) ∈ ℝ)
75, 2, 6sylancl 586 . . . 4 ((𝜑𝑥𝐴) → if(0 ≤ 𝐶, 𝐶, 0) ∈ ℝ)
84, 7readdcld 11004 . . 3 ((𝜑𝑥𝐴) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) ∈ ℝ)
98fmpttd 6989 . 2 (𝜑 → (𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))):𝐴⟶ℝ)
10 ssrab2 4013 . . . 4 {𝑥𝐴 ∣ 0 ≤ 𝐶} ⊆ 𝐴
11 fssres 6640 . . . 4 (((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))):𝐴⟶ℝ ∧ {𝑥𝐴 ∣ 0 ≤ 𝐶} ⊆ 𝐴) → ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}):{𝑥𝐴 ∣ 0 ≤ 𝐶}⟶ℝ)
129, 10, 11sylancl 586 . . 3 (𝜑 → ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}):{𝑥𝐴 ∣ 0 ≤ 𝐶}⟶ℝ)
13 inss2 4163 . . . . . 6 ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ {𝑥𝐴 ∣ 0 ≤ 𝐶}
14 resabs1 5921 . . . . . 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 3903 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ (𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐵} ∧ 𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
17 rabid 3310 . . . . . . . . . 10 (𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐵} ↔ (𝑥𝐴 ∧ 0 ≤ 𝐵))
18 rabid 3310 . . . . . . . . . 10 (𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐶} ↔ (𝑥𝐴 ∧ 0 ≤ 𝐶))
1917, 18anbi12i 627 . . . . . . . . 9 ((𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐵} ∧ 𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ ((𝑥𝐴 ∧ 0 ≤ 𝐵) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)))
2016, 19bitri 274 . . . . . . . 8 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ ((𝑥𝐴 ∧ 0 ≤ 𝐵) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)))
21 iftrue 4465 . . . . . . . . . 10 (0 ≤ 𝐵 → if(0 ≤ 𝐵, 𝐵, 0) = 𝐵)
22 iftrue 4465 . . . . . . . . . 10 (0 ≤ 𝐶 → if(0 ≤ 𝐶, 𝐶, 0) = 𝐶)
2321, 22oveqan12d 7294 . . . . . . . . 9 ((0 ≤ 𝐵 ∧ 0 ≤ 𝐶) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = (𝐵 + 𝐶))
2423ad2ant2l 743 . . . . . . . 8 (((𝑥𝐴 ∧ 0 ≤ 𝐵) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = (𝐵 + 𝐶))
2520, 24sylbi 216 . . . . . . 7 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = (𝐵 + 𝐶))
2625mpteq2ia 5177 . . . . . 6 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (𝐵 + 𝐶))
27 inss1 4162 . . . . . . . 8 ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ {𝑥𝐴 ∣ 0 ≤ 𝐵}
28 ssrab2 4013 . . . . . . . 8 {𝑥𝐴 ∣ 0 ≤ 𝐵} ⊆ 𝐴
2927, 28sstri 3930 . . . . . . 7 ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴
30 resmpt 5945 . . . . . . . 8 (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))))
31 nfcv 2907 . . . . . . . . . 10 𝑦(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))
32 nfcsb1v 3857 . . . . . . . . . 10 𝑥𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))
33 csbeq1a 3846 . . . . . . . . . 10 (𝑥 = 𝑦 → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
3431, 32, 33cbvmpt 5185 . . . . . . . . 9 (𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = (𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
3534reseq1i 5887 . . . . . . . 8 ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
36 nfv 1917 . . . . . . . . . 10 𝑦(𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
37 nfrab1 3317 . . . . . . . . . . . . 13 𝑥{𝑥𝐴 ∣ 0 ≤ 𝐵}
38 nfrab1 3317 . . . . . . . . . . . . 13 𝑥{𝑥𝐴 ∣ 0 ≤ 𝐶}
3937, 38nfin 4150 . . . . . . . . . . . 12 𝑥({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})
4039nfcri 2894 . . . . . . . . . . 11 𝑥 𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})
4132nfeq2 2924 . . . . . . . . . . 11 𝑥 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))
4240, 41nfan 1902 . . . . . . . . . 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 631 . . . . . . . . . 10 (𝑥 = 𝑦 → ((𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↔ (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))))
4636, 42, 45cbvopab1 5149 . . . . . . . . 9 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
47 df-mpt 5158 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
48 df-mpt 5158 . . . . . . . . 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 2803 . . . . . . 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 5945 . . . . . . . 8 (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥(𝐵 + 𝐶)) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥(𝐵 + 𝐶)))
53 nfcv 2907 . . . . . . . . . 10 𝑦(𝐵 + 𝐶)
54 nfcsb1v 3857 . . . . . . . . . 10 𝑥𝑦 / 𝑥(𝐵 + 𝐶)
55 csbeq1a 3846 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝐵 + 𝐶) = 𝑦 / 𝑥(𝐵 + 𝐶))
5653, 54, 55cbvmpt 5185 . . . . . . . . 9 (𝑥𝐴 ↦ (𝐵 + 𝐶)) = (𝑦𝐴𝑦 / 𝑥(𝐵 + 𝐶))
5756reseq1i 5887 . . . . . . . 8 ((𝑥𝐴 ↦ (𝐵 + 𝐶)) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑦𝐴𝑦 / 𝑥(𝐵 + 𝐶)) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
58 nfv 1917 . . . . . . . . . 10 𝑦(𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (𝐵 + 𝐶))
5954nfeq2 2924 . . . . . . . . . . 11 𝑥 𝑧 = 𝑦 / 𝑥(𝐵 + 𝐶)
6040, 59nfan 1902 . . . . . . . . . 10 𝑥(𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(𝐵 + 𝐶))
6155eqeq2d 2749 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑧 = (𝐵 + 𝐶) ↔ 𝑧 = 𝑦 / 𝑥(𝐵 + 𝐶)))
6243, 61anbi12d 631 . . . . . . . . . 10 (𝑥 = 𝑦 → ((𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (𝐵 + 𝐶)) ↔ (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(𝐵 + 𝐶))))
6358, 60, 62cbvopab1 5149 . . . . . . . . 9 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (𝐵 + 𝐶))} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(𝐵 + 𝐶))}
64 df-mpt 5158 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (𝐵 + 𝐶)) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (𝐵 + 𝐶))}
65 df-mpt 5158 . . . . . . . . 9 (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥(𝐵 + 𝐶)) = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(𝐵 + 𝐶))}
6663, 64, 653eqtr4i 2776 . . . . . . . 8 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (𝐵 + 𝐶)) = (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥(𝐵 + 𝐶))
6752, 57, 663eqtr4g 2803 . . . . . . 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 533 . . . . . . . . . 10 ((𝜑𝑥𝐴) → (0 ≤ 𝐵 ↔ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)))
73 elrege0 13186 . . . . . . . . . 10 (𝐵 ∈ (0[,)+∞) ↔ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵))
7472, 73bitr4di 289 . . . . . . . . 9 ((𝜑𝑥𝐴) → (0 ≤ 𝐵𝐵 ∈ (0[,)+∞)))
7574rabbidva 3413 . . . . . . . 8 (𝜑 → {𝑥𝐴 ∣ 0 ≤ 𝐵} = {𝑥𝐴𝐵 ∈ (0[,)+∞)})
76 0xr 11022 . . . . . . . . . . 11 0 ∈ ℝ*
77 pnfxr 11029 . . . . . . . . . . 11 +∞ ∈ ℝ*
78 0ltpnf 12858 . . . . . . . . . . 11 0 < +∞
79 snunioo 13210 . . . . . . . . . . 11 ((0 ∈ ℝ* ∧ +∞ ∈ ℝ* ∧ 0 < +∞) → ({0} ∪ (0(,)+∞)) = (0[,)+∞))
8076, 77, 78, 79mp3an 1460 . . . . . . . . . 10 ({0} ∪ (0(,)+∞)) = (0[,)+∞)
8180imaeq2i 5967 . . . . . . . . 9 ((𝑥𝐴𝐵) “ ({0} ∪ (0(,)+∞))) = ((𝑥𝐴𝐵) “ (0[,)+∞))
82 imaundi 6053 . . . . . . . . 9 ((𝑥𝐴𝐵) “ ({0} ∪ (0(,)+∞))) = (((𝑥𝐴𝐵) “ {0}) ∪ ((𝑥𝐴𝐵) “ (0(,)+∞)))
83 eqid 2738 . . . . . . . . . 10 (𝑥𝐴𝐵) = (𝑥𝐴𝐵)
8483mptpreima 6141 . . . . . . . . 9 ((𝑥𝐴𝐵) “ (0[,)+∞)) = {𝑥𝐴𝐵 ∈ (0[,)+∞)}
8581, 82, 843eqtr3ri 2775 . . . . . . . 8 {𝑥𝐴𝐵 ∈ (0[,)+∞)} = (((𝑥𝐴𝐵) “ {0}) ∪ ((𝑥𝐴𝐵) “ (0(,)+∞)))
8675, 85eqtrdi 2794 . . . . . . 7 (𝜑 → {𝑥𝐴 ∣ 0 ≤ 𝐵} = (((𝑥𝐴𝐵) “ {0}) ∪ ((𝑥𝐴𝐵) “ (0(,)+∞))))
87 mbfposadd.1 . . . . . . . 8 (𝜑 → (𝑥𝐴𝐵) ∈ MblFn)
881fmpttd 6989 . . . . . . . 8 (𝜑 → (𝑥𝐴𝐵):𝐴⟶ℝ)
89 mbfimasn 24796 . . . . . . . . . 10 (((𝑥𝐴𝐵) ∈ MblFn ∧ (𝑥𝐴𝐵):𝐴⟶ℝ ∧ 0 ∈ ℝ) → ((𝑥𝐴𝐵) “ {0}) ∈ dom vol)
902, 89mp3an3 1449 . . . . . . . . 9 (((𝑥𝐴𝐵) ∈ MblFn ∧ (𝑥𝐴𝐵):𝐴⟶ℝ) → ((𝑥𝐴𝐵) “ {0}) ∈ dom vol)
91 mbfima 24794 . . . . . . . . 9 (((𝑥𝐴𝐵) ∈ MblFn ∧ (𝑥𝐴𝐵):𝐴⟶ℝ) → ((𝑥𝐴𝐵) “ (0(,)+∞)) ∈ dom vol)
92 unmbl 24701 . . . . . . . . 9 ((((𝑥𝐴𝐵) “ {0}) ∈ dom vol ∧ ((𝑥𝐴𝐵) “ (0(,)+∞)) ∈ dom vol) → (((𝑥𝐴𝐵) “ {0}) ∪ ((𝑥𝐴𝐵) “ (0(,)+∞))) ∈ dom vol)
9390, 91, 92syl2anc 584 . . . . . . . 8 (((𝑥𝐴𝐵) ∈ MblFn ∧ (𝑥𝐴𝐵):𝐴⟶ℝ) → (((𝑥𝐴𝐵) “ {0}) ∪ ((𝑥𝐴𝐵) “ (0(,)+∞))) ∈ dom vol)
9487, 88, 93syl2anc 584 . . . . . . 7 (𝜑 → (((𝑥𝐴𝐵) “ {0}) ∪ ((𝑥𝐴𝐵) “ (0(,)+∞))) ∈ dom vol)
9586, 94eqeltrd 2839 . . . . . 6 (𝜑 → {𝑥𝐴 ∣ 0 ≤ 𝐵} ∈ dom vol)
965biantrurd 533 . . . . . . . . . 10 ((𝜑𝑥𝐴) → (0 ≤ 𝐶 ↔ (𝐶 ∈ ℝ ∧ 0 ≤ 𝐶)))
97 elrege0 13186 . . . . . . . . . 10 (𝐶 ∈ (0[,)+∞) ↔ (𝐶 ∈ ℝ ∧ 0 ≤ 𝐶))
9896, 97bitr4di 289 . . . . . . . . 9 ((𝜑𝑥𝐴) → (0 ≤ 𝐶𝐶 ∈ (0[,)+∞)))
9998rabbidva 3413 . . . . . . . 8 (𝜑 → {𝑥𝐴 ∣ 0 ≤ 𝐶} = {𝑥𝐴𝐶 ∈ (0[,)+∞)})
10080imaeq2i 5967 . . . . . . . . 9 ((𝑥𝐴𝐶) “ ({0} ∪ (0(,)+∞))) = ((𝑥𝐴𝐶) “ (0[,)+∞))
101 imaundi 6053 . . . . . . . . 9 ((𝑥𝐴𝐶) “ ({0} ∪ (0(,)+∞))) = (((𝑥𝐴𝐶) “ {0}) ∪ ((𝑥𝐴𝐶) “ (0(,)+∞)))
102 eqid 2738 . . . . . . . . . 10 (𝑥𝐴𝐶) = (𝑥𝐴𝐶)
103102mptpreima 6141 . . . . . . . . 9 ((𝑥𝐴𝐶) “ (0[,)+∞)) = {𝑥𝐴𝐶 ∈ (0[,)+∞)}
104100, 101, 1033eqtr3ri 2775 . . . . . . . 8 {𝑥𝐴𝐶 ∈ (0[,)+∞)} = (((𝑥𝐴𝐶) “ {0}) ∪ ((𝑥𝐴𝐶) “ (0(,)+∞)))
10599, 104eqtrdi 2794 . . . . . . 7 (𝜑 → {𝑥𝐴 ∣ 0 ≤ 𝐶} = (((𝑥𝐴𝐶) “ {0}) ∪ ((𝑥𝐴𝐶) “ (0(,)+∞))))
106 mbfposadd.3 . . . . . . . 8 (𝜑 → (𝑥𝐴𝐶) ∈ MblFn)
1075fmpttd 6989 . . . . . . . 8 (𝜑 → (𝑥𝐴𝐶):𝐴⟶ℝ)
108 mbfimasn 24796 . . . . . . . . . 10 (((𝑥𝐴𝐶) ∈ MblFn ∧ (𝑥𝐴𝐶):𝐴⟶ℝ ∧ 0 ∈ ℝ) → ((𝑥𝐴𝐶) “ {0}) ∈ dom vol)
1092, 108mp3an3 1449 . . . . . . . . 9 (((𝑥𝐴𝐶) ∈ MblFn ∧ (𝑥𝐴𝐶):𝐴⟶ℝ) → ((𝑥𝐴𝐶) “ {0}) ∈ dom vol)
110 mbfima 24794 . . . . . . . . 9 (((𝑥𝐴𝐶) ∈ MblFn ∧ (𝑥𝐴𝐶):𝐴⟶ℝ) → ((𝑥𝐴𝐶) “ (0(,)+∞)) ∈ dom vol)
111 unmbl 24701 . . . . . . . . 9 ((((𝑥𝐴𝐶) “ {0}) ∈ dom vol ∧ ((𝑥𝐴𝐶) “ (0(,)+∞)) ∈ dom vol) → (((𝑥𝐴𝐶) “ {0}) ∪ ((𝑥𝐴𝐶) “ (0(,)+∞))) ∈ dom vol)
112109, 110, 111syl2anc 584 . . . . . . . 8 (((𝑥𝐴𝐶) ∈ MblFn ∧ (𝑥𝐴𝐶):𝐴⟶ℝ) → (((𝑥𝐴𝐶) “ {0}) ∪ ((𝑥𝐴𝐶) “ (0(,)+∞))) ∈ dom vol)
113106, 107, 112syl2anc 584 . . . . . . 7 (𝜑 → (((𝑥𝐴𝐶) “ {0}) ∪ ((𝑥𝐴𝐶) “ (0(,)+∞))) ∈ dom vol)
114105, 113eqeltrd 2839 . . . . . 6 (𝜑 → {𝑥𝐴 ∣ 0 ≤ 𝐶} ∈ dom vol)
115 inmbl 24706 . . . . . 6 (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∈ dom vol ∧ {𝑥𝐴 ∣ 0 ≤ 𝐶} ∈ dom vol) → ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ dom vol)
11695, 114, 115syl2anc 584 . . . . 5 (𝜑 → ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ dom vol)
117 mbfres 24808 . . . . 5 (((𝑥𝐴 ↦ (𝐵 + 𝐶)) ∈ MblFn ∧ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ dom vol) → ((𝑥𝐴 ↦ (𝐵 + 𝐶)) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) ∈ MblFn)
11871, 116, 117syl2anc 584 . . . 4 (𝜑 → ((𝑥𝐴 ↦ (𝐵 + 𝐶)) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) ∈ MblFn)
11970, 118eqeltrid 2843 . . 3 (𝜑 → (((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) ∈ MblFn)
120 inss2 4163 . . . . . 6 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ {𝑥𝐴 ∣ 0 ≤ 𝐶}
121 resabs1 5921 . . . . . 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 3310 . . . . . . . . . 10 (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ↔ (𝑥𝐴 ∧ ¬ 0 ≤ 𝐵))
124123, 18anbi12i 627 . . . . . . . . 9 ((𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∧ 𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ ((𝑥𝐴 ∧ ¬ 0 ≤ 𝐵) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)))
125 elin 3903 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∧ 𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
126 anandi 673 . . . . . . . . 9 ((𝑥𝐴 ∧ (¬ 0 ≤ 𝐵 ∧ 0 ≤ 𝐶)) ↔ ((𝑥𝐴 ∧ ¬ 0 ≤ 𝐵) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)))
127124, 125, 1263bitr4i 303 . . . . . . . 8 (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ (𝑥𝐴 ∧ (¬ 0 ≤ 𝐵 ∧ 0 ≤ 𝐶)))
128 iffalse 4468 . . . . . . . . . . 11 (¬ 0 ≤ 𝐵 → if(0 ≤ 𝐵, 𝐵, 0) = 0)
129128, 22oveqan12d 7294 . . . . . . . . . 10 ((¬ 0 ≤ 𝐵 ∧ 0 ≤ 𝐶) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = (0 + 𝐶))
130129ad2antll 726 . . . . . . . . 9 ((𝜑 ∧ (𝑥𝐴 ∧ (¬ 0 ≤ 𝐵 ∧ 0 ≤ 𝐶))) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = (0 + 𝐶))
1315recnd 11003 . . . . . . . . . . 11 ((𝜑𝑥𝐴) → 𝐶 ∈ ℂ)
132131addid2d 11176 . . . . . . . . . 10 ((𝜑𝑥𝐴) → (0 + 𝐶) = 𝐶)
133132adantrr 714 . . . . . . . . 9 ((𝜑 ∧ (𝑥𝐴 ∧ (¬ 0 ≤ 𝐵 ∧ 0 ≤ 𝐶))) → (0 + 𝐶) = 𝐶)
134130, 133eqtrd 2778 . . . . . . . 8 ((𝜑 ∧ (𝑥𝐴 ∧ (¬ 0 ≤ 𝐵 ∧ 0 ≤ 𝐶))) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = 𝐶)
135127, 134sylan2b 594 . . . . . . 7 ((𝜑𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = 𝐶)
136135mpteq2dva 5174 . . . . . 6 (𝜑 → (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝐶))
137 inss1 4162 . . . . . . . 8 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵}
138 ssrab2 4013 . . . . . . . 8 {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ⊆ 𝐴
139137, 138sstri 3930 . . . . . . 7 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴
140 resmpt 5945 . . . . . . . 8 (({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))))
14134reseq1i 5887 . . . . . . . 8 ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
142 nfv 1917 . . . . . . . . . 10 𝑦(𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
143 nfrab1 3317 . . . . . . . . . . . . 13 𝑥{𝑥𝐴 ∣ ¬ 0 ≤ 𝐵}
144143, 38nfin 4150 . . . . . . . . . . . 12 𝑥({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})
145144nfcri 2894 . . . . . . . . . . 11 𝑥 𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})
146145, 41nfan 1902 . . . . . . . . . 10 𝑥(𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
147 eleq1w 2821 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ 𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})))
148147, 44anbi12d 631 . . . . . . . . . 10 (𝑥 = 𝑦 → ((𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↔ (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))))
149142, 146, 148cbvopab1 5149 . . . . . . . . 9 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
150 df-mpt 5158 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
151 df-mpt 5158 . . . . . . . . 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 2803 . . . . . . 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 5945 . . . . . . . 8 (({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥𝐶))
156 nfcv 2907 . . . . . . . . . 10 𝑦𝐶
157 nfcsb1v 3857 . . . . . . . . . 10 𝑥𝑦 / 𝑥𝐶
158 csbeq1a 3846 . . . . . . . . . 10 (𝑥 = 𝑦𝐶 = 𝑦 / 𝑥𝐶)
159156, 157, 158cbvmpt 5185 . . . . . . . . 9 (𝑥𝐴𝐶) = (𝑦𝐴𝑦 / 𝑥𝐶)
160159reseq1i 5887 . . . . . . . 8 ((𝑥𝐴𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑦𝐴𝑦 / 𝑥𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
161 nfv 1917 . . . . . . . . . 10 𝑦(𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝐶)
162157nfeq2 2924 . . . . . . . . . . 11 𝑥 𝑧 = 𝑦 / 𝑥𝐶
163145, 162nfan 1902 . . . . . . . . . 10 𝑥(𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥𝐶)
164158eqeq2d 2749 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑧 = 𝐶𝑧 = 𝑦 / 𝑥𝐶))
165147, 164anbi12d 631 . . . . . . . . . 10 (𝑥 = 𝑦 → ((𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝐶) ↔ (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥𝐶)))
166161, 163, 165cbvopab1 5149 . . . . . . . . 9 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝐶)} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥𝐶)}
167 df-mpt 5158 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝐶) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝐶)}
168 df-mpt 5158 . . . . . . . . 9 (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥𝐶) = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥𝐶)}
169166, 167, 1683eqtr4i 2776 . . . . . . . 8 (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝐶) = (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥𝐶)
170155, 160, 1693eqtr4g 2803 . . . . . . 7 (({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴 → ((𝑥𝐴𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝐶))
171139, 170ax-mp 5 . . . . . 6 ((𝑥𝐴𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝐶)
172136, 154, 1713eqtr4g 2803 . . . . 5 (𝜑 → ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑥𝐴𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})))
173122, 172eqtrid 2790 . . . 4 (𝜑 → (((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = ((𝑥𝐴𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})))
17483mptpreima 6141 . . . . . . . 8 ((𝑥𝐴𝐵) “ (-∞(,)0)) = {𝑥𝐴𝐵 ∈ (-∞(,)0)}
175 elioomnf 13176 . . . . . . . . . . 11 (0 ∈ ℝ* → (𝐵 ∈ (-∞(,)0) ↔ (𝐵 ∈ ℝ ∧ 𝐵 < 0)))
17676, 175ax-mp 5 . . . . . . . . . 10 (𝐵 ∈ (-∞(,)0) ↔ (𝐵 ∈ ℝ ∧ 𝐵 < 0))
1771biantrurd 533 . . . . . . . . . . 11 ((𝜑𝑥𝐴) → (𝐵 < 0 ↔ (𝐵 ∈ ℝ ∧ 𝐵 < 0)))
178 ltnle 11054 . . . . . . . . . . . 12 ((𝐵 ∈ ℝ ∧ 0 ∈ ℝ) → (𝐵 < 0 ↔ ¬ 0 ≤ 𝐵))
1791, 2, 178sylancl 586 . . . . . . . . . . 11 ((𝜑𝑥𝐴) → (𝐵 < 0 ↔ ¬ 0 ≤ 𝐵))
180177, 179bitr3d 280 . . . . . . . . . 10 ((𝜑𝑥𝐴) → ((𝐵 ∈ ℝ ∧ 𝐵 < 0) ↔ ¬ 0 ≤ 𝐵))
181176, 180syl5bb 283 . . . . . . . . 9 ((𝜑𝑥𝐴) → (𝐵 ∈ (-∞(,)0) ↔ ¬ 0 ≤ 𝐵))
182181rabbidva 3413 . . . . . . . 8 (𝜑 → {𝑥𝐴𝐵 ∈ (-∞(,)0)} = {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵})
183174, 182eqtrid 2790 . . . . . . 7 (𝜑 → ((𝑥𝐴𝐵) “ (-∞(,)0)) = {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵})
184 mbfima 24794 . . . . . . . 8 (((𝑥𝐴𝐵) ∈ MblFn ∧ (𝑥𝐴𝐵):𝐴⟶ℝ) → ((𝑥𝐴𝐵) “ (-∞(,)0)) ∈ dom vol)
18587, 88, 184syl2anc 584 . . . . . . 7 (𝜑 → ((𝑥𝐴𝐵) “ (-∞(,)0)) ∈ dom vol)
186183, 185eqeltrrd 2840 . . . . . 6 (𝜑 → {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∈ dom vol)
187 inmbl 24706 . . . . . 6 (({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∈ dom vol ∧ {𝑥𝐴 ∣ 0 ≤ 𝐶} ∈ dom vol) → ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ dom vol)
188186, 114, 187syl2anc 584 . . . . 5 (𝜑 → ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ dom vol)
189 mbfres 24808 . . . . 5 (((𝑥𝐴𝐶) ∈ MblFn ∧ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ dom vol) → ((𝑥𝐴𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) ∈ MblFn)
190106, 188, 189syl2anc 584 . . . 4 (𝜑 → ((𝑥𝐴𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) ∈ MblFn)
191173, 190eqeltrd 2839 . . 3 (𝜑 → (((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) ∈ MblFn)
192 ssid 3943 . . . . . 6 𝐴𝐴
193 dfrab3ss 4246 . . . . . 6 (𝐴𝐴 → {𝑥𝐴 ∣ 0 ≤ 𝐶} = (𝐴 ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
194192, 193ax-mp 5 . . . . 5 {𝑥𝐴 ∣ 0 ≤ 𝐶} = (𝐴 ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})
195 rabxm 4320 . . . . . 6 𝐴 = ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∪ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵})
196195ineq1i 4142 . . . . 5 (𝐴 ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) = (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∪ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵}) ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})
197 indir 4209 . . . . 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 24809 . 2 (𝜑 → ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ MblFn)
201 rabid 3310 . . . . . 6 (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↔ (𝑥𝐴 ∧ ¬ 0 ≤ 𝐶))
202 iffalse 4468 . . . . . . . . 9 (¬ 0 ≤ 𝐶 → if(0 ≤ 𝐶, 𝐶, 0) = 0)
203202oveq2d 7291 . . . . . . . 8 (¬ 0 ≤ 𝐶 → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = (if(0 ≤ 𝐵, 𝐵, 0) + 0))
2044recnd 11003 . . . . . . . . 9 ((𝜑𝑥𝐴) → if(0 ≤ 𝐵, 𝐵, 0) ∈ ℂ)
205204addid1d 11175 . . . . . . . 8 ((𝜑𝑥𝐴) → (if(0 ≤ 𝐵, 𝐵, 0) + 0) = if(0 ≤ 𝐵, 𝐵, 0))
206203, 205sylan9eqr 2800 . . . . . . 7 (((𝜑𝑥𝐴) ∧ ¬ 0 ≤ 𝐶) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = if(0 ≤ 𝐵, 𝐵, 0))
207206anasss 467 . . . . . 6 ((𝜑 ∧ (𝑥𝐴 ∧ ¬ 0 ≤ 𝐶)) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = if(0 ≤ 𝐵, 𝐵, 0))
208201, 207sylan2b 594 . . . . 5 ((𝜑𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = if(0 ≤ 𝐵, 𝐵, 0))
209208mpteq2dva 5174 . . . 4 (𝜑 → (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ if(0 ≤ 𝐵, 𝐵, 0)))
210 ssrab2 4013 . . . . 5 {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ⊆ 𝐴
211 resmpt 5945 . . . . . 6 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))))
21234reseq1i 5887 . . . . . 6 ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = ((𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶})
213 nfv 1917 . . . . . . . 8 𝑦(𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
214 nfrab1 3317 . . . . . . . . . 10 𝑥{𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}
215214nfcri 2894 . . . . . . . . 9 𝑥 𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}
216215, 41nfan 1902 . . . . . . . 8 𝑥(𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
217 eleq1w 2821 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↔ 𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}))
218217, 44anbi12d 631 . . . . . . . 8 (𝑥 = 𝑦 → ((𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↔ (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))))
219213, 216, 218cbvopab1 5149 . . . . . . 7 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
220 df-mpt 5158 . . . . . . 7 (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
221 df-mpt 5158 . . . . . . 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 2803 . . . . 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 5945 . . . . . 6 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0)) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0)))
226 nfcv 2907 . . . . . . . 8 𝑦if(0 ≤ 𝐵, 𝐵, 0)
227 nfcsb1v 3857 . . . . . . . 8 𝑥𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0)
228 csbeq1a 3846 . . . . . . . 8 (𝑥 = 𝑦 → if(0 ≤ 𝐵, 𝐵, 0) = 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0))
229226, 227, 228cbvmpt 5185 . . . . . . 7 (𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) = (𝑦𝐴𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0))
230229reseq1i 5887 . . . . . 6 ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = ((𝑦𝐴𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0)) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶})
231 nfv 1917 . . . . . . . 8 𝑦(𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = if(0 ≤ 𝐵, 𝐵, 0))
232227nfeq2 2924 . . . . . . . . 9 𝑥 𝑧 = 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0)
233215, 232nfan 1902 . . . . . . . 8 𝑥(𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0))
234228eqeq2d 2749 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑧 = if(0 ≤ 𝐵, 𝐵, 0) ↔ 𝑧 = 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0)))
235217, 234anbi12d 631 . . . . . . . 8 (𝑥 = 𝑦 → ((𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = if(0 ≤ 𝐵, 𝐵, 0)) ↔ (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0))))
236231, 233, 235cbvopab1 5149 . . . . . . 7 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = if(0 ≤ 𝐵, 𝐵, 0))} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0))}
237 df-mpt 5158 . . . . . . 7 (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ if(0 ≤ 𝐵, 𝐵, 0)) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = if(0 ≤ 𝐵, 𝐵, 0))}
238 df-mpt 5158 . . . . . . 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 2803 . . . . 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 2803 . . 3 (𝜑 → ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}))
2431, 87mbfpos 24815 . . . 4 (𝜑 → (𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn)
244102mptpreima 6141 . . . . . 6 ((𝑥𝐴𝐶) “ (-∞(,)0)) = {𝑥𝐴𝐶 ∈ (-∞(,)0)}
245 elioomnf 13176 . . . . . . . . 9 (0 ∈ ℝ* → (𝐶 ∈ (-∞(,)0) ↔ (𝐶 ∈ ℝ ∧ 𝐶 < 0)))
24676, 245ax-mp 5 . . . . . . . 8 (𝐶 ∈ (-∞(,)0) ↔ (𝐶 ∈ ℝ ∧ 𝐶 < 0))
2475biantrurd 533 . . . . . . . . 9 ((𝜑𝑥𝐴) → (𝐶 < 0 ↔ (𝐶 ∈ ℝ ∧ 𝐶 < 0)))
248 ltnle 11054 . . . . . . . . . 10 ((𝐶 ∈ ℝ ∧ 0 ∈ ℝ) → (𝐶 < 0 ↔ ¬ 0 ≤ 𝐶))
2495, 2, 248sylancl 586 . . . . . . . . 9 ((𝜑𝑥𝐴) → (𝐶 < 0 ↔ ¬ 0 ≤ 𝐶))
250247, 249bitr3d 280 . . . . . . . 8 ((𝜑𝑥𝐴) → ((𝐶 ∈ ℝ ∧ 𝐶 < 0) ↔ ¬ 0 ≤ 𝐶))
251246, 250syl5bb 283 . . . . . . 7 ((𝜑𝑥𝐴) → (𝐶 ∈ (-∞(,)0) ↔ ¬ 0 ≤ 𝐶))
252251rabbidva 3413 . . . . . 6 (𝜑 → {𝑥𝐴𝐶 ∈ (-∞(,)0)} = {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶})
253244, 252eqtrid 2790 . . . . 5 (𝜑 → ((𝑥𝐴𝐶) “ (-∞(,)0)) = {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶})
254 mbfima 24794 . . . . . 6 (((𝑥𝐴𝐶) ∈ MblFn ∧ (𝑥𝐴𝐶):𝐴⟶ℝ) → ((𝑥𝐴𝐶) “ (-∞(,)0)) ∈ dom vol)
255106, 107, 254syl2anc 584 . . . . 5 (𝜑 → ((𝑥𝐴𝐶) “ (-∞(,)0)) ∈ dom vol)
256253, 255eqeltrrd 2840 . . . 4 (𝜑 → {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∈ dom vol)
257 mbfres 24808 . . . 4 (((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn ∧ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∈ dom vol) → ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) ∈ MblFn)
258243, 256, 257syl2anc 584 . . 3 (𝜑 → ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) ∈ MblFn)
259242, 258eqeltrd 2839 . 2 (𝜑 → ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) ∈ MblFn)
260 rabxm 4320 . . . 4 𝐴 = ({𝑥𝐴 ∣ 0 ≤ 𝐶} ∪ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶})
261260eqcomi 2747 . . 3 ({𝑥𝐴 ∣ 0 ≤ 𝐶} ∪ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = 𝐴
262261a1i 11 . 2 (𝜑 → ({𝑥𝐴 ∣ 0 ≤ 𝐶} ∪ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = 𝐴)
2639, 200, 259, 262mbfres2 24809 1 (𝜑 → (𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ∈ MblFn)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  {crab 3068  csb 3832  cun 3885  cin 3886  wss 3887  ifcif 4459  {csn 4561   class class class wbr 5074  {copab 5136  cmpt 5157  ccnv 5588  dom cdm 5589  cres 5591  cima 5592  wf 6429  (class class class)co 7275  cr 10870  0cc0 10871   + caddc 10874  +∞cpnf 11006  -∞cmnf 11007  *cxr 11008   < clt 11009  cle 11010  (,)cioo 13079  [,)cico 13081  volcvol 24627  MblFncmbf 24778
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-inf2 9399  ax-cnex 10927  ax-resscn 10928  ax-1cn 10929  ax-icn 10930  ax-addcl 10931  ax-addrcl 10932  ax-mulcl 10933  ax-mulrcl 10934  ax-mulcom 10935  ax-addass 10936  ax-mulass 10937  ax-distr 10938  ax-i2m1 10939  ax-1ne0 10940  ax-1rid 10941  ax-rnegex 10942  ax-rrecex 10943  ax-cnre 10944  ax-pre-lttri 10945  ax-pre-lttrn 10946  ax-pre-ltadd 10947  ax-pre-mulgt0 10948  ax-pre-sup 10949
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-se 5545  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-isom 6442  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-of 7533  df-om 7713  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-2o 8298  df-er 8498  df-map 8617  df-pm 8618  df-en 8734  df-dom 8735  df-sdom 8736  df-fin 8737  df-sup 9201  df-inf 9202  df-oi 9269  df-dju 9659  df-card 9697  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-sub 11207  df-neg 11208  df-div 11633  df-nn 11974  df-2 12036  df-3 12037  df-n0 12234  df-z 12320  df-uz 12583  df-q 12689  df-rp 12731  df-xadd 12849  df-ioo 13083  df-ico 13085  df-icc 13086  df-fz 13240  df-fzo 13383  df-fl 13512  df-seq 13722  df-exp 13783  df-hash 14045  df-cj 14810  df-re 14811  df-im 14812  df-sqrt 14946  df-abs 14947  df-clim 15197  df-sum 15398  df-xmet 20590  df-met 20591  df-ovol 24628  df-vol 24629  df-mbf 24783
This theorem is referenced by:  itgaddnclem2  35836
  Copyright terms: Public domain W3C validator