Lean module · Online foundations
BanditRLProof.OnlineLearningFTLState
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.ftlPredict
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Online Learning: foundations and Follow-the-Leader
Canonical node identity
declaration:BanditRL.OnlineLearning.ftlPredictReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def ftlPredict (initial : ℝ) (y : ℕ → ℝ) (t : ℕ) : ℝ :=
if t = 0 then initial else empiricalMean y t
def
BanditRL.OnlineLearning.ftlMeanStep
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Online Learning: foundations and Follow-the-Leader
Canonical node identity
declaration:BanditRL.OnlineLearning.ftlMeanStepReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def ftlMeanStep (state : ℕ × ℝ) (target : ℝ) : ℕ × ℝ
def
BanditRL.OnlineLearning.ftlState
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Online Learning: foundations and Follow-the-Leader
Canonical node identity
declaration:BanditRL.OnlineLearning.ftlStateReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def ftlState (initial : ℝ) (y : ℕ → ℝ) : ℕ → ℕ × ℝ | 0 => (0, initial) | t + 1 => ftlMeanStep (ftlState initial y t) (y t)
theorem
BanditRL.OnlineLearning.ftlPredict_prefix
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Online Learning: foundations and Follow-the-Leader
Canonical node identity
declaration:BanditRL.OnlineLearning.ftlPredict_prefixReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem ftlPredict_prefix (initial : ℝ) (y z : ℕ → ℝ) (t : ℕ) (h : ∀ i < t, y i = z i) : ftlPredict initial y t = ftlPredict initial z t
theorem
BanditRL.OnlineLearning.ftlPredict_mem
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Online Learning: foundations and Follow-the-Leader
Canonical node identity
declaration:BanditRL.OnlineLearning.ftlPredict_memReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem ftlPredict_mem (initial : ℝ) (y : ℕ → ℝ) (t : ℕ) (hi : initial ∈ Set.Icc (0 : ℝ) 1) (hy : ∀ i < t, y i ∈ Set.Icc (0 : ℝ) 1) : ftlPredict initial y t ∈ Set.Icc (0 : ℝ) 1
theorem
BanditRL.OnlineLearning.ftlPredict_half
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Online Learning: foundations and Follow-the-Leader
Canonical node identity
declaration:BanditRL.OnlineLearning.ftlPredict_halfReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem ftlPredict_half (y : ℕ → ℝ) (t : ℕ) : ftlPredict ((1 : ℝ) / 2) y t = meanPredict y t
theorem
BanditRL.OnlineLearning.ftlState_first
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Online Learning: foundations and Follow-the-Leader
Canonical node identity
declaration:BanditRL.OnlineLearning.ftlState_firstReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem ftlState_first (initial : ℝ) (y : ℕ → ℝ) : ftlState initial y 1 = (1, y 0)
theorem
BanditRL.OnlineLearning.ftlState_eq_predict
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Online Learning: foundations and Follow-the-Leader
Canonical node identity
declaration:BanditRL.OnlineLearning.ftlState_eq_predictReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem ftlState_eq_predict (initial : ℝ) (y : ℕ → ℝ) (t : ℕ) : ftlState initial y t = (t, ftlPredict initial y t)
theorem
BanditRL.OnlineLearning.ftlState_prefix
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Online Learning: foundations and Follow-the-Leader
Canonical node identity
declaration:BanditRL.OnlineLearning.ftlState_prefixReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem ftlState_prefix (initial : ℝ) (y z : ℕ → ℝ) (t : ℕ) (h : ∀ i < t, y i = z i) : ftlState initial y t = ftlState initial z t
theorem
BanditRL.OnlineLearning.ftlState_mem
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Online Learning: foundations and Follow-the-Leader
Canonical node identity
declaration:BanditRL.OnlineLearning.ftlState_memReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem ftlState_mem (initial : ℝ) (y : ℕ → ℝ) (t : ℕ) (hi : initial ∈ Set.Icc (0 : ℝ) 1) (hy : ∀ i < t, y i ∈ Set.Icc (0 : ℝ) 1) : (ftlState initial y t).2 ∈ Set.Icc (0 : ℝ) 1
theorem
BanditRL.OnlineLearning.ftlState_half
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Online Learning Book
Online Learning: foundations and Follow-the-Leader
Canonical node identity
declaration:BanditRL.OnlineLearning.ftlState_halfReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem ftlState_half (y : ℕ → ℝ) (t : ℕ) : ftlState ((1 : ℝ) / 2) y t = (t, meanPredict y t)