@@ -624,6 +624,32 @@ theorem intervalIntegral_tendsto_integral_Ioi (a : ℝ) (hfi : IntegrableOn f (I
624624
625625end IntegralOfIntervalIntegral
626626
627+ theorem IntegrableOn.tendsto_integral_Ioi {E : Type *} [NormedAddCommGroup E] [NormedSpace ℝ E]
628+ {a : ℝ} {g : ℝ → E} (hg : IntegrableOn g (Ioi a)) :
629+ Tendsto (fun ε : ℝ ↦ ∫ x in Ioi ε, g x) (𝓝[>] a) (𝓝 (∫ x in Ioi a, g x)) := by
630+ have hg' : IntervalIntegrable g volume a (a + 1 ) := by
631+ rw [intervalIntegrable_iff_integrableOn_Ioc_of_le (by linarith)]
632+ exact hg.mono_set Ioc_subset_Ioi_self
633+ have h_lim_zero : Tendsto (fun ε ↦ ∫ x in a..ε, g x) (𝓝[>] a) (𝓝 0 ) := by
634+ have hcont : ContinuousWithinAt (fun ε ↦ ∫ x in a..ε, g x) (Icc a (a + 1 )) a :=
635+ intervalIntegral.continuousWithinAt_primitive (by simp) (by simpa using hg')
636+ have hge : Tendsto (fun ε ↦ ∫ x in a..ε, g x) (𝓝[≥] a) (𝓝 0 ) := by
637+ simpa [ContinuousWithinAt] using hcont
638+ exact hge.mono_left (nhdsWithin_mono a Ioi_subset_Ici_self)
639+ have hε_split (ε : ℝ) (hε : a < ε) :
640+ ∫ x in Ioi ε, g x = (∫ x in Ioi a, g x) - ∫ x in a..ε, g x := by
641+ have hdiff : Ioi a \ Ioc a ε = Ioi ε := by simp [hε, max_eq_right_of_lt]
642+ calc
643+ _ = ∫ x in Ioi a \ Ioc a ε, g x := by rw [hdiff]
644+ _ = (∫ x in Ioi a, g x) - ∫ x in Ioc a ε, g x :=
645+ integral_diff measurableSet_Ioc hg Ioc_subset_Ioi_self
646+ _ = (∫ x in Ioi a, g x) - ∫ x in a..ε, g x := by rw [intervalIntegral.integral_of_le hε.le]
647+ have hev_eq : (fun ε ↦ ∫ x in Ioi ε, g x) =ᶠ[𝓝[>] a]
648+ (fun ε ↦ (∫ x in Ioi a, g x) - ∫ x in a..ε, g x) :=
649+ eventually_of_mem (self_mem_nhdsWithin : Ioi a ∈ 𝓝[>] a) hε_split
650+ rw [tendsto_congr' hev_eq]
651+ simpa using tendsto_const_nhds.sub h_lim_zero
652+
627653open Real
628654
629655open scoped Interval
0 commit comments