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

Lean module · Foundations

BanditRLProof.Algorithms.MOSSCanonicalHistory

Generated source map for this Lean module.

Module map

Declarations
12
Placeholders
0

Imports

BanditRLProof.Algorithms.MOSSCanonicalReward

Imported by

BanditRLProof, BanditRLProof.Algorithms.MOSSUnusedCoordinate

Declarations

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

def BanditRLProof.MOSS.canonicalAction Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.MOSS.canonicalAction

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

def canonicalAction {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ)
def BanditRLProof.MOSS.canonicalReward Compiled

Consume the next unused one-based raw reward of the chosen arm.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.MOSS.canonicalReward

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

def canonicalReward {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ)
def BanditRLProof.MOSS.canonicalHistory Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.MOSS.canonicalHistory

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

def canonicalHistory {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (table : UCB.ArmRewardStream k) (t : ℕ)
theorem BanditRLProof.MOSS.canonicalHistory_pullCount Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.MOSS.canonicalHistory_pullCount

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

theorem canonicalHistory_pullCount {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (table : UCB.ArmRewardStream k) (t : ℕ) (a : Fin k) : ETC.realHistoryPullCount t (canonicalHistory hk n mean table t) a = pullCount (canonicalAction hk n mean table) a (t+1)
theorem BanditRLProof.MOSS.canonicalHistory_empiricalMean Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.MOSS.canonicalHistory_empiricalMean

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

theorem canonicalHistory_empiricalMean {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (table : UCB.ArmRewardStream k) (t : ℕ) (a : Fin k) : ETC.realHistoryEmpMean t (canonicalHistory hk n mean table t) a = (∑ j ∈ Finset.range (pullCount (canonicalAction hk n mean table) a (t+1)), table (j+1) a) / (pullCount (canonicalAction hk n mean table) a (t+1) : ℝ)
theorem BanditRLProof.MOSS.canonicalAction_succ_eq_historyAction Compiled

The realized next action is exactly the common finite-history MOSS selector.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.MOSS.canonicalAction_succ_eq_historyAction

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

theorem canonicalAction_succ_eq_historyAction {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (table : UCB.ArmRewardStream k) (t : ℕ) : canonicalAction hk n mean table (t+1) = historyAction hk n t (canonicalHistory hk n mean table t)
theorem BanditRLProof.MOSS.canonicalAction_zero Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.MOSS.canonicalAction_zero

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

theorem canonicalAction_zero {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (table : UCB.ArmRewardStream k) : canonicalAction hk n mean table 0 = ⟨0, hk⟩
theorem BanditRLProof.MOSS.measurable_canonicalAction Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.MOSS.measurable_canonicalAction

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

theorem measurable_canonicalAction {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (t : ℕ) : Measurable (fun table => canonicalAction hk n mean table t)
theorem BanditRLProof.MOSS.measurable_canonicalReward Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.MOSS.measurable_canonicalReward

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

theorem measurable_canonicalReward {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (t : ℕ) : Measurable (fun table => canonicalReward hk n mean table t)
theorem BanditRLProof.MOSS.measurable_canonicalHistory Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.MOSS.measurable_canonicalHistory

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

theorem measurable_canonicalHistory {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (t : ℕ) : Measurable (fun table => canonicalHistory hk n mean table t)
theorem BanditRLProof.MOSS.canonicalHistory_succ Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.MOSS.canonicalHistory_succ

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

theorem canonicalHistory_succ {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (table : UCB.ArmRewardStream k) (t : ℕ) : canonicalHistory hk n mean table (t+1) = History.extendPairHistorySucc (canonicalHistory hk n mean table t) (historyAction hk n t (canonicalHistory hk n mean table t), table (ETC.realHistoryPullCount t (canonicalHistory hk n mean table t) (historyAction hk n t (canonicalHistory hk n mean table t))+1) (historyAction hk n t (canonicalHistory hk n mean table t)))
theorem BanditRLProof.MOSS.canonicalHistory_eq_of_eq_consumed Compiled

Changing rewards that have not been consumed cannot change the observed history.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.MOSS.canonicalHistory_eq_of_eq_consumed

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

theorem canonicalHistory_eq_of_eq_consumed {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (table table' : UCB.ArmRewardStream k) (t : ℕ) (hagrees : ∀ a j, j < pullCount (canonicalAction hk n mean table) a (t+1) → table (j+1) a = table' (j+1) a) : canonicalHistory hk n mean table t = canonicalHistory hk n mean table' t