@@ -679,6 +679,39 @@ theorem IntegrableOn.continuousWithinAt_primitive_Ioi {a b₀ : ℝ} (hf : Integ
679679 ContinuousWithinAt (fun b ↦ ∫ x in Ioi b, f x ∂μ) (Ici b₀) b₀ :=
680680 hf.tendsto_primitive_Ioi hb₀
681681
682+ theorem IntegrableOn.continuousOn_primitive_Ioi [NoAtoms μ] {a : ℝ}
683+ (hf : IntegrableOn f (Ioi a) μ) :
684+ ContinuousOn (fun b ↦ ∫ x in Ioi b, f x ∂μ) (Ici a) := by
685+ intro b₀ hb₀
686+ rw [mem_Ici] at hb₀
687+ simp_rw [← integral_indicator measurableSet_Ioi]
688+ apply tendsto_integral_filter_of_dominated_convergence
689+ · filter_upwards [self_mem_nhdsWithin] with b hb
690+ rw [aestronglyMeasurable_indicator_iff measurableSet_Ioi]
691+ apply Integrable.aestronglyMeasurable
692+ exact hf.mono_set (Ioi_subset_Ioi hb)
693+ · filter_upwards [self_mem_nhdsWithin] with b hb
694+ apply ae_of_all
695+ intro x
696+ rw [norm_indicator_eq_indicator_norm]
697+ apply indicator_le_indicator_of_subset (Ioi_subset_Ioi hb)
698+ intro _
699+ exact norm_nonneg _
700+ · simpa [integrable_indicator_iff measurableSet_Ioi] using hf.norm
701+ · have hne : ∀ᵐ x ∂μ, x ≠ b₀ := by simp [ae_iff]
702+ filter_upwards [hne] with x hx
703+ rw [indicator_apply]
704+ by_cases hxb : b₀ < x
705+ · simp only [mem_Ioi, hxb, if_true]
706+ apply tendsto_const_nhds.congr'
707+ filter_upwards [mem_nhdsWithin_of_mem_nhds (Iio_mem_nhds hxb)] with b (hb : b < x)
708+ simp [hb]
709+ · simp only [mem_Ioi, hxb, if_false]
710+ have hxb' : x < b₀ := lt_of_le_of_ne (not_lt.mp hxb) hx
711+ apply tendsto_const_nhds.congr'
712+ filter_upwards [mem_nhdsWithin_of_mem_nhds (Ioi_mem_nhds hxb')] with b (hb : x < b)
713+ simp [hb.le]
714+
682715end PrimitiveIoi
683716
684717end MeasureTheory
0 commit comments