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

Lean module · Projected OGD

BanditRLProof.OnlineGradientDescentVariable

The variable-step recurrence is shared by both OGD interfaces. The historical performance theorems below use RegularLoss, which requires convexity on an open differentiability neighborhood. The source-facing bounds in BanditRL.OnlineGradientDescentSource instead accept convexity on the feasible set and ambient derivatives there; source_to_feasible produces these premises from a supplied extension differentiable on an arbitrary open neighborhood. They use this same iterateVariable and retain the negative terminal residual.

Module map

Declarations
8
Placeholders
0

Imports

BanditRLProof.OnlineGradientDescent

Imported by

BanditRLProof, BanditRLProof.OnlineGradientDescentSource, BanditRLProof.OnlinePrescientBregmanRegret, BanditRLProof.OnlineSubgradientDescent

Declarations

Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.

def BanditRL.OnlineGradientDescent.iterateVariable Compiled

Algorithm 2.1 with a prescribed schedule: source round t+1 is Lean t.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescent.iterateVariable

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

def iterateVariable (V : Domain E) (η : ℕ → ℝ) (loss : ℕ → E → ℝ) (x₁ : E) : ℕ → E | 0 => x₁ | t + 1 => step V (η t) (loss t) (iterateVariable V η loss x₁ t) /-- Regret uses exactly the variable-step trajectory, with no comparator input to the policy. -/ def regretVariable (V : Domain E) (η : ℕ → ℝ) (loss : ℕ → E → ℝ) (x₁ u : E) (T : ℕ) : ℝ
def BanditRL.OnlineGradientDescent.regretVariable Compiled

Regret uses exactly the variable-step trajectory, with no comparator input to the policy.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescent.regretVariable

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

def regretVariable (V : Domain E) (η : ℕ → ℝ) (loss : ℕ → E → ℝ) (x₁ u : E) (T : ℕ) : ℝ
theorem BanditRL.OnlineGradientDescent.iterateVariable_mem Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescent.iterateVariable_mem

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem iterateVariable_mem (V : Domain E) (η : ℕ → ℝ) (loss : ℕ → E → ℝ) (x₁ : E) (hx₁ : x₁ ∈ V.carrier) (t : ℕ) : iterateVariable V η loss x₁ t ∈ V.carrier
theorem BanditRL.OnlineGradientDescent.iterateVariable_prefix Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescent.iterateVariable_prefix

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem iterateVariable_prefix (V : Domain E) (η : ℕ → ℝ) (loss loss' : ℕ → E → ℝ) (x₁ : E) (t : ℕ) (h : ∀ s < t, loss s = loss' s) : iterateVariable V η loss x₁ t = iterateVariable V η loss' x₁ t
theorem BanditRL.OnlineGradientDescent.variable_one_step Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescent.variable_one_step

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem variable_one_step (V : Domain E) (η : ℕ → ℝ) (loss : ℕ → E → ℝ) (x₁ : E) (hx₁ : x₁ ∈ V.carrier) (t : ℕ) (hη : 0 < η t) (hloss : RegularLoss V (loss t)) (u : E) (hu : u ∈ V.carrier) : loss t (iterateVariable V η loss x₁ t) - loss t u ≤ (‖iterateVariable V η loss x₁ t - u‖ ^ 2 - ‖iterateVariable V η loss x₁ (t + 1) - u‖ ^ 2) / (2 * η t) + η t / 2 * ‖gradient (loss t) (iterateVariable V η loss x₁ t)‖ ^ 2
theorem BanditRL.OnlineGradientDescent.weighted_potential_sum Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescent.weighted_potential_sum

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem weighted_potential_sum (a η : ℕ → ℝ) (C : ℝ) (T : ℕ) (hT : 0 < T) (hη : ∀ t < T, 0 < η t) (hmono : ∀ t, t + 1 < T → η (t + 1) ≤ η t) (hbound : ∀ t < T, a t ≤ C) : (∑ t ∈ range T, (a t - a (t + 1)) / (2 * η t)) ≤ C / (2 * η (T - 1)) - a T / (2 * η (T - 1))
theorem BanditRL.OnlineGradientDescent.theorem_2_13_variable_bound Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescent.theorem_2_13_variable_bound

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem theorem_2_13_variable_bound (V : Domain E) (η : ℕ → ℝ) (loss : ℕ → E → ℝ) (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, RegularLoss V (loss t)) (D : ℝ) (hdiam : ∀ x ∈ V.carrier, ∀ y ∈ V.carrier, ‖x - y‖ ≤ D) (u : E) (hu : u ∈ V.carrier) : regretVariable V η loss x₁ u T ≤ D ^ 2 / (2 * η (T - 1)) + (∑ t ∈ range T, η t / 2 * ‖gradient (loss t) (iterateVariable V η loss x₁ t)‖ ^ 2) - ‖iterateVariable V η loss x₁ T - u‖ ^ 2 / (2 * η (T - 1))
theorem BanditRL.OnlineGradientDescent.theorem_2_13_variable Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescent.theorem_2_13_variable

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem theorem_2_13_variable (V : Domain E) (hV : Bornology.IsBounded V.carrier) (η : ℕ → ℝ) (loss : ℕ → E → ℝ) (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, RegularLoss V (loss t)) (u : E) (hu : u ∈ V.carrier) : regretVariable V η loss x₁ u T ≤ (Metric.diam V.carrier) ^ 2 / (2 * η (T - 1)) + (∑ t ∈ range T, η t / 2 * ‖gradient (loss t) (iterateVariable V η loss x₁ t)‖ ^ 2) - ‖iterateVariable V η loss x₁ T - u‖ ^ 2 / (2 * η (T - 1))