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

Teaching chapter 30 of 31 · Canonical route compiled

Optimal step size for a frozen scalar bound

A square identity gives the sharp lower bound of a two-term scalar expression when its coefficients are fixed, with attainment for positive coefficients. A concrete projected-gradient run shows why realized energy cannot in general be treated as fixed across reruns.

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 v10, printed page 15.

Learning goals

  • Hold both coefficients fixed when minimizing the expression.
  • Separate an exogenous D/G/T choice from unavailable future gradient energy.
  • Check positive denominators and zero-coefficient boundaries.

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
Section 2.1, two unnumbered scalar step-size calculations and the future-gradient warning; printed15/PDF27, with printed13–16 context
Pages
printed p. 15; PDF p. 27
Open at the cited pages
scalar calculation, not a new source algorithm · ordered flow

Evaluate a scalar step from fixed positive inputs

Read top to bottom to follow the argument or procedure.

  1. Fix the loose coefficients

    Fix numerical D,G>0 and natural T>=1. Their validity as algorithmic bounds is a separate obligation.

  2. Calculate the admissible step

    The public positivity assumptions keep the denominator positive.

  3. Evaluate the scalar envelope

    The scalar identity gives DG sqrt(T). An actual regret bound additionally requires the loss-to-envelope bridge and every hypothesis of the applicable OGD or OSD theorem.

3 distinct theory routes, one frontier.Open the statement you want to compare; the other routes stay compact.
Source theorem · faithful restatementThe printed calculations and their warningSource passageprinted15/PDF27; context printed13–16
Source theorem · faithful restatement

The printed calculations and their warning

Original at printed15/PDF27; context printed13–16 ↗
Source passageThe Lean results optimize a fixed scalar expression over positive steps. Strictly positive coefficients are explicit restrictions of this library contract, not separately established source-wide assumptions. The unrestricted source Anchor and a complete regret application are not established by these scalar declarations. The source warning about future and step-dependent gradients, its negative terminal term, zero regimes and separate Chapter 5 lower-bound obligation remain visible.

The source minimizes a coarse expression and then warns that future gradients depend on the step itself. It next replaces distance and gradient energy by bounds to give the D/L/T calculation.

Model
Deterministic projected online gradient descent in the preceding source context, with one fixed comparator.
Assumptions
The preceding analysis uses a positive step and the source loss/domain assumptions. The second calculation uses bounded diameter and per-round gradient norm. Strict nonzero coefficient restrictions and zero-case analysis are not explicitly printed.
Algorithm parameters
R=||u-x1|| and B=sum of squared gradient norms are shorthand for the printed expression; source rounds are 1 through T. Gradients are those of the actual generated run.
Regret notion
The preceding bound is comparator regret. The printed optimization drops its nonpositive terminal-distance residual.
Guarantee
The source states the formulas shown and cautions that future gradients and their dependence on eta prevent interpreting the first one as a feasible online choice.
Source mathematical statement. The source prints the distance-energy rate and value, then the diameter-gradient-horizon rate and value.

BanditRLlib relationship. These are two unnumbered source calculations. Equation (2.1) labels the resulting regret bound. The source does not display the minimization proof or enumerate zero cases. The square-completion proof below is the library route, not a reconstructed printed proof.

Derived instantiation of source guaranteeFixed positive distance and energy: library minimumBounded scalar resultPrinted 15 / PDF 27
Derived instantiation of source guarantee

Fixed positive distance and energy: library minimum

Source context at Printed 15 / PDF 27 ↗
Bounded scalar resultThe Lean results optimize a fixed scalar expression over positive steps. Strictly positive coefficients are explicit restrictions of this library contract, not separately established source-wide assumptions. The unrestricted source Anchor and a complete regret application are not established by these scalar declarations. The source warning about future and step-dependent gradients, its negative terminal term, zero regimes and separate Chapter 5 lower-bound obligation remain visible.

With positive fixed R and B, the scalar expression attains R sqrt(B) at R/sqrt(B).

