Lean module · Absolute-loss guessing
BanditRLProof.OnlineGuessingSubgradientPolicy
Example2.32 in Orabona arXiv1912.13213v10, printed20/PDF32. Reuse the shared absolute loss, unit interval and actual projected finite-history policy recursion. Every played legal support is allowed, including historical choices in the full tie interval. Performance uses this same eta=1/sqrtT run, not a supplied regret inequality or a universal off-path oracle premise. The exact finite sqrtT bound specializes the source OSD transfer at D=G=1. The last theorem is only eventual upper average over separately prescribed horizons, not signed convergence to zero or one anytime run. Broader norm/clamp algebra permits arb
Module map
Imports
BanditRLProof.OnlineGuessingSubgradient, BanditRLProof.OnlineSubgradientPolicy
Imported by
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
theorem
BanditRL.OnlineGuessingSubgradientPolicy.selected_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 identity
declaration:BanditRL.OnlineGuessingSubgradientPolicy.selected_boundReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem selected_bound (η : ℕ → ℝ) (y : ℕ → ℝ) (x₁ : ℝ) (p : SupportPolicy (E := ℝ)) (T : ℕ) (hlegal : LegalFeedback unitInterval η (fun s => loss (y s)) x₁ p T) (t : ℕ) (ht : t < T) : ‖selected unitInterval η (fun s => loss (y s)) x₁ p t‖ ≤ 1
theorem
BanditRL.OnlineGuessingSubgradientPolicy.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 identity
declaration:BanditRL.OnlineGuessingSubgradientPolicy.step_clampReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem step_clamp (η : ℕ → ℝ) (y : ℕ → ℝ) (x₁ : ℝ) (p : SupportPolicy (E := ℝ)) (t : ℕ) : output unitInterval η (fun s => loss (y s)) x₁ p (t + 1) = min (max (output unitInterval η (fun s => loss (y s)) x₁ p t - η t * selected unitInterval η (fun s => loss (y s)) x₁ p t) 0) 1
theorem
BanditRL.OnlineGuessingSubgradientPolicy.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 identity
declaration:BanditRL.OnlineGuessingSubgradientPolicy.example_2_32Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem example_2_32 (y : ℕ → ℝ) (x₁ : ℝ) (p : SupportPolicy (E := ℝ)) (hx₁ : x₁ ∈ Icc (0 : ℝ) 1) (T : ℕ) (hT : 0 < T) (hy : ∀ t < T, y t ∈ Icc (0 : ℝ) 1) (hlegal : LegalFeedback unitInterval (fun _ => 1 / Real.sqrt T) (fun s => loss (y s)) x₁ p T) : ∀ u ∈ Icc (0 : ℝ) 1, (∑ t ∈ range T, (|output unitInterval (fun _ => 1 / Real.sqrt T) (fun s => loss (y s)) x₁ p t - y t| - |u - y t|)) ≤ Real.sqrt T
theorem
BanditRL.OnlineGuessingSubgradientPolicy.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 identity
declaration:BanditRL.OnlineGuessingSubgradientPolicy.example_2_32_average_eventuallyReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem example_2_32_average_eventually (y : ℕ → ℝ) (x₁ : ℝ) (p : SupportPolicy (E := ℝ)) (hx₁ : x₁ ∈ Icc (0 : ℝ) 1) (hy : ∀ t, y t ∈ Icc (0 : ℝ) 1) (hlegal : ∀ T : ℕ, 0 < T → LegalFeedback unitInterval (fun _ => 1 / Real.sqrt T) (fun s => loss (y s)) x₁ p T) (u : ℝ) (hu : u ∈ Icc (0 : ℝ) 1) (ε : ℝ) (hε : 0 < ε) : ∀ᶠ T : ℕ in atTop, (∑ t ∈ range T, (|output unitInterval (fun _ => 1 / Real.sqrt T) (fun s => loss (y s)) x₁ p t - y t| - |u - y t|)) / T < ε