Metamath Proof Explorer


Theorem mbfpos

Description: The positive part of a measurable function is measurable. (Contributed by Mario Carneiro, 31-Jul-2014)

Ref Expression
Hypotheses mbfpos.1 φxAB
mbfpos.2 φxABMblFn
Assertion mbfpos φxAif0BB0MblFn

Proof

Step Hyp Ref Expression
1 mbfpos.1 φxAB
2 mbfpos.2 φxABMblFn
3 c0ex 0V
4 3 fvconst2 xAA×0x=0
5 4 adantl φxAA×0x=0
6 simpr φxAxA
7 eqid xAB=xAB
8 7 fvmpt2 xABxABx=B
9 6 1 8 syl2anc φxAxABx=B
10 5 9 breq12d φxAA×0xxABx0B
11 10 9 5 ifbieq12d φxAifA×0xxABxxABxA×0x=if0BB0
12 11 mpteq2dva φxAifA×0xxABxxABxA×0x=xAif0BB0
13 0re 0
14 13 fconst6 A×0:A
15 14 a1i φA×0:A
16 2 1 mbfdm2 φAdomvol
17 0cnd φ0
18 mbfconst Adomvol0A×0MblFn
19 16 17 18 syl2anc φA×0MblFn
20 1 fmpttd φxAB:A
21 nfcv _yifA×0xxABxxABxA×0x
22 nfcv _xA×0y
23 nfcv _x
24 nffvmpt1 _xxABy
25 22 23 24 nfbr xA×0yxABy
26 25 24 22 nfif _xifA×0yxAByxAByA×0y
27 fveq2 x=yA×0x=A×0y
28 fveq2 x=yxABx=xABy
29 27 28 breq12d x=yA×0xxABxA×0yxABy
30 29 28 27 ifbieq12d x=yifA×0xxABxxABxA×0x=ifA×0yxAByxAByA×0y
31 21 26 30 cbvmpt xAifA×0xxABxxABxA×0x=yAifA×0yxAByxAByA×0y
32 15 19 20 2 31 mbfmax φxAifA×0xxABxxABxA×0xMblFn
33 12 32 eqeltrrd φxAif0BB0MblFn