Model
Scalar minimization of the coarse two-term bound after OGD analysis.
Assumptions
R>0 and B>0; A=R². Competing eta range over positive reals. These are explicit bounded-library premises, not a complete restatement of the source algorithm assumptions.
Algorithm parameters
All coefficients remain fixed throughout the universal comparison over positive eta. G renames the source L. There is no loss sequence, feasible domain, random experiment or learner argument in this scalar theorem.
Regret notion
Minimum of the coarse scalar expression only. The sharper endpoint term and actual regret application remain separate.
Guarantee
Attained minimum over every positive competitor step with the same fixed coefficients. Equality is unique in the positive-coefficient regime by the separate library theorem.
Derived explicit guarantee. For positive frozen distance R and energy B, the minimum is R sqrt B, attained at R/sqrt B.

BanditRLlib relationship. A bounded scalar library statement corresponding to the printed calculation. Positivity is an explicit nondegenerate qualification; no full literal source Anchor or actual regret theorem is claimed.

Derived instantiation of source guaranteeFixed positive D/G/T: library minimumBounded scalar resultPrinted 15 / PDF 27
Derived instantiation of source guarantee

Fixed positive D/G/T: library minimum

Source context at Printed 15 / PDF 27 ↗
Bounded scalar resultThe Lean results optimize a fixed scalar expression over positive steps. Strictly positive coefficients are explicit restrictions of this library contract, not separately established source-wide assumptions. The unrestricted source Anchor and a complete regret application are not established by these scalar declarations. The source warning about future and step-dependent gradients, its negative terminal term, zero regimes and separate Chapter 5 lower-bound obligation remain visible.

With fixed D,G>0 and natural T>=1, the scalar envelope attains DG sqrt(T) at D/(G sqrt(T)).

Model
Exogenous diameter/gradient/horizon scalar upper bound.
Assumptions
Finite real D>0 and G>0, natural T>=1; A=D² and B=G²T. Competing eta range over positive reals. Actual diameter/gradient-bound validity is not a premise or conclusion of this scalar signature.
Algorithm parameters
All coefficients remain fixed throughout the universal comparison over positive eta. G renames the source L. There is no loss sequence, feasible domain, random experiment or learner argument in this scalar theorem.
Regret notion
Minimum of the coarse scalar expression only. The sharper endpoint term and actual regret application remain separate.
Guarantee
Attained minimum over every positive competitor step with the same fixed coefficients. Equality is unique in the positive-coefficient regime by the separate library theorem.
Derived explicit guarantee. For positive D,G and T≥1, the loose bound is minimized at D/(G sqrt T), with value DG sqrt T.

BanditRLlib relationship. A bounded scalar library statement corresponding to the printed calculation. Positivity is an explicit nondegenerate qualification; no full literal source Anchor or actual regret theorem is claimed.

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. 7 additional dependency, extension, or research-frontier notes are grouped below.

Mathematics ↔ Lean

Exact square gap above the sharp scalar lower bound

Lean declarationBanditRL.OnlineOptimalStep.gap_identity

Compiled

Plain-English statement. For nonnegative frozen coefficients and a positive step, the exact excess is a nonnegative square quotient.

Mathematical reading. For nonnegative frozen coefficients and a positive step, the exact excess is a nonnegative square quotient.
Intuition
For nonnegative frozen coefficients and a positive step, the exact excess is a nonnegative square quotient.
Why it is needed
Make the source scalar minimum and its admissibility conditions precise.
Place in the proof
Orabona v10 Section 2.1, printed15/PDF27: bounded scalar correspondence or library refinement, not a new numbered source theorem.
Proof and Lean reading notes
Proof idea
Use the square identities for real square roots, clear the positive denominator, and expand.
Lean reading notes
The exact historical Lean declaration and proof are retained. Coefficients remain fixed inside each positive-step comparison. Gap/lower-bound results allow nonnegative coefficients; positive attainment and uniqueness require strict positivity. Degenerate regimes are stated separately. The Lean results optimize a fixed scalar expression over positive steps. Strictly positive coefficients are explicit restrictions of this library contract, not separately established source-wide assumptions. The unrestricted source Anchor and a complete regret application are not established by these scalar declarations. The source warning about future and step-dependent gradients, its negative terminal term, zero regimes and separate Chapter 5 lower-bound obligation remain visible.
Teaching dependencies
No direct teaching dependency recorded.
Exact Lean statement
theorem gap_identity (A B η : ℝ) (hA : 0 ≤ A) (hB : 0 ≤ B) (hη : 0 < η) : upperBound A B η - Real.sqrt A * Real.sqrt B = (Real.sqrt A - η * Real.sqrt B) ^ 2 / (2 * η)
Mathematics ↔ Lean

