Lean module · Scalar step-size optimization
BanditRLProof.OnlineOptimalStep
Orabona arXiv:1912.13213v10, printed page15/PDF27, unnumbered main-text scalar minimization and the D/(G sqrt T) tuning calculation. Coefficients are held fixed. Realized gradient energy depends on the stepsize itself, so these scalar minima do not construct a learner using future information or optimize regret across rerun trajectories. Actual OGD/OSD guarantees are separate.
Module map
Imports
No project-local imports.
Imported by
BanditRLProof, BanditRLProof.OnlineAdaptiveBenchmark, BanditRLProof.OnlineUnitScaling
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
def
BanditRL.OnlineOptimalStep.upperBound
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Optimal step size for a frozen scalar bound
Canonical node identity
declaration:BanditRL.OnlineOptimalStep.upperBoundReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def upperBound (A B η : ℝ) : ℝ
def
BanditRL.OnlineOptimalStep.optimalStep
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Optimal step size for a frozen scalar bound
Canonical node identity
declaration:BanditRL.OnlineOptimalStep.optimalStepReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def optimalStep (A B : ℝ) : ℝ
theorem
BanditRL.OnlineOptimalStep.gap_identity
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Optimal step size for a frozen scalar bound
Canonical node identity
declaration:BanditRL.OnlineOptimalStep.gap_identityReading membership is not a proof dependency. Exact assumptions remain in the 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 * η)
theorem
BanditRL.OnlineOptimalStep.lower_bound
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Optimal step size for a frozen scalar bound
Canonical node identity
declaration:BanditRL.OnlineOptimalStep.lower_boundReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem lower_bound (A B η : ℝ) (hA : 0 ≤ A) (hB : 0 ≤ B) (hη : 0 < η) : Real.sqrt A * Real.sqrt B ≤ upperBound A B η
theorem
BanditRL.OnlineOptimalStep.optimal_positive
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Optimal step size for a frozen scalar bound
Canonical node identity
declaration:BanditRL.OnlineOptimalStep.optimal_positiveReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem optimal_positive (A B : ℝ) (hA : 0 < A) (hB : 0 < B) : 0 < optimalStep A B
theorem
BanditRL.OnlineOptimalStep.optimal_value
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Optimal step size for a frozen scalar bound
Canonical node identity
declaration:BanditRL.OnlineOptimalStep.optimal_valueReading membership is not a proof dependency. Exact assumptions remain in the 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
theorem
BanditRL.OnlineOptimalStep.optimal_unique
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Optimal step size for a frozen scalar bound
Canonical node identity
declaration:BanditRL.OnlineOptimalStep.optimal_uniqueReading membership is not a proof dependency. Exact assumptions remain in the 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
theorem
BanditRL.OnlineOptimalStep.source_argmin
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Optimal step size for a frozen scalar bound
Canonical node identity
declaration:BanditRL.OnlineOptimalStep.source_argminReading membership is not a proof dependency. Exact assumptions remain in the 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 η
theorem
BanditRL.OnlineOptimalStep.distance_energy_argmin
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Optimal step size for a frozen scalar bound
Canonical node identity
declaration:BanditRL.OnlineOptimalStep.distance_energy_argminReading membership is not a proof dependency. Exact assumptions remain in the 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 η
theorem
BanditRL.OnlineOptimalStep.diameter_argmin
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Optimal step size for a frozen scalar bound
Canonical node identity
declaration:BanditRL.OnlineOptimalStep.diameter_argminReading membership is not a proof dependency. Exact assumptions remain in the 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 : ℝ)) η
theorem
BanditRL.OnlineOptimalStep.zero_distance_decreases
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Optimal step size for a frozen scalar bound
Canonical node identity
declaration:BanditRL.OnlineOptimalStep.zero_distance_decreasesReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem zero_distance_decreases (B η : ℝ) (hB : 0 < B) (hη : 0 < η) : 0 < η / 2 ∧ upperBound 0 B (η / 2) < upperBound 0 B η
theorem
BanditRL.OnlineOptimalStep.zero_energy_decreases
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Optimal step size for a frozen scalar bound
Canonical node identity
declaration:BanditRL.OnlineOptimalStep.zero_energy_decreasesReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem zero_energy_decreases (A η : ℝ) (hA : 0 < A) (hη : 0 < η) : 0 < 2 * η ∧ upperBound A 0 (2 * η) < upperBound A 0 η
theorem
BanditRL.OnlineOptimalStep.zero_coefficients
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Optimal step size for a frozen scalar bound
Canonical node identity
declaration:BanditRL.OnlineOptimalStep.zero_coefficientsReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem zero_coefficients (η : ℝ) : upperBound 0 0 η = 0