@@ -11,6 +11,7 @@ public import Mathlib.MeasureTheory.Function.JacobianOneDim
1111public import Mathlib.MeasureTheory.Integral.IntervalIntegral.IntegrationByParts
1212public import Mathlib.MeasureTheory.Measure.Haar.NormedSpace
1313public import Mathlib.MeasureTheory.Measure.Haar.Unique
14+ public import Mathlib.MeasureTheory.Integral.DominatedConvergence
1415
1516/-!
1617# Links between an integral and its "improper" version
@@ -626,28 +627,8 @@ end IntegralOfIntervalIntegral
626627theorem IntegrableOn.tendsto_integral_Ioi {ι E : Type *} [NormedAddCommGroup E] [NormedSpace ℝ E]
627628 {a : ℝ} {f : ℝ → E} (hf : IntegrableOn f (Ioi a)) {b : ι → ℝ} {l : Filter ι}
628629 (hb : Tendsto b l (𝓝[≥] a)) :
629- Tendsto (fun i ↦ ∫ x in Ioi (b i), f x) l (𝓝 (∫ x in Ioi a, f x)) := by
630- have hf' : IntervalIntegrable f volume a (a + 1 ) := by
631- rw [intervalIntegrable_iff_integrableOn_Ioc_of_le (by linarith)]
632- exact hf.mono_set Ioc_subset_Ioi_self
633- have h_lim_zero : Tendsto (fun ε ↦ ∫ x in a..ε, f x) (𝓝[≥] a) (𝓝 0 ) := by
634- have hcont : ContinuousWithinAt (fun ε ↦ ∫ x in a..ε, f x) (Icc a (a + 1 )) a :=
635- intervalIntegral.continuousWithinAt_primitive (by simp) (by simpa using hf')
636- simpa [ContinuousWithinAt] using hcont
637- have hε_split (ε : ℝ) (hε : a ≤ ε) :
638- ∫ x in Ioi ε, f x = (∫ x in Ioi a, f x) - ∫ x in a..ε, f x := by
639- calc
640- _ = ∫ x in Ioi a \ Ioc a ε, f x := by simp [hε]
641- _ = (∫ x in Ioi a, f x) - ∫ x in Ioc a ε, f x :=
642- integral_diff measurableSet_Ioc hf Ioc_subset_Ioi_self
643- _ = _ := by rw [intervalIntegral.integral_of_le hε]
644- have hev_eq : (fun i ↦ ∫ x in Ioi (b i), f x) =ᶠ[l]
645- (fun i ↦ (∫ x in Ioi a, f x) - ∫ x in a..b i, f x) := by
646- apply (hb.eventually self_mem_nhdsWithin).mono
647- intro i hi
648- exact hε_split (b i) hi
649- rw [tendsto_congr' hev_eq]
650- simpa using tendsto_const_nhds.sub (h_lim_zero.comp hb)
630+ Tendsto (fun i ↦ ∫ x in Ioi (b i), f x) l (𝓝 (∫ x in Ioi a, f x)) :=
631+ (hf.tendsto_primitive_Ioi le_rfl).comp hb
651632
652633open Real
653634
0 commit comments