Repository navigation
feat: the essential supremum of a family of ℝ≥0∞-valued functions - #400
Conversation
Co-Authored-By: Claude Code <noreply@github.com>
There was a problem hiding this comment.
🟡 documentation — request_changes claude/claude-opus-5-5
Declaration docstrings match their statements; the module overview overclaims by stating existence for s-finite measures without the a.e.-measurability hypothesis.
LMLExplore/MeasureTheory/Function/EssSupFamily.lean:17— The module overview says 'For an s-finite measure it exists' for an arbitrary familyf, but the existence results (exists_seq_forall_ae_le_iSup,ae_le_essSupFamily) also require∀ i, AEMeasurable (f i) μ. Without that hypothesis the definition can fall back to0, which need not dominate the members. Fix: Change it to 'For an s-finite measure and almost everywhere measurable members it exists, …', matching line 38 and the definition docstring at line 117.
Reply in this thread to contest a finding; that re-runs only this rubric and posts an answer here. (To fix it, just push a commit — that re-reviews on its own. To contest again after an answer, post a NEW reply rather than editing an old one.)
claude/claude-opus-5-5 · 36s · 44.2k in (36.6k cache read, 7.6k cache write) / 3.5k out tokens · reviewing this diff · rubric ·
AI review — approvedEach rubric is judged independently by multiple review agents; the PR merges only once every rubric is green — any rubric that is not green (changes requested, blocked, errored, stale, or not yet run) blocks the merge. See the rubrics.
♻️ = approved on an earlier commit, re-run before merge. Reviewing this diff at head |
…rview Co-Authored-By: Claude Code <noreply@github.com>
f305f46
This PR adds the essential supremum of an arbitrary family of
ℝ≥0∞-valued functions,MeasureTheory.essSupFamily f μforf : ι → Ω → ℝ≥0∞and any index type, together with its characterizing API, in the new fileLMLExplore/MeasureTheory/Function/EssSupFamily.lean. This is the second bullet of EValues Layer 3.1 ("Essential supremum of a family"), the general tool the roadmap places inLMLExplore/MeasureTheory/Function/.Roadmap: EValues
Target: EValues README, Layer 3.1 Definition and characterization, bullet Essential supremum of a family [RRLK, Appendix A; FS16, §A.5]: for a σ-finite measure and any nonempty family of measurable functions
Ω → ℝ≥0∞, construct a measurable function that dominates every member a.e. and is a.e. below every measurable function that does; prove that it is the supremum of a countable subfamily, and the supremum of an increasing sequence of the family when the family is directed upward. Its consumer is the next bullet of the same milestone, the Snell envelope:L nis defined as the essential supremum, over the bounded stopping timesτ ≥ n, of conditional expectations givenℱ n. That needsessSupFamilyfor an uncountable index type,measurable_essSupFamilyforℱ n-measurability, andexists_seq_monotone_ae_eq_essSupFamily/setLIntegral_essSupFamily_of_directedfor the supermartingale property and∫⁻ L 0 ∂P = ⨆ τ, ∫⁻ E τ ∂P. The envelope in turn feeds [RRLK, Lemma 6]. After this PR, Layer 3.1 still needs the definitionIsEProcess, the Snell envelope and [RRLK, Lemma 6].What the file contains:
exists_seq_forall_ae_le_iSup: for an s-finiteμ, a nonempty family of a.e.-measurable functions is a.e. dominated by the supremum of a sequence of its members. This is the existence theorem. The proof follows [FS16, §A.5]: minimize∫⁻ (1 + sup)⁻¹ ∂μ.toFiniteover sequences of members, concatenate a minimizing sequence of sequences withiSup_unpair, and adjoin one member at a time, usingae_eq_of_ae_le_of_lintegral_le.essSupFamilyandessSupFamily_def;essSupFamily_of_isEmpty(simp).ae_le_essSupFamily,essSupFamily_ae_le(no hypotheses, and the upper bound need not be measurable),essSupFamily_ae_le_iff,ae_eq_essSupFamily_iff(uniqueness), andessSupFamily_mono_ae.measurable_essSupFamily(for any σ-algebramfor which the members are measurable, so a sub-σ-algebra works) andaemeasurable_essSupFamily.exists_countable_essSupFamily_eq(unconditional),exists_seq_essSupFamily_eq,essSupFamily_le_iSup(pointwise), andessSupFamily_ae_eq_iSup(countable families, for any measure, with no measurability).exists_seq_monotone_ae_eq_essSupFamily(a.e. increasing sequence of members) andsetLIntegral_essSupFamily_of_directed(monotone convergence over any set).Ways the roadmap statement is generalized: the measure is s-finite rather than σ-finite, and s-finiteness is needed, as an infinite multiple of counting measure on an uncountable set shows. Members need only be a.e.-measurable. The family is indexed by any type rather than given as a set, so a set
𝒳is the casef = Subtype.val. Directedness is up to null sets,Directed (· ≤ᵐ[μ] ·) f, which is the form the Snell envelope's pasting of stopping times provides.No Mathlib, Tau Ceti, LML or Statlib declaration provides this. I searched for "essential supremum" and essSup-of-a-family / countable-subfamily statements in all four. Mathlib's
essSup g μis the constant essential supremum of one function, and Tau Ceti'sexists_countable_iSup_eq_of_continuousconcerns pointwise suprema of continuous functions. No public declarations are removed or renamed.Local checks (
tauceti-local-checks verify --policy ordinary):scope: scoped: against 13fc17b,local-axioms: checked 1 changed module(s), 19 declaration(s); 0 violation(s), whole-librarylake build --iofailgreen, style and environment lint pass. These were run with the real toolchainleanonPATH/LEANbecause the host's memory-gated wrapper was stalled; CI is authoritative.🤖 Prepared with Claude Code