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

Lean module · Absolute-loss guessing

BanditRLProof.OnlineGuessingSubgradient

Orabona arXiv:1912.13213v10, Example 2.32, printed20/PDF32. Source card ONLINE-GUESSING-OSD-ORABONA-V10-2.32. Full translated global support sets reuse the shared absolute-value equalities; properness and all-support norm bounds feed the actual current-choice OSD run. The same shared nearest projection clamps to [0,1]. Output index0 is source x1. A single horizon-prescribed eta=1/sqrtT run gives real absolute regret <=sqrtT for every feasible comparator. The eventual corollary is one-sided upper control across separately prescribed horizons, not signed convergence or an anytime rule. The noncomputable canonical c

Module map

Declarations
13
Placeholders
0

Imports

BanditRLProof.OnlineSubgradientDescent, BanditRLProof.OnlineSubgradientAbsolute, BanditRLProof.OnlineGuessingOGD

Imported by

BanditRLProof, BanditRLProof.OnlineGuessingSubgradientPolicy

Declarations

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

def BanditRL.OnlineGuessingSubgradient.loss Compiled

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

Used in these reading views: Online Learning Book

Absolute-loss guessing by projected subgradient descent

Canonical node identitydeclaration:BanditRL.OnlineGuessingSubgradient.loss

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

def loss (y x : ℝ) : EReal
theorem BanditRL.OnlineGuessingSubgradient.loss_subdifferential_translate Compiled

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

Used in these reading views: Online Learning Book

Absolute-loss guessing by projected subgradient descent

Canonical node identitydeclaration:BanditRL.OnlineGuessingSubgradient.loss_subdifferential_translate

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

theorem loss_subdifferential_translate (y x : ℝ) : SourceSubdifferential (loss y) x = SourceSubdifferential (fun z : ℝ => ((|z| : ℝ) : EReal)) (x - y)
theorem BanditRL.OnlineGuessingSubgradient.loss_subgradient_positive Compiled

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

Used in these reading views: Online Learning Book

Absolute-loss guessing by projected subgradient descent

Canonical node identitydeclaration:BanditRL.OnlineGuessingSubgradient.loss_subgradient_positive

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

theorem loss_subgradient_positive (y x : ℝ) (hxy : y < x) : SourceSubdifferential (loss y) x = {(1 : ℝ)}
theorem BanditRL.OnlineGuessingSubgradient.loss_subgradient_zero Compiled

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

Used in these reading views: Online Learning Book

Absolute-loss guessing by projected subgradient descent

Canonical node identitydeclaration:BanditRL.OnlineGuessingSubgradient.loss_subgradient_zero

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

theorem loss_subgradient_zero (y : ℝ) : SourceSubdifferential (loss y) y = Icc (-1 : ℝ) 1
theorem BanditRL.OnlineGuessingSubgradient.loss_subgradient_negative Compiled

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

Used in these reading views: Online Learning Book

Absolute-loss guessing by projected subgradient descent

Canonical node identitydeclaration:BanditRL.OnlineGuessingSubgradient.loss_subgradient_negative

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

theorem loss_subgradient_negative (y x : ℝ) (hxy : x < y) : SourceSubdifferential (loss y) x = {(-1 : ℝ)}
theorem BanditRL.OnlineGuessingSubgradient.example_2_32_subdifferential Compiled

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

Used in these reading views: Online Learning Book

Absolute-loss guessing by projected subgradient descent

Canonical node identitydeclaration:BanditRL.OnlineGuessingSubgradient.example_2_32_subdifferential

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

theorem example_2_32_subdifferential (y x : ℝ) : SourceSubdifferential (loss y) x = if y < x then {(1 : ℝ)} else if x = y then Icc (-1 : ℝ) 1 else {(-1 : ℝ)}
theorem BanditRL.OnlineGuessingSubgradient.loss_on_unitInterval Compiled

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

Used in these reading views: Online Learning Book

Absolute-loss guessing by projected subgradient descent

Canonical node identitydeclaration:BanditRL.OnlineGuessingSubgradient.loss_on_unitInterval

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

