@@ -68,6 +68,8 @@ Notation mu := (@lebesgue_measure R).
6868Local Open Scope ereal_scope.
6969Implicit Types (f : R -> R) (a : itv_bound R).
7070
71+ Import MeasurableR.
72+
7173Let FTC0 f a : mu.-integrable setT (EFin \o f) ->
7274 let F x := (\int[mu]_(t in [set` Interval a (BRight x)]) f t)%R in
7375 forall x, a < BRight x -> lebesgue_pt f x ->
@@ -328,6 +330,8 @@ End FTC.
328330#[deprecated(since="mathcomp-analysis 1.17.0", note="renamed to `integrable_locally_restrict`")]
329331Notation integrable_locally := integrable_locally_restrict (only parsing).
330332
333+ Import MeasurableR.
334+
331335Definition parameterized_integral {R : realType}
332336 (mu : {measure set (measurableTypeR R) -> \bar R})
333337 a x (f : R -> R) : R :=
@@ -524,6 +528,8 @@ rewrite mem_set ?mulr1 /=; first exact: subset_itv_oo_cc.
524528exact: cvg_patch.
525529Qed .
526530
531+ Import MeasurableR.
532+
527533Corollary continuous_FTC2 f F a b : (a < b)%R ->
528534 {within `[a, b], continuous f} ->
529535 derivable_oo_LRcontinuous F a b ->
@@ -772,6 +778,8 @@ Notation mu := lebesgue_measure.
772778Local Open Scope ereal_scope.
773779Implicit Types (F G f g : R -> R) (a b : R).
774780
781+ Import MeasurableR.
782+
775783Lemma integration_by_parts F G f g a b : (a < b)%R ->
776784 {within `[a, b], continuous f} ->
777785 derivable_oo_LRcontinuous F a b ->
@@ -824,6 +832,8 @@ Context {R : realType}.
824832Notation mu := lebesgue_measure.
825833Implicit Types (F G f g : R -> R) (a b : R).
826834
835+ Import MeasurableR.
836+
827837Lemma Rintegration_by_parts F G f g a b :
828838 (a < b)%R ->
829839 {within `[a, b], continuous f} ->
@@ -1030,6 +1040,8 @@ Context {R : realType}.
10301040Notation mu := lebesgue_measure.
10311041Implicit Types (F G f : R -> R) (a b : R).
10321042
1043+ Import MeasurableR.
1044+
10331045Lemma integration_by_substitution_decreasing F G a b : (a <= b)%R ->
10341046 {in `[a, b] &, {homo F : x y /~ (x < y)%R}} ->
10351047 {in `]a, b[, continuous F^`()} ->
@@ -1357,7 +1369,7 @@ transitivity (limn (fun n =>
13571369 rewrite -integral_bigsetU_EFin/=.
13581370 - by move=> k; apply: measurableD => //; exact: bigsetU_measurable.
13591371 - exact: iota_uniq.
1360- - exact: (@sub_trivIset _ _ _ [set: nat] ).
1372+ - exact: (@sub_trivIset _ _ _ setT ).
13611373 - apply/measurable_EFinP.
13621374 apply: (measurable_funS (measurable_itv `]a, (a + n.+1%:R)%R[)).
13631375 rewrite big_mkord -bigsetU_seqDU.
@@ -1776,11 +1788,12 @@ Qed.
17761788
17771789End integration_by_substitution.
17781790
1779-
17801791Section ge0_integration_by_substitution_shift.
17811792Context {R : realType}.
17821793Notation mu := (@lebesgue_measure R).
17831794
1795+ Import MeasurableR.
1796+
17841797Lemma ge0_integration_by_substitution_shift_itvy (f : R -> R) (r e : R) :
17851798 {within `[r + e, +oo[, continuous f} ->
17861799 {in `]r + e, +oo[, forall x : R, 0 <= f x} ->
@@ -1828,6 +1841,8 @@ Context {R : realType}.
18281841Let mu := (@lebesgue_measure R).
18291842Local Open Scope ereal_scope.
18301843
1844+ Import MeasurableR.
1845+
18311846Lemma integration_by_substitution_onem (G : R -> R) (r : R) :
18321847 (0 <= r <= 1)%R ->
18331848 {within `[0%R, r], continuous G} ->
@@ -1869,6 +1884,8 @@ Context {R : realType}.
18691884Let mu := @lebesgue_measure R.
18701885Local Open Scope ereal_scope.
18711886
1887+ Import MeasurableR.
1888+
18721889Lemma ge0_symfun_integralT (f : R -> R) : (forall x, 0 <= f x)%R ->
18731890 continuous f -> f =1 f \o -%R ->
18741891 \int[mu]_x (f x)%:E = 2%:E * \int[mu]_(x in [set x | (0 <= x)%R]) (f x)%:E.
@@ -1877,10 +1894,10 @@ move=> f0 cf evenf.
18771894have mf : measurable_fun [set: R] f by exact: continuous_measurable_fun.
18781895have mposnums : measurable [set x : R | 0 <= x]%R by rewrite -set_itvcy.
18791896rewrite -(setUv [set x : R | 0 <= x]%R) ge0_integral_setU//=.
1880- exact: measurableC.
1881- by apply/measurable_EFinP; rewrite setUv.
1882- by move=> x _; rewrite lee_fin.
1883- exact/disj_setPCl.
1897+ - exact: measurableC.
1898+ - by apply/measurable_EFinP; rewrite setUv.
1899+ - by move=> x _; rewrite lee_fin.
1900+ - exact/disj_setPCl.
18841901rewrite mule_natl mule2n; congr +%E.
18851902rewrite -set_itvcy// setCitvr.
18861903rewrite integral_itvbo_itvbc; first exact/measurable_EFinP/measurable_funTS.
0 commit comments