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

Lean module · Huber OGD

BanditRLProof.OnlineHuber

Generated source map for this Lean module.

Module map

Declarations
22
Placeholders
0

Imports

BanditRLProof.OnlineGradientDescent

Imported by

BanditRLProof, BanditRLProof.OnlineUnboundedOSD, BanditRLProof.OnlineUnitScaling

Declarations

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

theorem BanditRL.OnlineHuber.hasDerivAt_ite_le Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.hasDerivAt_ite_le

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

theorem hasDerivAt_ite_le (f g : ℝ → ℝ) (c d : ℝ) (hf : HasDerivAt f d c) (hg : HasDerivAt g d c) (he : f c = g c) : HasDerivAt (fun x => if x ≤ c then f x else g x) d c
def BanditRL.OnlineHuber.huber Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber

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

noncomputable def huber (delta r : ℝ) : ℝ
theorem BanditRL.OnlineHuber.huber_three_pieces Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber_three_pieces

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

theorem huber_three_pieces (delta r : ℝ) (hd : 0 ≤ delta) : huber delta r = if r ≤ -delta then -delta * r - delta ^ 2 / 2 else if r ≤ delta then r ^ 2 / 2 else delta * r - delta ^ 2 / 2
theorem BanditRL.OnlineHuber.huber_zero Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber_zero

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

theorem huber_zero (r : ℝ) : huber 0 r = 0
theorem BanditRL.OnlineHuber.hasDerivAt_join Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.hasDerivAt_join

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

theorem hasDerivAt_join (f g df dg : ℝ → ℝ) (c x : ℝ) (hf : ∀ r, HasDerivAt f (df r) r) (hg : ∀ r, HasDerivAt g (dg r) r) (he : f c = g c) (hd : df c = dg c) : HasDerivAt (fun r => if r ≤ c then f r else g r) (if x ≤ c then df x else dg x) x
theorem BanditRL.OnlineHuber.huber_hasDerivAt Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber_hasDerivAt

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

theorem huber_hasDerivAt (delta r : ℝ) (hd : 0 ≤ delta) : HasDerivAt (huber delta) (if r ≤ -delta then -delta else if r ≤ delta then r else delta) r
theorem BanditRL.OnlineHuber.huber_deriv_clamp Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber_deriv_clamp

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

theorem huber_deriv_clamp (delta r : ℝ) (hd : 0 ≤ delta) : deriv (huber delta) r = max (-delta) (min r delta)
theorem BanditRL.OnlineHuber.huber_convex Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber_convex

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

theorem huber_convex (delta : ℝ) (hd : 0 ≤ delta) : ConvexOn ℝ Set.univ (huber delta)
theorem BanditRL.OnlineHuber.huber_deriv_bound Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber_deriv_bound

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

theorem huber_deriv_bound (delta r : ℝ) (hd : 0 ≤ delta) : |deriv (huber delta) r| ≤ delta
theorem BanditRL.OnlineHuber.huber_deriv_source Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber_deriv_source

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

theorem huber_deriv_source (delta r : ℝ) (hd : 0 ≤ delta) : deriv (huber delta) r = if |r| ≤ delta then r else delta * Real.sign r
theorem BanditRL.OnlineHuber.huber_linear_hasGradientAt Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber_linear_hasGradientAt

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

theorem huber_linear_hasGradientAt (delta y : ℝ) (hd : 0 ≤ delta) (z x : E) : HasGradientAt (fun w => huber delta (inner ℝ z w - y)) (deriv (huber delta) (inner ℝ z x - y) • z) x
theorem BanditRL.OnlineHuber.huber_linear_convex Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber_linear_convex

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

theorem huber_linear_convex (delta y : ℝ) (hd : 0 ≤ delta) (z : E) : ConvexOn ℝ Set.univ (fun w => huber delta (inner ℝ z w - y))
theorem BanditRL.OnlineHuber.huber_linear_gradient_bound Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber_linear_gradient_bound

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

