Lean gate passed before this site build; local proof declarations are shown as compiled.Lean-verified build · exact declarations linked.
Teaching chapter 10 of 31 · Canonical route compiled
Signed expectation foundations for Jensen
Arbitrary-measure signed-integral representation: actual integrable-real compatibility, a.e. nonnegative reduction and infinite-positive/finite-negative branch; total both-infinite arithmetic is not a valid expectation.
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
Represent signed expectations using positive and negative lintegrals.
Recover the real Bochner integral when it is integrable.
Keep a positive-infinite result when its negative part is finite.
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 representation dependency of Theorem2.9; seven library helpers and three definitions, not printed source results
mathematical representation, not an online algorithm · ordered flow
Interpret the signed integral
Read top to bottom to follow the argument or procedure.
01
Split positive and negative parts
Both parts are total nonnegative extended lower integrals, even without a supplied measurability premise; this does not certify classical measurable expectation semantics.
02
Prove a finite part
Actual Bochner Integrable real f includes a.e. strong measurability and finite norm integral, proving both parts finite and exact embedded-real compatibility. This does not extend to a nonintegrable default-zero Bochner integral. The Jensen producer proves finite negative part via an affine minorant; loss integrability is not a source premise.
03
Retain infinite positive mass
A.e. nonnegativity alone gives the formal negative-zero reduction without extra measurable/integrable premises. The positive-infinite helper separately retains negative part != infinity, excluding both-infinite arithmetic.
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.Formula renderer unavailable; readable fallback: A measurable convex extended-real loss at the mean is bounded by its possibly infinite expected loss.\[f(\mathbb E X)\le\mathbb E[f(X)]\]Swipe to read the full formula →
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.
The mathematical content is restated in this site's notation; wording is ours. See printedp11 in the linked source for the original statement and full assumptions.
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.
Plain-English statement. Actual Bochner Integrable real f proves finite positive part under an arbitrary measure.
Mathematical reading.Formula renderer unavailable; readable fallback: Actual Bochner Integrable real f proves finite positive part under an arbitrary measure.\(\int f^+<\infty\)Swipe to read the full formula →
Intuition
Actual Bochner Integrable real f proves finite positive part under an arbitrary measure.
Why it is needed
Supports the Jensen proof through the explicit library dependency shown in the associated reader.
Place in the proof
Library representation dependency of Orabona v10 Theorem2.9, printedp11/PDF23; not a printed foundation theorem.
Proof and Lean reading notes
Proof idea
Use integrability of the positive part and the nonnegative lintegral characterization.
Lean reading notes
Integrable includes a.e. strong measurability and finite norm integral; neither pointwise finite values nor a total default-zero integral suffices. The separate negative-part helper has the same premise. No probability/mass normalization is assumed.
Plain-English statement. For actually integrable real f, the unnormalized signed representation equals the embedded real Bochner integral.
Mathematical reading.Formula renderer unavailable; readable fallback: For actually integrable real f, the unnormalized signed representation equals the embedded real Bochner integral.\(\operatorname{signedExpectation}(f)=\int f\)Swipe to read the full formula →
Intuition
For actually integrable real f, the unnormalized signed representation equals the embedded real Bochner integral.
Why it is needed
Supports the Jensen proof through the explicit library dependency shown in the associated reader.
Place in the proof
Library representation dependency of Orabona v10 Theorem2.9, printedp11/PDF23; not a printed foundation theorem.
Proof and Lean reading notes
Proof idea
Prove both parts finite, then apply the actual positive-minus-negative Bochner identity.
Lean reading notes
Both part integrals are proved finite before EReal subtraction is identified with the real integral. No nonintegrable Bochner-zero extension. The mass-two identity canary gives integral2, not probability expectation1.
Plain-English statement. A.e. nonnegative extended f has negative part0 and the total signed representation equals its positive lower integral.
Mathematical reading.Formula renderer unavailable; readable fallback: A.e. nonnegative extended f has negative part0 and the total signed representation equals its positive lower integral.\(f\ge0\text{ a.e.}\Rightarrow\operatorname{signedExpectation}(f)=\int f^+\)Swipe to read the full formula →
Intuition
A.e. nonnegative extended f has negative part0 and the total signed representation equals its positive lower integral.
Why it is needed
Supports the Jensen proof through the explicit library dependency shown in the associated reader.
Place in the proof
Library representation dependency of Orabona v10 Theorem2.9, printedp11/PDF23; not a printed foundation theorem.
Proof and Lean reading notes
Proof idea
Use almost-everywhere congruence of the negative integrand with zero.
Lean reading notes
Formal identity requires only a.e. nonnegativity, with no extra measurable/integrable premise and positive infinity allowed. Appropriate measurability remains separate for classical signed-integral interpretation; a.e. is relative to arbitrary measure.
Plain-English statement. Positive part infinity and the explicit finite-negative-part premise give signed value positive infinity.
Mathematical reading.Formula renderer unavailable; readable fallback: Positive part infinity and the explicit finite-negative-part premise give signed value positive infinity.\(\int f^+=\infty,\ \int f^-<\infty\Rightarrow\operatorname{signedExpectation}(f)=+\infty\)Swipe to read the full formula →
Intuition
Positive part infinity and the explicit finite-negative-part premise give signed value positive infinity.
Why it is needed
Supports the Jensen proof through the explicit library dependency shown in the associated reader.
Place in the proof
Library representation dependency of Orabona v10 Theorem2.9, printedp11/PDF23; not a printed foundation theorem.
Proof and Lean reading notes
Proof idea
Embed the finite negative integral and apply the legitimate EReal top subtraction case.
Lean reading notes
Both-infinite is excluded: pinned total top-top=bottom is not a legitimate signed expectation. Counting-measure n+1 is a nonconstant finite-valued infinite-integral canary, not a probability Jensen instance. Parent convexity/integrable-X must separately produce finite negative part.
Open the canonical completion definition and blockers
Three literal definitions and seven retained library lemmas supporting signed-integral semantics. 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.