@@ -637,4 +637,50 @@ end ContinuousPrimitive
637637
638638end intervalIntegral
639639
640+ namespace MeasureTheory
641+
642+ variable {E : Type *} [NormedAddCommGroup E] [NormedSpace ℝ E] {μ : Measure ℝ} {f : ℝ → E}
643+
644+ section PrimitiveIoi
645+
646+ theorem IntegrableOn.tendsto_primitive_Ioi {a b₀ : ℝ} (hf : IntegrableOn f (Ioi a) μ)
647+ (hb₀ : a ≤ b₀) :
648+ Tendsto (fun b ↦ ∫ x in Ioi b, f x ∂μ) (𝓝[≥] b₀) (𝓝 (∫ x in Ioi b₀, f x ∂μ)) := by
649+ simp_rw [← integral_indicator measurableSet_Ioi]
650+ apply tendsto_integral_filter_of_dominated_convergence
651+ · filter_upwards [self_mem_nhdsWithin] with b hb
652+ rw [aestronglyMeasurable_indicator_iff measurableSet_Ioi]
653+ apply Integrable.aestronglyMeasurable
654+ exact hf.mono_set (Ioi_subset_Ioi (hb₀.trans hb))
655+ · filter_upwards [self_mem_nhdsWithin] with b hb
656+ apply ae_of_all
657+ intro x
658+ rw [norm_indicator_eq_indicator_norm]
659+ apply indicator_le_indicator_of_subset (Ioi_subset_Ioi (hb₀.trans hb))
660+ intro _
661+ exact norm_nonneg _
662+ · simpa [integrable_indicator_iff measurableSet_Ioi] using hf.norm
663+ · apply ae_of_all
664+ intro x
665+ rw [indicator_apply]
666+ by_cases hx : b₀ < x
667+ · simp only [mem_Ioi, hx, if_true]
668+ apply tendsto_const_nhds.congr'
669+ filter_upwards [mem_nhdsWithin_of_mem_nhds (Iio_mem_nhds hx)] with b (hb : b < x)
670+ simp [hb]
671+ · simp only [mem_Ioi, hx, if_false]
672+ simp at hx
673+ apply tendsto_const_nhds.congr'
674+ filter_upwards [self_mem_nhdsWithin] with b hb
675+ simp [hx.trans hb]
676+
677+ theorem IntegrableOn.continuousWithinAt_primitive_Ioi {a b₀ : ℝ} (hf : IntegrableOn f (Ioi a) μ)
678+ (hb₀ : a ≤ b₀) :
679+ ContinuousWithinAt (fun b ↦ ∫ x in Ioi b, f x ∂μ) (Ici b₀) b₀ :=
680+ hf.tendsto_primitive_Ioi hb₀
681+
682+ end PrimitiveIoi
683+
684+ end MeasureTheory
685+
640686end DominatedConvergenceTheorem
0 commit comments