Lean gate passed before this site build; local proof declarations are shown as compiled.Lean-verified build · exact declarations linked.
Teaching chapter 21 of 31 · Canonical route compiled
Subdifferential of a finite maximum
Exact ordinary convex hull of all active global supports, with a constructed reverse direction.
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 Theorem2.26.
Learning goals
Define the actual finite pointwise maximum and keep all tied active functions.
Prove ordinary active-hull compactness from the exact source continuity assumptions.
Construct near-point supports and use their limits to prove every max support belongs to the ordinary hull.
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
Read top to bottom to follow the argument or procedure.
01
Lift active supports
An attaining component has fi(x)=F(x) and fi(y)≤F(y) for every ambient y. Its full global support therefore supports F. The maximum support set is convex at this finite query, so the ordinary active convex hull supports F. The active lifting result needs no properness/convexity/continuity; hull-forward needs properness/common finite query but not convexity of the fi or continuity. Those weaker-premise foundations are not the full numbered source terminal.
02
Establish ordinary hull compactness
Ambient continuity and finite query values give actual interior neighborhoods of the effective domains. Shared local support boundedness and closed global inequalities make component supports compact. A convex join is the continuous image of [0,1] times two compact sets; finite induction gives compactness of the ordinary active hull, with inactive sets empty. The generic finite-convex-union helper permits an empty selected Finset; the domain-interior continuity helper permits a bottom query value, unlike the source terminal.
03
Construct the reverse
For g supporting F and EACH direction d, use yn=x+d/(n+1), choose actual maximizing indices and actual component supports at sufficiently large n, and use the finite family local bounds for a compact subsequence. One finite index recurs; the restricted frequent-index filter is NeBot. Continuity makes that index active at x, and the global support limit yields k in its full support set. Actual displacement comparison gives inner(g,d)≤inner(k,d). This k depends on d, including d=0; no single k for all directions and no supplied witness is claimed. If g were outside the ordinary active hull, its compactness and convexity give strict separation by a continuous linear functional. Riesz supplies the corresponding direction d. The constructed active k has at least the directional value of g, contradicting separation. Thus every maximum support belongs to the ordinary hull; both equality directions are proved without a closure replacement.
Bounded library declarationsThe library explicitly uses a finite nonempty index set because the source leaves the empty-maximum convention unspecified (G2.26.EMPTY). Every component is proper and convex, the query lies in every effective domain, and every component, including inactive ones, is continuous there. Continuity is interpreted in the ambient topology with EReal carrying its standard topology; the inspected source does not expand this convention (G2.26.CONTINUITY). The conclusion uses ordinary convex hull without closure. No component closedness, global finiteness, relative-domain continuity or supplied decomposition is assumed. Finite-dimensional real inner-product spaces generalize the Euclidean carrier. The source cites Bauschke and Combettes (2017), Theorem 18.5 and gives no local proof. The compactness and separation argument below is the library proof, not an independently checked reconstruction of that external result. Later source obligations, Chapter 2 and the whole book remain incomplete.
For a finite family of proper convex functions, if every function is finite and continuous at x, every maximum support is a finite convex combination of active component supports, and every such combination supports the maximum.
Model
Finite-dimensional real inner-product space and finite nonempty family of EReal functions.
Assumptions
Every component is proper and convex, x belongs to every effective domain, and EVERY component, including inactive ones, is continuous at x into EReal in the AMBIENT topology. No relative-domain continuity, global finiteness, component closedness, bounded domain, supplied support decomposition or closure of the hull is assumed.
Algorithm parameters
Every finite nonempty family/common query x/candidate g; EVERY ambient test y, ALL active indices/finite convex combinations. Directional witness k depends on the chosen d.
Regret notion
No algorithm/regret/probability/feedback/computable or measurable selection claim.
Guarantee
Complete ordinary active-support convexHull equality, both directions/all candidate vectors; ties and inactive functions retained exactly.
Source mathematical statement.Formula renderer unavailable; readable fallback: The maximum subdifferential is exactly the ordinary convex hull of all active component subdifferentials.\(F=\max_{i\in I}f_i,\quad A(x)=\{i:f_i(x)=F(x)\},\qquad\partial F(x)=\operatorname{conv}\!\bigcup_{i\in A(x)}\partial f_i(x)\)Swipe to read the full formula →
BanditRLlib relationship. The library explicitly uses a finite nonempty index set because the source leaves the empty-maximum convention unspecified (G2.26.EMPTY). Every component is proper and convex, the query lies in every effective domain, and every component, including inactive ones, is continuous there. Continuity is interpreted in the ambient topology with EReal carrying its standard topology; the inspected source does not expand this convention (G2.26.CONTINUITY). The conclusion uses ordinary convex hull without closure. No component closedness, global finiteness, relative-domain continuity or supplied decomposition is assumed. Finite-dimensional real inner-product spaces generalize the Euclidean carrier. The source cites Bauschke and Combettes (2017), Theorem 18.5 and gives no local proof. The compactness and separation argument below is the library proof, not an independently checked reconstruction of that external result.
The mathematical content is restated in this site's notation; wording is ours. See printed18 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. 1 additional dependency, extension, or research-frontier notes are grouped below.
Plain-English statement. Actual finite pointwise maximum
Mathematical reading.Formula renderer unavailable; readable fallback: Actual finite pointwise maximum\(F(y)=\max_i f_i(y)\)Swipe to read the full formula →
Intuition
An actual maximum of a finite nonempty family; values may be extended real.
Why it is needed
Actual finite pointwise maximum
Place in the proof
Seventeen theorems and two definitions supporting this bounded reader. Helpers are not additional printed source results.
Proof and Lean reading notes
Proof idea
A retained definition: Finset.univ.sup' Finset.univ_nonempty (fun i => f i x). This is a construction, not the proof of the maximum rule.
Lean reading notes
Actual definition: arbitrary carrier E, finite nonempty index type, functions f_i from E to EReal and a query x. It requires no inner-product structure, finite dimension, properness, convexity, continuity or finite query values. Infinite values are permitted. Nonempty indexing is the explicit convention for G2.26.EMPTY. This definition constructs the maximum only; the later Theorem 2.26 separately imposes its regularity assumptions and proves a subdifferential convex-hull equality.
Plain-English statement. Continuity at the finite query yields compact active subdifferentials; finite convex joins give a compact ordinary hull.
Mathematical reading.Formula renderer unavailable; readable fallback: Continuity at the finite query yields compact active subdifferentials; finite convex joins give a compact ordinary hull.\(K=\operatorname{conv}U(x)\text{ is compact}\)Swipe to read the full formula →
Intuition
Use actual global supports and continuity to retain the exact ordinary convex hull.
Why it is needed
Continuity at the finite query yields compact active subdifferentials; finite convex joins give a compact ordinary hull.
Place in the proof
Seventeen theorems and two definitions supporting this bounded reader. Helpers are not additional printed source results.
Proof and Lean reading notes
Proof idea
Ambient continuity and finite query values give actual interior neighborhoods of the effective domains. Shared local support boundedness and closed global inequalities make component supports compact. A convex join is the continuous image of [0,1] times two compact sets; finite induction gives compactness of the ordinary active hull, with inactive sets empty. The generic finite-convex-union helper permits an empty selected Finset; the domain-interior continuity helper permits a bottom query value, unlike the source terminal.
Lean reading notes
The library explicitly uses a finite nonempty index set because the source leaves the empty-maximum convention unspecified (G2.26.EMPTY). Every component is proper and convex, the query lies in every effective domain, and every component, including inactive ones, is continuous there. Continuity is interpreted in the ambient topology with EReal carrying its standard topology; the inspected source does not expand this convention (G2.26.CONTINUITY). The conclusion uses ordinary convex hull without closure. No component closedness, global finiteness, relative-domain continuity or supplied decomposition is assumed. Finite-dimensional real inner-product spaces generalize the Euclidean carrier. The source cites Bauschke and Combettes (2017), Theorem 18.5 and gives no local proof. The compactness and separation argument below is the library proof, not an independently checked reconstruction of that external result. Later source obligations, Chapter 2 and the whole book remain incomplete.
Plain-English statement. An active limit support dominates each direction
Mathematical reading.Formula renderer unavailable; readable fallback: An active limit support dominates each direction\(\forall d\ \exists k\in U(x),\ \langle g,d\rangle\le\langle k,d\rangle\)Swipe to read the full formula →
Intuition
Use actual global supports and continuity to retain the exact ordinary convex hull.
Why it is needed
An active limit support dominates each direction
Place in the proof
Seventeen theorems and two definitions supporting this bounded reader. Helpers are not additional printed source results.
Proof and Lean reading notes
Proof idea
For g supporting F and EACH direction d, use yn=x+d/(n+1), choose actual maximizing indices and actual component supports at sufficiently large n, and use the finite family local bounds for a compact subsequence. One finite index recurs; the restricted frequent-index filter is NeBot. Continuity makes that index active at x, and the global support limit yields k in its full support set. Actual displacement comparison gives inner(g,d)≤inner(k,d). This k depends on d, including d=0; no single k for all directions and no supplied witness is claimed.
Lean reading notes
The library explicitly uses a finite nonempty index set because the source leaves the empty-maximum convention unspecified (G2.26.EMPTY). Every component is proper and convex, the query lies in every effective domain, and every component, including inactive ones, is continuous there. Continuity is interpreted in the ambient topology with EReal carrying its standard topology; the inspected source does not expand this convention (G2.26.CONTINUITY). The conclusion uses ordinary convex hull without closure. No component closedness, global finiteness, relative-domain continuity or supplied decomposition is assumed. Finite-dimensional real inner-product spaces generalize the Euclidean carrier. The source cites Bauschke and Combettes (2017), Theorem 18.5 and gives no local proof. The compactness and separation argument below is the library proof, not an independently checked reconstruction of that external result. Later source obligations, Chapter 2 and the whole book remain incomplete.
Teaching dependencies
No direct teaching dependency recorded.
Exact Lean statement
theorem max_subgradient_direction_witness [FiniteDimensional ℝ E] {ι : Type*} [Fintype ι] [Nonempty ι] (f : ι → E → EReal) (hp : ∀ i, SourceProper (f i)) (hc : ∀ i, IsConvexExtended (f i)) (x : E) (hx : ∀ i, x ∈ effectiveDomain (f i)) (hcont : ∀ i, ContinuousAt (f i) x) (g d : E) (hg : g ∈ SourceSubdifferential (SourceFiniteMax f) x) : ∃ k ∈ SourceActiveSubgradientUnion f x, inner ℝ g d ≤ inner ℝ k d
Plain-English statement. Maximum supports equal the ordinary active hull
Mathematical reading.Formula renderer unavailable; readable fallback: Maximum supports equal the ordinary active hull\(\partial F(x)=\operatorname{conv}U(x)\)Swipe to read the full formula →
Intuition
Use actual global supports and continuity to retain the exact ordinary convex hull.
Why it is needed
Maximum supports equal the ordinary active hull
Place in the proof
Seventeen theorems and two definitions supporting this bounded reader. Helpers are not additional printed source results.
Proof and Lean reading notes
Proof idea
An attaining component has fi(x)=F(x) and fi(y)≤F(y) for every ambient y. Its full global support therefore supports F. The maximum support set is convex at this finite query, so the ordinary active convex hull supports F. The active lifting result needs no properness/convexity/continuity; hull-forward needs properness/common finite query but not convexity of the fi or continuity. Those weaker-premise foundations are not the full numbered source terminal. Ambient continuity and finite query values give actual interior neighborhoods of the effective domains. Shared local support boundedness and closed global inequalities make component supports compact. A convex join is the continuous image of [0,1] times two compact sets; finite induction gives compactness of the ordinary active hull, with inactive sets empty. The generic finite-convex-union helper permits an empty selected Finset; the domain-interior continuity helper permits a bottom query value, unlike the source terminal. For g supporting F and EACH direction d, use yn=x+d/(n+1), choose actual maximizing indices and actual component supports at sufficiently large n, and use the finite family local bounds for a compact subsequence. One finite index recurs; the restricted frequent-index filter is NeBot. Continuity makes that index active at x, and the global support limit yields k in its full support set. Actual displacement comparison gives inner(g,d)≤inner(k,d). This k depends on d, including d=0; no single k for all directions and no supplied witness is claimed. If g were outside the ordinary active hull, its compactness and convexity give strict separation by a continuous linear functional. Riesz supplies the corresponding direction d. The constructed active k has at least the directional value of g, contradicting separation. Thus every maximum support belongs to the ordinary hull; both equality directions are proved without a closure replacement.
Lean reading notes
The library explicitly uses a finite nonempty index set because the source leaves the empty-maximum convention unspecified (G2.26.EMPTY). Every component is proper and convex, the query lies in every effective domain, and every component, including inactive ones, is continuous there. Continuity is interpreted in the ambient topology with EReal carrying its standard topology; the inspected source does not expand this convention (G2.26.CONTINUITY). The conclusion uses ordinary convex hull without closure. No component closedness, global finiteness, relative-domain continuity or supplied decomposition is assumed. Finite-dimensional real inner-product spaces generalize the Euclidean carrier. The source cites Bauschke and Combettes (2017), Theorem 18.5 and gives no local proof. The compactness and separation argument below is the library proof, not an independently checked reconstruction of that external result. Later source obligations, Chapter 2 and the whole book remain incomplete.
Plain-English statement. Union of active global supports
Mathematical reading.Formula renderer unavailable; readable fallback: Union of active global supports\(U(x)=\bigcup_{i:f_i(x)=F(x)}\partial f_i(x)\)Swipe to read the full formula →
Intuition
Keep every global support of every attaining component, including tied components.
Why it is needed
Union of active global supports
Place in the proof
Seventeen theorems and two definitions supporting this bounded reader. Helpers are not additional printed source results.
Proof and Lean reading notes
Proof idea
A retained Set definition: there exists i with fi(x)=F(x) AND g in its complete global subdifferential. This is a membership predicate, not the full theorem proof.
Lean reading notes
Actual definition: a real inner-product space E, finite nonempty index type, functions f_i from E to EReal and a query x. A vector belongs exactly when some i satisfies f_i(x)=SourceFiniteMax f x and the vector globally supports f_i at x. No finite dimension, properness, convexity, continuity or query finiteness is required; active values may be infinite. There is no convex hull in this definition. The later Theorem 2.26 separately imposes regularity and proves equality with the ordinary convex hull of this union.
Teaching dependencies
No direct teaching dependency recorded.
Exact Lean statement
def SourceActiveSubgradientUnion {ι : Type*} [Fintype ι] [Nonempty ι] (f : ι → E → EReal) (x : E) : Set E
The library explicitly uses a finite nonempty index set because the source leaves the empty-maximum convention unspecified (G2.26.EMPTY). Every component is proper and convex, the query lies in every effective domain, and every component, including inactive ones, is continuous there. Continuity is interpreted in the ambient topology with EReal carrying its standard topology; the inspected source does not expand this convention (G2.26.CONTINUITY). The conclusion uses ordinary convex hull without closure. No component closedness, global finiteness, relative-domain continuity or supplied decomposition is assumed. Finite-dimensional real inner-product spaces generalize the Euclidean carrier. The source cites Bauschke and Combettes (2017), Theorem 18.5 and gives no local proof. The compactness and separation argument below is the library proof, not an independently checked reconstruction of that external result.