theorem loss_on_unitInterval (y : ℝ) : SubdifferentiableOn BanditRL.OnlineGradientDescent.unitInterval (loss y)
theorem BanditRL.OnlineGuessingSubgradient.loss_subgradient_bound Compiled

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

Used in these reading views: Online Learning Book

Absolute-loss guessing by projected subgradient descent

Canonical node identitydeclaration:BanditRL.OnlineGuessingSubgradient.loss_subgradient_bound

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

theorem loss_subgradient_bound (y x g : ℝ) (hg : g ∈ SourceSubdifferential (loss y) x) : ‖g‖ ≤ 1
theorem BanditRL.OnlineGuessingSubgradient.current_subgradient_bound Compiled

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

Used in these reading views: Online Learning Book

Absolute-loss guessing by projected subgradient descent

Canonical node identitydeclaration:BanditRL.OnlineGuessingSubgradient.current_subgradient_bound

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

theorem current_subgradient_bound (y x : ℝ) (hx : x ∈ Icc (0 : ℝ) 1) : ‖currentSubgradient (loss y) x‖ ≤ 1
theorem BanditRL.OnlineGuessingSubgradient.loss_step_clamp Compiled

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

Used in these reading views: Online Learning Book

Absolute-loss guessing by projected subgradient descent

Canonical node identitydeclaration:BanditRL.OnlineGuessingSubgradient.loss_step_clamp

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

theorem loss_step_clamp (η y x : ℝ) : step BanditRL.OnlineGradientDescent.unitInterval η (loss y) x = min (max (x - η * currentSubgradient (loss y) x) 0) 1
theorem BanditRL.OnlineGuessingSubgradient.guessing_prefix Compiled

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

Used in these reading views: Online Learning Book

Absolute-loss guessing by projected subgradient descent

Canonical node identitydeclaration:BanditRL.OnlineGuessingSubgradient.guessing_prefix

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

theorem guessing_prefix (η η' : ℕ → ℝ) (y y' : ℕ → ℝ) (x₁ : ℝ) (t : ℕ) (hη : ∀ s < t, η s = η' s) (hy : ∀ s < t, y s = y' s) : iterate BanditRL.OnlineGradientDescent.unitInterval η (fun s => loss (y s)) x₁ t = iterate BanditRL.OnlineGradientDescent.unitInterval η' (fun s => loss (y' s)) x₁ t
theorem BanditRL.OnlineGuessingSubgradient.example_2_32 Compiled

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

Used in these reading views: Online Learning Book

Absolute-loss guessing by projected subgradient descent

Canonical node identitydeclaration:BanditRL.OnlineGuessingSubgradient.example_2_32

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

theorem example_2_32 (y : ℕ → ℝ) (x₁ : ℝ) (hx₁ : x₁ ∈ Icc (0 : ℝ) 1) (T : ℕ) (hT : 0 < T) (hy : ∀ t < T, y t ∈ Icc (0 : ℝ) 1) : ∀ u ∈ Icc (0 : ℝ) 1, (∑ t ∈ range T, (|iterate BanditRL.OnlineGradientDescent.unitInterval (fun _ => 1 / Real.sqrt T) (fun s => loss (y s)) x₁ t - y t| - |u - y t|)) ≤ Real.sqrt T
theorem BanditRL.OnlineGuessingSubgradient.example_2_32_average_eventually Compiled

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

Used in these reading views: Online Learning Book

Absolute-loss guessing by projected subgradient descent

Canonical node identitydeclaration:BanditRL.OnlineGuessingSubgradient.example_2_32_average_eventually

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

theorem example_2_32_average_eventually (y : ℕ → ℝ) (x₁ : ℝ) (hx₁ : x₁ ∈ Icc (0 : ℝ) 1) (hy : ∀ t, y t ∈ Icc (0 : ℝ) 1) (u : ℝ) (hu : u ∈ Icc (0 : ℝ) 1) (ε : ℝ) (hε : 0 < ε) : ∀ᶠ T : ℕ in atTop, (∑ t ∈ range T, (|iterate BanditRL.OnlineGradientDescent.unitInterval (fun _ => 1 / Real.sqrt T) (fun s => loss (y s)) x₁ t - y t| - |u - y t|)) / T < ε