BanditRLlib
Lean gate passed before this site build; local proof declarations are shown as compiled.Lean-verified build · exact declarations linked.

Teaching chapter 11 of 31 · Canonical route compiled

Means in arbitrary finite-dimensional convex sets

Under a probability law, genuine integrability and AE membership in a finite-dimensional convex set put the mean in that set itself, without closedness or full ambient interior.

How to read the status. It describes this page's canonical local Lean route, not completion of the cited textbook chapter or every extension listed below.

Orientation

Who should read this. Readers of Orabona Chapter 2 convex-analysis foundations.

Learning goals

  • Distinguish membership in a convex set from membership only in its closure.
  • Handle empty interior through the affine span.
  • Reduce a boundary mean to a proper kernel using almost-sure equality.

Textbook crosswalk

Read the mathematics before the Lean interface

This reading follows Online Learning: A Modern Introduction Using Convex Optimization. Teaching routes group mathematical dependencies across the shared library. Visible page labels use the cited source's numbered pages; source buttons use the PDF viewer's physical page index, including front matter. Companion papers cover algorithm-specific results.

Primary spine · arXiv:1912.13213v10, 21 June 2026

Online Learning: A Modern Introduction Using Convex Optimization

Francesco Orabona

Location
Section2.1.1, necessary nonclosed-barycenter dependency of Theorem2.9; three retained library results, not three printed source results
Pages
printedp11/PDF23
Open at the cited pages
finite-dimensional induction proof · ordered flow

Prove actual convex-set membership

Read top to bottom to follow the argument or procedure.

  1. Locate the mean in the closure

    Pinned closed-convex integral theory puts the mean in closure s. This intermediate result cannot replace the terminal membership in the original nonclosed s.

  2. Use a supporting hyperplane

    A hypothetical missing mean yields a nonzero support functional: Hahn-Banach for nonempty ambient interior, or a proper affine-span annihilator otherwise. Integrability, linear integral commutation and probability mass1 prove equality of functional VALUES a(X)=a(mean X) almost everywhere, not that X or the map a is constant.

  3. Reduce dimension

    Construct the centered proper-kernel lift, prove integrability by subtype isometry and its actual mean0 by integral commutation. Affine preimage convexity and AE membership survive; strict kernel-rank descent allows strong induction to conclude membership in s itself. These properties are produced, not assumed.

Source theorem · faithful restatement

Theorem 2.9: parent Jensen endpoint

Original at printedp11 ↗
Shared library dependencies for the Jensen readerThe parent theorem has a separate reader in this bounded package. Dependency counts are not counts of printed source results. Chapter 2 and the whole book remain incomplete.

Only X is assumed integrable; loss integrability and a closed domain are not assumed.

Model
Finite-dimensional real random vectors under a probability law.
Assumptions
Measurable convex loss never negative infinity; measurable integrable X lies in the effective domain almost surely.
Algorithm parameters
Arbitrary probability space and finite dimension.
Regret notion
An expectation inequality, not a regret bound.
Guarantee
Jensen allows positive-infinite expected loss; its negative-part producer proves finite negative part from the stated parent assumptions.
Source mathematical statement. A measurable convex extended-real loss at the mean is bounded by its possibly infinite expected loss.

BanditRLlib relationship. This page presents supporting library declarations for the Jensen endpoint displayed in the separate Jensen reader. They are not additional printed source theorems. The proof bridge explains their actual assumptions and bodies; the parent and these dependencies are reviewed together in this bounded integration.

Natural-language and Lean side by side

The mathematical readings are explanatory summaries. The exact generated Lean statement and its source link remain authoritative for hypotheses, types, constants, and indexing.

Mathematics ↔ Lean

Supporting values are constant almost surely

Lean declarationBanditRL.OnlineConvex.supporting_functional_ae_eq_mean

Compiled

Plain-English statement. Under a probability law and genuine Integrable X, an AE upper bound a(X)<=a(mean X) forces equality of those functional values almost everywhere.

Mathematical reading. Under a probability law and genuine Integrable X, an AE upper bound a(X)<=a(mean X) forces equality of those functional values almost everywhere.
Intuition
Under a probability law and genuine Integrable X, an AE upper bound a(X)<=a(mean X) forces equality of those functional values almost everywhere.
Why it is needed
Supports the Jensen proof through the explicit library dependency shown in the associated reader.
Place in the proof
Library dependency of Orabona v10 Theorem2.9, printedp11/PDF23; not an additional printed source result.
Proof and Lean reading notes
Proof idea
Commute the continuous linear functional with integration, then use equality of ordered integrable functions with equal integrals.
Lean reading notes
Complete real normed E is enough; no finite-dimensional or Borel structure on E is supplied. The given continuous real linear a may be zero. Neither X nor the linear map is proved constant. The proof uses actual integrable composition/equal integrals and probability constant mass1; there is no kernel lift or transparency option in this helper.
Teaching dependencies
No direct teaching dependency recorded.
Exact Lean statement
theorem supporting_functional_ae_eq_mean (μ : Measure Ω) [IsProbabilityMeasure μ] (X : Ω → E) (hX : Integrable X μ) (a : E →L[ℝ] ℝ) (hle : ∀ᵐ ω ∂μ, a (X ω) ≤ a (∫ ω, X ω ∂μ)) : ∀ᵐ ω ∂μ, a (X ω) = a (∫ ω, X ω ∂μ)
Mathematics ↔ Lean