Fixed positive-coefficient scalar minimum

Lean declarationBanditRL.OnlineOptimalStep.source_argmin

Compiled

Plain-English statement. For fixed A>0 and B>0, the step sqrt(A)/sqrt(B) is positive, attains sqrt(AB), and minimizes the scalar expression over every positive competing eta with those same coefficients.

Mathematical reading. For fixed A>0 and B>0, the step sqrt(A)/sqrt(B) is positive, attains sqrt(AB), and minimizes the scalar expression over every positive competing eta with those same coefficients.
Intuition
The square-root ratio is an attained universal minimum for the two coefficients held fixed.
Why it is needed
Make the source scalar minimum and its admissibility conditions precise.
Place in the proof
Orabona v10 Section 2.1, printed15/PDF27: bounded scalar correspondence or library refinement, not a new numbered source theorem.
Proof and Lean reading notes
Proof idea
Combine positivity, attained value and the universal scalar lower bound.
Lean reading notes
This displayed minimum has the explicit regime A>0 and B>0. The exact historical Lean declaration and proof are retained. Coefficients remain fixed inside each positive-step comparison. Gap/lower-bound results allow nonnegative coefficients; positive attainment and uniqueness require strict positivity. Degenerate regimes are stated separately. The Lean results optimize a fixed scalar expression over positive steps. Strictly positive coefficients are explicit restrictions of this library contract, not separately established source-wide assumptions. The unrestricted source Anchor and a complete regret application are not established by these scalar declarations. The source warning about future and step-dependent gradients, its negative terminal term, zero regimes and separate Chapter 5 lower-bound obligation remain visible.
Teaching dependencies
BanditRL.OnlineOptimalStep.optimal_positive, BanditRL.OnlineOptimalStep.optimal_value, BanditRL.OnlineOptimalStep.lower_bound
Exact Lean statement
theorem source_argmin (A B : ℝ) (hA : 0 < A) (hB : 0 < B) : 0 < optimalStep A B ∧ upperBound A B (optimalStep A B) = Real.sqrt (A * B) ∧ ∀ η : ℝ, 0 < η → upperBound A B (optimalStep A B) ≤ upperBound A B η
Mathematics ↔ Lean

Comparator-distance and realized-energy calculation

Lean declarationBanditRL.OnlineOptimalStep.distance_energy_argmin

Compiled

Plain-English statement. Substituting the squared comparator distance gives the source algebraic optimizer for a frozen energy.

