Lean module · Projected OGD
BanditRLProof.OnlineUnboundedOSD
Orabona, A Modern Introduction to Online Learning, arXiv:1912.13213v10, Theorem 5.4 (printed pp.52-53 / PDF pp.64-65), required by the Chapter 2 forward observation (printed p.14 / PDF p.26).
Module map
Imports
BanditRLProof.OnlineSubgradientDescent, BanditRLProof.OnlineHinge, BanditRLProof.OnlineHuber
Imported by
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
def
BanditRL.OnlineUnboundedOSD.powerSteps
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 identity
declaration:BanditRL.OnlineUnboundedOSD.powerStepsReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def powerSteps (α : ℝ) (t : ℕ) : ℝ
def
BanditRL.OnlineUnboundedOSD.phi
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 identity
declaration:BanditRL.OnlineUnboundedOSD.phiReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def phi (α : ℝ) : ℝ
def
BanditRL.OnlineUnboundedOSD.switchSlope
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 identity
declaration:BanditRL.OnlineUnboundedOSD.switchSlopeReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def switchSlope (T t : ℕ) : ℝ
def
BanditRL.OnlineUnboundedOSD.switchLoss
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 identity
declaration:BanditRL.OnlineUnboundedOSD.switchLossReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def switchLoss (T : ℕ) (v : E) (t : ℕ) (z : E) : ℝ
theorem
BanditRL.OnlineUnboundedOSD.currentSubgradient_affine
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 identity
declaration:BanditRL.OnlineUnboundedOSD.currentSubgradient_affineReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem currentSubgradient_affine (a x : E) (b : ℝ) : BanditRL.OnlineSubgradientDescent.currentSubgradient (fun z => ((inner ℝ a z + b : ℝ) : EReal)) x = a
theorem
BanditRL.OnlineUnboundedOSD.step_affine_fullSpace
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 identity
declaration:BanditRL.OnlineUnboundedOSD.step_affine_fullSpaceReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem step_affine_fullSpace (η : ℝ) (a x : E) (b : ℝ) : BanditRL.OnlineSubgradientDescent.step BanditRL.OnlineHuber.fullSpace η (fun z => ((inner ℝ a z + b : ℝ) : EReal)) x = x - η • a
theorem
BanditRL.OnlineUnboundedOSD.iterate_affine_prefix
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 identity
declaration:BanditRL.OnlineUnboundedOSD.iterate_affine_prefixReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem iterate_affine_prefix (η : ℕ → ℝ) (a : ℕ → E) (b : ℕ → ℝ) (x0 : E) (t : ℕ) : BanditRL.OnlineSubgradientDescent.iterate BanditRL.OnlineHuber.fullSpace η (fun s z => ((inner ℝ (a s) z + b s : ℝ) : EReal)) x0 t = x0 - ∑ s ∈ range t, η s • a s
theorem
BanditRL.OnlineUnboundedOSD.powerSteps_pos
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 identity
declaration:BanditRL.OnlineUnboundedOSD.powerSteps_posReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem powerSteps_pos (α : ℝ) (t : ℕ) : 0 < powerSteps α t
theorem
BanditRL.OnlineUnboundedOSD.phi_limit
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 identity
declaration:BanditRL.OnlineUnboundedOSD.phi_limitReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem phi_limit : Tendsto phi (𝓝[<] (1 : ℝ)) (𝓝 (1 - Real.log 2)) ∧ (3 / 10 : ℝ) ≤ 1 - Real.log 2
theorem
BanditRL.OnlineUnboundedOSD.switching_loss_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: Orabona Chapter 2
Canonical node identity
declaration:BanditRL.OnlineUnboundedOSD.switching_loss_regularReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem switching_loss_regular (T : ℕ) (v : E) (hv : ‖v‖ = 1) (t : ℕ) : ConvexOn ℝ univ (switchLoss T v t) ∧ LipschitzWith 1 (switchLoss T v t)
theorem
BanditRL.OnlineUnboundedOSD.phi_range
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 identity
declaration:BanditRL.OnlineUnboundedOSD.phi_rangeReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem phi_range (α : ℝ) (hα0 : 0 < α) (hα1 : α < 1) : 0 < phi α ∧ phi α < 1 - Real.log 2
theorem
BanditRL.OnlineUnboundedOSD.switching_scalar_regret_identity
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 identity
declaration:BanditRL.OnlineUnboundedOSD.switching_scalar_regret_identityReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem switching_scalar_regret_identity (α : ℝ) (T : ℕ) : BanditRL.OnlineSubgradientDescent.regret BanditRL.OnlineHuber.fullSpace (powerSteps α) (fun t z => (switchLoss T (1 : ℝ) t z : EReal)) 0 0 T = -((((T + 1) / 2 : ℕ) : ℝ) - ((T / 2 : ℕ) : ℝ)) * (∑ i ∈ range ((T + 1) / 2), powerSteps α i) + (∑ i ∈ range T, ((i + 1 : ℕ) : ℝ) ^ (1 - α)) - (T : ℝ) * (∑ i ∈ Ico ((T + 1) / 2) T, powerSteps α i)
theorem
BanditRL.OnlineUnboundedOSD.switching_scalar_lower_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: Orabona Chapter 2
Canonical node identity
declaration:BanditRL.OnlineUnboundedOSD.switching_scalar_lower_boundReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem switching_scalar_lower_bound (α : ℝ) (hα0 : 0 < α) (hα1 : α < 1) (T : ℕ) (hT : 2 / ((1 - α) * phi α) ≤ (T : ℝ)) : (1 / 2 : ℝ) * phi α * (T : ℝ) ^ (2 - α) ≤ BanditRL.OnlineSubgradientDescent.regret BanditRL.OnlineHuber.fullSpace (powerSteps α) (fun t z => (switchLoss T (1 : ℝ) t z : EReal)) 0 0 T
theorem
BanditRL.OnlineUnboundedOSD.switching_vector_lower_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: Orabona Chapter 2
Canonical node identity
declaration:BanditRL.OnlineUnboundedOSD.switching_vector_lower_boundReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem switching_vector_lower_bound (α : ℝ) (hα0 : 0 < α) (hα1 : α < 1) (T : ℕ) (hT : 2 / ((1 - α) * phi α) ≤ (T : ℝ)) (v : E) (hv : ‖v‖ = 1) : (1 / 2 : ℝ) * phi α * (T : ℝ) ^ (2 - α) ≤ BanditRL.OnlineSubgradientDescent.regret BanditRL.OnlineHuber.fullSpace (powerSteps α) (fun t z => (switchLoss T v t z : EReal)) 0 0 T
theorem
BanditRL.OnlineUnboundedOSD.theorem_5_4
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 identity
declaration:BanditRL.OnlineUnboundedOSD.theorem_5_4Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem theorem_5_4 [Nontrivial E] (α : ℝ) (hα0 : 0 < α) (hα1 : α < 1) (T : ℕ) (hT : 2 / ((1 - α) * phi α) ≤ (T : ℝ)) : ∃ loss : ℕ → E → ℝ, (∀ t < T, ConvexOn ℝ univ (loss t) ∧ LipschitzWith 1 (loss t)) ∧ (1 / 2 : ℝ) * phi α * (T : ℝ) ^ (2 - α) ≤ BanditRL.OnlineSubgradientDescent.regret BanditRL.OnlineHuber.fullSpace (powerSteps α) (fun t z => (loss t z : EReal)) 0 0 T