Lean gate passed before this site build; local proof declarations are shown as compiled.Lean-verified build · exact declarations linked.
Teaching chapter 18 of 31 · Canonical route compiled
Subgradients of finite sums
Add arbitrary proper component supports; construct exact decomposition under all closedness premises and the mixed qualification.
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 Theorem 2.23.
Learning goals
Separate the arbitrary-proper inclusion from the qualified convex equality.
Construct genuine component supports from epigraph separation.
Preserve the last-domain boundary and singleton empty-interior cases.
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,21June2026
Online Learning: A Modern Introduction Using Convex Optimization
Francesco Orabona
Location
Section 2.2.1, Theorem 2.23: sum inclusion and qualified equality
Read top to bottom to follow the argument or procedure.
01
Sum actual support inequalities
Inclusion quantifies EVERY x and an arbitrary Fintype family of proper components, with no convexity, closedness, query-finiteness or common finite point. Empty-index inclusion produces the zero support as an explicit library extension, not a printed positive-family equality. SourceSubgradientSum f x means actual simultaneous vectors G(i), each globally supporting the same f(i) at the same x, and their exact finite vector sum equals g. An empty component support makes this witness set empty.
02
Force a strictly negative height coefficient
The stronger binary interface omits closedness and explicitly takes finite query values. Build the linear image of two actual real epigraphs; aggregate support gives contact and noninterior. A nonzero separating L(v,t)=A(v)+ct has c<=0 from upward heights. If c=0, variation at the qualifying interior point forces A=0 and L=0, a contradiction; hence c<0. Normalize and use Riesz to produce actual global p and g-p, treating top branches before toReal.
03
Construct the full family
The mixed point yields prefix interior and an actual common finite value, so prefix/full sums are proper and prefix convex. Actual aggregate support then forces query finiteness and no-bottom summation forces every component finite. Apply the binary producer, recursively decompose the prefix, and use Fin.snoc to construct all component vectors and their exact sum. Public closedness hypotheses remain and are passed recursively; no decomposition or dual-attainment oracle is assumed.
2 distinct theory routes, one frontier.Open the statement you want to compare; the other routes stay compact.
Bounded library declarationsThe inclusion keeps only individual properness and allows an empty finite index family, an explicit extension of the printed positive-family notation. The shared global-support predicate is defined for all EReal functions; the printed definition only covers proper functions. Proper components need not have a proper sum (G2.23.PROPER). Equality keeps every properness, convexity and closedness premise, a positive Fin(n+1) family, and one point in the last domain and every other ambient domain interior. This point is independent of the query. Singleton indexing makes the earlier-interior condition vacuous (G2.23.INDEX). The source proves inclusion locally and cites Bauschke and Combettes (2017), Corollary 16.50 for equality. The separation and induction proof below is a library proof, not a reconstruction of that external text. The finite-dimensional real inner-product carrier generalizes the Euclidean presentation. Later source obligations, Chapter 2 and the whole book remain incomplete.
For proper components, every actual finite sum of component subgradients is a global subgradient of their sum, at every x.
Model
Finite-dimensional real inner-product space, ordinary EReal sum and actual component support witnesses.
Assumptions
Inclusion quantifies EVERY x and an arbitrary Fintype family of proper components, with no convexity, closedness, query-finiteness or common finite point. Empty-index inclusion produces the zero support as an explicit library extension, not a printed positive-family equality.
Algorithm parameters
All component functions and every queried x; equality qualification point z is independent of x.
Regret notion
No algorithm, probability, regret or measurable/computable selection guarantee.
Guarantee
SourceSubgradientSum f x is a subset of SourceSubdifferential (sum f) x.
Source mathematical statement.Formula renderer unavailable; readable fallback: For proper components, every actual finite sum of component subgradients is a global subgradient of their sum, at every x.\(\partial F(x)\supseteq\sum_{i=1}^m\partial f_i(x)\)Swipe to read the full formula →
BanditRLlib relationship. The inclusion keeps only individual properness and allows an empty finite index family, an explicit extension of the printed positive-family notation. The shared global-support predicate is defined for all EReal functions; the printed definition only covers proper functions. Proper components need not have a proper sum (G2.23.PROPER). Equality keeps every properness, convexity and closedness premise, a positive Fin(n+1) family, and one point in the last domain and every other ambient domain interior. This point is independent of the query. Singleton indexing makes the earlier-interior condition vacuous (G2.23.INDEX). The source proves inclusion locally and cites Bauschke and Combettes (2017), Corollary 16.50 for equality. The separation and induction proof below is a library proof, not a reconstruction of that external text. The finite-dimensional real inner-product carrier generalizes the Euclidean presentation.
The mathematical content is restated in this site's notation; wording is ours. See printed17 in the linked source for the original statement and full assumptions.
Bounded library declarationsThe inclusion keeps only individual properness and allows an empty finite index family, an explicit extension of the printed positive-family notation. The shared global-support predicate is defined for all EReal functions; the printed definition only covers proper functions. Proper components need not have a proper sum (G2.23.PROPER). Equality keeps every properness, convexity and closedness premise, a positive Fin(n+1) family, and one point in the last domain and every other ambient domain interior. This point is independent of the query. Singleton indexing makes the earlier-interior condition vacuous (G2.23.INDEX). The source proves inclusion locally and cites Bauschke and Combettes (2017), Corollary 16.50 for equality. The separation and induction proof below is a library proof, not a reconstruction of that external text. The finite-dimensional real inner-product carrier generalizes the Euclidean presentation. Later source obligations, Chapter 2 and the whole book remain incomplete.
For proper convex closed components and the exact mixed qualification, every sum-function support decomposes into actual component supports, at every x.
Model
Finite-dimensional real inner-product space, ordinary EReal sum and actual component support witnesses.
Assumptions
Equality quantifies EVERY queried x for a positive Fin(n+1) family. ALL components are proper, convex and CLOSED. An independent z is in the LAST domain and every OTHER AMBIENT domain interior; last may be boundary. For a singleton the other-interior condition is vacuous, while all proper/convex/closed hypotheses remain. Do not replace by all interiors, relative interiors, closure or qualification at the queried x.
Algorithm parameters
All component functions and every queried x; equality qualification point z is independent of x.
Regret notion
No algorithm, probability, regret or measurable/computable selection guarantee.
Guarantee
Exact equality at every queried point, including points outside the sum domain.
Source mathematical statement.Formula renderer unavailable; readable fallback: For proper convex closed components and the exact mixed qualification, every sum-function support decomposes into actual component supports, at every x.\(\partial F(x)=\sum_{i=1}^m\partial f_i(x),\quad\operatorname{dom}f_m\cap\bigcap_{i<m}\operatorname{int}(\operatorname{dom}f_i)\ne\varnothing\)Swipe to read the full formula →
BanditRLlib relationship. The inclusion keeps only individual properness and allows an empty finite index family, an explicit extension of the printed positive-family notation. The shared global-support predicate is defined for all EReal functions; the printed definition only covers proper functions. Proper components need not have a proper sum (G2.23.PROPER). Equality keeps every properness, convexity and closedness premise, a positive Fin(n+1) family, and one point in the last domain and every other ambient domain interior. This point is independent of the query. Singleton indexing makes the earlier-interior condition vacuous (G2.23.INDEX). The source proves inclusion locally and cites Bauschke and Combettes (2017), Corollary 16.50 for equality. The separation and induction proof below is a library proof, not a reconstruction of that external text. The finite-dimensional real inner-product carrier generalizes the Euclidean presentation.
The mathematical content is restated in this site's notation; wording is ours. See printed17 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.
A curated route through definitions, key bridges, and canonical terminals stays visible. 2 additional dependency, extension, or research-frontier notes are grouped below.
Plain-English statement. Add global inequalities for arbitrary proper components.
Mathematical reading.Formula renderer unavailable; readable fallback: Add global inequalities for arbitrary proper components.\(\sum_i\partial f_i(x)\subseteq\partial F(x)\)Swipe to read the full formula →
Intuition
Add global inequalities for arbitrary proper components.
Why it is needed
Add global inequalities for arbitrary proper components.
Place in the proof
Nine theorems and one witness-set definition supporting this bounded reader. Helpers are not additional printed source results.
Proof and Lean reading notes
Proof idea
Sum actual global component inequalities and inner-product finite sums. SourceSubgradientSum f x means actual simultaneous vectors G(i), each globally supporting the same f(i) at the same x, and their exact finite vector sum equals g. An empty component support makes this witness set empty. Ordinary EReal addition differs from top-dominant upperAdd at mixed infinities. Each proper component excludes bottom, so the two agree here. A component finite witness somewhere need not be a common finite point. EffectiveDomain f means f(x)<top; proper components exclude its generic bottom case.
Lean reading notes
The inclusion keeps only individual properness and allows an empty finite index family, an explicit extension of the printed positive-family notation. The shared global-support predicate is defined for all EReal functions; the printed definition only covers proper functions. Proper components need not have a proper sum (G2.23.PROPER). Equality keeps every properness, convexity and closedness premise, a positive Fin(n+1) family, and one point in the last domain and every other ambient domain interior. This point is independent of the query. Singleton indexing makes the earlier-interior condition vacuous (G2.23.INDEX). The source proves inclusion locally and cites Bauschke and Combettes (2017), Corollary 16.50 for equality. The separation and induction proof below is a library proof, not a reconstruction of that external text. The finite-dimensional real inner-product carrier generalizes the Euclidean presentation. Later source obligations, Chapter 2 and the whole book remain incomplete.
Teaching dependencies
No direct teaching dependency recorded.
Exact Lean statement
theorem theorem_2_23_inclusion {ι : Type*} [Fintype ι] (f : ι → E → EReal) (hp : ∀ i, SourceProper (f i)) (x : E) : SourceSubgradientSum f x ⊆ SourceSubdifferential (fun y => ∑ i, f i y) x
Plain-English statement. Actual epigraph separation produces p and g-p, with the last qualifying point allowed on its domain boundary.
Mathematical reading.Formula renderer unavailable; readable fallback: Actual epigraph separation produces p and g-p, with the last qualifying point allowed on its domain boundary.\(g=p+(g-p)\)Swipe to read the full formula →
Intuition
Actual epigraph separation produces p and g-p, with the last qualifying point allowed on its domain boundary.
Why it is needed
Actual epigraph separation produces p and g-p, with the last qualifying point allowed on its domain boundary.
Place in the proof
Nine theorems and one witness-set definition supporting this bounded reader. Helpers are not additional printed source results.
Proof and Lean reading notes
Proof idea
The stronger binary interface omits closedness and explicitly takes finite query values. Build the linear image of two actual real epigraphs; aggregate support gives contact and noninterior. A nonzero separating L(v,t)=A(v)+ct has c<=0 from upward heights. If c=0, variation at the qualifying interior point forces A=0 and L=0, a contradiction; hence c<0. Normalize and use Riesz to produce actual global p and g-p, treating top branches before toReal.
Lean reading notes
This helper assumes proper convex f,h, finite query values, an actual support of f+h, and one point in interior(dom f) intersect dom h. It has no closedness premise. The inclusion keeps only individual properness and allows an empty finite index family, an explicit extension of the printed positive-family notation. The shared global-support predicate is defined for all EReal functions; the printed definition only covers proper functions. Proper components need not have a proper sum (G2.23.PROPER). Equality keeps every properness, convexity and closedness premise, a positive Fin(n+1) family, and one point in the last domain and every other ambient domain interior. This point is independent of the query. Singleton indexing makes the earlier-interior condition vacuous (G2.23.INDEX). The source proves inclusion locally and cites Bauschke and Combettes (2017), Corollary 16.50 for equality. The separation and induction proof below is a library proof, not a reconstruction of that external text. The finite-dimensional real inner-product carrier generalizes the Euclidean presentation. Later source obligations, Chapter 2 and the whole book remain incomplete.
theorem binary_subgradient_decomposition (f h : E → EReal) (hpf : SourceProper f) (hph : SourceProper h) (hcf : IsConvexExtended f) (hch : IsConvexExtended h) (x : E) (hfx : ∃ a : ℝ, f x = (a : EReal)) (hhx : ∃ b : ℝ, h x = (b : EReal)) (g : E) (hgs : g ∈ SourceSubdifferential (fun y => f y + h y) x) (hqual : ∃ z : E, z ∈ interior (effectiveDomain f) ∧ z ∈ effectiveDomain h) : ∃ p : E, p ∈ SourceSubdifferential f x ∧ g - p ∈ SourceSubdifferential h x
Plain-English statement. Finite intersections of component finite neighborhoods make the prefix sum finite near the common point.
Mathematical reading.Formula renderer unavailable; readable fallback: Finite intersections of component finite neighborhoods make the prefix sum finite near the common point.\(z\in\bigcap_i\operatorname{int}(\operatorname{dom}f_i)\Rightarrow z\in\operatorname{int}(\operatorname{dom}\sum_i f_i)\)Swipe to read the full formula →
Intuition
Finite intersections of component finite neighborhoods make the prefix sum finite near the common point.
Why it is needed
Finite intersections of component finite neighborhoods make the prefix sum finite near the common point.
Place in the proof
Nine theorems and one witness-set definition supporting this bounded reader. Helpers are not additional printed source results.
Proof and Lean reading notes
Proof idea
Finite intersections of component finite neighborhoods make the prefix sum finite near the common point.
Lean reading notes
Every component is nowhere bottom, and z is in every component ambient domain interior. No convexity or properness premise occurs. The inclusion keeps only individual properness and allows an empty finite index family, an explicit extension of the printed positive-family notation. The shared global-support predicate is defined for all EReal functions; the printed definition only covers proper functions. Proper components need not have a proper sum (G2.23.PROPER). Equality keeps every properness, convexity and closedness premise, a positive Fin(n+1) family, and one point in the last domain and every other ambient domain interior. This point is independent of the query. Singleton indexing makes the earlier-interior condition vacuous (G2.23.INDEX). The source proves inclusion locally and cites Bauschke and Combettes (2017), Corollary 16.50 for equality. The separation and induction proof below is a library proof, not a reconstruction of that external text. The finite-dimensional real inner-product carrier generalizes the Euclidean presentation. Later source obligations, Chapter 2 and the whole book remain incomplete.
Teaching dependencies
No direct teaching dependency recorded.
Exact Lean statement
theorem interior_domain_sum {ι : Type*} [Fintype ι] (f : ι → E → EReal) (hb : ∀ i y, f i y ≠ ⊥) (z : E) (hz : ∀ i, z ∈ interior (effectiveDomain (f i))) : z ∈ interior (effectiveDomain (fun y => ∑ i, f i y))
Plain-English statement. Construct the full component witness family at every queried point.
Mathematical reading.Formula renderer unavailable; readable fallback: Construct the full component witness family at every queried point.\(\partial F(x)=\sum_i\partial f_i(x)\)Swipe to read the full formula →
Intuition
Construct the full component witness family at every queried point.
Why it is needed
Construct the full component witness family at every queried point.
Place in the proof
Nine theorems and one witness-set definition supporting this bounded reader. Helpers are not additional printed source results.
Proof and Lean reading notes
Proof idea
The mixed point yields prefix interior and an actual common finite value, so prefix/full sums are proper and prefix convex. Actual aggregate support then forces query finiteness and no-bottom summation forces every component finite. Apply the binary producer, recursively decompose the prefix, and use Fin.snoc to construct all component vectors and their exact sum. Public closedness hypotheses remain and are passed recursively; no decomposition or dual-attainment oracle is assumed. The stronger binary interface omits closedness and explicitly takes finite query values. Build the linear image of two actual real epigraphs; aggregate support gives contact and noninterior. A nonzero separating L(v,t)=A(v)+ct has c<=0 from upward heights. If c=0, variation at the qualifying interior point forces A=0 and L=0, a contradiction; hence c<0. Normalize and use Riesz to produce actual global p and g-p, treating top branches before toReal.
Lean reading notes
The inclusion keeps only individual properness and allows an empty finite index family, an explicit extension of the printed positive-family notation. The shared global-support predicate is defined for all EReal functions; the printed definition only covers proper functions. Proper components need not have a proper sum (G2.23.PROPER). Equality keeps every properness, convexity and closedness premise, a positive Fin(n+1) family, and one point in the last domain and every other ambient domain interior. This point is independent of the query. Singleton indexing makes the earlier-interior condition vacuous (G2.23.INDEX). The source proves inclusion locally and cites Bauschke and Combettes (2017), Corollary 16.50 for equality. The separation and induction proof below is a library proof, not a reconstruction of that external text. The finite-dimensional real inner-product carrier generalizes the Euclidean presentation. Later source obligations, Chapter 2 and the whole book remain incomplete.
theorem theorem_2_23_equality (n : ℕ) (f : Fin (n + 1) → E → EReal) (hp : ∀ i, SourceProper (f i)) (hc : ∀ i, IsConvexExtended (f i)) (hclosed : ∀ i, SourceClosed (f i)) (hqual : ∃ z : E, z ∈ effectiveDomain (f (Fin.last n)) ∧ ∀ i : Fin (n + 1), i ≠ Fin.last n → z ∈ interior (effectiveDomain (f i))) (x : E) : SourceSubdifferential (fun y => ∑ i, f i y) x = SourceSubgradientSum f x
Plain-English statement. Reuse upper-add convexity and no-bottom proper arithmetic.
Mathematical reading.Formula renderer unavailable; readable fallback: Reuse upper-add convexity and no-bottom proper arithmetic.\(F=\sum_i f_i\text{ is convex}\)Swipe to read the full formula →
Intuition
Reuse upper-add convexity and no-bottom proper arithmetic.
Why it is needed
Reuse upper-add convexity and no-bottom proper arithmetic.
Place in the proof
Nine theorems and one witness-set definition supporting this bounded reader. Helpers are not additional printed source results.
Proof and Lean reading notes
Proof idea
Induct the actual finite sum, using no-bottom arithmetic to identify upperAdd with ordinary addition. Convex sum may still be improper without a common finite point.
Lean reading notes
For every selected index, f_i is nowhere bottom and convex; properness is not required by this helper. The finite-dimensional real inner-product instances remain. The inclusion keeps only individual properness and allows an empty finite index family, an explicit extension of the printed positive-family notation. The shared global-support predicate is defined for all EReal functions; the printed definition only covers proper functions. Proper components need not have a proper sum (G2.23.PROPER). Equality keeps every properness, convexity and closedness premise, a positive Fin(n+1) family, and one point in the last domain and every other ambient domain interior. This point is independent of the query. Singleton indexing makes the earlier-interior condition vacuous (G2.23.INDEX). The source proves inclusion locally and cites Bauschke and Combettes (2017), Corollary 16.50 for equality. The separation and induction proof below is a library proof, not a reconstruction of that external text. The finite-dimensional real inner-product carrier generalizes the Euclidean presentation. Later source obligations, Chapter 2 and the whole book remain incomplete.
Teaching dependencies
BanditRL.OnlineConvex.convex_upperAdd
Exact Lean statement
theorem convex_finset_sum {ι : Type*} (s : Finset ι) (f : ι → E → EReal) (hb : ∀ i ∈ s, ∀ y, f i y ≠ ⊥) (hc : ∀ i ∈ s, IsConvexExtended (f i)) : IsConvexExtended (fun y => ∑ i ∈ s, f i y)
Plain-English statement. No-bottom summands and a finite aggregate exclude a positive-infinite component.
Mathematical reading.Formula renderer unavailable; readable fallback: No-bottom summands and a finite aggregate exclude a positive-infinite component.\(\sum_i a_i<+\infty\Rightarrow a_i<+\infty\)Swipe to read the full formula →
Intuition
No-bottom summands and a finite aggregate exclude a positive-infinite component.
Why it is needed
No-bottom summands and a finite aggregate exclude a positive-infinite component.
Place in the proof
Nine theorems and one witness-set definition supporting this bounded reader. Helpers are not additional printed source results.
Proof and Lean reading notes
Proof idea
No-bottom summands and a finite aggregate exclude a positive-infinite component.
Lean reading notes
Scalar EReal helper: every summand differs from bottom and the finite sum differs from top. No vector-space instance or properness assumption occurs. The inclusion keeps only individual properness and allows an empty finite index family, an explicit extension of the printed positive-family notation. The shared global-support predicate is defined for all EReal functions; the printed definition only covers proper functions. Proper components need not have a proper sum (G2.23.PROPER). Equality keeps every properness, convexity and closedness premise, a positive Fin(n+1) family, and one point in the last domain and every other ambient domain interior. This point is independent of the query. Singleton indexing makes the earlier-interior condition vacuous (G2.23.INDEX). The source proves inclusion locally and cites Bauschke and Combettes (2017), Corollary 16.50 for equality. The separation and induction proof below is a library proof, not a reconstruction of that external text. The finite-dimensional real inner-product carrier generalizes the Euclidean presentation. Later source obligations, Chapter 2 and the whole book remain incomplete.
Teaching dependencies
No direct teaching dependency recorded.
Exact Lean statement
theorem sum_finite_implies_components_finite {ι : Type*} [Fintype ι] (a : ι → EReal) (hb : ∀ i, a i ≠ ⊥) (ht : (∑ i, a i) ≠ ⊤) : ∀ i, ∃ r : ℝ, a i = (r : EReal)
The inclusion keeps only individual properness and allows an empty finite index family, an explicit extension of the printed positive-family notation. The shared global-support predicate is defined for all EReal functions; the printed definition only covers proper functions. Proper components need not have a proper sum (G2.23.PROPER). Equality keeps every properness, convexity and closedness premise, a positive Fin(n+1) family, and one point in the last domain and every other ambient domain interior. This point is independent of the query. Singleton indexing makes the earlier-interior condition vacuous (G2.23.INDEX). The source proves inclusion locally and cites Bauschke and Combettes (2017), Corollary 16.50 for equality. The separation and induction proof below is a library proof, not a reconstruction of that external text. The finite-dimensional real inner-product carrier generalizes the Euclidean presentation.