Support even with empty interior

Lean declarationBanditRL.OnlineConvex.supporting_functional_at_closure

Compiled

Plain-English statement. In finite dimension, a closure point outside ambient interior has nonzero non-strict linear support at level a(x), even when ambient interior is empty.

Mathematical reading. In finite dimension, a closure point outside ambient interior has nonzero non-strict linear support at level a(x), even when ambient interior is empty.
Intuition
In finite dimension, a closure point outside ambient interior has nonzero non-strict linear support at level a(x), even when ambient interior is empty.
Why it is needed
Supports the Jensen proof through the explicit library dependency shown in the associated reader.
Place in the proof
Library dependency of Orabona v10 Theorem2.9, printedp11/PDF23; not an additional printed source result.
Proof and Lean reading notes
Proof idea
Use existing separation for nonempty interior; otherwise annihilate the proper affine-span direction.
Lean reading notes
A deterministic geometric result, with no probability or measurability context. No closedness, full dimension, relative-interior replacement, strict separation, normalization or a(x)=0 claim. Nonempty interior uses Hahn-Banach; empty interior uses the proper affine-span direction and its nonzero annihilator. No centered lift/transparency option occurs here.
Teaching dependencies
No direct teaching dependency recorded.
Exact Lean statement
theorem supporting_functional_at_closure (s : Set E) (hs : Convex ℝ s) (x : E) (hx : x ∈ closure s) (hxi : x ∉ interior s) : ∃ a : E →L[ℝ] ℝ, a ≠ 0 ∧ ∀ y ∈ s, a y ≤ a x
Mathematics ↔ Lean

Mean in the original convex set

Lean declarationBanditRL.OnlineConvex.integral_mem_convex_finiteDimensional

Compiled

Plain-English statement. An integrable finite-dimensional random vector lying in convex s almost everywhere under a probability law has its actual mean in s itself.

Mathematical reading. An integrable finite-dimensional random vector lying in convex s almost everywhere under a probability law has its actual mean in s itself.
Intuition
An integrable finite-dimensional random vector lying in convex s almost everywhere under a probability law has its actual mean in s itself.
Why it is needed
Supports the Jensen proof through the explicit library dependency shown in the associated reader.
Place in the proof
Library dependency of Orabona v10 Theorem2.9, printedp11/PDF23; not an additional printed source result.
Proof and Lean reading notes
Proof idea
Strong induction on dimension: a hypothetical missing mean yields an almost-sure proper-kernel lift and a lower-dimensional contradiction.
Lean reading notes
Actual public type retains MeasurableSpace E/BorelSpace E on finite-dimensional real normed E. No closedness, boundedness, finite support, MeasurableSet s, separate pointwise membership or full-interior premise. Only this body uses the centered proper-kernel AE representative, proves integrability and mean0, and strictly descends finite rank. Its local transparency setting assists elaboration without changing kernel checking. No arbitrary infinite-dimensional nonclosed-set conclusion is claimed.
Teaching dependencies
BanditRL.OnlineConvex.supporting_functional_ae_eq_mean, BanditRL.OnlineConvex.supporting_functional_at_closure
Exact Lean statement
theorem integral_mem_convex_finiteDimensional (μ : Measure Ω) [IsProbabilityMeasure μ] (s : Set E) (hs : Convex ℝ s) (X : Ω → E) (hX : Integrable X μ) (hmem : ∀ᵐ ω ∂μ, X ω ∈ s) : (∫ ω, X ω ∂μ) ∈ s

Maintainer contract

Open the canonical completion definition and blockers

Three retained library lemmas proving membership in the original finite-dimensional convex set. These declarations are integrated into the shared library; they do not complete Chapter 2.

Remaining blockers

  • Later Chapter 2 source obligations and remaining book routes are outside this bounded package.

Chapter implementation status

The compact summary keeps the reading route visible. Open it for source-linked declarations and exact remaining gaps.

Open 0 implementation records0 compiled · 0 partial · 0 blocked · 0 planned
MilestoneStatusLean declarationRemaining gap

Open boundaries

  • This dependency page does not imply completion of Chapter2.

All Lean modules in this chapter

Open the complete module list (1 modules)
ModuleDeclarationsProject importsStatus
BanditRLProof.OnlineConvexBarycenter30Compiled