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

Theorem itgle 25002
Description: Monotonicity of an integral. (Contributed by Mario Carneiro, 11-Aug-2014.)
Hypotheses
Ref Expression
itgle.1 (𝜑 → (𝑥𝐴𝐵) ∈ 𝐿1)
itgle.2 (𝜑 → (𝑥𝐴𝐶) ∈ 𝐿1)
itgle.3 ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ)
itgle.4 ((𝜑𝑥𝐴) → 𝐶 ∈ ℝ)
itgle.5 ((𝜑𝑥𝐴) → 𝐵𝐶)
Assertion
Ref Expression
itgle (𝜑 → ∫𝐴𝐵 d𝑥 ≤ ∫𝐴𝐶 d𝑥)
Distinct variable groups:   𝑥,𝐴   𝜑,𝑥
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥)

Proof of Theorem itgle
StepHypRef Expression
1 itgle.1 . . . . 5 (𝜑 → (𝑥𝐴𝐵) ∈ 𝐿1)
2 itgle.3 . . . . . 6 ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ)
32iblrelem 24983 . . . . 5 (𝜑 → ((𝑥𝐴𝐵) ∈ 𝐿1 ↔ ((𝑥𝐴𝐵) ∈ MblFn ∧ (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0))) ∈ ℝ ∧ (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0))) ∈ ℝ)))
41, 3mpbid 231 . . . 4 (𝜑 → ((𝑥𝐴𝐵) ∈ MblFn ∧ (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0))) ∈ ℝ ∧ (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0))) ∈ ℝ))
54simp2d 1141 . . 3 (𝜑 → (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0))) ∈ ℝ)
6 itgle.2 . . . . 5 (𝜑 → (𝑥𝐴𝐶) ∈ 𝐿1)
7 itgle.4 . . . . . 6 ((𝜑𝑥𝐴) → 𝐶 ∈ ℝ)
87iblrelem 24983 . . . . 5 (𝜑 → ((𝑥𝐴𝐶) ∈ 𝐿1 ↔ ((𝑥𝐴𝐶) ∈ MblFn ∧ (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0))) ∈ ℝ ∧ (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0))) ∈ ℝ)))
96, 8mpbid 231 . . . 4 (𝜑 → ((𝑥𝐴𝐶) ∈ MblFn ∧ (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0))) ∈ ℝ ∧ (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0))) ∈ ℝ))
109simp3d 1142 . . 3 (𝜑 → (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0))) ∈ ℝ)
119simp2d 1141 . . 3 (𝜑 → (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0))) ∈ ℝ)
124simp3d 1142 . . 3 (𝜑 → (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0))) ∈ ℝ)
132ad2ant2r 743 . . . . . . . 8 (((𝜑𝑥 ∈ ℝ) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐵)) → 𝐵 ∈ ℝ)
1413rexrd 11053 . . . . . . 7 (((𝜑𝑥 ∈ ℝ) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐵)) → 𝐵 ∈ ℝ*)
15 simprr 769 . . . . . . 7 (((𝜑𝑥 ∈ ℝ) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐵)) → 0 ≤ 𝐵)
16 elxrge0 13217 . . . . . . 7 (𝐵 ∈ (0[,]+∞) ↔ (𝐵 ∈ ℝ* ∧ 0 ≤ 𝐵))
1714, 15, 16sylanbrc 582 . . . . . 6 (((𝜑𝑥 ∈ ℝ) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐵)) → 𝐵 ∈ (0[,]+∞))
18 0e0iccpnf 13219 . . . . . . 7 0 ∈ (0[,]+∞)
1918a1i 11 . . . . . 6 (((𝜑𝑥 ∈ ℝ) ∧ ¬ (𝑥𝐴 ∧ 0 ≤ 𝐵)) → 0 ∈ (0[,]+∞))
2017, 19ifclda 4497 . . . . 5 ((𝜑𝑥 ∈ ℝ) → if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0) ∈ (0[,]+∞))
2120fmpttd 7009 . . . 4 (𝜑 → (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0)):ℝ⟶(0[,]+∞))
227ad2ant2r 743 . . . . . . . 8 (((𝜑𝑥 ∈ ℝ) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)) → 𝐶 ∈ ℝ)
2322rexrd 11053 . . . . . . 7 (((𝜑𝑥 ∈ ℝ) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)) → 𝐶 ∈ ℝ*)
24 simprr 769 . . . . . . 7 (((𝜑𝑥 ∈ ℝ) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)) → 0 ≤ 𝐶)
25 elxrge0 13217 . . . . . . 7 (𝐶 ∈ (0[,]+∞) ↔ (𝐶 ∈ ℝ* ∧ 0 ≤ 𝐶))
2623, 24, 25sylanbrc 582 . . . . . 6 (((𝜑𝑥 ∈ ℝ) ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)) → 𝐶 ∈ (0[,]+∞))
2718a1i 11 . . . . . 6 (((𝜑𝑥 ∈ ℝ) ∧ ¬ (𝑥𝐴 ∧ 0 ≤ 𝐶)) → 0 ∈ (0[,]+∞))
2826, 27ifclda 4497 . . . . 5 ((𝜑𝑥 ∈ ℝ) → if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0) ∈ (0[,]+∞))
2928fmpttd 7009 . . . 4 (𝜑 → (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0)):ℝ⟶(0[,]+∞))
30 0re 11005 . . . . . . . . . . . 12 0 ∈ ℝ
31 max1 12947 . . . . . . . . . . . 12 ((0 ∈ ℝ ∧ 𝐶 ∈ ℝ) → 0 ≤ if(0 ≤ 𝐶, 𝐶, 0))
3230, 7, 31sylancr 586 . . . . . . . . . . 11 ((𝜑𝑥𝐴) → 0 ≤ if(0 ≤ 𝐶, 𝐶, 0))
33 ifcl 4507 . . . . . . . . . . . . 13 ((𝐶 ∈ ℝ ∧ 0 ∈ ℝ) → if(0 ≤ 𝐶, 𝐶, 0) ∈ ℝ)
347, 30, 33sylancl 585 . . . . . . . . . . . 12 ((𝜑𝑥𝐴) → if(0 ≤ 𝐶, 𝐶, 0) ∈ ℝ)
35 itgle.5 . . . . . . . . . . . 12 ((𝜑𝑥𝐴) → 𝐵𝐶)
36 max2 12949 . . . . . . . . . . . . 13 ((0 ∈ ℝ ∧ 𝐶 ∈ ℝ) → 𝐶 ≤ if(0 ≤ 𝐶, 𝐶, 0))
3730, 7, 36sylancr 586 . . . . . . . . . . . 12 ((𝜑𝑥𝐴) → 𝐶 ≤ if(0 ≤ 𝐶, 𝐶, 0))
382, 7, 34, 35, 37letrd 11160 . . . . . . . . . . 11 ((𝜑𝑥𝐴) → 𝐵 ≤ if(0 ≤ 𝐶, 𝐶, 0))
39 maxle 12953 . . . . . . . . . . . 12 ((0 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ if(0 ≤ 𝐶, 𝐶, 0) ∈ ℝ) → (if(0 ≤ 𝐵, 𝐵, 0) ≤ if(0 ≤ 𝐶, 𝐶, 0) ↔ (0 ≤ if(0 ≤ 𝐶, 𝐶, 0) ∧ 𝐵 ≤ if(0 ≤ 𝐶, 𝐶, 0))))
4030, 2, 34, 39mp3an2i 1464 . . . . . . . . . . 11 ((𝜑𝑥𝐴) → (if(0 ≤ 𝐵, 𝐵, 0) ≤ if(0 ≤ 𝐶, 𝐶, 0) ↔ (0 ≤ if(0 ≤ 𝐶, 𝐶, 0) ∧ 𝐵 ≤ if(0 ≤ 𝐶, 𝐶, 0))))
4132, 38, 40mpbir2and 709 . . . . . . . . . 10 ((𝜑𝑥𝐴) → if(0 ≤ 𝐵, 𝐵, 0) ≤ if(0 ≤ 𝐶, 𝐶, 0))
42 iftrue 4468 . . . . . . . . . . 11 (𝑥𝐴 → if(𝑥𝐴, if(0 ≤ 𝐵, 𝐵, 0), 0) = if(0 ≤ 𝐵, 𝐵, 0))
4342adantl 481 . . . . . . . . . 10 ((𝜑𝑥𝐴) → if(𝑥𝐴, if(0 ≤ 𝐵, 𝐵, 0), 0) = if(0 ≤ 𝐵, 𝐵, 0))
44 iftrue 4468 . . . . . . . . . . 11 (𝑥𝐴 → if(𝑥𝐴, if(0 ≤ 𝐶, 𝐶, 0), 0) = if(0 ≤ 𝐶, 𝐶, 0))
4544adantl 481 . . . . . . . . . 10 ((𝜑𝑥𝐴) → if(𝑥𝐴, if(0 ≤ 𝐶, 𝐶, 0), 0) = if(0 ≤ 𝐶, 𝐶, 0))
4641, 43, 453brtr4d 5109 . . . . . . . . 9 ((𝜑𝑥𝐴) → if(𝑥𝐴, if(0 ≤ 𝐵, 𝐵, 0), 0) ≤ if(𝑥𝐴, if(0 ≤ 𝐶, 𝐶, 0), 0))
4746ex 412 . . . . . . . 8 (𝜑 → (𝑥𝐴 → if(𝑥𝐴, if(0 ≤ 𝐵, 𝐵, 0), 0) ≤ if(𝑥𝐴, if(0 ≤ 𝐶, 𝐶, 0), 0)))
48 0le0 12102 . . . . . . . . . 10 0 ≤ 0
4948a1i 11 . . . . . . . . 9 𝑥𝐴 → 0 ≤ 0)
50 iffalse 4471 . . . . . . . . 9 𝑥𝐴 → if(𝑥𝐴, if(0 ≤ 𝐵, 𝐵, 0), 0) = 0)
51 iffalse 4471 . . . . . . . . 9 𝑥𝐴 → if(𝑥𝐴, if(0 ≤ 𝐶, 𝐶, 0), 0) = 0)
5249, 50, 513brtr4d 5109 . . . . . . . 8 𝑥𝐴 → if(𝑥𝐴, if(0 ≤ 𝐵, 𝐵, 0), 0) ≤ if(𝑥𝐴, if(0 ≤ 𝐶, 𝐶, 0), 0))
5347, 52pm2.61d1 180 . . . . . . 7 (𝜑 → if(𝑥𝐴, if(0 ≤ 𝐵, 𝐵, 0), 0) ≤ if(𝑥𝐴, if(0 ≤ 𝐶, 𝐶, 0), 0))
54 ifan 4515 . . . . . . 7 if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0) = if(𝑥𝐴, if(0 ≤ 𝐵, 𝐵, 0), 0)
55 ifan 4515 . . . . . . 7 if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0) = if(𝑥𝐴, if(0 ≤ 𝐶, 𝐶, 0), 0)
5653, 54, 553brtr4g 5111 . . . . . 6 (𝜑 → if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0) ≤ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0))
5756ralrimivw 3141 . . . . 5 (𝜑 → ∀𝑥 ∈ ℝ if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0) ≤ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0))
58 reex 10990 . . . . . . 7 ℝ ∈ V
5958a1i 11 . . . . . 6 (𝜑 → ℝ ∈ V)
60 eqidd 2734 . . . . . 6 (𝜑 → (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0)) = (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0)))
61 eqidd 2734 . . . . . 6 (𝜑 → (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0)) = (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0)))
6259, 20, 28, 60, 61ofrfval2 7574 . . . . 5 (𝜑 → ((𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0)) ∘r ≤ (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0)) ↔ ∀𝑥 ∈ ℝ if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0) ≤ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0)))
6357, 62mpbird 256 . . . 4 (𝜑 → (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0)) ∘r ≤ (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0)))
64 itg2le 24932 . . . 4 (((𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0)):ℝ⟶(0[,]+∞) ∧ (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0)):ℝ⟶(0[,]+∞) ∧ (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0)) ∘r ≤ (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0))) → (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0))) ≤ (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0))))
6521, 29, 63, 64syl3anc 1369 . . 3 (𝜑 → (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0))) ≤ (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0))))
667renegcld 11430 . . . . . . . . 9 ((𝜑𝑥𝐴) → -𝐶 ∈ ℝ)
6766ad2ant2r 743 . . . . . . . 8 (((𝜑𝑥 ∈ ℝ) ∧ (𝑥𝐴 ∧ 0 ≤ -𝐶)) → -𝐶 ∈ ℝ)
6867rexrd 11053 . . . . . . 7 (((𝜑𝑥 ∈ ℝ) ∧ (𝑥𝐴 ∧ 0 ≤ -𝐶)) → -𝐶 ∈ ℝ*)
69 simprr 769 . . . . . . 7 (((𝜑𝑥 ∈ ℝ) ∧ (𝑥𝐴 ∧ 0 ≤ -𝐶)) → 0 ≤ -𝐶)
70 elxrge0 13217 . . . . . . 7 (-𝐶 ∈ (0[,]+∞) ↔ (-𝐶 ∈ ℝ* ∧ 0 ≤ -𝐶))
7168, 69, 70sylanbrc 582 . . . . . 6 (((𝜑𝑥 ∈ ℝ) ∧ (𝑥𝐴 ∧ 0 ≤ -𝐶)) → -𝐶 ∈ (0[,]+∞))
7218a1i 11 . . . . . 6 (((𝜑𝑥 ∈ ℝ) ∧ ¬ (𝑥𝐴 ∧ 0 ≤ -𝐶)) → 0 ∈ (0[,]+∞))
7371, 72ifclda 4497 . . . . 5 ((𝜑𝑥 ∈ ℝ) → if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0) ∈ (0[,]+∞))
7473fmpttd 7009 . . . 4 (𝜑 → (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0)):ℝ⟶(0[,]+∞))
752renegcld 11430 . . . . . . . . 9 ((𝜑𝑥𝐴) → -𝐵 ∈ ℝ)
7675ad2ant2r 743 . . . . . . . 8 (((𝜑𝑥 ∈ ℝ) ∧ (𝑥𝐴 ∧ 0 ≤ -𝐵)) → -𝐵 ∈ ℝ)
7776rexrd 11053 . . . . . . 7 (((𝜑𝑥 ∈ ℝ) ∧ (𝑥𝐴 ∧ 0 ≤ -𝐵)) → -𝐵 ∈ ℝ*)
78 simprr 769 . . . . . . 7 (((𝜑𝑥 ∈ ℝ) ∧ (𝑥𝐴 ∧ 0 ≤ -𝐵)) → 0 ≤ -𝐵)
79 elxrge0 13217 . . . . . . 7 (-𝐵 ∈ (0[,]+∞) ↔ (-𝐵 ∈ ℝ* ∧ 0 ≤ -𝐵))
8077, 78, 79sylanbrc 582 . . . . . 6 (((𝜑𝑥 ∈ ℝ) ∧ (𝑥𝐴 ∧ 0 ≤ -𝐵)) → -𝐵 ∈ (0[,]+∞))
8118a1i 11 . . . . . 6 (((𝜑𝑥 ∈ ℝ) ∧ ¬ (𝑥𝐴 ∧ 0 ≤ -𝐵)) → 0 ∈ (0[,]+∞))
8280, 81ifclda 4497 . . . . 5 ((𝜑𝑥 ∈ ℝ) → if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0) ∈ (0[,]+∞))
8382fmpttd 7009 . . . 4 (𝜑 → (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0)):ℝ⟶(0[,]+∞))
84 max1 12947 . . . . . . . . . . . 12 ((0 ∈ ℝ ∧ -𝐵 ∈ ℝ) → 0 ≤ if(0 ≤ -𝐵, -𝐵, 0))
8530, 75, 84sylancr 586 . . . . . . . . . . 11 ((𝜑𝑥𝐴) → 0 ≤ if(0 ≤ -𝐵, -𝐵, 0))
86 ifcl 4507 . . . . . . . . . . . . 13 ((-𝐵 ∈ ℝ ∧ 0 ∈ ℝ) → if(0 ≤ -𝐵, -𝐵, 0) ∈ ℝ)
8775, 30, 86sylancl 585 . . . . . . . . . . . 12 ((𝜑𝑥𝐴) → if(0 ≤ -𝐵, -𝐵, 0) ∈ ℝ)
882, 7lenegd 11582 . . . . . . . . . . . . 13 ((𝜑𝑥𝐴) → (𝐵𝐶 ↔ -𝐶 ≤ -𝐵))
8935, 88mpbid 231 . . . . . . . . . . . 12 ((𝜑𝑥𝐴) → -𝐶 ≤ -𝐵)
90 max2 12949 . . . . . . . . . . . . 13 ((0 ∈ ℝ ∧ -𝐵 ∈ ℝ) → -𝐵 ≤ if(0 ≤ -𝐵, -𝐵, 0))
9130, 75, 90sylancr 586 . . . . . . . . . . . 12 ((𝜑𝑥𝐴) → -𝐵 ≤ if(0 ≤ -𝐵, -𝐵, 0))
9266, 75, 87, 89, 91letrd 11160 . . . . . . . . . . 11 ((𝜑𝑥𝐴) → -𝐶 ≤ if(0 ≤ -𝐵, -𝐵, 0))
93 maxle 12953 . . . . . . . . . . . 12 ((0 ∈ ℝ ∧ -𝐶 ∈ ℝ ∧ if(0 ≤ -𝐵, -𝐵, 0) ∈ ℝ) → (if(0 ≤ -𝐶, -𝐶, 0) ≤ if(0 ≤ -𝐵, -𝐵, 0) ↔ (0 ≤ if(0 ≤ -𝐵, -𝐵, 0) ∧ -𝐶 ≤ if(0 ≤ -𝐵, -𝐵, 0))))
9430, 66, 87, 93mp3an2i 1464 . . . . . . . . . . 11 ((𝜑𝑥𝐴) → (if(0 ≤ -𝐶, -𝐶, 0) ≤ if(0 ≤ -𝐵, -𝐵, 0) ↔ (0 ≤ if(0 ≤ -𝐵, -𝐵, 0) ∧ -𝐶 ≤ if(0 ≤ -𝐵, -𝐵, 0))))
9585, 92, 94mpbir2and 709 . . . . . . . . . 10 ((𝜑𝑥𝐴) → if(0 ≤ -𝐶, -𝐶, 0) ≤ if(0 ≤ -𝐵, -𝐵, 0))
96 iftrue 4468 . . . . . . . . . . 11 (𝑥𝐴 → if(𝑥𝐴, if(0 ≤ -𝐶, -𝐶, 0), 0) = if(0 ≤ -𝐶, -𝐶, 0))
9796adantl 481 . . . . . . . . . 10 ((𝜑𝑥𝐴) → if(𝑥𝐴, if(0 ≤ -𝐶, -𝐶, 0), 0) = if(0 ≤ -𝐶, -𝐶, 0))
98 iftrue 4468 . . . . . . . . . . 11 (𝑥𝐴 → if(𝑥𝐴, if(0 ≤ -𝐵, -𝐵, 0), 0) = if(0 ≤ -𝐵, -𝐵, 0))
9998adantl 481 . . . . . . . . . 10 ((𝜑𝑥𝐴) → if(𝑥𝐴, if(0 ≤ -𝐵, -𝐵, 0), 0) = if(0 ≤ -𝐵, -𝐵, 0))
10095, 97, 993brtr4d 5109 . . . . . . . . 9 ((𝜑𝑥𝐴) → if(𝑥𝐴, if(0 ≤ -𝐶, -𝐶, 0), 0) ≤ if(𝑥𝐴, if(0 ≤ -𝐵, -𝐵, 0), 0))
101100ex 412 . . . . . . . 8 (𝜑 → (𝑥𝐴 → if(𝑥𝐴, if(0 ≤ -𝐶, -𝐶, 0), 0) ≤ if(𝑥𝐴, if(0 ≤ -𝐵, -𝐵, 0), 0)))
102 iffalse 4471 . . . . . . . . 9 𝑥𝐴 → if(𝑥𝐴, if(0 ≤ -𝐶, -𝐶, 0), 0) = 0)
103 iffalse 4471 . . . . . . . . 9 𝑥𝐴 → if(𝑥𝐴, if(0 ≤ -𝐵, -𝐵, 0), 0) = 0)
10449, 102, 1033brtr4d 5109 . . . . . . . 8 𝑥𝐴 → if(𝑥𝐴, if(0 ≤ -𝐶, -𝐶, 0), 0) ≤ if(𝑥𝐴, if(0 ≤ -𝐵, -𝐵, 0), 0))
105101, 104pm2.61d1 180 . . . . . . 7 (𝜑 → if(𝑥𝐴, if(0 ≤ -𝐶, -𝐶, 0), 0) ≤ if(𝑥𝐴, if(0 ≤ -𝐵, -𝐵, 0), 0))
106 ifan 4515 . . . . . . 7 if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0) = if(𝑥𝐴, if(0 ≤ -𝐶, -𝐶, 0), 0)
107 ifan 4515 . . . . . . 7 if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0) = if(𝑥𝐴, if(0 ≤ -𝐵, -𝐵, 0), 0)
108105, 106, 1073brtr4g 5111 . . . . . 6 (𝜑 → if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0) ≤ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0))
109108ralrimivw 3141 . . . . 5 (𝜑 → ∀𝑥 ∈ ℝ if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0) ≤ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0))
110 eqidd 2734 . . . . . 6 (𝜑 → (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0)) = (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0)))
111 eqidd 2734 . . . . . 6 (𝜑 → (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0)) = (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0)))
11259, 73, 82, 110, 111ofrfval2 7574 . . . . 5 (𝜑 → ((𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0)) ∘r ≤ (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0)) ↔ ∀𝑥 ∈ ℝ if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0) ≤ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0)))
113109, 112mpbird 256 . . . 4 (𝜑 → (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0)) ∘r ≤ (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0)))
114 itg2le 24932 . . . 4 (((𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0)):ℝ⟶(0[,]+∞) ∧ (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0)):ℝ⟶(0[,]+∞) ∧ (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0)) ∘r ≤ (𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0))) → (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0))) ≤ (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0))))
11574, 83, 113, 114syl3anc 1369 . . 3 (𝜑 → (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0))) ≤ (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0))))
1165, 10, 11, 12, 65, 115le2subd 11623 . 2 (𝜑 → ((∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0))) − (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0)))) ≤ ((∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0))) − (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0)))))
1172, 1itgrevallem1 24987 . 2 (𝜑 → ∫𝐴𝐵 d𝑥 = ((∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0))) − (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐵), -𝐵, 0)))))
1187, 6itgrevallem1 24987 . 2 (𝜑 → ∫𝐴𝐶 d𝑥 = ((∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0))) − (∫2‘(𝑥 ∈ ℝ ↦ if((𝑥𝐴 ∧ 0 ≤ -𝐶), -𝐶, 0)))))
119116, 117, 1183brtr4d 5109 1 (𝜑 → ∫𝐴𝐵 d𝑥 ≤ ∫𝐴𝐶 d𝑥)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  w3a 1085   = wceq 1537  wcel 2101  wral 3059  Vcvv 3434  ifcif 4462   class class class wbr 5077  cmpt 5160  wf 6443  cfv 6447  (class class class)co 7295  r cofr 7552  cr 10898  0cc0 10899  +∞cpnf 11034  *cxr 11036  cle 11038  cmin 11233  -cneg 11234  [,]cicc 13110  MblFncmbf 24806  2citg2 24808  𝐿1cibl 24809  citg 24810
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2103  ax-9 2111  ax-10 2132  ax-11 2149  ax-12 2166  ax-ext 2704  ax-rep 5212  ax-sep 5226  ax-nul 5233  ax-pow 5291  ax-pr 5355  ax-un 7608  ax-inf2 9427  ax-cnex 10955  ax-resscn 10956  ax-1cn 10957  ax-icn 10958  ax-addcl 10959  ax-addrcl 10960  ax-mulcl 10961  ax-mulrcl 10962  ax-mulcom 10963  ax-addass 10964  ax-mulass 10965  ax-distr 10966  ax-i2m1 10967  ax-1ne0 10968  ax-1rid 10969  ax-rnegex 10970  ax-rrecex 10971  ax-cnre 10972  ax-pre-lttri 10973  ax-pre-lttrn 10974  ax-pre-ltadd 10975  ax-pre-mulgt0 10976  ax-pre-sup 10977  ax-addf 10978
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2063  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2884  df-ne 2939  df-nel 3045  df-ral 3060  df-rex 3069  df-rmo 3222  df-reu 3223  df-rab 3224  df-v 3436  df-sbc 3719  df-csb 3835  df-dif 3892  df-un 3894  df-in 3896  df-ss 3906  df-pss 3908  df-nul 4260  df-if 4463  df-pw 4538  df-sn 4565  df-pr 4567  df-op 4571  df-uni 4842  df-int 4883  df-iun 4929  df-disj 5043  df-br 5078  df-opab 5140  df-mpt 5161  df-tr 5195  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 6206  df-ord 6273  df-on 6274  df-lim 6275  df-suc 6276  df-iota 6399  df-fun 6449  df-fn 6450  df-f 6451  df-f1 6452  df-fo 6453  df-f1o 6454  df-fv 6455  df-isom 6456  df-riota 7252  df-ov 7298  df-oprab 7299  df-mpo 7300  df-of 7553  df-ofr 7554  df-om 7733  df-1st 7851  df-2nd 7852  df-frecs 8117  df-wrecs 8148  df-recs 8222  df-rdg 8261  df-1o 8317  df-2o 8318  df-er 8518  df-map 8637  df-pm 8638  df-en 8754  df-dom 8755  df-sdom 8756  df-fin 8757  df-sup 9229  df-inf 9230  df-oi 9297  df-dju 9687  df-card 9725  df-pnf 11039  df-mnf 11040  df-xr 11041  df-ltxr 11042  df-le 11043  df-sub 11235  df-neg 11236  df-div 11661  df-nn 12002  df-2 12064  df-3 12065  df-4 12066  df-n0 12262  df-z 12348  df-uz 12611  df-q 12717  df-rp 12759  df-xadd 12877  df-ioo 13111  df-ico 13113  df-icc 13114  df-fz 13268  df-fzo 13411  df-fl 13540  df-mod 13618  df-seq 13750  df-exp 13811  df-hash 14073  df-cj 14838  df-re 14839  df-im 14840  df-sqrt 14974  df-abs 14975  df-clim 15225  df-sum 15426  df-xmet 20618  df-met 20619  df-ovol 24656  df-vol 24657  df-mbf 24811  df-itg1 24812  df-itg2 24813  df-ibl 24814  df-itg 24815  df-0p 24862
This theorem is referenced by:  itgge0  25003  itgless  25009  itgabs  25027  itgulm  25595  itgabsnc  35874  intlewftc  40095  wallispilem1  43641  fourierdlem47  43729  fourierdlem87  43769  etransclem23  43833
  Copyright terms: Public domain W3C validator