Lean gate passed before this site build; local proof declarations are shown as compiled.Lean-verified build · exact declarations linked.
Teaching chapter 26 of 31 · Canonical route compiled
Projected online subgradient descent
Actual global supports and Euclidean projection produce a causal mathematical trajectory, sharp constant/variable-rate regret bounds and positive-parameter tuning.
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 Lemma2.31, Algorithm2.2 and the Theorem2.13 transfer.
Learning goals
Derive finite values from proper functions and actual supports.
Verify current-only choice, feasible outputs and strict-prefix causality.
Keep the terminal distance in fixed and decreasing-step regret bounds.
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.2.2 Lemma2.31/Algorithm2.2 and explicit Theorem2.13/eq2.1 transfer; printed21 constant-step formula
Read top to bottom to follow the argument or procedure.
01
Output the feasible current point
Start from the prescribed x1 in V. Projection membership proves every later output feasible. Strict-prefix induction compares equal past losses and schedules, so current/future loss changes do not change the current point.
02
Observe the current loss and choose its support
After output and payment, use the current loss information to select a global support at the played point. The library fixes G(f,x) and proves membership in the nonempty support set.
03
Project the genuine update
Use the shared nearest-point projection on Xt-eta(t)gt. Its existing projection theorem and support inequality produce the full Lemma2.31 chain, then divide by the positive current eta.
6 distinct theory routes, one frontier.Open the statement you want to compare; the other routes stay compact.
Canonical projected-subgradient declarationsThis package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
A global support gives the loss linearization and the projected squared-distance inequality, including its negative terminal term.
Model
Finite-dimensional real Euclidean space and actual nonempty closed convex V.
Assumptions
Nonempty closed convex V; proper f subdifferentiable on V; positive eta; u in V; actual g in the global subdifferential at x. Feasible x_t belongs to the surrounding source algorithm convention.
Algorithm parameters
Every feasible comparator and every supplied global support at the current point. The stronger Lean standalone lemma does not require current-point membership in V.
Regret notion
Finite real single-step loss gap f(x)-f(u), justified by properness and actual global supports. This standalone lemma assumes no online regret sum or algorithm trajectory.
Guarantee
Both eta-scaled inequalities and the negative projected terminal distance.
Source mathematical statement.Formula renderer unavailable; readable fallback: A global support gives the loss linearization and the projected squared-distance inequality, including its negative terminal term.\(\eta(f(x)-f(u))\le\eta\langle g,x-u\rangle\le\frac{\|x-u\|^2-\|\Pi_V(x-\eta g)-u\|^2}{2}+\frac{\eta^2}{2}\|g\|^2\)Swipe to read the full formula →
BanditRLlib relationship. The source uses x_t in its feasible-iterate algorithm context without an explicit standalone membership binder. The Lean lemma additionally allows an arbitrary ambient x when an actual global support at x is supplied; that is an explicit stronger standalone variant.
The mathematical content is restated in this site's notation; wording is ours. See printed19 in the linked source for the original statement and full assumptions.
Canonical projected-subgradient declarationsThis package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
The actual recursive mathematical algorithm outputs before the current loss and uses a genuine selected support.
Model
Finite-dimensional real Euclidean space and actual nonempty closed convex V.
Assumptions
Feasible prescribed initialization, proper current losses subdifferentiable on V; positive played eta for performance.
Algorithm parameters
Same actual support choice and recursively projected trajectory, every feasible comparator; Lean0 = source1.
Regret notion
Finite real losses are produced from properness/supports; regret sums this same trajectory.
Guarantee
All-round feasibility, strict-prefix equality, selected support and actual finite played/comparator values.
Source mathematical statement.Formula renderer unavailable; readable fallback: The actual recursive mathematical algorithm outputs before the current loss and uses a genuine selected support.\(X_0=x_1\in V,\quad g_t=G(f_t,X_t)\in\partial f_t(X_t),\quad X_{t+1}=\Pi_V(X_t-\eta_tg_t)\)Swipe to read the full formula →
BanditRLlib relationship. The source permits any valid support. This implementation fixes G(f,x), a noncomputable whole-function/point choice. The prefix theorem compares complete past functions and schedules; a general feedback policy is separate.
The mathematical content is restated in this site's notation; wording is ours. See printed20 in the linked source for the original statement and full assumptions.
Canonical projected-subgradient declarationsThis package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
The exact fixed-step regret bound holds on the same subgradient trajectory, with its negative terminal residual.
Model
Finite-dimensional real Euclidean space and actual nonempty closed convex V.
Assumptions
Positive constant eta, feasible prescribed x1 and comparator u, and proper losses subdifferentiable on V at each played round. No bounded-domain premise.
Algorithm parameters
Same actual support choice and recursively projected trajectory, every feasible comparator; Lean0 = source1.
Regret notion
Finite real losses are produced from properness/supports; regret sums this same trajectory.
Guarantee
Full residual bound from genuine same-trajectory telescoping.
Source mathematical statement.Formula renderer unavailable; readable fallback: The exact fixed-step regret bound holds on the same subgradient trajectory, with its negative terminal residual.\(R_T(u)\le\frac{\|x_1-u\|^2}{2\eta}+\frac\eta2\sum_{t=1}^T\|g_t\|^2-\frac{\|x_{T+1}-u\|^2}{2\eta}\)Swipe to read the full formula →
BanditRLlib relationship. The printed19 transfer reuses constant-rate telescoping after replacing the gradient step by Lemma 2.31. No bounded diameter is needed. Lean also proves the empty-horizon extension; the printed eta_T notation assumes a positive horizon.
The mathematical content is restated in this site's notation; wording is ours. See printed19 in the linked source for the original statement and full assumptions.
Canonical projected-subgradient declarationsThis package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
Decreasing positive played steps use the last played eta and retain the terminal distance.
Model
Finite-dimensional real Euclidean space and actual nonempty closed convex V.
Assumptions
T>=1; prescribed feasible x1 and comparator u in V; positive nonincreasing eta through played rounds; each played loss proper and subdifferentiable on V; bounded V for Metric.diam, or an actual uniform D upper bound.
Algorithm parameters
Same actual support choice and recursively projected trajectory, every feasible comparator; Lean0 = source1.
Regret notion
Finite real losses are produced from properness/supports; regret sums this same trajectory.
Guarantee
The full variable bound, including negative terminal residual.
Source mathematical statement.Formula renderer unavailable; readable fallback: Decreasing positive played steps use the last played eta and retain the terminal distance.\(R_T(u)\le\frac{D^2}{2\eta_T}+\sum_{t=1}^T\frac{\eta_t}{2}\|g_t\|^2-\frac{\|x_{T+1}-u\|^2}{2\eta_T}\)Swipe to read the full formula →
BanditRLlib relationship. The source transfer reuses the weighted telescope with the subgradient step. Lean provides both a finite diameter upper-bound variant and the actual Metric.diam variant with an explicit bounded-set premise. This is the finite informative regime of the source display.
The mathematical content is restated in this site's notation; wording is ours. See printed19 in the linked source for the original statement and full assumptions.
Canonical projected-subgradient declarationsThis package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
One prescribed horizon-tuned trajectory satisfies DG sqrt(T) for every feasible comparator.
Model
Finite-dimensional real Euclidean space and actual nonempty closed convex V.
Assumptions
T>=1,D>0,G>0; prescribed feasible x1 in V; every played loss proper and subdifferentiable on V; all feasible pair distances<=D; actual chosen supports on this very eta-dependent trajectory have norms<=G.
Algorithm parameters
Same actual support choice and recursively projected trajectory, every feasible comparator; Lean0 = source1.
Regret notion
Finite real losses are produced from properness/supports; regret sums this same trajectory.
Guarantee
Uniform feasible-comparator bound with eta=D/(G sqrt T).
Source mathematical statement.Formula renderer unavailable; readable fallback: One prescribed horizon-tuned trajectory satisfies DG sqrt(T) for every feasible comparator.\(\eta=\frac{D}{G\sqrt T},\quad R_T(u)\le DG\sqrt T\quad(\forall u\in V)\)Swipe to read the full formula →
BanditRLlib relationship. Equation (2.1) is first derived for gradients at printed15; printed19 transfers it to selected subgradients. Lean uses positive upper bounds D,G and positive horizon T. The norm premise applies to the actual chosen supports on this same tuned trajectory; it is not inferred from Lipschitzness merely on V.
The mathematical content is restated in this site's notation; wording is ours. See printed19 in the linked source for the original statement and full assumptions.
Canonical projected-subgradient declarationsThis package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
Drop only the known nonnegative subtracted residual from the full fixed bound.
Model
Finite-dimensional real Euclidean space and actual nonempty closed convex V.
Assumptions
eta>0; feasible prescribed x1 and comparator u; each played loss proper and subdifferentiable on V. Lean additionally admits T=0 and no bounded-domain premise is added.
Algorithm parameters
Same actual support choice and recursively projected trajectory, every feasible comparator; Lean0 = source1.
Regret notion
Finite real losses are produced from properness/supports; regret sums this same trajectory.
Guarantee
The displayed printed21 formula as a separate corollary.
Source mathematical statement.Formula renderer unavailable; readable fallback: Drop only the known nonnegative subtracted residual from the full fixed bound.\(R_T(u)\le\frac{\|x_1-u\|^2}{2\eta}+\frac\eta2\sum_{t=1}^T\|g_t\|^2\)Swipe to read the full formula →
BanditRLlib relationship. Drop the nonpositive terminal term from the constant-rate sharp bound. The variable-rate diameter theorem is not a prerequisite.
The mathematical content is restated in this site's notation; wording is ours. See printed21 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. 11 additional dependency, extension, or research-frontier notes are grouped below.
Plain-English statement. The loss linearization and projected potential bound both hold for a supplied actual global support.
Mathematical reading.Formula renderer unavailable; readable fallback: The loss linearization and projected potential bound both hold for a supplied actual global support.\(\eta(f(x)-f(u))\le\eta\langle g,x-u\rangle\le\frac{\|x-u\|^2-\|\Pi_V(x-\eta g)-u\|^2}{2}+\frac{\eta^2}{2}\|g\|^2\)Swipe to read the full formula →
Intuition
The loss linearization and projected potential bound both hold for a supplied actual global support.
Why it is needed
This is the local source chain used by the actual algorithm.
Properness and supports prove both values finite. Apply the global support inequality at u, then projection contraction and the squared-norm identity; rearrange without dropping the terminal norm.
Lean reading notes
The ambient space is finite-dimensional and real with its Euclidean inner product. The feasible set is nonempty, closed and convex. Properness means no minus-infinity value and a finite ambient witness; a support is tested against every ambient point. No global convexity, differentiability or closed-loss assumption is added. Lean X0 is source x1; output Xt precedes loss t; terminal XT is source x(T+1), and the last played rate is eta(T-1). The initialization and schedule are prescribed independently of the comparator. This package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate. The supplied-support standalone variant allows arbitrary ambient x, beyond the source algorithm feasibility convention.
Plain-English statement. Positive constant steps give the sharp initial-distance bound with the true terminal term.
Mathematical reading.Formula renderer unavailable; readable fallback: Positive constant steps give the sharp initial-distance bound with the true terminal term.\(R_T(u)\le\frac{\|x_1-u\|^2}{2\eta}+\frac\eta2\sum_{t=0}^{T-1}\|g_t\|^2-\frac{\|X_T-u\|^2}{2\eta}\)Swipe to read the full formula →
Intuition
Positive constant steps give the sharp initial-distance bound with the true terminal term.
Why it is needed
The fixed-rate bound remains informative on unbounded feasible sets.
Place in the proof
Orabona v10: Printed19 transfer of Theorem 2.13 constant branch, printed13-14/PDF25-26; Lean also includes T=0.
Proof and Lean reading notes
Proof idea
Induct over the finite horizon, add the actual one-step chain and cancel consecutive squared distances. Divide the final eta-scaled result by positive eta; no diameter bound is used.
Lean reading notes
The ambient space is finite-dimensional and real with its Euclidean inner product. The feasible set is nonempty, closed and convex. Properness means no minus-infinity value and a finite ambient witness; a support is tested against every ambient point. No global convexity, differentiability or closed-loss assumption is added. Lean X0 is source x1; output Xt precedes loss t; terminal XT is source x(T+1), and the last played rate is eta(T-1). The initialization and schedule are prescribed independently of the comparator. This package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate. No diameter premise is used; the Lean theorem includes T=0.
Plain-English statement. For bounded V, use its actual metric diameter in the variable-rate bound.
Mathematical reading.Formula renderer unavailable; readable fallback: For bounded V, use its actual metric diameter in the variable-rate bound.\(R_T(u)\le\frac{\operatorname{diam}(V)^2}{2\eta_{T-1}}+\sum_{t=0}^{T-1}\frac{\eta_t}{2}\|g_t\|^2-\frac{\|X_T-u\|^2}{2\eta_{T-1}},\quad T>0\)Swipe to read the full formula →
Intuition
For bounded V, use its actual metric diameter in the variable-rate bound.
Why it is needed
This declaration supplies the stated mathematical step in the shared OSD proof.
Place in the proof
Orabona v10: Printed19 transfer of Theorem 2.13 variable branch; bounded Metric.diam instance.
Proof and Lean reading notes
Proof idea
Bound each feasible pair's distance by Metric.diam using the explicit boundedness hypothesis, then apply regret_variable_bound.
Lean reading notes
The ambient space is finite-dimensional and real with its Euclidean inner product. The feasible set is nonempty, closed and convex. Properness means no minus-infinity value and a finite ambient witness; a support is tested against every ambient point. No global convexity, differentiability or closed-loss assumption is added. Lean X0 is source x1; output Xt precedes loss t; terminal XT is source x(T+1), and the last played rate is eta(T-1). The initialization and schedule are prescribed independently of the comparator. This package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
theorem regret_variable (V : Domain (E := E)) (hV : Bornology.IsBounded V.carrier) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (hx₁ : x₁ ∈ V.carrier) (T : ℕ) (hT : 0 < T) (hη : ∀ t < T, 0 < η t) (hmono : ∀ t, t + 1 < T → η (t + 1) ≤ η t) (hloss : ∀ t < T, SubdifferentiableOn V (loss t)) (u : E) (hu : u ∈ V.carrier) : regret V η loss x₁ u T ≤ (Metric.diam V.carrier) ^ 2 / (2 * η (T - 1)) + (∑ t ∈ range T, η t / 2 * ‖currentSubgradient (loss t) (iterate V η loss x₁ t)‖ ^ 2) - ‖iterate V η loss x₁ T - u‖ ^ 2 / (2 * η (T - 1))
Plain-English statement. One horizon-dependent constant-rate trajectory satisfies the tuned bound for every feasible comparator.
Mathematical reading.Formula renderer unavailable; readable fallback: One horizon-dependent constant-rate trajectory satisfies the tuned bound for every feasible comparator.\(\eta=\frac{D}{G\sqrt T},\qquad\forall u\in V,\ R_T(u)\le DG\sqrt T\)Swipe to read the full formula →
Intuition
One horizon-dependent constant-rate trajectory satisfies the tuned bound for every feasible comparator.
Why it is needed
The comparator is universally quantified after the run and its norm premise.
Place in the proof
Orabona v10: Printed19 transfer of equation (2.1), printed15/PDF27; all-comparator finite upper-bound variant.
Proof and Lean reading notes
Proof idea
For arbitrary feasible u, the pairwise D bound controls the initial distance. Apply regret_tuned_distance with the same prescribed trajectory and the same selected-support norm premise.
Lean reading notes
The ambient space is finite-dimensional and real with its Euclidean inner product. The feasible set is nonempty, closed and convex. Properness means no minus-infinity value and a finite ambient witness; a support is tested against every ambient point. No global convexity, differentiability or closed-loss assumption is added. Lean X0 is source x1; output Xt precedes loss t; terminal XT is source x(T+1), and the last played rate is eta(T-1). The initialization and schedule are prescribed independently of the comparator. This package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate. D,G,T must be positive; the norm premise is on the actual selected supports of this tuned run.
Plain-English statement. At a feasible point, the canonical selection is an actual global subgradient.
Mathematical reading.Formula renderer unavailable; readable fallback: At a feasible point, the canonical selection is an actual global subgradient.\(x\in V\Longrightarrow G(f,x)\in\partial f(x)\)Swipe to read the full formula →
Intuition
At a feasible point, the canonical selection is an actual global subgradient.
Why it is needed
This declaration supplies the stated mathematical step in the shared OSD proof.
Place in the proof
Orabona v10: Library choice-validity bridge for Algorithm 2.2, printed20/PDF32.
Proof and Lean reading notes
Proof idea
Subdifferentiability makes the support set nonempty. Unfold the conditional selector and apply the specification of Classical.choose; its zero fallback is unused.
Lean reading notes
The ambient space is finite-dimensional and real with its Euclidean inner product. The feasible set is nonempty, closed and convex. Properness means no minus-infinity value and a finite ambient witness; a support is tested against every ambient point. No global convexity, differentiability or closed-loss assumption is added. Lean X0 is source x1; output Xt precedes loss t; terminal XT is source x(T+1), and the last played rate is eta(T-1). The initialization and schedule are prescribed independently of the comparator. This package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
theorem currentSubgradient_mem (V : Domain (E := E)) (f : E → EReal) (hf : SubdifferentiableOn V f) (x : E) (hx : x ∈ V.carrier) : currentSubgradient f x ∈ SourceSubdifferential f x
Plain-English statement. A proper subdifferentiable loss equals the finite coercion of its real value on V.
Mathematical reading.Formula renderer unavailable; readable fallback: A proper subdifferentiable loss equals the finite coercion of its real value on V.\(x\in V\Longrightarrow f(x)=\operatorname{coe}(\operatorname{toReal}(f(x)))\)Swipe to read the full formula →
Intuition
A proper subdifferentiable loss equals the finite coercion of its real value on V.
Why it is needed
This declaration supplies the stated mathematical step in the shared OSD proof.
Place in the proof
Orabona v10: Library finite-value bridge for Lemma 2.31/Algorithm 2.2.
Proof and Lean reading notes
Proof idea
Obtain the selected support using currentSubgradient_mem. The existing proper-support finiteness theorem excludes positive infinity; properness excludes negative infinity, so EReal.coe_toReal applies.
Lean reading notes
The ambient space is finite-dimensional and real with its Euclidean inner product. The feasible set is nonempty, closed and convex. Properness means no minus-infinity value and a finite ambient witness; a support is tested against every ambient point. No global convexity, differentiability or closed-loss assumption is added. Lean X0 is source x1; output Xt precedes loss t; terminal XT is source x(T+1), and the last played rate is eta(T-1). The initialization and schedule are prescribed independently of the comparator. This package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
Plain-English statement. Every iterate from a feasible initialization lies in V, regardless of the raw loss and rate data.
Mathematical reading.Formula renderer unavailable; readable fallback: Every iterate from a feasible initialization lies in V, regardless of the raw loss and rate data.\(X_0\in V\Longrightarrow X_t\in V\quad(t\in\mathbb N)\)Swipe to read the full formula →
Intuition
Every iterate from a feasible initialization lies in V, regardless of the raw loss and rate data.
Why it is needed
This declaration supplies the stated mathematical step in the shared OSD proof.
Place in the proof
Orabona v10: Library feasibility bridge for Algorithm 2.2, printed20/PDF32.
Proof and Lean reading notes
Proof idea
Split on t. At zero use initial feasibility; at a successor use the membership part of the actual nearest-projection specification. No positive-rate or loss-regularity premise is used.
Lean reading notes
The ambient space is finite-dimensional and real with its Euclidean inner product. The feasible set is nonempty, closed and convex. Properness means no minus-infinity value and a finite ambient witness; a support is tested against every ambient point. No global convexity, differentiability or closed-loss assumption is added. Lean X0 is source x1; output Xt precedes loss t; terminal XT is source x(T+1), and the last played rate is eta(T-1). The initialization and schedule are prescribed independently of the comparator. This package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
Plain-English statement. Equal strict past loss functions and rates produce the same current point from the same initialization.
Mathematical reading.Formula renderer unavailable; readable fallback: Equal strict past loss functions and rates produce the same current point from the same initialization.\(\bigl[\forall s<t,\ \eta_s=\eta_s^\prime\ \land f_s=f_s^\prime\bigr]\Longrightarrow X_t=X_t^\prime\)Swipe to read the full formula →
Intuition
Equal strict past loss functions and rates produce the same current point from the same initialization.
Why it is needed
The current action does not read the current or future loss function.
Place in the proof
Orabona v10: Library prefix-causality bridge for Algorithm 2.2.
Proof and Lean reading notes
Proof idea
Induct on t. The successor uses equality of the current update inputs and the induction hypothesis for the shorter strict past. Equality is of full functions, not merely observed scalar losses.
Lean reading notes
The ambient space is finite-dimensional and real with its Euclidean inner product. The feasible set is nonempty, closed and convex. Properness means no minus-infinity value and a finite ambient witness; a support is tested against every ambient point. No global convexity, differentiability or closed-loss assumption is added. Lean X0 is source x1; output Xt precedes loss t; terminal XT is source x(T+1), and the last played rate is eta(T-1). The initialization and schedule are prescribed independently of the comparator. This package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
theorem iterate_prefix (V : Domain (E := E)) (η η' : ℕ → ℝ) (loss loss' : ℕ → E → EReal) (x₁ : E) (t : ℕ) (hη : ∀ s < t, η s = η' s) (hloss : ∀ s < t, loss s = loss' s) : iterate V η loss x₁ t = iterate V η' loss' x₁ t
Plain-English statement. The selected vector at each feasible iterate supports that round's loss globally.
Mathematical reading.Formula renderer unavailable; readable fallback: The selected vector at each feasible iterate supports that round's loss globally.\(g_t=G(f_t,X_t)\in\partial f_t(X_t)\)Swipe to read the full formula →
Intuition
The selected vector at each feasible iterate supports that round's loss globally.
Why it is needed
This declaration supplies the stated mathematical step in the shared OSD proof.
Place in the proof
Orabona v10: Library current-support bridge for Algorithm 2.2.
Proof and Lean reading notes
Proof idea
Apply currentSubgradient_mem at the actual iterate; iterate_mem supplies feasibility and the current loss premise supplies subdifferentiability.
Lean reading notes
The ambient space is finite-dimensional and real with its Euclidean inner product. The feasible set is nonempty, closed and convex. Properness means no minus-infinity value and a finite ambient witness; a support is tested against every ambient point. No global convexity, differentiability or closed-loss assumption is added. Lean X0 is source x1; output Xt precedes loss t; terminal XT is source x(T+1), and the last played rate is eta(T-1). The initialization and schedule are prescribed independently of the comparator. This package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
Plain-English statement. The played loss and the fixed feasible comparator loss are both actual finite values.
Mathematical reading.Formula renderer unavailable; readable fallback: The played loss and the fixed feasible comparator loss are both actual finite values.\(f_t(X_t)=\operatorname{coe}(\operatorname{toReal}(f_t(X_t))),\quad f_t(u)=\operatorname{coe}(\operatorname{toReal}(f_t(u)))\)Swipe to read the full formula →
Intuition
The played loss and the fixed feasible comparator loss are both actual finite values.
Why it is needed
This declaration supplies the stated mathematical step in the shared OSD proof.
Place in the proof
Orabona v10: Library finite-regret bridge for the OSD performance transfer.
Proof and Lean reading notes
Proof idea
Apply finite_loss twice, once using iterate_mem and once using comparator membership. This justifies both real conversions on the same current loss.
Lean reading notes
The ambient space is finite-dimensional and real with its Euclidean inner product. The feasible set is nonempty, closed and convex. Properness means no minus-infinity value and a finite ambient witness; a support is tested against every ambient point. No global convexity, differentiability or closed-loss assumption is added. Lean X0 is source x1; output Xt precedes loss t; terminal XT is source x(T+1), and the last played rate is eta(T-1). The initialization and schedule are prescribed independently of the comparator. This package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
theorem iterate_finite_loss (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (hx₁ : x₁ ∈ V.carrier) (t : ℕ) (hloss : SubdifferentiableOn V (loss t)) (u : E) (hu : u ∈ V.carrier) : loss t (iterate V η loss x₁ t) = ((loss t (iterate V η loss x₁ t)).toReal : EReal) ∧ loss t u = ((loss t u).toReal : EReal)
Plain-English statement. The actual chosen support and next iterate satisfy both sharp eta-scaled inequalities.
Mathematical reading.Formula renderer unavailable; readable fallback: The actual chosen support and next iterate satisfy both sharp eta-scaled inequalities.\(\eta_t(f_t(X_t)-f_t(u))\le\eta_t\langle g_t,X_t-u\rangle\le\frac{\|X_t-u\|^2-\|X_{t+1}-u\|^2}{2}+\frac{\eta_t^2}{2}\|g_t\|^2\)Swipe to read the full formula →
Intuition
The actual chosen support and next iterate satisfy both sharp eta-scaled inequalities.
Why it is needed
This declaration supplies the stated mathematical step in the shared OSD proof.
Place in the proof
Orabona v10: Lemma 2.31 specialized to Algorithm 2.2.
Proof and Lean reading notes
Proof idea
Instantiate lemma_2_31 with the actual current iterate and canonical support. iterate_support supplies support membership; unfolding the recurrence identifies the projected endpoint.
Lean reading notes
The ambient space is finite-dimensional and real with its Euclidean inner product. The feasible set is nonempty, closed and convex. Properness means no minus-infinity value and a finite ambient witness; a support is tested against every ambient point. No global convexity, differentiability or closed-loss assumption is added. Lean X0 is source x1; output Xt precedes loss t; terminal XT is source x(T+1), and the last played rate is eta(T-1). The initialization and schedule are prescribed independently of the comparator. This package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
theorem one_step_chain (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (hx₁ : x₁ ∈ V.carrier) (t : ℕ) (hη : 0 < η t) (hloss : SubdifferentiableOn V (loss t)) (u : E) (hu : u ∈ V.carrier) : η t * ((loss t (iterate V η loss x₁ t)).toReal - (loss t u).toReal) ≤ η t * inner ℝ (currentSubgradient (loss t) (iterate V η loss x₁ t)) (iterate V η loss x₁ t - u) ∧ η t * inner ℝ (currentSubgradient (loss t) (iterate V η loss x₁ t)) (iterate V η loss x₁ t - u) ≤ ‖iterate V η loss x₁ t - u‖ ^ 2 / 2 - ‖iterate V η loss x₁ (t + 1) - u‖ ^ 2 / 2 + (η t) ^ 2 / 2 * ‖currentSubgradient (loss t) (iterate V η loss x₁ t)‖ ^ 2
Plain-English statement. With positive current rate, the loss gap is bounded by a distance decrement plus support energy.
Mathematical reading.Formula renderer unavailable; readable fallback: With positive current rate, the loss gap is bounded by a distance decrement plus support energy.\(f_t(X_t)-f_t(u)\le\frac{\|X_t-u\|^2-\|X_{t+1}-u\|^2}{2\eta_t}+\frac{\eta_t}{2}\|g_t\|^2\)Swipe to read the full formula →
Intuition
With positive current rate, the loss gap is bounded by a distance decrement plus support energy.
Why it is needed
This declaration supplies the stated mathematical step in the shared OSD proof.
Place in the proof
Orabona v10: Normalized one-step input to the printed19 performance transfer.
Proof and Lean reading notes
Proof idea
Compose the two inequalities of one_step_chain and divide by the strictly positive current eta; field algebra gives the displayed normalization.
Lean reading notes
The ambient space is finite-dimensional and real with its Euclidean inner product. The feasible set is nonempty, closed and convex. Properness means no minus-infinity value and a finite ambient witness; a support is tested against every ambient point. No global convexity, differentiability or closed-loss assumption is added. Lean X0 is source x1; output Xt precedes loss t; terminal XT is source x(T+1), and the last played rate is eta(T-1). The initialization and schedule are prescribed independently of the comparator. This package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
theorem one_step (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (hx₁ : x₁ ∈ V.carrier) (t : ℕ) (hη : 0 < η t) (hloss : SubdifferentiableOn V (loss t)) (u : E) (hu : u ∈ V.carrier) : (loss t (iterate V η loss x₁ t)).toReal - (loss t u).toReal ≤ (‖iterate V η loss x₁ t - u‖ ^ 2 - ‖iterate V η loss x₁ (t + 1) - u‖ ^ 2) / (2 * η t) + η t / 2 * ‖currentSubgradient (loss t) (iterate V η loss x₁ t)‖ ^ 2
Plain-English statement. Dropping the nonpositive terminal term gives the printed coarse constant-rate bound.
Mathematical reading.Formula renderer unavailable; readable fallback: Dropping the nonpositive terminal term gives the printed coarse constant-rate bound.\(R_T(u)\le\frac{\|x_1-u\|^2}{2\eta}+\frac\eta2\sum_{t=0}^{T-1}\|g_t\|^2\)Swipe to read the full formula →
Intuition
Dropping the nonpositive terminal term gives the printed coarse constant-rate bound.
Why it is needed
This declaration supplies the stated mathematical step in the shared OSD proof.
Use regret_fixed and nonnegativity of the squared terminal distance divided by positive 2 eta. The variable-rate result is not a dependency.
Lean reading notes
The ambient space is finite-dimensional and real with its Euclidean inner product. The feasible set is nonempty, closed and convex. Properness means no minus-infinity value and a finite ambient witness; a support is tested against every ambient point. No global convexity, differentiability or closed-loss assumption is added. Lean X0 is source x1; output Xt precedes loss t; terminal XT is source x(T+1), and the last played rate is eta(T-1). The initialization and schedule are prescribed independently of the comparator. This package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate. No diameter premise is used; the Lean theorem includes T=0.
Plain-English statement. Positive nonincreasing rates and a pairwise bound D give the terminal-retaining variable-rate guarantee.
Mathematical reading.Formula renderer unavailable; readable fallback: Positive nonincreasing rates and a pairwise bound D give the terminal-retaining variable-rate guarantee.\(R_T(u)\le\frac{D^2}{2\eta_{T-1}}+\sum_{t=0}^{T-1}\frac{\eta_t}{2}\|g_t\|^2-\frac{\|X_T-u\|^2}{2\eta_{T-1}},\quad T>0\)Swipe to read the full formula →
Intuition
Positive nonincreasing rates and a pairwise bound D give the terminal-retaining variable-rate guarantee.
Why it is needed
Nonnegative reciprocal weights explain exactly where the diameter bound enters.
Place in the proof
Orabona v10: Printed19 transfer of Theorem 2.13 variable branch; finite upper-bound variant.
Proof and Lean reading notes
Proof idea
Apply the shared weighted_potential_sum to actual squared iterate distances, bounded by the pairwise D premise and iterate_mem. Sum one_step over the played prefix and combine; the denominator uses the last played rate.
Lean reading notes
The ambient space is finite-dimensional and real with its Euclidean inner product. The feasible set is nonempty, closed and convex. Properness means no minus-infinity value and a finite ambient witness; a support is tested against every ambient point. No global convexity, differentiability or closed-loss assumption is added. Lean X0 is source x1; output Xt precedes loss t; terminal XT is source x(T+1), and the last played rate is eta(T-1). The initialization and schedule are prescribed independently of the comparator. This package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
theorem regret_variable_bound (V : Domain (E := E)) (η : ℕ → ℝ) (loss : ℕ → E → EReal) (x₁ : E) (hx₁ : x₁ ∈ V.carrier) (T : ℕ) (hT : 0 < T) (hη : ∀ t < T, 0 < η t) (hmono : ∀ t, t + 1 < T → η (t + 1) ≤ η t) (hloss : ∀ t < T, SubdifferentiableOn V (loss t)) (D : ℝ) (hdiam : ∀ x ∈ V.carrier, ∀ y ∈ V.carrier, ‖x - y‖ ≤ D) (u : E) (hu : u ∈ V.carrier) : regret V η loss x₁ u T ≤ D ^ 2 / (2 * η (T - 1)) + (∑ t ∈ range T, η t / 2 * ‖currentSubgradient (loss t) (iterate V η loss x₁ t)‖ ^ 2) - ‖iterate V η loss x₁ T - u‖ ^ 2 / (2 * η (T - 1))
Plain-English statement. An initial-distance bound and selected-support bound yield DG sqrt(T) on the specified tuned run.
Mathematical reading.Formula renderer unavailable; readable fallback: An initial-distance bound and selected-support bound yield DG sqrt(T) on the specified tuned run.\(\|x_1-u\|\le D,\quad\eta=\frac{D}{G\sqrt T}\Longrightarrow R_T(u)\le DG\sqrt T\)Swipe to read the full formula →
Intuition
An initial-distance bound and selected-support bound yield DG sqrt(T) on the specified tuned run.
Why it is needed
This declaration supplies the stated mathematical step in the shared OSD proof.
Place in the proof
Orabona v10: Printed19 transfer of equation (2.1), printed15/PDF27; comparator-distance variant.
Proof and Lean reading notes
Proof idea
Apply regret_fixed to the actual tuned trajectory. Bound its support-energy sum by T G squared and initial squared distance by D squared; discard the nonpositive terminal term and simplify with sqrt(T) squared equal to T. D,G,T are positive.
Lean reading notes
The ambient space is finite-dimensional and real with its Euclidean inner product. The feasible set is nonempty, closed and convex. Properness means no minus-infinity value and a finite ambient witness; a support is tested against every ambient point. No global convexity, differentiability or closed-loss assumption is added. Lean X0 is source x1; output Xt precedes loss t; terminal XT is source x(T+1), and the last played rate is eta(T-1). The initialization and schedule are prescribed independently of the comparator. This package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate. D,G,T must be positive; the norm premise is on the actual selected supports of this tuned run.
Open the canonical completion definition and blockers
The bounded canonical choice implementation, fifteen theorems, five definitions and one abbreviation are integrated together. This package fixes one noncomputable choice from the current whole function and point. A general support-policy/oracle family, Example 2.32, the remaining chapter results and whole-book completion are separate.
Remaining blockers
This route fixes one noncomputable choice from the current whole function and point. Generic fixed deterministic finite-history policies are covered in the separate History-dependent OSD route (online-osd-policy), and canonical plus played-legal history-policy Example 2.32 instances are covered at online-guessing-osd. Remaining chapter results and whole-book completion are separate.
Chapter implementation status
The compact summary keeps the reading route visible. Open it for source-linked declarations and exact remaining gaps.
The source states the transfer from gradient to subgradient bounds. Projection well-definedness, proper-support finiteness, selection validity and feasibility induction are explicit library bridges. The source does not separately treat zero-parameter tuning.
This route fixes one noncomputable choice from the current whole function and point. Generic fixed deterministic finite-history policies are covered in the separate History-dependent OSD route (online-osd-policy), and canonical plus played-legal history-policy Example 2.32 instances are covered at online-guessing-osd. Remaining chapter results and whole-book completion are separate.