MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  mbfposb Structured version   Visualization version   GIF version

Theorem mbfposb 23139
Description: A function is measurable iff its positive and negative parts are measurable. (Contributed by Mario Carneiro, 11-Aug-2014.)
Hypothesis
Ref Expression
mbfpos.1 ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ)
Assertion
Ref Expression
mbfposb (𝜑 → ((𝑥𝐴𝐵) ∈ MblFn ↔ ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn ∧ (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)) ∈ MblFn)))
Distinct variable groups:   𝑥,𝐴   𝜑,𝑥
Allowed substitution hint:   𝐵(𝑥)

Proof of Theorem mbfposb
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 nfcv 2746 . . . . . . . . 9 𝑥0
2 nfcv 2746 . . . . . . . . 9 𝑥
3 nffvmpt1 6092 . . . . . . . . 9 𝑥((𝑥𝐴𝐵)‘𝑦)
41, 2, 3nfbr 4619 . . . . . . . 8 𝑥0 ≤ ((𝑥𝐴𝐵)‘𝑦)
54, 3, 1nfif 4060 . . . . . . 7 𝑥if(0 ≤ ((𝑥𝐴𝐵)‘𝑦), ((𝑥𝐴𝐵)‘𝑦), 0)
6 nfcv 2746 . . . . . . 7 𝑦if(0 ≤ ((𝑥𝐴𝐵)‘𝑥), ((𝑥𝐴𝐵)‘𝑥), 0)
7 fveq2 6084 . . . . . . . . 9 (𝑦 = 𝑥 → ((𝑥𝐴𝐵)‘𝑦) = ((𝑥𝐴𝐵)‘𝑥))
87breq2d 4585 . . . . . . . 8 (𝑦 = 𝑥 → (0 ≤ ((𝑥𝐴𝐵)‘𝑦) ↔ 0 ≤ ((𝑥𝐴𝐵)‘𝑥)))
98, 7ifbieq1d 4054 . . . . . . 7 (𝑦 = 𝑥 → if(0 ≤ ((𝑥𝐴𝐵)‘𝑦), ((𝑥𝐴𝐵)‘𝑦), 0) = if(0 ≤ ((𝑥𝐴𝐵)‘𝑥), ((𝑥𝐴𝐵)‘𝑥), 0))
105, 6, 9cbvmpt 4667 . . . . . 6 (𝑦𝐴 ↦ if(0 ≤ ((𝑥𝐴𝐵)‘𝑦), ((𝑥𝐴𝐵)‘𝑦), 0)) = (𝑥𝐴 ↦ if(0 ≤ ((𝑥𝐴𝐵)‘𝑥), ((𝑥𝐴𝐵)‘𝑥), 0))
11 simpr 475 . . . . . . . . . 10 ((𝜑𝑥𝐴) → 𝑥𝐴)
12 mbfpos.1 . . . . . . . . . 10 ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ)
13 eqid 2605 . . . . . . . . . . 11 (𝑥𝐴𝐵) = (𝑥𝐴𝐵)
1413fvmpt2 6181 . . . . . . . . . 10 ((𝑥𝐴𝐵 ∈ ℝ) → ((𝑥𝐴𝐵)‘𝑥) = 𝐵)
1511, 12, 14syl2anc 690 . . . . . . . . 9 ((𝜑𝑥𝐴) → ((𝑥𝐴𝐵)‘𝑥) = 𝐵)
1615breq2d 4585 . . . . . . . 8 ((𝜑𝑥𝐴) → (0 ≤ ((𝑥𝐴𝐵)‘𝑥) ↔ 0 ≤ 𝐵))
1716, 15ifbieq1d 4054 . . . . . . 7 ((𝜑𝑥𝐴) → if(0 ≤ ((𝑥𝐴𝐵)‘𝑥), ((𝑥𝐴𝐵)‘𝑥), 0) = if(0 ≤ 𝐵, 𝐵, 0))
1817mpteq2dva 4662 . . . . . 6 (𝜑 → (𝑥𝐴 ↦ if(0 ≤ ((𝑥𝐴𝐵)‘𝑥), ((𝑥𝐴𝐵)‘𝑥), 0)) = (𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)))
1910, 18syl5eq 2651 . . . . 5 (𝜑 → (𝑦𝐴 ↦ if(0 ≤ ((𝑥𝐴𝐵)‘𝑦), ((𝑥𝐴𝐵)‘𝑦), 0)) = (𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)))
2019adantr 479 . . . 4 ((𝜑 ∧ (𝑥𝐴𝐵) ∈ MblFn) → (𝑦𝐴 ↦ if(0 ≤ ((𝑥𝐴𝐵)‘𝑦), ((𝑥𝐴𝐵)‘𝑦), 0)) = (𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)))
2112, 13fmptd 6273 . . . . . . 7 (𝜑 → (𝑥𝐴𝐵):𝐴⟶ℝ)
2221adantr 479 . . . . . 6 ((𝜑 ∧ (𝑥𝐴𝐵) ∈ MblFn) → (𝑥𝐴𝐵):𝐴⟶ℝ)
2322ffvelrnda 6248 . . . . 5 (((𝜑 ∧ (𝑥𝐴𝐵) ∈ MblFn) ∧ 𝑦𝐴) → ((𝑥𝐴𝐵)‘𝑦) ∈ ℝ)
24 nfcv 2746 . . . . . . . . 9 𝑦((𝑥𝐴𝐵)‘𝑥)
253, 24, 7cbvmpt 4667 . . . . . . . 8 (𝑦𝐴 ↦ ((𝑥𝐴𝐵)‘𝑦)) = (𝑥𝐴 ↦ ((𝑥𝐴𝐵)‘𝑥))
2615mpteq2dva 4662 . . . . . . . 8 (𝜑 → (𝑥𝐴 ↦ ((𝑥𝐴𝐵)‘𝑥)) = (𝑥𝐴𝐵))
2725, 26syl5eq 2651 . . . . . . 7 (𝜑 → (𝑦𝐴 ↦ ((𝑥𝐴𝐵)‘𝑦)) = (𝑥𝐴𝐵))
2827eleq1d 2667 . . . . . 6 (𝜑 → ((𝑦𝐴 ↦ ((𝑥𝐴𝐵)‘𝑦)) ∈ MblFn ↔ (𝑥𝐴𝐵) ∈ MblFn))
2928biimpar 500 . . . . 5 ((𝜑 ∧ (𝑥𝐴𝐵) ∈ MblFn) → (𝑦𝐴 ↦ ((𝑥𝐴𝐵)‘𝑦)) ∈ MblFn)
3023, 29mbfpos 23137 . . . 4 ((𝜑 ∧ (𝑥𝐴𝐵) ∈ MblFn) → (𝑦𝐴 ↦ if(0 ≤ ((𝑥𝐴𝐵)‘𝑦), ((𝑥𝐴𝐵)‘𝑦), 0)) ∈ MblFn)
3120, 30eqeltrrd 2684 . . 3 ((𝜑 ∧ (𝑥𝐴𝐵) ∈ MblFn) → (𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn)
323nfneg 10124 . . . . . . . . 9 𝑥-((𝑥𝐴𝐵)‘𝑦)
331, 2, 32nfbr 4619 . . . . . . . 8 𝑥0 ≤ -((𝑥𝐴𝐵)‘𝑦)
3433, 32, 1nfif 4060 . . . . . . 7 𝑥if(0 ≤ -((𝑥𝐴𝐵)‘𝑦), -((𝑥𝐴𝐵)‘𝑦), 0)
35 nfcv 2746 . . . . . . 7 𝑦if(0 ≤ -((𝑥𝐴𝐵)‘𝑥), -((𝑥𝐴𝐵)‘𝑥), 0)
367negeqd 10122 . . . . . . . . 9 (𝑦 = 𝑥 → -((𝑥𝐴𝐵)‘𝑦) = -((𝑥𝐴𝐵)‘𝑥))
3736breq2d 4585 . . . . . . . 8 (𝑦 = 𝑥 → (0 ≤ -((𝑥𝐴𝐵)‘𝑦) ↔ 0 ≤ -((𝑥𝐴𝐵)‘𝑥)))
3837, 36ifbieq1d 4054 . . . . . . 7 (𝑦 = 𝑥 → if(0 ≤ -((𝑥𝐴𝐵)‘𝑦), -((𝑥𝐴𝐵)‘𝑦), 0) = if(0 ≤ -((𝑥𝐴𝐵)‘𝑥), -((𝑥𝐴𝐵)‘𝑥), 0))
3934, 35, 38cbvmpt 4667 . . . . . 6 (𝑦𝐴 ↦ if(0 ≤ -((𝑥𝐴𝐵)‘𝑦), -((𝑥𝐴𝐵)‘𝑦), 0)) = (𝑥𝐴 ↦ if(0 ≤ -((𝑥𝐴𝐵)‘𝑥), -((𝑥𝐴𝐵)‘𝑥), 0))
4015negeqd 10122 . . . . . . . . 9 ((𝜑𝑥𝐴) → -((𝑥𝐴𝐵)‘𝑥) = -𝐵)
4140breq2d 4585 . . . . . . . 8 ((𝜑𝑥𝐴) → (0 ≤ -((𝑥𝐴𝐵)‘𝑥) ↔ 0 ≤ -𝐵))
4241, 40ifbieq1d 4054 . . . . . . 7 ((𝜑𝑥𝐴) → if(0 ≤ -((𝑥𝐴𝐵)‘𝑥), -((𝑥𝐴𝐵)‘𝑥), 0) = if(0 ≤ -𝐵, -𝐵, 0))
4342mpteq2dva 4662 . . . . . 6 (𝜑 → (𝑥𝐴 ↦ if(0 ≤ -((𝑥𝐴𝐵)‘𝑥), -((𝑥𝐴𝐵)‘𝑥), 0)) = (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)))
4439, 43syl5eq 2651 . . . . 5 (𝜑 → (𝑦𝐴 ↦ if(0 ≤ -((𝑥𝐴𝐵)‘𝑦), -((𝑥𝐴𝐵)‘𝑦), 0)) = (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)))
4544adantr 479 . . . 4 ((𝜑 ∧ (𝑥𝐴𝐵) ∈ MblFn) → (𝑦𝐴 ↦ if(0 ≤ -((𝑥𝐴𝐵)‘𝑦), -((𝑥𝐴𝐵)‘𝑦), 0)) = (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)))
4623renegcld 10304 . . . . 5 (((𝜑 ∧ (𝑥𝐴𝐵) ∈ MblFn) ∧ 𝑦𝐴) → -((𝑥𝐴𝐵)‘𝑦) ∈ ℝ)
4723, 29mbfneg 23136 . . . . 5 ((𝜑 ∧ (𝑥𝐴𝐵) ∈ MblFn) → (𝑦𝐴 ↦ -((𝑥𝐴𝐵)‘𝑦)) ∈ MblFn)
4846, 47mbfpos 23137 . . . 4 ((𝜑 ∧ (𝑥𝐴𝐵) ∈ MblFn) → (𝑦𝐴 ↦ if(0 ≤ -((𝑥𝐴𝐵)‘𝑦), -((𝑥𝐴𝐵)‘𝑦), 0)) ∈ MblFn)
4945, 48eqeltrrd 2684 . . 3 ((𝜑 ∧ (𝑥𝐴𝐵) ∈ MblFn) → (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)) ∈ MblFn)
5031, 49jca 552 . 2 ((𝜑 ∧ (𝑥𝐴𝐵) ∈ MblFn) → ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn ∧ (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)) ∈ MblFn))
5127adantr 479 . . 3 ((𝜑 ∧ ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn ∧ (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)) ∈ MblFn)) → (𝑦𝐴 ↦ ((𝑥𝐴𝐵)‘𝑦)) = (𝑥𝐴𝐵))
5221ffvelrnda 6248 . . . . 5 ((𝜑𝑦𝐴) → ((𝑥𝐴𝐵)‘𝑦) ∈ ℝ)
5352adantlr 746 . . . 4 (((𝜑 ∧ ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn ∧ (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)) ∈ MblFn)) ∧ 𝑦𝐴) → ((𝑥𝐴𝐵)‘𝑦) ∈ ℝ)
5419adantr 479 . . . . 5 ((𝜑 ∧ ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn ∧ (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)) ∈ MblFn)) → (𝑦𝐴 ↦ if(0 ≤ ((𝑥𝐴𝐵)‘𝑦), ((𝑥𝐴𝐵)‘𝑦), 0)) = (𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)))
55 simprl 789 . . . . 5 ((𝜑 ∧ ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn ∧ (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)) ∈ MblFn)) → (𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn)
5654, 55eqeltrd 2683 . . . 4 ((𝜑 ∧ ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn ∧ (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)) ∈ MblFn)) → (𝑦𝐴 ↦ if(0 ≤ ((𝑥𝐴𝐵)‘𝑦), ((𝑥𝐴𝐵)‘𝑦), 0)) ∈ MblFn)
5744adantr 479 . . . . 5 ((𝜑 ∧ ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn ∧ (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)) ∈ MblFn)) → (𝑦𝐴 ↦ if(0 ≤ -((𝑥𝐴𝐵)‘𝑦), -((𝑥𝐴𝐵)‘𝑦), 0)) = (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)))
58 simprr 791 . . . . 5 ((𝜑 ∧ ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn ∧ (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)) ∈ MblFn)) → (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)) ∈ MblFn)
5957, 58eqeltrd 2683 . . . 4 ((𝜑 ∧ ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn ∧ (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)) ∈ MblFn)) → (𝑦𝐴 ↦ if(0 ≤ -((𝑥𝐴𝐵)‘𝑦), -((𝑥𝐴𝐵)‘𝑦), 0)) ∈ MblFn)
6053, 56, 59mbfposr 23138 . . 3 ((𝜑 ∧ ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn ∧ (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)) ∈ MblFn)) → (𝑦𝐴 ↦ ((𝑥𝐴𝐵)‘𝑦)) ∈ MblFn)
6151, 60eqeltrrd 2684 . 2 ((𝜑 ∧ ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn ∧ (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)) ∈ MblFn)) → (𝑥𝐴𝐵) ∈ MblFn)
6250, 61impbida 872 1 (𝜑 → ((𝑥𝐴𝐵) ∈ MblFn ↔ ((𝑥𝐴 ↦ if(0 ≤ 𝐵, 𝐵, 0)) ∈ MblFn ∧ (𝑥𝐴 ↦ if(0 ≤ -𝐵, -𝐵, 0)) ∈ MblFn)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 194  wa 382   = wceq 1474  wcel 1975  ifcif 4031   class class class wbr 4573  cmpt 4633  wf 5782  cfv 5786  cr 9787  0cc0 9788  cle 9927  -cneg 10114  MblFncmbf 23102
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1711  ax-4 1726  ax-5 1825  ax-6 1873  ax-7 1920  ax-8 1977  ax-9 1984  ax-10 2004  ax-11 2019  ax-12 2031  ax-13 2228  ax-ext 2585  ax-rep 4689  ax-sep 4699  ax-nul 4708  ax-pow 4760  ax-pr 4824  ax-un 6820  ax-inf2 8394  ax-cnex 9844  ax-resscn 9845  ax-1cn 9846  ax-icn 9847  ax-addcl 9848  ax-addrcl 9849  ax-mulcl 9850  ax-mulrcl 9851  ax-mulcom 9852  ax-addass 9853  ax-mulass 9854  ax-distr 9855  ax-i2m1 9856  ax-1ne0 9857  ax-1rid 9858  ax-rnegex 9859  ax-rrecex 9860  ax-cnre 9861  ax-pre-lttri 9862  ax-pre-lttrn 9863  ax-pre-ltadd 9864  ax-pre-mulgt0 9865  ax-pre-sup 9866
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3or 1031  df-3an 1032  df-tru 1477  df-fal 1480  df-ex 1695  df-nf 1700  df-sb 1866  df-eu 2457  df-mo 2458  df-clab 2592  df-cleq 2598  df-clel 2601  df-nfc 2735  df-ne 2777  df-nel 2778  df-ral 2896  df-rex 2897  df-reu 2898  df-rmo 2899  df-rab 2900  df-v 3170  df-sbc 3398  df-csb 3495  df-dif 3538  df-un 3540  df-in 3542  df-ss 3549  df-pss 3551  df-nul 3870  df-if 4032  df-pw 4105  df-sn 4121  df-pr 4123  df-tp 4125  df-op 4127  df-uni 4363  df-int 4401  df-iun 4447  df-br 4574  df-opab 4634  df-mpt 4635  df-tr 4671  df-eprel 4935  df-id 4939  df-po 4945  df-so 4946  df-fr 4983  df-se 4984  df-we 4985  df-xp 5030  df-rel 5031  df-cnv 5032  df-co 5033  df-dm 5034  df-rn 5035  df-res 5036  df-ima 5037  df-pred 5579  df-ord 5625  df-on 5626  df-lim 5627  df-suc 5628  df-iota 5750  df-fun 5788  df-fn 5789  df-f 5790  df-f1 5791  df-fo 5792  df-f1o 5793  df-fv 5794  df-isom 5795  df-riota 6485  df-ov 6526  df-oprab 6527  df-mpt2 6528  df-of 6768  df-om 6931  df-1st 7032  df-2nd 7033  df-wrecs 7267  df-recs 7328  df-rdg 7366  df-1o 7420  df-2o 7421  df-oadd 7424  df-er 7602  df-map 7719  df-pm 7720  df-en 7815  df-dom 7816  df-sdom 7817  df-fin 7818  df-sup 8204  df-inf 8205  df-oi 8271  df-card 8621  df-cda 8846  df-pnf 9928  df-mnf 9929  df-xr 9930  df-ltxr 9931  df-le 9932  df-sub 10115  df-neg 10116  df-div 10530  df-nn 10864  df-2 10922  df-3 10923  df-n0 11136  df-z 11207  df-uz 11516  df-q 11617  df-rp 11661  df-xadd 11775  df-ioo 12002  df-ico 12004  df-icc 12005  df-fz 12149  df-fzo 12286  df-fl 12406  df-seq 12615  df-exp 12674  df-hash 12931  df-cj 13629  df-re 13630  df-im 13631  df-sqrt 13765  df-abs 13766  df-clim 14009  df-sum 14207  df-xmet 19502  df-met 19503  df-ovol 22953  df-vol 22954  df-mbf 23107
This theorem is referenced by:  iblre  23279
  Copyright terms: Public domain W3C validator