Mathematical reading. Substituting the squared comparator distance gives the source algebraic optimizer for a frozen energy.
Intuition
Substituting the squared comparator distance gives the source algebraic optimizer for a frozen energy.
Why it is needed
Make the source scalar minimum and its admissibility conditions precise.
Place in the proof
Orabona v10 Section 2.1, printed15/PDF27: bounded scalar correspondence or library refinement, not a new numbered source theorem.
Proof and Lean reading notes
Proof idea
Rewrite sqrt(R²)=R and apply the same scalar minimum.
Lean reading notes
The exact historical Lean declaration and proof are retained. Coefficients remain fixed inside each positive-step comparison. Gap/lower-bound results allow nonnegative coefficients; positive attainment and uniqueness require strict positivity. Degenerate regimes are stated separately. The Lean results optimize a fixed scalar expression over positive steps. Strictly positive coefficients are explicit restrictions of this library contract, not separately established source-wide assumptions. The unrestricted source Anchor and a complete regret application are not established by these scalar declarations. The source warning about future and step-dependent gradients, its negative terminal term, zero regimes and separate Chapter 5 lower-bound obligation remain visible.
Teaching dependencies
BanditRL.OnlineOptimalStep.source_argmin
Exact Lean statement
theorem distance_energy_argmin (R B : ℝ) (hR : 0 < R) (hB : 0 < B) : optimalStep (R ^ 2) B = R / Real.sqrt B ∧ upperBound (R ^ 2) B (R / Real.sqrt B) = R * Real.sqrt B ∧ ∀ η : ℝ, 0 < η → upperBound (R ^ 2) B (R / Real.sqrt B) ≤ upperBound (R ^ 2) B η
Mathematics ↔ Lean

Optimize the exogenous diameter-gradient upper bound

Lean declarationBanditRL.OnlineOptimalStep.diameter_argmin

Compiled

Plain-English statement. Positive externally supplied D,G and horizon T determine the optimizer of the loose two-term bound.

Mathematical reading. Positive externally supplied D,G and horizon T determine the optimizer of the loose two-term bound.
Intuition
Positive externally supplied D,G and horizon T determine the optimizer of the loose two-term bound.
Why it is needed
Make the source scalar minimum and its admissibility conditions precise.
Place in the proof
Orabona v10 Section 2.1, printed15/PDF27: bounded scalar correspondence or library refinement, not a new numbered source theorem.
Proof and Lean reading notes
Proof idea
Substitute A=D² and B=G²T, split the square root of the product and reuse the distance-energy minimum.
Lean reading notes
The exact historical Lean declaration and proof are retained. Coefficients remain fixed inside each positive-step comparison. Gap/lower-bound results allow nonnegative coefficients; positive attainment and uniqueness require strict positivity. Degenerate regimes are stated separately. The Lean results optimize a fixed scalar expression over positive steps. Strictly positive coefficients are explicit restrictions of this library contract, not separately established source-wide assumptions. The unrestricted source Anchor and a complete regret application are not established by these scalar declarations. The source warning about future and step-dependent gradients, its negative terminal term, zero regimes and separate Chapter 5 lower-bound obligation remain visible.
Teaching dependencies
BanditRL.OnlineOptimalStep.distance_energy_argmin
Exact Lean statement
theorem diameter_argmin (D G : ℝ) (T : ℕ) (hD : 0 < D) (hG : 0 < G) (hT : 0 < T) : optimalStep (D ^ 2) (G ^ 2 * (T : ℝ)) = D / (G * Real.sqrt (T : ℝ)) ∧ upperBound (D ^ 2) (G ^ 2 * (T : ℝ)) (D / (G * Real.sqrt (T : ℝ))) = D * G * Real.sqrt (T : ℝ) ∧ ∀ η : ℝ, 0 < η → upperBound (D ^ 2) (G ^ 2 * (T : ℝ)) (D / (G * Real.sqrt (T : ℝ))) ≤ upperBound (D ^ 2) (G ^ 2 * (T : ℝ)) η
Explore 7 additional Lean teaching notes
Mathematics ↔ Lean

Every positive step has the scalar lower bound

Lean declarationBanditRL.OnlineOptimalStep.lower_bound

Compiled

Plain-English statement. The square gap is nonnegative for every positive eta, including either zero coefficient.