theorem huber_linear_gradient_bound (delta y : ℝ) (hd : 0 ≤ delta) (z x : E) : ‖gradient (fun w => huber delta (inner ℝ z w - y)) x‖ ≤ delta * ‖z‖
def BanditRL.OnlineHuber.fullSpace Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.fullSpace

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

def fullSpace : Domain E
def BanditRL.OnlineHuber.linearLoss Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.linearLoss

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

noncomputable def linearLoss (delta : ℝ) (z : E) (y : ℝ) (x : E) : ℝ
theorem BanditRL.OnlineHuber.project_fullSpace Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.project_fullSpace

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

theorem project_fullSpace (x : E) : project (fullSpace : Domain E) x = x
theorem BanditRL.OnlineHuber.huber_regular Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber_regular

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

theorem huber_regular (delta y : ℝ) (hd : 0 ≤ delta) (z : E) : RegularLoss fullSpace (linearLoss delta z y)
theorem BanditRL.OnlineHuber.huber_step Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber_step

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

theorem huber_step (delta y eta : ℝ) (hd : 0 ≤ delta) (z x : E) : step fullSpace eta (linearLoss delta z y) x = x - eta • ((if |inner ℝ z x - y| ≤ delta then inner ℝ z x - y else delta * Real.sign (inner ℝ z x - y)) • z)
theorem BanditRL.OnlineHuber.huber_regret_fixed Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber_regret_fixed

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

theorem huber_regret_fixed (delta Z eta : ℝ) (hd : 0 ≤ delta) (hZ : 0 ≤ Z) (heta : 0 < eta) (z : ℕ → E) (y : ℕ → ℝ) (x0 u : E) (T : ℕ) (hz : ∀ t < T, ‖z t‖ ≤ Z) : regret fullSpace eta (fun t => linearLoss delta (z t) (y t)) x0 u T ≤ ‖x0 - u‖ ^ 2 / (2 * eta) + eta / 2 * ((T : ℝ) * (delta * Z) ^ 2) - ‖iterate fullSpace eta (fun t => linearLoss delta (z t) (y t)) x0 T - u‖ ^ 2 / (2 * eta)
theorem BanditRL.OnlineHuber.huber_average_bound Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber_average_bound

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

theorem huber_average_bound (delta Z : ℝ) (hd : 0 ≤ delta) (hZ : 0 ≤ Z) (z : ℕ → E) (y : ℕ → ℝ) (x0 u : E) (T : ℕ) (hT : 0 < T) (hz : ∀ t < T, ‖z t‖ ≤ Z) : regret fullSpace (1 / Real.sqrt T) (fun t => linearLoss delta (z t) (y t)) x0 u T / T ≤ (‖x0 - u‖ ^ 2 + (delta * Z) ^ 2) / (2 * Real.sqrt T)
theorem BanditRL.OnlineHuber.huber_rate_tendsto Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber_rate_tendsto

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

theorem huber_rate_tendsto (delta Z : ℝ) (x0 u : E) : Filter.Tendsto (fun T : ℕ => (‖x0 - u‖ ^ 2 + (delta * Z) ^ 2) / (2 * Real.sqrt T)) Filter.atTop (nhds 0)
theorem BanditRL.OnlineHuber.huber_average_eventually Compiled

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

Used in these reading views: Online Learning Book

Huber linear prediction with unconstrained OGD

Canonical node identitydeclaration:BanditRL.OnlineHuber.huber_average_eventually

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

theorem huber_average_eventually (delta Z : ℝ) (hd : 0 ≤ delta) (hZ : 0 ≤ Z) (z : ℕ → E) (y : ℕ → ℝ) (x0 u : E) (hz : ∀ t, ‖z t‖ ≤ Z) (epsilon : ℝ) (he : 0 < epsilon) : ∀ᶠ T : ℕ in Filter.atTop, regret fullSpace (1 / Real.sqrt T) (fun t => linearLoss delta (z t) (y t)) x0 u T / T < epsilon