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

Orabona v10, Chapter 2's prescient observation (printed 14), read with Algorithm 15.8 and Theorem 15.30 (printed 265–266). This is the affine-loss, quadratic Euclidean specialization, extended to complete real Hilbert spaces. The current vector is received before prediction; Lean prediction t is state t + 1. The ambient initial center may lie outside the feasible set. The general convex/Bregman and variable-step source statements remain open.

Module map

Declarations
11
Placeholders
0

Imports

BanditRLProof.OnlineGradientDescent

Imported by

BanditRLProof

Declarations

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

def BanditRL.OnlinePrescientLinear.advance 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.OnlinePrescientLinear.advance

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

def advance (V : Domain E) (η : ℝ) (g x : E) : E
def BanditRL.OnlinePrescientLinear.iterate 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.OnlinePrescientLinear.iterate

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

def iterate (V : Domain E) (η : ℝ) (g : ℕ → E) (x0 : E) : ℕ → E | 0 => x0 | t + 1 => advance V η (g t) (iterate V η g x0 t) def prediction (V : Domain E) (η : ℝ) (g : ℕ → E) (x0 : E) (t : ℕ) : E
def BanditRL.OnlinePrescientLinear.prediction 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.OnlinePrescientLinear.prediction

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

def prediction (V : Domain E) (η : ℝ) (g : ℕ → E) (x0 : E) (t : ℕ) : E
def BanditRL.OnlinePrescientLinear.regret 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.OnlinePrescientLinear.regret

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

def regret (V : Domain E) (η : ℝ) (g : ℕ → E) (x0 u : E) (T : ℕ) : ℝ
theorem BanditRL.OnlinePrescientLinear.advance_sharp_bound Compiled

The actual projection supplies a negative movement-square term.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlinePrescientLinear.advance_sharp_bound

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

theorem advance_sharp_bound (V : Domain E) (η : ℝ) (hη : 0 < η) (g x u : E) (hu : u ∈ V.carrier) : inner ℝ g (advance V η g x - u) ≤ (‖x - u‖ ^ 2 - ‖advance V η g x - u‖ ^ 2 - ‖advance V η g x - x‖ ^ 2) / (2 * η)
theorem BanditRL.OnlinePrescientLinear.advance_proximal_minimizer Compiled

The selected projection really minimizes the known-current proximal objective.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlinePrescientLinear.advance_proximal_minimizer

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

theorem advance_proximal_minimizer (V : Domain E) (η : ℝ) (hη : 0 < η) (g x : E) (b : ℝ) : advance V η g x ∈ V.carrier ∧ ∀ u ∈ V.carrier, inner ℝ g (advance V η g x) + b + ‖advance V η g x - x‖ ^ 2 / (2 * η) ≤ inner ℝ g u + b + ‖u - x‖ ^ 2 / (2 * η)
theorem BanditRL.OnlinePrescientLinear.prediction_mem Compiled

Every played prediction is feasible, including when the initial center is outside.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlinePrescientLinear.prediction_mem

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

theorem prediction_mem (V : Domain E) (η : ℝ) (g : ℕ → E) (x0 : E) (t : ℕ) : prediction V η g x0 t ∈ V.carrier
theorem BanditRL.OnlinePrescientLinear.prediction_prefix Compiled

Prediction uses the current vector and earlier vectors; future vectors are irrelevant.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlinePrescientLinear.prediction_prefix

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

theorem prediction_prefix (V : Domain E) (η : ℝ) (g g' : ℕ → E) (x0 : E) (t : ℕ) (h : ∀ s ≤ t, g s = g' s) : prediction V η g x0 t = prediction V η g' x0 t
theorem BanditRL.OnlinePrescientLinear.regret_eq_loss_difference Compiled

Arbitrary affine offsets cancel on the same generated played predictions.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlinePrescientLinear.regret_eq_loss_difference

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

theorem regret_eq_loss_difference (V : Domain E) (η : ℝ) (g : ℕ → E) (b : ℕ → ℝ) (x0 u : E) (T : ℕ) : regret V η g x0 u T = ∑ t ∈ range T, ((inner ℝ (g t) (prediction V η g x0 t) + b t) - (inner ℝ (g t) u + b t))
theorem BanditRL.OnlinePrescientLinear.regret_sharp_bound Compiled

Telescope the actual same trajectory, retaining terminal and movement residuals.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlinePrescientLinear.regret_sharp_bound

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

theorem regret_sharp_bound (V : Domain E) (η : ℝ) (hη : 0 < η) (g : ℕ → E) (x0 u : E) (T : ℕ) (hu : u ∈ V.carrier) : regret V η g x0 u T ≤ ‖x0 - u‖ ^ 2 / (2 * η) - ‖iterate V η g x0 T - u‖ ^ 2 / (2 * η) - (∑ t ∈ range T, ‖prediction V η g x0 t - iterate V η g x0 t‖ ^ 2) / (2 * η)
theorem BanditRL.OnlinePrescientLinear.regret_source_bound Compiled

Drop only the nonnegative terminal residual, retaining negative movement energy.

Used in these reading views: Online Learning Book

Projected OGD: Orabona Chapter 2

Canonical node identitydeclaration:BanditRL.OnlinePrescientLinear.regret_source_bound

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

theorem regret_source_bound (V : Domain E) (η : ℝ) (hη : 0 < η) (g : ℕ → E) (x0 u : E) (T : ℕ) (hu : u ∈ V.carrier) : regret V η g x0 u T ≤ ‖x0 - u‖ ^ 2 / (2 * η) - (∑ t ∈ range T, ‖prediction V η g x0 t - iterate V η g x0 t‖ ^ 2) / (2 * η)