Mathematical reading. The square gap is nonnegative for every positive eta, including either zero coefficient.
Intuition
The square gap is nonnegative for every positive eta, including either zero coefficient.
Why it is needed
Make the source scalar minimum and its admissibility conditions precise.
Place in the proof
Orabona v10 Section 2.1, printed15/PDF27: bounded scalar correspondence or library refinement, not a new numbered source theorem.
Proof and Lean reading notes
Proof idea
Apply the gap identity and nonnegativity of its quotient.
Lean reading notes
The exact historical Lean declaration and proof are retained. Coefficients remain fixed inside each positive-step comparison. Gap/lower-bound results allow nonnegative coefficients; positive attainment and uniqueness require strict positivity. Degenerate regimes are stated separately. The Lean results optimize a fixed scalar expression over positive steps. Strictly positive coefficients are explicit restrictions of this library contract, not separately established source-wide assumptions. The unrestricted source Anchor and a complete regret application are not established by these scalar declarations. The source warning about future and step-dependent gradients, its negative terminal term, zero regimes and separate Chapter 5 lower-bound obligation remain visible.
Teaching dependencies
BanditRL.OnlineOptimalStep.gap_identity
Exact Lean statement
theorem lower_bound (A B η : ℝ) (hA : 0 ≤ A) (hB : 0 ≤ B) (hη : 0 < η) : Real.sqrt A * Real.sqrt B ≤ upperBound A B η
Mathematics ↔ Lean

The nondegenerate optimizer is admissible

Lean declarationBanditRL.OnlineOptimalStep.optimal_positive

Compiled

Plain-English statement. Both strictly positive coefficients are needed for the source optimizer to be a positive step.

Mathematical reading. Both strictly positive coefficients are needed for the source optimizer to be a positive step.
Intuition
Both strictly positive coefficients are needed for the source optimizer to be a positive step.
Why it is needed
Make the source scalar minimum and its admissibility conditions precise.
Place in the proof
Orabona v10 Section 2.1, printed15/PDF27: bounded scalar correspondence or library refinement, not a new numbered source theorem.
Proof and Lean reading notes
Proof idea
Real square roots of positive inputs and their quotient are positive.
Lean reading notes
The exact historical Lean declaration and proof are retained. Coefficients remain fixed inside each positive-step comparison. Gap/lower-bound results allow nonnegative coefficients; positive attainment and uniqueness require strict positivity. Degenerate regimes are stated separately. The Lean results optimize a fixed scalar expression over positive steps. Strictly positive coefficients are explicit restrictions of this library contract, not separately established source-wide assumptions. The unrestricted source Anchor and a complete regret application are not established by these scalar declarations. The source warning about future and step-dependent gradients, its negative terminal term, zero regimes and separate Chapter 5 lower-bound obligation remain visible.
Teaching dependencies
BanditRL.OnlineOptimalStep.optimalStep
Exact Lean statement
theorem optimal_positive (A B : ℝ) (hA : 0 < A) (hB : 0 < B) : 0 < optimalStep A B
Mathematics ↔ Lean

The optimizer attains the scalar lower bound

Lean declarationBanditRL.OnlineOptimalStep.optimal_value

Compiled

Plain-English statement. At the positive square-root ratio, the exact square gap vanishes.

Mathematical reading. At the positive square-root ratio, the exact square gap vanishes.
Intuition
At the positive square-root ratio, the exact square gap vanishes.
Why it is needed
Make the source scalar minimum and its admissibility conditions precise.
Place in the proof
Orabona v10 Section 2.1, printed15/PDF27: bounded scalar correspondence or library refinement, not a new numbered source theorem.
Proof and Lean reading notes
Proof idea
Cancel the nonzero square-root denominator in the gap identity.
Lean reading notes
The exact historical Lean declaration and proof are retained. Coefficients remain fixed inside each positive-step comparison. Gap/lower-bound results allow nonnegative coefficients; positive attainment and uniqueness require strict positivity. Degenerate regimes are stated separately. The Lean results optimize a fixed scalar expression over positive steps. Strictly positive coefficients are explicit restrictions of this library contract, not separately established source-wide assumptions. The unrestricted source Anchor and a complete regret application are not established by these scalar declarations. The source warning about future and step-dependent gradients, its negative terminal term, zero regimes and separate Chapter 5 lower-bound obligation remain visible.
Teaching dependencies
BanditRL.OnlineOptimalStep.gap_identity, BanditRL.OnlineOptimalStep.optimal_positive
Exact Lean statement
theorem optimal_value (A B : ℝ) (hA : 0 < A) (hB : 0 < B) : upperBound A B (optimalStep A B) = Real.sqrt A * Real.sqrt B
Mathematics ↔ Lean

