Skip to content

Commit c616426

Browse files
committed
refactor(MeasureTheory/Integral/DominatedConvergence): rename theorems for consistency
1 parent 2e28db1 commit c616426

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

Mathlib/MeasureTheory/Integral/DominatedConvergence.lean

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -645,8 +645,8 @@ open intervalIntegral
645645

646646
variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] {μ : Measure ℝ} {f : ℝ → E}
647647

648-
theorem continuousWithinAt_primitive_Ioi {a b₀ : ℝ} (hf : IntegrableOn f (Ioi a) μ) (hb₀ : a ≤ b₀) :
649-
ContinuousWithinAt (fun b ↦ ∫ x in Ioi b, f x ∂μ) (Ici b₀) b₀ := by
648+
theorem continuousWithinAt_Ici_primitive_Ioi {a b₀ : ℝ} (hf : IntegrableOn f (Ioi a) μ)
649+
(hb₀ : a ≤ b₀) : ContinuousWithinAt (fun b ↦ ∫ x in Ioi b, f x ∂μ) (Ici b₀) b₀ := by
650650
simp_rw [← integral_indicator measurableSet_Ioi]
651651
refine tendsto_integral_filter_of_dominated_convergence ((Ioi a).indicator (norm ∘ f)) ?_ ?_ ?_ ?_
652652
· filter_upwards [self_mem_nhdsWithin] with b hb
@@ -663,7 +663,7 @@ theorem continuousWithinAt_primitive_Ioi {a b₀ : ℝ} (hf : IntegrableOn f (Io
663663
· filter_upwards [mem_nhdsWithin_of_mem_nhds (Iio_mem_nhds hx)] with b hb using by grind
664664
· filter_upwards [self_mem_nhdsWithin] with b hb using by grind
665665

666-
theorem continuousOn_primitive_Ioi [NoAtoms μ] {a : ℝ} (hf : IntegrableOn f (Ioi a) μ) :
666+
theorem continuousOn_Ici_primitive_Ioi [NoAtoms μ] {a : ℝ} (hf : IntegrableOn f (Ioi a) μ) :
667667
ContinuousOn (fun b ↦ ∫ x in Ioi b, f x ∂μ) (Ici a) := by
668668
intro b₀ hb₀
669669
rw [mem_Ici] at hb₀
@@ -680,10 +680,10 @@ theorem continuousOn_primitive_Ioi [NoAtoms μ] {a : ℝ} (hf : IntegrableOn f (
680680
have h_cwa : ContinuousWithinAt (fun b ↦ ∫ x in a..b, f x ∂μ) (Icc a b₀) b₀ :=
681681
continuousWithinAt_primitive (measure_singleton b₀) (by simpa [hb₀])
682682
exact (continuousWithinAt_const.sub h_cwa).congr h_split (h_split b₀ (right_mem_Icc.2 hb₀))
683-
· simpa [hb₀] using hf.continuousWithinAt_primitive_Ioi hb₀
683+
· simpa [hb₀] using hf.continuousWithinAt_Ici_primitive_Ioi hb₀
684684

685-
theorem continuousWithinAt_primitive_Iio {a b₀ : ℝ} (hf : IntegrableOn f (Iio a) μ) (hb₀ : b₀ ≤ a) :
686-
ContinuousWithinAt (fun b ↦ ∫ x in Iio b, f x ∂μ) (Iic b₀) b₀ := by
685+
theorem continuousWithinAt_Iic_primitive_Iio {a b₀ : ℝ} (hf : IntegrableOn f (Iio a) μ)
686+
(hb₀ : b₀ ≤ a) : ContinuousWithinAt (fun b ↦ ∫ x in Iio b, f x ∂μ) (Iic b₀) b₀ := by
687687
simp_rw [← integral_indicator measurableSet_Iio]
688688
refine tendsto_integral_filter_of_dominated_convergence ((Iio a).indicator (norm ∘ f)) ?_ ?_ ?_ ?_
689689
· filter_upwards [self_mem_nhdsWithin] with b hb
@@ -700,13 +700,13 @@ theorem continuousWithinAt_primitive_Iio {a b₀ : ℝ} (hf : IntegrableOn f (Ii
700700
· filter_upwards [mem_nhdsWithin_of_mem_nhds (Ioi_mem_nhds hx)] with b hb using by grind
701701
· filter_upwards [self_mem_nhdsWithin] with b hb using by grind
702702

703-
theorem continuousOn_primitive_Iio [NoAtoms μ] {a : ℝ} (hf : IntegrableOn f (Iio a) μ) :
703+
theorem continuousOn_Iic_primitive_Iio [NoAtoms μ] {a : ℝ} (hf : IntegrableOn f (Iio a) μ) :
704704
ContinuousOn (fun b ↦ ∫ x in Iio b, f x ∂μ) (Iic a) := by
705705
intro b₀ hb₀
706706
rw [mem_Iic] at hb₀
707707
rw [continuousWithinAt_iff_continuous_left_right]
708708
constructor
709-
· simpa [hb₀] using hf.continuousWithinAt_primitive_Iio hb₀
709+
· simpa [hb₀] using hf.continuousWithinAt_Iic_primitive_Iio hb₀
710710
· rw [Iic_inter_Ici]
711711
have h_int : IntervalIntegrable f μ b₀ a := by
712712
rw [intervalIntegrable_iff_integrableOn_Ico_of_le hb₀]
@@ -719,15 +719,15 @@ theorem continuousOn_primitive_Iio [NoAtoms μ] {a : ℝ} (hf : IntegrableOn f (
719719
exact continuousWithinAt_primitive (measure_singleton b₀) (by simpa [hb₀])
720720
apply (continuousWithinAt_const.add h_cwa).congr h_split (h_split b₀ (left_mem_Icc.2 hb₀))
721721

722-
theorem continuousOn_primitive_Ici [NoAtoms μ] {a : ℝ} (hf : IntegrableOn f (Ici a) μ) :
722+
theorem continuousOn_Ici_primitive_Ici [NoAtoms μ] {a : ℝ} (hf : IntegrableOn f (Ici a) μ) :
723723
ContinuousOn (fun b ↦ ∫ x in Ici b, f x ∂μ) (Ici a) := by
724724
simp_rw [integral_Ici_eq_integral_Ioi]
725-
exact (hf.mono_set Ioi_subset_Ici_self).continuousOn_primitive_Ioi
725+
exact (hf.mono_set Ioi_subset_Ici_self).continuousOn_Ici_primitive_Ioi
726726

727-
theorem continuousOn_primitive_Iic [NoAtoms μ] {a : ℝ} (hf : IntegrableOn f (Iic a) μ) :
727+
theorem continuousOn_Iic_primitive_Iic [NoAtoms μ] {a : ℝ} (hf : IntegrableOn f (Iic a) μ) :
728728
ContinuousOn (fun b ↦ ∫ x in Iic b, f x ∂μ) (Iic a) := by
729729
simp_rw [integral_Iic_eq_integral_Iio]
730-
exact (hf.mono_set Iio_subset_Iic_self).continuousOn_primitive_Iio
730+
exact (hf.mono_set Iio_subset_Iic_self).continuousOn_Iic_primitive_Iio
731731

732732
end IntegrableOn
733733

0 commit comments

Comments
 (0)