Lean module · Foundations
BanditRLProof.Algorithms.MOSSUnusedCoordinate
Generated source map for this Lean module.
Module map
Imports
BanditRLProof.Algorithms.MOSSCanonicalHistory, BanditRLProof.Algorithms.UCBArmStreamConditionalReward
Imported by
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
def
BanditRLProof.MOSS.canonicalCondition
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 identity
declaration:BanditRLProof.MOSS.canonicalConditionReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def canonicalCondition {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (t : ℕ) (table : UCB.ArmRewardStream k)
def
BanditRLProof.MOSS.canonicalNextCoordinate
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 identity
declaration:BanditRLProof.MOSS.canonicalNextCoordinateReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def canonicalNextCoordinate {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (t : ℕ) (table : UCB.ArmRewardStream k) : ℕ × Fin k
theorem
BanditRLProof.MOSS.canonicalNextCoordinate_count
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 identity
declaration:BanditRLProof.MOSS.canonicalNextCoordinate_countReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem canonicalNextCoordinate_count {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (t : ℕ) (table : UCB.ArmRewardStream k) : (canonicalNextCoordinate hk n mean t table).1 = pullCount (canonicalAction hk n mean table) (canonicalNextCoordinate hk n mean t table).2 (t+1)+1
theorem
BanditRLProof.MOSS.canonicalHistory_eq_of_complement_eq
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 identity
declaration:BanditRLProof.MOSS.canonicalHistory_eq_of_complement_eqReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem canonicalHistory_eq_of_complement_eq {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (t : ℕ) (target : ℕ × Fin k) (table table' : UCB.ArmRewardStream k) (hc : UCB.armStreamWithoutCoordinate target table = UCB.armStreamWithoutCoordinate target table') (hf : pullCount (canonicalAction hk n mean table) target.2 (t+1) < target.1) : canonicalHistory hk n mean table t = canonicalHistory hk n mean table' t
theorem
BanditRLProof.MOSS.canonicalNextCoordinate_eq_iff_insert
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 identity
declaration:BanditRLProof.MOSS.canonicalNextCoordinate_eq_iff_insertReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem canonicalNextCoordinate_eq_iff_insert {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (t : ℕ) (target : ℕ × Fin k) (v : ℝ) (table : UCB.ArmRewardStream k) : canonicalNextCoordinate hk n mean t table = target ↔ canonicalNextCoordinate hk n mean t (UCB.armStreamInsertCoordinate target v (UCB.armStreamWithoutCoordinate target table)) = target
def
BanditRLProof.MOSS.canonicalConditionWithout
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 identity
declaration:BanditRLProof.MOSS.canonicalConditionWithoutReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def canonicalConditionWithout {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (t : ℕ) (target : ℕ × Fin k) (v : ℝ)
theorem
BanditRLProof.MOSS.canonicalCondition_eq_without
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 identity
declaration:BanditRLProof.MOSS.canonicalCondition_eq_withoutReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem canonicalCondition_eq_without {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (t : ℕ) (target : ℕ × Fin k) (v : ℝ) (table : UCB.ArmRewardStream k) (hnext : canonicalNextCoordinate hk n mean t table = target) : canonicalCondition hk n mean t table = canonicalConditionWithout hk n mean t target v (UCB.armStreamWithoutCoordinate target table)
theorem
BanditRLProof.MOSS.measurable_canonicalCondition
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 identity
declaration:BanditRLProof.MOSS.measurable_canonicalConditionReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem measurable_canonicalCondition {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (t : ℕ) : Measurable (canonicalCondition hk n mean t)
theorem
BanditRLProof.MOSS.measurable_canonicalConditionWithout
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 identity
declaration:BanditRLProof.MOSS.measurable_canonicalConditionWithoutReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem measurable_canonicalConditionWithout {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (t : ℕ) (target : ℕ × Fin k) (v : ℝ) : Measurable (canonicalConditionWithout hk n mean t target v)
theorem
BanditRLProof.MOSS.indepFun_coordinate_canonicalConditionWithout
Compiled
A target reward is independent of the condition reconstructed without it.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.MOSS.indepFun_coordinate_canonicalConditionWithoutReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem indepFun_coordinate_canonicalConditionWithout {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (t : ℕ) (ν : Kernel (Fin k) ℝ) [IsMarkovKernel ν] (target : ℕ × Fin k) (v : ℝ) : IndepFun (UCB.armStreamCoordinate target) (fun table => canonicalConditionWithout hk n mean t target v (UCB.armStreamWithoutCoordinate target table)) (UCB.armStreamMeasure ν)
theorem
BanditRLProof.MOSS.map_canonicalConditionWithout_coordinate
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 identity
declaration:BanditRLProof.MOSS.map_canonicalConditionWithout_coordinateReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem map_canonicalConditionWithout_coordinate {k : ℕ} (hk : 0 < k) (n : ℕ) (mean : Fin k → ℝ) (t : ℕ) (ν : Kernel (Fin k) ℝ) [IsMarkovKernel ν] (target : ℕ × Fin k) (v : ℝ) : Measure.map (fun table => (canonicalConditionWithout hk n mean t target v (UCB.armStreamWithoutCoordinate target table), UCB.armStreamCoordinate target table)) (UCB.armStreamMeasure ν) = (Measure.map (fun table => canonicalConditionWithout hk n mean t target v (UCB.armStreamWithoutCoordinate target table)) (UCB.armStreamMeasure ν)).prod (ν target.2)