Equality characterizes the positive optimizer

Lean declarationBanditRL.OnlineOptimalStep.optimal_unique

Compiled

Plain-English statement. When both coefficients are positive, no other positive step attains the minimum.

Mathematical reading. When both coefficients are positive, no other positive step attains the minimum.
Intuition
When both coefficients are positive, no other positive step attains the minimum.
Why it is needed
Make the source scalar minimum and its admissibility conditions precise.
Place in the proof
Orabona v10 Section 2.1, printed15/PDF27: bounded scalar correspondence or library refinement, not a new numbered source theorem.
Proof and Lean reading notes
Proof idea
A zero square gap forces sqrt A = eta sqrt B; divide by the positive sqrt B.
Lean reading notes
The exact historical Lean declaration and proof are retained. Coefficients remain fixed inside each positive-step comparison. Gap/lower-bound results allow nonnegative coefficients; positive attainment and uniqueness require strict positivity. Degenerate regimes are stated separately. The Lean results optimize a fixed scalar expression over positive steps. Strictly positive coefficients are explicit restrictions of this library contract, not separately established source-wide assumptions. The unrestricted source Anchor and a complete regret application are not established by these scalar declarations. The source warning about future and step-dependent gradients, its negative terminal term, zero regimes and separate Chapter 5 lower-bound obligation remain visible.
Teaching dependencies
BanditRL.OnlineOptimalStep.gap_identity, BanditRL.OnlineOptimalStep.optimal_value
Exact Lean statement
theorem optimal_unique (A B η : ℝ) (hA : 0 < A) (hB : 0 < B) (hη : 0 < η) : upperBound A B η = upperBound A B (optimalStep A B) ↔ η = optimalStep A B
Mathematics ↔ Lean

Zero distance has no positive minimizer

Lean declarationBanditRL.OnlineOptimalStep.zero_distance_decreases

Compiled

Plain-English statement. If only the distance coefficient vanishes, halving any positive step strictly improves the scalar cost.

Mathematical reading. If only the distance coefficient vanishes, halving any positive step strictly improves the scalar cost.
Intuition
If only the distance coefficient vanishes, halving any positive step strictly improves the scalar cost.
Why it is needed
Make the source scalar minimum and its admissibility conditions precise.
Place in the proof
Orabona v10 Section 2.1, printed15/PDF27: bounded scalar correspondence or library refinement, not a new numbered source theorem.
Proof and Lean reading notes
Proof idea
The reciprocal-distance term is zero, leaving a strictly increasing positive linear term.
Lean reading notes
The exact historical Lean declaration and proof are retained. Coefficients remain fixed inside each positive-step comparison. Gap/lower-bound results allow nonnegative coefficients; positive attainment and uniqueness require strict positivity. Degenerate regimes are stated separately. The Lean results optimize a fixed scalar expression over positive steps. Strictly positive coefficients are explicit restrictions of this library contract, not separately established source-wide assumptions. The unrestricted source Anchor and a complete regret application are not established by these scalar declarations. The source warning about future and step-dependent gradients, its negative terminal term, zero regimes and separate Chapter 5 lower-bound obligation remain visible.
Teaching dependencies
BanditRL.OnlineOptimalStep.upperBound
Exact Lean statement
theorem zero_distance_decreases (B η : ℝ) (hB : 0 < B) (hη : 0 < η) : 0 < η / 2 ∧ upperBound 0 B (η / 2) < upperBound 0 B η
Mathematics ↔ Lean

Zero energy has no positive minimizer

Lean declarationBanditRL.OnlineOptimalStep.zero_energy_decreases

Compiled

Plain-English statement. If only the energy coefficient vanishes, doubling any positive step strictly improves the scalar cost.

