Datasets:

ArXiv:
License:
cfahlgren1's picture
cfahlgren1 HF Staff
mirror at 1899ce8ed95fc310cce53d4c7ecfa2beb20ebec4
bf6216d verified
Raw History Blame Contribute Delete
808 Bytes
module
public import Mathlib.MeasureTheory.Integral.Lebesgue.Basic
/-!
# TODO
Rename `setLIntegral_congr` to `setLIntegral_congr_set`
-/
public section
open ENNReal
namespace MeasureTheory
variable {α : Type*} [MeasurableSpace α] {μ : Measure α} {s : Set α}
lemma lintegral_eq_zero_of_ae_zero {f : α → ℝ≥0∞} (hs : μ sᶜ = 0) (hf : ∀ x ∈ s, f x = 0)
(hmes : MeasurableSet s) : ∫⁻ x, f x ∂μ = 0 := by
rw [← lintegral_add_compl f hmes, setLIntegral_measure_zero sᶜ f hs,
setLIntegral_congr_fun (f := f) (g := fun _ ↦ 0) hmes hf]
simp
lemma lintegral_eq_setLIntegral (hs : μ sᶜ = 0) (f : α → ℝ≥0∞) :
∫⁻ x, f x ∂μ = ∫⁻ x in s, f x ∂μ := by
rw [← setLIntegral_univ, ← setLIntegral_congr]; rwa [ae_eq_univ]
end MeasureTheory