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.OnlineGradientDescentSource

Orabona, arXiv:1912.13213v10, Algorithm 2.1, Lemma 2.12, both branches of Theorem 2.13, and Eq. (2.1). The loss is convex on the feasible set and has a specified differentiable ambient extension on an arbitrary open neighborhood. That neighborhood need not be convex. The existing projected algorithms are reused, with Lean time zero corresponding to source round one.

Module map

Declarations
14
Placeholders
0

Imports

BanditRLProof.OnlineGradientDescentVariable, BanditRLProof.OnlineConvexFirstOrder

Imported by

BanditRLProof, BanditRLProof.OnlineUnboundedOGD

Declarations

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

def BanditRL.OnlineGradientDescentSource.FeasibleRegularLoss Compiled

Convexity on the feasible set and ambient derivatives at every feasible point.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescentSource.FeasibleRegularLoss

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

def FeasibleRegularLoss (V : Domain E) (f : E → ℝ) : Prop
def BanditRL.OnlineGradientDescentSource.SourceRegularLoss Compiled

Source regularity for the supplied ambient extension. No convexity of `U` is required.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescentSource.SourceRegularLoss

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

def SourceRegularLoss (V : Domain E) (f : E → ℝ) : Prop
theorem BanditRL.OnlineGradientDescentSource.source_to_feasible Compiled

The arbitrary open differentiability neighborhood supplies each ambient derivative.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescentSource.source_to_feasible

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

theorem source_to_feasible (V : Domain E) (f : E → ℝ) (hf : SourceRegularLoss V f) : FeasibleRegularLoss V f
theorem BanditRL.OnlineGradientDescentSource.regular_to_feasible Compiled

Compatibility with the historical stronger convex-neighborhood interface; forward only.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescentSource.regular_to_feasible

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

theorem regular_to_feasible (V : Domain E) (f : E → ℝ) (hf : RegularLoss V f) : FeasibleRegularLoss V f
theorem BanditRL.OnlineGradientDescentSource.linear_regular Compiled

The genuine affine specialization satisfies the historical stronger interface.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescentSource.linear_regular

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

theorem linear_regular (V : Domain E) (g : E) : RegularLoss V (fun z => inner ℝ g z)
theorem BanditRL.OnlineGradientDescentSource.gradient_linear Compiled

The affine loss uses the specified vector as its actual gradient.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescentSource.gradient_linear

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

theorem gradient_linear (g x : E) : gradient (fun z => inner ℝ g z) x = g
theorem BanditRL.OnlineGradientDescentSource.first_order Compiled

Convexity on the feasible set produces the first-order loss comparison.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescentSource.first_order

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

theorem first_order (V : Domain E) (f : E → ℝ) (hf : FeasibleRegularLoss V f) (x u : E) (hx : x ∈ V.carrier) (hu : u ∈ V.carrier) : f x - f u ≤ inner ℝ (gradient f x) (x - u)
theorem BanditRL.OnlineGradientDescentSource.lemma_2_12 Compiled

Both one-step inequalities hold for the same original projected update.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescentSource.lemma_2_12

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

theorem lemma_2_12 (V : Domain E) (f : E → ℝ) (hf : FeasibleRegularLoss V f) (η : ℝ) (hη : 0 < η) (x u : E) (hx : x ∈ V.carrier) (hu : u ∈ V.carrier) : η * (f x - f u) ≤ η * inner ℝ (gradient f x) (x - u) ∧ η * inner ℝ (gradient f x) (x - u) ≤ ‖x - u‖ ^ 2 / 2 - ‖step V η f x - u‖ ^ 2 / 2 + η ^ 2 / 2 * ‖gradient f x‖ ^ 2
theorem BanditRL.OnlineGradientDescentSource.theorem_2_13_fixed Compiled

Fixed-step telescope on the actual recurrence; no bounded-domain premise.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescentSource.theorem_2_13_fixed

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

theorem theorem_2_13_fixed (V : Domain E) (η : ℝ) (hη : 0 < η) (loss : ℕ → E → ℝ) (x₁ : E) (hx₁ : x₁ ∈ V.carrier) (T : ℕ) (hloss : ∀ t < T, FeasibleRegularLoss V (loss t)) (u : E) (hu : u ∈ V.carrier) : regret V η loss x₁ u T ≤ ‖x₁ - u‖ ^ 2 / (2 * η) + η / 2 * (∑ t ∈ range T, ‖gradient (loss t) (iterate V η loss x₁ t)‖ ^ 2) - ‖iterate V η loss x₁ T - u‖ ^ 2 / (2 * η)
theorem BanditRL.OnlineGradientDescentSource.variable_one_step Compiled

The current actual scheduled update supplies the divided one-step inequality.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescentSource.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 : FeasibleRegularLoss 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.OnlineGradientDescentSource.theorem_2_13_variable_bound Compiled

The weighted potential telescope retains the negative terminal at the last played step.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescentSource.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, FeasibleRegularLoss 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.OnlineGradientDescentSource.theorem_2_13_variable Compiled

The bounded-set diameter supplies the source finite-diameter bound.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescentSource.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, FeasibleRegularLoss 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))
theorem BanditRL.OnlineGradientDescentSource.equation_2_1_distance Compiled

Positive horizon tuning uses gradients of this same tuned trajectory.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescentSource.equation_2_1_distance

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

theorem equation_2_1_distance (V : Domain E) (loss : ℕ → E → ℝ) (x₁ : E) (hx₁ : x₁ ∈ V.carrier) (T : ℕ) (hT : 0 < T) (D G : ℝ) (hD : 0 < D) (hG : 0 < G) (hloss : ∀ t < T, FeasibleRegularLoss V (loss t)) (u : E) (hu : u ∈ V.carrier) (hdist : ‖x₁ - u‖ ≤ D) (hgrad : ∀ t < T, ‖gradient (loss t) (iterate V (D / (G * Real.sqrt T)) loss x₁ t)‖ ≤ G) : regret V (D / (G * Real.sqrt T)) loss x₁ u T ≤ D * G * Real.sqrt T
theorem BanditRL.OnlineGradientDescentSource.equation_2_1 Compiled

One horizon-tuned learner satisfies the bound for every feasible comparator.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlineGradientDescentSource.equation_2_1

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

theorem equation_2_1 (V : Domain E) (loss : ℕ → E → ℝ) (x₁ : E) (hx₁ : x₁ ∈ V.carrier) (T : ℕ) (hT : 0 < T) (D G : ℝ) (hD : 0 < D) (hG : 0 < G) (hdiam : ∀ x ∈ V.carrier, ∀ y ∈ V.carrier, ‖x - y‖ ≤ D) (hloss : ∀ t < T, FeasibleRegularLoss V (loss t)) (hgrad : ∀ t < T, ‖gradient (loss t) (iterate V (D / (G * Real.sqrt T)) loss x₁ t)‖ ≤ G) : ∀ u ∈ V.carrier, regret V (D / (G * Real.sqrt T)) loss x₁ u T ≤ D * G * Real.sqrt T