Description: Decompose the integral of a real function into positive and negative parts. (Contributed by Mario Carneiro, 31-Jul-2014)
Ref | Expression | ||
---|---|---|---|
Hypotheses | iblrelem.1 | |
|
itgreval.2 | |
||
Assertion | itgreval | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | iblrelem.1 | |
|
2 | itgreval.2 | |
|
3 | 1 2 | itgrevallem1 | |
4 | 0re | |
|
5 | ifcl | |
|
6 | 1 4 5 | sylancl | |
7 | 1 | iblrelem | |
8 | 2 7 | mpbid | |
9 | 8 | simp1d | |
10 | 1 9 | mbfpos | |
11 | ifan | |
|
12 | 11 | mpteq2i | |
13 | 12 | fveq2i | |
14 | 8 | simp2d | |
15 | 13 14 | eqeltrrid | |
16 | max1 | |
|
17 | 4 1 16 | sylancr | |
18 | 6 17 | iblpos | |
19 | 10 15 18 | mpbir2and | |
20 | 6 19 17 | itgposval | |
21 | 20 13 | eqtr4di | |
22 | 1 | renegcld | |
23 | ifcl | |
|
24 | 22 4 23 | sylancl | |
25 | 1 9 | mbfneg | |
26 | 22 25 | mbfpos | |
27 | ifan | |
|
28 | 27 | mpteq2i | |
29 | 28 | fveq2i | |
30 | 8 | simp3d | |
31 | 29 30 | eqeltrrid | |
32 | max1 | |
|
33 | 4 22 32 | sylancr | |
34 | 24 33 | iblpos | |
35 | 26 31 34 | mpbir2and | |
36 | 24 35 33 | itgposval | |
37 | 36 29 | eqtr4di | |
38 | 21 37 | oveq12d | |
39 | 3 38 | eqtr4d | |