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

Lean module · Guessing-game OGD

BanditRLProof.OnlineGuessingOGD

Generated source map for this Lean module.

Module map

Declarations
7
Placeholders
0

Imports

BanditRLProof.OnlineGradientDescent

Imported by

BanditRLProof, BanditRLProof.OnlineGuessingLower, BanditRLProof.OnlineGuessingSubgradient

Declarations

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

def BanditRL.OnlineGradientDescent.unitInterval Compiled

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

Used in these reading views: Online Learning Book

Projected OGD for the squared-loss guessing game

Canonical node identitydeclaration:BanditRL.OnlineGradientDescent.unitInterval

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

def unitInterval : Domain ℝ where
theorem BanditRL.OnlineGradientDescent.project_unitInterval Compiled

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

Used in these reading views: Online Learning Book

Projected OGD for the squared-loss guessing game

Canonical node identitydeclaration:BanditRL.OnlineGradientDescent.project_unitInterval

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

theorem project_unitInterval (z : ℝ) : project unitInterval z = min (max z 0) 1
theorem BanditRL.OnlineGradientDescent.square_regular Compiled

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

Used in these reading views: Online Learning Book

Projected OGD for the squared-loss guessing game

Canonical node identitydeclaration:BanditRL.OnlineGradientDescent.square_regular

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

theorem square_regular (y : ℝ) : RegularLoss unitInterval (fun x : ℝ => (x-y)^2)
theorem BanditRL.OnlineGradientDescent.gradient_square Compiled

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

Used in these reading views: Online Learning Book

Projected OGD for the squared-loss guessing game

Canonical node identitydeclaration:BanditRL.OnlineGradientDescent.gradient_square

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

theorem gradient_square (y x : ℝ) : gradient (fun x : ℝ => (x-y)^2) x = 2 * (x-y)
theorem BanditRL.OnlineGradientDescent.gradient_square_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 for the squared-loss guessing game

Canonical node identitydeclaration:BanditRL.OnlineGradientDescent.gradient_square_bound

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

theorem gradient_square_bound (y x : ℝ) (hy : y ∈ Icc (0 : ℝ) 1) (hx : x ∈ Icc (0 : ℝ) 1) : ‖gradient (fun x : ℝ => (x-y)^2) x‖ ≤ 2
theorem BanditRL.OnlineGradientDescent.square_step_clamp Compiled

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

Used in these reading views: Online Learning Book

Projected OGD for the squared-loss guessing game

Canonical node identitydeclaration:BanditRL.OnlineGradientDescent.square_step_clamp

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

theorem square_step_clamp (η y x : ℝ) : step unitInterval η (fun x : ℝ => (x-y)^2) x = min (max (x - 2 * η * (x-y)) 0) 1
theorem BanditRL.OnlineGradientDescent.example_2_14 Compiled

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

Used in these reading views: Online Learning Book

Projected OGD for the squared-loss guessing game

Canonical node identitydeclaration:BanditRL.OnlineGradientDescent.example_2_14

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

theorem example_2_14 (y : ℕ → ℝ) (x0 : ℝ) (hx0 : x0 ∈ Icc (0 : ℝ) 1) (T : ℕ) (hT : 0 < T) (hy : ∀ t < T, y t ∈ Icc (0 : ℝ) 1) : ∀ u ∈ Icc (0 : ℝ) 1, regret unitInterval (1 / (2 * Real.sqrt T)) (fun t x => (x-y t)^2) x0 u T ≤ 2 * Real.sqrt T