Mathematical reading. If only the energy coefficient vanishes, doubling any positive step strictly improves the scalar cost.
Intuition
If only the energy coefficient vanishes, doubling any positive step strictly improves the scalar cost.
Why it is needed
Make the source scalar minimum and its admissibility conditions precise.
Place in the proof
Orabona v10 Section 2.1, printed15/PDF27: bounded scalar correspondence or library refinement, not a new numbered source theorem.
Proof and Lean reading notes
Proof idea
The energy term is zero, so doubling the denominator halves the positive remaining term.
Lean reading notes
The exact historical Lean declaration and proof are retained. Coefficients remain fixed inside each positive-step comparison. Gap/lower-bound results allow nonnegative coefficients; positive attainment and uniqueness require strict positivity. Degenerate regimes are stated separately. The Lean results optimize a fixed scalar expression over positive steps. Strictly positive coefficients are explicit restrictions of this library contract, not separately established source-wide assumptions. The unrestricted source Anchor and a complete regret application are not established by these scalar declarations. The source warning about future and step-dependent gradients, its negative terminal term, zero regimes and separate Chapter 5 lower-bound obligation remain visible.
Teaching dependencies
BanditRL.OnlineOptimalStep.upperBound
Exact Lean statement
theorem zero_energy_decreases (A η : ℝ) (hA : 0 < A) (hη : 0 < η) : 0 < 2 * η ∧ upperBound A 0 (2 * η) < upperBound A 0 η
Mathematics ↔ Lean

Both zero coefficients give zero cost

Lean declarationBanditRL.OnlineOptimalStep.zero_coefficients

Compiled

Plain-English statement. Both coefficients zero make the totalized real expression zero; positive-step admissibility is still separate.

Mathematical reading. Both coefficients zero make the totalized real expression zero; positive-step admissibility is still separate.
Intuition
Both coefficients zero make the totalized real expression zero; positive-step admissibility is still separate.
Why it is needed
Make the source scalar minimum and its admissibility conditions precise.
Place in the proof
Orabona v10 Section 2.1, printed15/PDF27: bounded scalar correspondence or library refinement, not a new numbered source theorem.
Proof and Lean reading notes
Proof idea
Simplify both zero numerator and zero energy term.
Lean reading notes
The exact historical Lean declaration and proof are retained. Coefficients remain fixed inside each positive-step comparison. Gap/lower-bound results allow nonnegative coefficients; positive attainment and uniqueness require strict positivity. Degenerate regimes are stated separately. The Lean results optimize a fixed scalar expression over positive steps. Strictly positive coefficients are explicit restrictions of this library contract, not separately established source-wide assumptions. The unrestricted source Anchor and a complete regret application are not established by these scalar declarations. The source warning about future and step-dependent gradients, its negative terminal term, zero regimes and separate Chapter 5 lower-bound obligation remain visible.
Teaching dependencies
BanditRL.OnlineOptimalStep.upperBound
Exact Lean statement
theorem zero_coefficients (η : ℝ) : upperBound 0 0 η = 0

Maintainer contract

Open the canonical completion definition and blockers

Integration of the unchanged scalar module and complete canary, with explicit nondegenerate-domain restrictions and source correspondence. This is a bounded library result, not closure of the full source regret statement or Chapter 2.

Remaining blockers

  • The unrestricted source Anchor, source-to-regret application and other Chapter 2 obligations retain their own acceptance requirements.
  • Source lower bounds, later adaptive rates, whole-book closure, purification and an Exposition Seal are separate.

Chapter implementation status

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

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

Open boundaries

  • The Lean results optimize a fixed scalar expression over positive steps. Strictly positive coefficients are explicit restrictions of this library contract, not separately established source-wide assumptions. The unrestricted source Anchor and a complete regret application are not established by these scalar declarations. The source warning about future and step-dependent gradients, its negative terminal term, zero regimes and separate Chapter 5 lower-bound obligation remain visible.

All Lean modules in this chapter

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