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

Lean module · FTL counterexample

BanditRLProof.OnlineFTLFailure

Generated source map for this Lean module.

Module map

Declarations
10
Placeholders
0

Imports

BanditRLProof.OnlineLearningFTL

Imported by

BanditRLProof

Declarations

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

def BanditRL.OnlineLearning.prefixCoefficient Compiled

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

Used in these reading views: Online Learning Book

Why Follow-the-Leader can incur linear regret

Canonical node identitydeclaration:BanditRL.OnlineLearning.prefixCoefficient

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

def prefixCoefficient (z : ℕ → ℝ) : ℕ → ℝ | 0 => 0 | t+1 => prefixCoefficient z t + z t def linearFTLPredict (z : ℕ → ℝ) (x0 : ℝ) (t : ℕ) : ℝ
def BanditRL.OnlineLearning.linearFTLPredict Compiled

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

Used in these reading views: Online Learning Book

Why Follow-the-Leader can incur linear regret

Canonical node identitydeclaration:BanditRL.OnlineLearning.linearFTLPredict

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

def linearFTLPredict (z : ℕ → ℝ) (x0 : ℝ) (t : ℕ) : ℝ
def BanditRL.OnlineLearning.failureCoefficient Compiled

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

Used in these reading views: Online Learning Book

Why Follow-the-Leader can incur linear regret

Canonical node identitydeclaration:BanditRL.OnlineLearning.failureCoefficient

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

def failureCoefficient (t : ℕ) : ℝ
theorem BanditRL.OnlineLearning.prefixCoefficient_eq_sum Compiled

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

Used in these reading views: Online Learning Book

Why Follow-the-Leader can incur linear regret

Canonical node identitydeclaration:BanditRL.OnlineLearning.prefixCoefficient_eq_sum

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

theorem prefixCoefficient_eq_sum (z : ℕ → ℝ) (t : ℕ) : prefixCoefficient z t = ∑ i ∈ range t, z i
theorem BanditRL.OnlineLearning.linearFTLPredict_prefix Compiled

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

Used in these reading views: Online Learning Book

Why Follow-the-Leader can incur linear regret

Canonical node identitydeclaration:BanditRL.OnlineLearning.linearFTLPredict_prefix

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

theorem linearFTLPredict_prefix (z w : ℕ → ℝ) (x0 : ℝ) (t : ℕ) (h : ∀ i < t, z i = w i) : linearFTLPredict z x0 t = linearFTLPredict w x0 t
theorem BanditRL.OnlineLearning.linearFTLPredict_mem Compiled

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

Used in these reading views: Online Learning Book

Why Follow-the-Leader can incur linear regret

Canonical node identitydeclaration:BanditRL.OnlineLearning.linearFTLPredict_mem

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

theorem linearFTLPredict_mem (z : ℕ → ℝ) (x0 : ℝ) (hx0 : x0 ∈ Icc (-1 : ℝ) 1) (t : ℕ) : linearFTLPredict z x0 t ∈ Icc (-1 : ℝ) 1
theorem BanditRL.OnlineLearning.linearFTLPredict_minimizes Compiled

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

Used in these reading views: Online Learning Book

Why Follow-the-Leader can incur linear regret

Canonical node identitydeclaration:BanditRL.OnlineLearning.linearFTLPredict_minimizes

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

theorem linearFTLPredict_minimizes (z : ℕ → ℝ) (x0 : ℝ) (t : ℕ) (u : ℝ) (hu : u ∈ Icc (-1 : ℝ) 1) : (∑ i ∈ range t, z i * linearFTLPredict z x0 t) ≤ ∑ i ∈ range t, z i * u
theorem BanditRL.OnlineLearning.failure_prefixCoefficient Compiled

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

Used in these reading views: Online Learning Book

Why Follow-the-Leader can incur linear regret

Canonical node identitydeclaration:BanditRL.OnlineLearning.failure_prefixCoefficient

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

theorem failure_prefixCoefficient (t : ℕ) (ht : 0 < t) : prefixCoefficient failureCoefficient t = if t % 2 = 1 then -(1/2) else (1/2)
theorem BanditRL.OnlineLearning.failure_prediction Compiled

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

Used in these reading views: Online Learning Book

Why Follow-the-Leader can incur linear regret

Canonical node identitydeclaration:BanditRL.OnlineLearning.failure_prediction

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

theorem failure_prediction (x0 : ℝ) (t : ℕ) (ht : 0 < t) : linearFTLPredict failureCoefficient x0 t = if t % 2 = 1 then 1 else -1
theorem BanditRL.OnlineLearning.example_2_10 Compiled

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

Used in these reading views: Online Learning Book

Why Follow-the-Leader can incur linear regret

Canonical node identitydeclaration:BanditRL.OnlineLearning.example_2_10

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

theorem example_2_10 (x0 : ℝ) (hx0 : x0 ∈ Icc (-1 : ℝ) 1) (T : ℕ) (hT : 0 < T) : (∑ t ∈ range T, failureCoefficient t * linearFTLPredict failureCoefficient x0 t) - (∑ t ∈ range T, failureCoefficient t * (0 : ℝ)) = (T : ℝ) - 1 - x0 / 2 ∧ (T : ℝ) - 3/2 ≤ (∑ t ∈ range T, failureCoefficient t * linearFTLPredict failureCoefficient x0 t) - (∑ t ∈ range T, failureCoefficient t * (0 : ℝ))