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 35821
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 10975 . . . . 5 0 ∈ ℝ
3 ifcl 4506 . . . . 5 ((𝐵 ∈ ℝ ∧ 0 ∈ ℝ) → if(0 ≤ 𝐵, 𝐵, 0) ∈ ℝ)
41, 2, 3sylancl 586 . . . 4 ((𝜑𝑥𝐴) → if(0 ≤ 𝐵, 𝐵, 0) ∈ ℝ)
5 mbfposadd.4 . . . . 5 ((𝜑𝑥𝐴) → 𝐶 ∈ ℝ)
6 ifcl 4506 . . . . 5 ((𝐶 ∈ ℝ ∧ 0 ∈ ℝ) → if(0 ≤ 𝐶, 𝐶, 0) ∈ ℝ)
75, 2, 6sylancl 586 . . . 4 ((𝜑𝑥𝐴) → if(0 ≤ 𝐶, 𝐶, 0) ∈ ℝ)
84, 7readdcld 11002 . . 3 ((𝜑𝑥𝐴) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) ∈ ℝ)
98fmpttd 6991 . 2 (𝜑 → (𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))):𝐴⟶ℝ)
10 ssrab2 4014 . . . 4 {𝑥𝐴 ∣ 0 ≤ 𝐶} ⊆ 𝐴
11 fssres 6642 . . . 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 4165 . . . . . 6 ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ {𝑥𝐴 ∣ 0 ≤ 𝐶}
14 resabs1 5923 . . . . . 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 3904 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ (𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐵} ∧ 𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
17 rabid 3309 . . . . . . . . . 10 (𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐵} ↔ (𝑥𝐴 ∧ 0 ≤ 𝐵))
18 rabid 3309 . . . . . . . . . 10 (𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐶} ↔ (𝑥𝐴 ∧ 0 ≤ 𝐶))
1917, 18anbi12i 627 . . . . . . . . 9 ((𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐵} ∧ 𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ ((𝑥𝐴 ∧ 0 ≤ 𝐵) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)))
2016, 19bitri 274 . . . . . . . 8 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ ((𝑥𝐴 ∧ 0 ≤ 𝐵) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)))
21 iftrue 4467 . . . . . . . . . 10 (0 ≤ 𝐵 → if(0 ≤ 𝐵, 𝐵, 0) = 𝐵)
22 iftrue 4467 . . . . . . . . . 10 (0 ≤ 𝐶 → if(0 ≤ 𝐶, 𝐶, 0) = 𝐶)
2321, 22oveqan12d 7296 . . . . . . . . 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 5179 . . . . . 6 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (𝐵 + 𝐶))
27 inss1 4164 . . . . . . . 8 ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ {𝑥𝐴 ∣ 0 ≤ 𝐵}
28 ssrab2 4014 . . . . . . . 8 {𝑥𝐴 ∣ 0 ≤ 𝐵} ⊆ 𝐴
2927, 28sstri 3931 . . . . . . 7 ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴
30 resmpt 5947 . . . . . . . 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 3858 . . . . . . . . . 10 𝑥𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))
33 csbeq1a 3847 . . . . . . . . . 10 (𝑥 = 𝑦 → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
3431, 32, 33cbvmpt 5187 . . . . . . . . 9 (𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = (𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))
3534reseq1i 5889 . . . . . . . 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 3316 . . . . . . . . . . . . 13 𝑥{𝑥𝐴 ∣ 0 ≤ 𝐵}
38 nfrab1 3316 . . . . . . . . . . . . 13 𝑥{𝑥𝐴 ∣ 0 ≤ 𝐶}
3937, 38nfin 4152 . . . . . . . . . . . 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 5151 . . . . . . . . 9 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
47 df-mpt 5160 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
48 df-mpt 5160 . . . . . . . . 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 5947 . . . . . . . 8 (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥(𝐵 + 𝐶)) ↾ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥(𝐵 + 𝐶)))
53 nfcv 2907 . . . . . . . . . 10 𝑦(𝐵 + 𝐶)
54 nfcsb1v 3858 . . . . . . . . . 10 𝑥𝑦 / 𝑥(𝐵 + 𝐶)
55 csbeq1a 3847 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝐵 + 𝐶) = 𝑦 / 𝑥(𝐵 + 𝐶))
5653, 54, 55cbvmpt 5187 . . . . . . . . 9 (𝑥𝐴 ↦ (𝐵 + 𝐶)) = (𝑦𝐴𝑦 / 𝑥(𝐵 + 𝐶))
5756reseq1i 5889 . . . . . . . 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 5151 . . . . . . . . 9 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (𝐵 + 𝐶))} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(𝐵 + 𝐶))}
64 df-mpt 5160 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (𝐵 + 𝐶)) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (𝐵 + 𝐶))}
65 df-mpt 5160 . . . . . . . . 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 13184 . . . . . . . . . 10 (𝐵 ∈ (0[,)+∞) ↔ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵))
7472, 73bitr4di 289 . . . . . . . . 9 ((𝜑𝑥𝐴) → (0 ≤ 𝐵𝐵 ∈ (0[,)+∞)))
7574rabbidva 3412 . . . . . . . 8 (𝜑 → {𝑥𝐴 ∣ 0 ≤ 𝐵} = {𝑥𝐴𝐵 ∈ (0[,)+∞)})
76 0xr 11020 . . . . . . . . . . 11 0 ∈ ℝ*
77 pnfxr 11027 . . . . . . . . . . 11 +∞ ∈ ℝ*
78 0ltpnf 12856 . . . . . . . . . . 11 0 < +∞
79 snunioo 13208 . . . . . . . . . . 11 ((0 ∈ ℝ* ∧ +∞ ∈ ℝ* ∧ 0 < +∞) → ({0} ∪ (0(,)+∞)) = (0[,)+∞))
8076, 77, 78, 79mp3an 1460 . . . . . . . . . 10 ({0} ∪ (0(,)+∞)) = (0[,)+∞)
8180imaeq2i 5969 . . . . . . . . 9 ((𝑥𝐴𝐵) “ ({0} ∪ (0(,)+∞))) = ((𝑥𝐴𝐵) “ (0[,)+∞))
82 imaundi 6055 . . . . . . . . 9 ((𝑥𝐴𝐵) “ ({0} ∪ (0(,)+∞))) = (((𝑥𝐴𝐵) “ {0}) ∪ ((𝑥𝐴𝐵) “ (0(,)+∞)))
83 eqid 2738 . . . . . . . . . 10 (𝑥𝐴𝐵) = (𝑥𝐴𝐵)
8483mptpreima 6143 . . . . . . . . 9 ((𝑥𝐴𝐵) “ (0[,)+∞)) = {𝑥𝐴𝐵 ∈ (0[,)+∞)}
8581, 82, 843eqtr3ri 2775 . . . . . . . 8 {𝑥𝐴𝐵 ∈ (0[,)+∞)} = (((𝑥𝐴𝐵) “ {0}) ∪ ((𝑥𝐴𝐵) “ (0(,)+∞)))
8675, 85eqtrdi 2794 . . . . . . 7 (𝜑 → {𝑥𝐴 ∣ 0 ≤ 𝐵} = (((𝑥𝐴𝐵) “ {0}) ∪ ((𝑥𝐴𝐵) “ (0(,)+∞))))
87 mbfposadd.1 . . . . . . . 8 (𝜑 → (𝑥𝐴𝐵) ∈ MblFn)
881fmpttd 6991 . . . . . . . 8 (𝜑 → (𝑥𝐴𝐵):𝐴⟶ℝ)
89 mbfimasn 24794 . . . . . . . . . 10 (((𝑥𝐴𝐵) ∈ MblFn ∧ (𝑥𝐴𝐵):𝐴⟶ℝ ∧ 0 ∈ ℝ) → ((𝑥𝐴𝐵) “ {0}) ∈ dom vol)
902, 89mp3an3 1449 . . . . . . . . 9 (((𝑥𝐴𝐵) ∈ MblFn ∧ (𝑥𝐴𝐵):𝐴⟶ℝ) → ((𝑥𝐴𝐵) “ {0}) ∈ dom vol)
91 mbfima 24792 . . . . . . . . 9 (((𝑥𝐴𝐵) ∈ MblFn ∧ (𝑥𝐴𝐵):𝐴⟶ℝ) → ((𝑥𝐴𝐵) “ (0(,)+∞)) ∈ dom vol)
92 unmbl 24699 . . . . . . . . 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 13184 . . . . . . . . . 10 (𝐶 ∈ (0[,)+∞) ↔ (𝐶 ∈ ℝ ∧ 0 ≤ 𝐶))
9896, 97bitr4di 289 . . . . . . . . 9 ((𝜑𝑥𝐴) → (0 ≤ 𝐶𝐶 ∈ (0[,)+∞)))
9998rabbidva 3412 . . . . . . . 8 (𝜑 → {𝑥𝐴 ∣ 0 ≤ 𝐶} = {𝑥𝐴𝐶 ∈ (0[,)+∞)})
10080imaeq2i 5969 . . . . . . . . 9 ((𝑥𝐴𝐶) “ ({0} ∪ (0(,)+∞))) = ((𝑥𝐴𝐶) “ (0[,)+∞))
101 imaundi 6055 . . . . . . . . 9 ((𝑥𝐴𝐶) “ ({0} ∪ (0(,)+∞))) = (((𝑥𝐴𝐶) “ {0}) ∪ ((𝑥𝐴𝐶) “ (0(,)+∞)))
102 eqid 2738 . . . . . . . . . 10 (𝑥𝐴𝐶) = (𝑥𝐴𝐶)
103102mptpreima 6143 . . . . . . . . 9 ((𝑥𝐴𝐶) “ (0[,)+∞)) = {𝑥𝐴𝐶 ∈ (0[,)+∞)}
104100, 101, 1033eqtr3ri 2775 . . . . . . . 8 {𝑥𝐴𝐶 ∈ (0[,)+∞)} = (((𝑥𝐴𝐶) “ {0}) ∪ ((𝑥𝐴𝐶) “ (0(,)+∞)))
10599, 104eqtrdi 2794 . . . . . . 7 (𝜑 → {𝑥𝐴 ∣ 0 ≤ 𝐶} = (((𝑥𝐴𝐶) “ {0}) ∪ ((𝑥𝐴𝐶) “ (0(,)+∞))))
106 mbfposadd.3 . . . . . . . 8 (𝜑 → (𝑥𝐴𝐶) ∈ MblFn)
1075fmpttd 6991 . . . . . . . 8 (𝜑 → (𝑥𝐴𝐶):𝐴⟶ℝ)
108 mbfimasn 24794 . . . . . . . . . 10 (((𝑥𝐴𝐶) ∈ MblFn ∧ (𝑥𝐴𝐶):𝐴⟶ℝ ∧ 0 ∈ ℝ) → ((𝑥𝐴𝐶) “ {0}) ∈ dom vol)
1092, 108mp3an3 1449 . . . . . . . . 9 (((𝑥𝐴𝐶) ∈ MblFn ∧ (𝑥𝐴𝐶):𝐴⟶ℝ) → ((𝑥𝐴𝐶) “ {0}) ∈ dom vol)
110 mbfima 24792 . . . . . . . . 9 (((𝑥𝐴𝐶) ∈ MblFn ∧ (𝑥𝐴𝐶):𝐴⟶ℝ) → ((𝑥𝐴𝐶) “ (0(,)+∞)) ∈ dom vol)
111 unmbl 24699 . . . . . . . . 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 24704 . . . . . 6 (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∈ dom vol ∧ {𝑥𝐴 ∣ 0 ≤ 𝐶} ∈ dom vol) → ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ dom vol)
11695, 114, 115syl2anc 584 . . . . 5 (𝜑 → ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ dom vol)
117 mbfres 24806 . . . . 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 4165 . . . . . 6 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ {𝑥𝐴 ∣ 0 ≤ 𝐶}
121 resabs1 5923 . . . . . 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 3309 . . . . . . . . . 10 (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ↔ (𝑥𝐴 ∧ ¬ 0 ≤ 𝐵))
124123, 18anbi12i 627 . . . . . . . . 9 ((𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∧ 𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ ((𝑥𝐴 ∧ ¬ 0 ≤ 𝐵) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)))
125 elin 3904 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∧ 𝑥 ∈ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
126 anandi 673 . . . . . . . . 9 ((𝑥𝐴 ∧ (¬ 0 ≤ 𝐵 ∧ 0 ≤ 𝐶)) ↔ ((𝑥𝐴 ∧ ¬ 0 ≤ 𝐵) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)))
127124, 125, 1263bitr4i 303 . . . . . . . 8 (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↔ (𝑥𝐴 ∧ (¬ 0 ≤ 𝐵 ∧ 0 ≤ 𝐶)))
128 iffalse 4470 . . . . . . . . . . 11 (¬ 0 ≤ 𝐵 → if(0 ≤ 𝐵, 𝐵, 0) = 0)
129128, 22oveqan12d 7296 . . . . . . . . . 10 ((¬ 0 ≤ 𝐵 ∧ 0 ≤ 𝐶) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = (0 + 𝐶))
130129ad2antll 726 . . . . . . . . 9 ((𝜑 ∧ (𝑥𝐴 ∧ (¬ 0 ≤ 𝐵 ∧ 0 ≤ 𝐶))) → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = (0 + 𝐶))
1315recnd 11001 . . . . . . . . . . 11 ((𝜑𝑥𝐴) → 𝐶 ∈ ℂ)
132131addid2d 11174 . . . . . . . . . 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 5176 . . . . . 6 (𝜑 → (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝐶))
137 inss1 4164 . . . . . . . 8 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵}
138 ssrab2 4014 . . . . . . . 8 {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ⊆ 𝐴
139137, 138sstri 3931 . . . . . . 7 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴
140 resmpt 5947 . . . . . . . 8 (({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))))
14134reseq1i 5889 . . . . . . . 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 3316 . . . . . . . . . . . . 13 𝑥{𝑥𝐴 ∣ ¬ 0 ≤ 𝐵}
144143, 38nfin 4152 . . . . . . . . . . . 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 5151 . . . . . . . . 9 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
150 df-mpt 5160 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
151 df-mpt 5160 . . . . . . . . 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 5947 . . . . . . . 8 (({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥𝐶) ↾ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})) = (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝑦 / 𝑥𝐶))
156 nfcv 2907 . . . . . . . . . 10 𝑦𝐶
157 nfcsb1v 3858 . . . . . . . . . 10 𝑥𝑦 / 𝑥𝐶
158 csbeq1a 3847 . . . . . . . . . 10 (𝑥 = 𝑦𝐶 = 𝑦 / 𝑥𝐶)
159156, 157, 158cbvmpt 5187 . . . . . . . . 9 (𝑥𝐴𝐶) = (𝑦𝐴𝑦 / 𝑥𝐶)
160159reseq1i 5889 . . . . . . . 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 5151 . . . . . . . . 9 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝐶)} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝑦 / 𝑥𝐶)}
167 df-mpt 5160 . . . . . . . . 9 (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ↦ 𝐶) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∧ 𝑧 = 𝐶)}
168 df-mpt 5160 . . . . . . . . 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 6143 . . . . . . . 8 ((𝑥𝐴𝐵) “ (-∞(,)0)) = {𝑥𝐴𝐵 ∈ (-∞(,)0)}
175 elioomnf 13174 . . . . . . . . . . 11 (0 ∈ ℝ* → (𝐵 ∈ (-∞(,)0) ↔ (𝐵 ∈ ℝ ∧ 𝐵 < 0)))
17676, 175ax-mp 5 . . . . . . . . . 10 (𝐵 ∈ (-∞(,)0) ↔ (𝐵 ∈ ℝ ∧ 𝐵 < 0))
1771biantrurd 533 . . . . . . . . . . 11 ((𝜑𝑥𝐴) → (𝐵 < 0 ↔ (𝐵 ∈ ℝ ∧ 𝐵 < 0)))
178 ltnle 11052 . . . . . . . . . . . 12 ((𝐵 ∈ ℝ ∧ 0 ∈ ℝ) → (𝐵 < 0 ↔ ¬ 0 ≤ 𝐵))
1791, 2, 178sylancl 586 . . . . . . . . . . 11 ((𝜑𝑥𝐴) → (𝐵 < 0 ↔ ¬ 0 ≤ 𝐵))
180177, 179bitr3d 280 . . . . . . . . . 10 ((𝜑𝑥𝐴) → ((𝐵 ∈ ℝ ∧ 𝐵 < 0) ↔ ¬ 0 ≤ 𝐵))
181176, 180syl5bb 283 . . . . . . . . 9 ((𝜑𝑥𝐴) → (𝐵 ∈ (-∞(,)0) ↔ ¬ 0 ≤ 𝐵))
182181rabbidva 3412 . . . . . . . 8 (𝜑 → {𝑥𝐴𝐵 ∈ (-∞(,)0)} = {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵})
183174, 182eqtrid 2790 . . . . . . 7 (𝜑 → ((𝑥𝐴𝐵) “ (-∞(,)0)) = {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵})
184 mbfima 24792 . . . . . . . 8 (((𝑥𝐴𝐵) ∈ MblFn ∧ (𝑥𝐴𝐵):𝐴⟶ℝ) → ((𝑥𝐴𝐵) “ (-∞(,)0)) ∈ dom vol)
18587, 88, 184syl2anc 584 . . . . . . 7 (𝜑 → ((𝑥𝐴𝐵) “ (-∞(,)0)) ∈ dom vol)
186183, 185eqeltrrd 2840 . . . . . 6 (𝜑 → {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∈ dom vol)
187 inmbl 24704 . . . . . 6 (({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∈ dom vol ∧ {𝑥𝐴 ∣ 0 ≤ 𝐶} ∈ dom vol) → ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ dom vol)
188186, 114, 187syl2anc 584 . . . . 5 (𝜑 → ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐵} ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ dom vol)
189 mbfres 24806 . . . . 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 3944 . . . . . 6 𝐴𝐴
193 dfrab3ss 4248 . . . . . 6 (𝐴𝐴 → {𝑥𝐴 ∣ 0 ≤ 𝐶} = (𝐴 ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}))
194192, 193ax-mp 5 . . . . 5 {𝑥𝐴 ∣ 0 ≤ 𝐶} = (𝐴 ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})
195 rabxm 4322 . . . . . 6 𝐴 = ({𝑥𝐴 ∣ 0 ≤ 𝐵} ∪ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵})
196195ineq1i 4144 . . . . 5 (𝐴 ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶}) = (({𝑥𝐴 ∣ 0 ≤ 𝐵} ∪ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐵}) ∩ {𝑥𝐴 ∣ 0 ≤ 𝐶})
197 indir 4211 . . . . 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 24807 . 2 (𝜑 → ((𝑥𝐴 ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ 0 ≤ 𝐶}) ∈ MblFn)
201 rabid 3309 . . . . . 6 (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↔ (𝑥𝐴 ∧ ¬ 0 ≤ 𝐶))
202 iffalse 4470 . . . . . . . . 9 (¬ 0 ≤ 𝐶 → if(0 ≤ 𝐶, 𝐶, 0) = 0)
203202oveq2d 7293 . . . . . . . 8 (¬ 0 ≤ 𝐶 → (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)) = (if(0 ≤ 𝐵, 𝐵, 0) + 0))
2044recnd 11001 . . . . . . . . 9 ((𝜑𝑥𝐴) → if(0 ≤ 𝐵, 𝐵, 0) ∈ ℂ)
205204addid1d 11173 . . . . . . . 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 5176 . . . 4 (𝜑 → (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ if(0 ≤ 𝐵, 𝐵, 0)))
210 ssrab2 4014 . . . . 5 {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ⊆ 𝐴
211 resmpt 5947 . . . . . 6 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))))
21234reseq1i 5889 . . . . . 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 3316 . . . . . . . . . 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 5151 . . . . . . 7 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = 𝑦 / 𝑥(if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
220 df-mpt 5160 . . . . . . 7 (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0))) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = (if(0 ≤ 𝐵, 𝐵, 0) + if(0 ≤ 𝐶, 𝐶, 0)))}
221 df-mpt 5160 . . . . . . 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 5947 . . . . . 6 ({𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ⊆ 𝐴 → ((𝑦𝐴𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0)) ↾ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0)))
226 nfcv 2907 . . . . . . . 8 𝑦if(0 ≤ 𝐵, 𝐵, 0)
227 nfcsb1v 3858 . . . . . . . 8 𝑥𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0)
228 csbeq1a 3847 . . . . . . . 8 (𝑥 = 𝑦 → if(0 ≤ 𝐵, 𝐵, 0) = 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0))
229226, 227, 228cbvmpt 5187 . . . . . . 7 (𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) = (𝑦𝐴𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0))
230229reseq1i 5889 . . . . . 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 5151 . . . . . . 7 {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = if(0 ≤ 𝐵, 𝐵, 0))} = {⟨𝑦, 𝑧⟩ ∣ (𝑦 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = 𝑦 / 𝑥if(0 ≤ 𝐵, 𝐵, 0))}
237 df-mpt 5160 . . . . . . 7 (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ↦ if(0 ≤ 𝐵, 𝐵, 0)) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∧ 𝑧 = if(0 ≤ 𝐵, 𝐵, 0))}
238 df-mpt 5160 . . . . . . 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 24813 . . . 4 (𝜑 → (𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn)
244102mptpreima 6143 . . . . . 6 ((𝑥𝐴𝐶) “ (-∞(,)0)) = {𝑥𝐴𝐶 ∈ (-∞(,)0)}
245 elioomnf 13174 . . . . . . . . 9 (0 ∈ ℝ* → (𝐶 ∈ (-∞(,)0) ↔ (𝐶 ∈ ℝ ∧ 𝐶 < 0)))
24676, 245ax-mp 5 . . . . . . . 8 (𝐶 ∈ (-∞(,)0) ↔ (𝐶 ∈ ℝ ∧ 𝐶 < 0))
2475biantrurd 533 . . . . . . . . 9 ((𝜑𝑥𝐴) → (𝐶 < 0 ↔ (𝐶 ∈ ℝ ∧ 𝐶 < 0)))
248 ltnle 11052 . . . . . . . . . 10 ((𝐶 ∈ ℝ ∧ 0 ∈ ℝ) → (𝐶 < 0 ↔ ¬ 0 ≤ 𝐶))
2495, 2, 248sylancl 586 . . . . . . . . 9 ((𝜑𝑥𝐴) → (𝐶 < 0 ↔ ¬ 0 ≤ 𝐶))
250247, 249bitr3d 280 . . . . . . . 8 ((𝜑𝑥𝐴) → ((𝐶 ∈ ℝ ∧ 𝐶 < 0) ↔ ¬ 0 ≤ 𝐶))
251246, 250syl5bb 283 . . . . . . 7 ((𝜑𝑥𝐴) → (𝐶 ∈ (-∞(,)0) ↔ ¬ 0 ≤ 𝐶))
252251rabbidva 3412 . . . . . 6 (𝜑 → {𝑥𝐴𝐶 ∈ (-∞(,)0)} = {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶})
253244, 252eqtrid 2790 . . . . 5 (𝜑 → ((𝑥𝐴𝐶) “ (-∞(,)0)) = {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶})
254 mbfima 24792 . . . . . 6 (((𝑥𝐴𝐶) ∈ MblFn ∧ (𝑥𝐴𝐶):𝐴⟶ℝ) → ((𝑥𝐴𝐶) “ (-∞(,)0)) ∈ dom vol)
255106, 107, 254syl2anc 584 . . . . 5 (𝜑 → ((𝑥𝐴𝐶) “ (-∞(,)0)) ∈ dom vol)
256253, 255eqeltrrd 2840 . . . 4 (𝜑 → {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶} ∈ dom vol)
257 mbfres 24806 . . . 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 4322 . . . 4 𝐴 = ({𝑥𝐴 ∣ 0 ≤ 𝐶} ∪ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶})
261260eqcomi 2747 . . 3 ({𝑥𝐴 ∣ 0 ≤ 𝐶} ∪ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = 𝐴
262261a1i 11 . 2 (𝜑 → ({𝑥𝐴 ∣ 0 ≤ 𝐶} ∪ {𝑥𝐴 ∣ ¬ 0 ≤ 𝐶}) = 𝐴)
2639, 200, 259, 262mbfres2 24807 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 3833  cun 3886  cin 3887  wss 3888  ifcif 4461  {csn 4563   class class class wbr 5076  {copab 5138  cmpt 5159  ccnv 5590  dom cdm 5591  cres 5593  cima 5594  wf 6431  (class class class)co 7277  cr 10868  0cc0 10869   + caddc 10872  +∞cpnf 11004  -∞cmnf 11005  *cxr 11006   < clt 11007  cle 11008  (,)cioo 13077  [,)cico 13079  volcvol 24625  MblFncmbf 24776
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 5211  ax-sep 5225  ax-nul 5232  ax-pow 5290  ax-pr 5354  ax-un 7588  ax-inf2 9397  ax-cnex 10925  ax-resscn 10926  ax-1cn 10927  ax-icn 10928  ax-addcl 10929  ax-addrcl 10930  ax-mulcl 10931  ax-mulrcl 10932  ax-mulcom 10933  ax-addass 10934  ax-mulass 10935  ax-distr 10936  ax-i2m1 10937  ax-1ne0 10938  ax-1rid 10939  ax-rnegex 10940  ax-rrecex 10941  ax-cnre 10942  ax-pre-lttri 10943  ax-pre-lttrn 10944  ax-pre-ltadd 10945  ax-pre-mulgt0 10946  ax-pre-sup 10947
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 3433  df-sbc 3718  df-csb 3834  df-dif 3891  df-un 3893  df-in 3895  df-ss 3905  df-pss 3907  df-nul 4259  df-if 4462  df-pw 4537  df-sn 4564  df-pr 4566  df-op 4570  df-uni 4842  df-int 4882  df-iun 4928  df-br 5077  df-opab 5139  df-mpt 5160  df-tr 5194  df-id 5491  df-eprel 5497  df-po 5505  df-so 5506  df-fr 5546  df-se 5547  df-we 5548  df-xp 5597  df-rel 5598  df-cnv 5599  df-co 5600  df-dm 5601  df-rn 5602  df-res 5603  df-ima 5604  df-pred 6204  df-ord 6271  df-on 6272  df-lim 6273  df-suc 6274  df-iota 6393  df-fun 6437  df-fn 6438  df-f 6439  df-f1 6440  df-fo 6441  df-f1o 6442  df-fv 6443  df-isom 6444  df-riota 7234  df-ov 7280  df-oprab 7281  df-mpo 7282  df-of 7533  df-om 7713  df-1st 7831  df-2nd 7832  df-frecs 8095  df-wrecs 8126  df-recs 8200  df-rdg 8239  df-1o 8295  df-2o 8296  df-er 8496  df-map 8615  df-pm 8616  df-en 8732  df-dom 8733  df-sdom 8734  df-fin 8735  df-sup 9199  df-inf 9200  df-oi 9267  df-dju 9657  df-card 9695  df-pnf 11009  df-mnf 11010  df-xr 11011  df-ltxr 11012  df-le 11013  df-sub 11205  df-neg 11206  df-div 11631  df-nn 11972  df-2 12034  df-3 12035  df-n0 12232  df-z 12318  df-uz 12581  df-q 12687  df-rp 12729  df-xadd 12847  df-ioo 13081  df-ico 13083  df-icc 13084  df-fz 13238  df-fzo 13381  df-fl 13510  df-seq 13720  df-exp 13781  df-hash 14043  df-cj 14808  df-re 14809  df-im 14810  df-sqrt 14944  df-abs 14945  df-clim 15195  df-sum 15396  df-xmet 20588  df-met 20589  df-ovol 24626  df-vol 24627  df-mbf 24781
This theorem is referenced by:  itgaddnclem2  35833
  Copyright terms: Public domain W3C validator