Lean module · FTL counterexample
BanditRLProof.OnlineFTLFailure
Generated source map for this Lean module.
Module map
Imports
BanditRLProof.OnlineLearningFTL
Imported by
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 identity
declaration:BanditRL.OnlineLearning.prefixCoefficientReading 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 identity
declaration:BanditRL.OnlineLearning.linearFTLPredictReading 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 identity
declaration:BanditRL.OnlineLearning.failureCoefficientReading 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 identity
declaration:BanditRL.OnlineLearning.prefixCoefficient_eq_sumReading 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 identity
declaration:BanditRL.OnlineLearning.linearFTLPredict_prefixReading 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 identity
declaration:BanditRL.OnlineLearning.linearFTLPredict_memReading 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 identity
declaration:BanditRL.OnlineLearning.linearFTLPredict_minimizesReading 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 identity
declaration:BanditRL.OnlineLearning.failure_prefixCoefficientReading 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 identity
declaration:BanditRL.OnlineLearning.failure_predictionReading 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 identity
declaration:BanditRL.OnlineLearning.example_2_10Reading 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 : ℝ))