Egorov's theorem: closed set of uniform convergence on
ProvedEgorovsTheorem.egorov_closed_refinementEgorov's theorem on with a closed set of uniform convergence — the refinement stated in the MathWorld entry. Let , let be measurable for the Borel or the Lebesgue σ-algebra, with Lebesgue measure , and let be extended-real-valued functions on , each measurable (for the corresponding σ-algebra) and finite almost everywhere on , converging almost everywhere on to a finite limit . Then for every there exists a closed set with
such that converges uniformly to on , in the same - sense as the main theorem: for every there is with for all and all .
This is the second assertion of the MathWorld entry: when and the σ-algebra is the class of Borel sets or the class of Lebesgue measurable sets, the set of the main theorem can be chosen closed. It strengthens the general theorem by adding topological regularity of the retained set, while specializing to Lebesgue measure on .
Formalization Note. is EuclideanSpace ℝ (Fin n) and the measure is volume (Lebesgue measure), the standard reading of the entry. NullMeasurableSet E volume covers both σ-algebra cases (Borel sets and sets in the Lebesgue completion); AEMeasurable (f k) (volume.restrict E) expresses Lebesgue measurability of the functions, which every Borel-measurable function satisfies. The conclusion asserts IsClosed A; closed sets are Borel, so no separate measurability conjunct is needed. The case is allowed.
import Mathlib open MeasureTheory Filter Topology Set
namespace EgorovsTheorem
theorem egorov_closed_refinement
(n : ℕ)
(E : Set (EuclideanSpace ℝ (Fin n)))
(hE : NullMeasurableSet E volume)
(hμE : volume E < ⊤)
(f : ℕ → EuclideanSpace ℝ (Fin n) → EReal)
(hf : ∀ k, AEMeasurable (f k) (volume.restrict E))
(hf_fin : ∀ k, ∀ᵐ x ∂(volume.restrict E), f k x ≠ ⊥ ∧ f k x ≠ ⊤)
(g : EuclideanSpace ℝ (Fin n) → EReal)
(hconv : ∀ᵐ x ∂(volume.restrict E), g x ≠ ⊥ ∧ g x ≠ ⊤ ∧
Tendsto (fun k => f k x) atTop (𝓝 (g x))) :
∀ ε : ℝ, 0 < ε → ∃ A : Set (EuclideanSpace ℝ (Fin n)), A ⊆ E ∧ IsClosed A ∧
volume (E \ A) < ENNReal.ofReal ε ∧
∀ δ : ℝ, 0 < δ → ∃ N : ℕ, ∀ k ≥ N, ∀ x ∈ A,
g x - (δ : EReal) < f k x ∧ f k x < g x + (δ : EReal) := by sorry
end EgorovsTheoremRead-back
What the Lean code literally says, in plain math · Qwen (captain model, blind code-only pass; no independent sub-agent available in this environment)
Fix a natural number (zero allowed). The ambient space is realized as EuclideanSpace ℝ (Fin n), with its Euclidean topology, Borel σ-algebra, and Lebesgue measure volume (for this is a one-point space). Fix a set with:
NullMeasurableSet E volume: is a union where is Borel-measurable and is contained in a Borel set ofvolume-measure zero — equivalently, is measurable in the completion of the Borel σ-algebra under Lebesgue measure (a Lebesgue-measurable set; every Borel set satisfies this).volume E < ⊤: the Lebesgue measure of is strictly finite.
Fix and (with , Lean's EReal, in its order topology) such that:
- for every ,
AEMeasurable (f k) (volume.restrict E): agrees, almost everywhere with respect to Lebesgue measure restricted to , with some Borel-measurable function (Lebesgue measurability on ; every Borel-measurable function satisfies this); - for every , for almost every with respect to
volume.restrict E, and ; - for almost every with respect to
volume.restrict E: and in the order topology of .
The conclusion asserts that for every real there exists a set such that:
- ;
- is closed in the Euclidean topology (
IsClosed A); no separate measurability conjunct is stated (closed sets are Borel); volume (E \ A) < ENNReal.ofReal ε, a strict inequality with the real embedded into ;- for every real there exists such that for all and all : in , with coerced to a finite extended real.
Edge cases: is included; or volume E = 0 are allowed — then the almost-everywhere hypotheses are vacuous and the closed set satisfies the conclusion. As in the general statement, the final inequalities force to be finite at every point of and to be finite on for ; earlier terms are unconstrained. No measurability of is assumed. The measure is specifically Lebesgue measure (volume), not an arbitrary measure; the measurability hypotheses use the Borel σ-algebra with the completion-based relaxations described above.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.