Lebesgue differentiation theorem along shrinking cubes
ProvedDbarRegularity.ae_tendsto_average_closedCubeLet be locally integrable, where is a real Banach space. Then for almost every the following holds: whenever is a family of corners and side lengths, indexed along a filter, such that and eventually , then
where is the closed cube with corner and side . The exceptional null set does not depend on the family of cubes.
This is the Lebesgue differentiation theorem for (not necessarily centred) cubes shrinking to a point, in the form used when a function is compared with its averages over cubes.
Formalization Note. closedCube a s comes from Definitions.Def_DbarRegularity_Setting; is EuclideanSpace ℝ (Fin d) with Lebesgue measure volume. The average is Mathlib's ⨍ y in Q, f y (setAverage). "Eventually" and the convergence (Tendsto s l (𝓝[>] 0)) are with respect to an arbitrary filter l on an arbitrary index type; the quantifier over ι, l, a, s sits inside the almost-everywhere statement.
import Definitions.Def_DbarRegularity_Setting
namespace DbarRegularity
open MeasureTheory Filter Topology
/-- Lebesgue differentiation along closed cubes: for a locally integrable `f` on `ℝ^d`, at almost
every `x` the averages of `f` over closed cubes `∏ᵢ [aᵢ, aᵢ + s]` that contain `x` converge to
`f x` as the side length `s` tends to `0⁺`. -/
theorem ae_tendsto_average_closedCube {d : ℕ} {E : Type*} [NormedAddCommGroup E]
[NormedSpace ℝ E] [CompleteSpace E] {f : EuclideanSpace ℝ (Fin d) → E}
(hf : LocallyIntegrable f volume) :
∀ᵐ x, ∀ {ι : Type*} {l : Filter ι} (a : ι → EuclideanSpace ℝ (Fin d)) (s : ι → ℝ),
Tendsto s l (𝓝[>] 0) → (∀ᶠ j in l, x ∈ closedCube (a j) (s j)) →
Tendsto (fun j => ⨍ y in closedCube (a j) (s j), f y) l (𝓝 (f x)) := by sorry
end DbarRegularity