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.MusicalChairsExploration

Generated source map for this Lean module.

Module map

Declarations
30
Placeholders
0

Imports

BanditRLProof.Algorithms.MusicalChairsCoordinationTime, BanditRLProof.Algorithms.MusicalChairsCoordinationRegret

Imported by

BanditRLProof.Algorithms.MusicalChairsReward

Declarations

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

def BanditRLProof.FinitePMF.iid 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.FinitePMF.iid

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

noncomputable def iid {α : Type*} [Fintype α] (p : PMF α) (T : ℕ) : PMF (Fin T → α)
theorem BanditRLProof.FinitePMF.iid_apply 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.FinitePMF.iid_apply

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

theorem iid_apply {α : Type*} [Fintype α] (p : PMF α) (T : ℕ) (x : Fin T → α) : iid p T x = ∏ t, p (x t)
theorem BanditRLProof.FinitePMF.iid_product_expectation 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.FinitePMF.iid_product_expectation

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

theorem iid_product_expectation {α : Type*} [Fintype α] (p : PMF α) (T : ℕ) (f : Fin T → α → ℝ≥0∞) : ∑ x, iid p T x * ∏ t, f t (x t) = ∏ t, ∑ a, p a * f t a
def BanditRLProof.FinitePMF.eventCount 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.FinitePMF.eventCount

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

noncomputable def eventCount {α : Type*} {T : ℕ} (E : Set α) (x : Fin T → α) : ℕ
theorem BanditRLProof.FinitePMF.pow_eventCount 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.FinitePMF.pow_eventCount

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

theorem pow_eventCount {α : Type*} {T : ℕ} (E : Set α) (x : Fin T → α) (z : ℝ≥0∞) : z ^ eventCount E x = ∏ t, if x t ∈ E then z else 1
theorem BanditRLProof.FinitePMF.indicator_weight_sum 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.FinitePMF.indicator_weight_sum

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

theorem indicator_weight_sum {α : Type*} [Fintype α] (p : PMF α) (E : Set α) (z : ℝ≥0∞) : ∑ a, p a * (if a ∈ E then z else 1) = p.toOuterMeasure E * z + p.toOuterMeasure Eᶜ
theorem BanditRLProof.FinitePMF.iid_count_pgf 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.FinitePMF.iid_count_pgf

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

theorem iid_count_pgf {α : Type*} [Fintype α] (p : PMF α) (T : ℕ) (E : Set α) (z : ℝ≥0∞) : ∑ x, iid p T x * z ^ eventCount E x = (p.toOuterMeasure E * z + p.toOuterMeasure Eᶜ)^T
def BanditRLProof.MusicalChairs.explorationDraw 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.explorationDraw

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

noncomputable def explorationDraw (n k : ℕ) (hk : 0 < k) : PMF (Fin n → Fin k)
def BanditRLProof.MusicalChairs.explorationLaw 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.explorationLaw

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

noncomputable def explorationLaw (n k T : ℕ) (hk : 0 < k) : PMF (Fin T → Fin n → Fin k)
def BanditRLProof.MusicalChairs.observes 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.observes

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

def observes {n k : ℕ} (i : Fin n) (a : Fin k) : Set (Fin n → Fin k)
theorem BanditRLProof.MusicalChairs.observes_rectangle 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.observes_rectangle

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

theorem observes_rectangle {n k : ℕ} (i : Fin n) (a : Fin k) : observes i a = {draw | ∀ j, draw j ∈ isolationWindow i a j}
theorem BanditRLProof.MusicalChairs.exploration_observes_probability 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.exploration_observes_probability

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

theorem exploration_observes_probability {n k : ℕ} (hk : 0 < k) (i : Fin n) (a : Fin k) : (explorationDraw n k hk).toOuterMeasure (observes i a) = (1 / (k : ℝ≥0∞)) * (((k-1 : ℕ) : ℝ≥0∞) / (k : ℝ≥0∞))^(n-1)
theorem BanditRLProof.MusicalChairs.exploration_collisionFree_split 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.exploration_collisionFree_split

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

theorem exploration_collisionFree_split {n k : ℕ} (hk : 0 < k) (i : Fin n) : (explorationDraw n k hk).toOuterMeasure {draw | CollisionFree draw i} = ∑ a : Fin k, (explorationDraw n k hk).toOuterMeasure (observes i a)
theorem BanditRLProof.MusicalChairs.exploration_collisionFree_probability 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.exploration_collisionFree_probability

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

theorem exploration_collisionFree_probability {n k : ℕ} (hk : 0 < k) (i : Fin n) : (explorationDraw n k hk).toOuterMeasure {draw | CollisionFree draw i} = (((k-1 : ℕ) : ℝ≥0∞) / (k : ℝ≥0∞))^(n-1)
theorem BanditRLProof.MusicalChairs.exploration_collision_probability 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.exploration_collision_probability

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

theorem exploration_collision_probability {n k : ℕ} (hk : 0 < k) (i : Fin n) : (explorationDraw n k hk).toOuterMeasure {draw | ¬ CollisionFree draw i} = 1 - (((k-1 : ℕ) : ℝ≥0∞) / (k : ℝ≥0∞))^(n-1)
def BanditRLProof.MusicalChairs.observationCount 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.observationCount

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

noncomputable def observationCount {n k T : ℕ} (i : Fin n) (a : Fin k) (x : Fin T → Fin n → Fin k) : ℕ
def BanditRLProof.MusicalChairs.collisionCount 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.collisionCount

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

noncomputable def collisionCount {n k T : ℕ} (i : Fin n) (x : Fin T → Fin n → Fin k) : ℕ
theorem BanditRLProof.MusicalChairs.observationCount_pgf 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.observationCount_pgf

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

theorem observationCount_pgf {n k : ℕ} (hk : 0 < k) (T : ℕ) (i : Fin n) (a : Fin k) (z : ℝ≥0∞) : let q := (1 / (k : ℝ≥0∞)) * (((k-1 : ℕ) : ℝ≥0∞) / (k : ℝ≥0∞))^(n-1) ∑ x, explorationLaw n k T hk x * z ^ observationCount i a x = (q * z + (1-q))^T
theorem BanditRLProof.MusicalChairs.collisionCount_pgf 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.collisionCount_pgf

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

theorem collisionCount_pgf {n k : ℕ} (hk : 0 < k) (T : ℕ) (i : Fin n) (z : ℝ≥0∞) : let b := (((k-1 : ℕ) : ℝ≥0∞) / (k : ℝ≥0∞))^(n-1) ∑ x, explorationLaw n k T hk x * z ^ collisionCount i x = ((1-b) * z + b)^T
theorem BanditRLProof.MusicalChairs.exploration_observes_lower 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.exploration_observes_lower

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

theorem exploration_observes_lower {n k : ℕ} (hk : 0 < k) (hnk : n ≤ k) (i : Fin n) (a : Fin k) : (1 : ℝ≥0∞) / (4*k) ≤ (explorationDraw n k hk).toOuterMeasure (observes i a)
theorem BanditRLProof.MusicalChairs.observationCount_laplace 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.observationCount_laplace

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

theorem observationCount_laplace {n k : ℕ} (hk : 0 < k) (T : ℕ) (i : Fin n) (a : Fin k) (eta : ℝ) : let q := (1 / (k : ℝ≥0∞)) * (((k-1 : ℕ) : ℝ≥0∞) / (k : ℝ≥0∞))^(n-1) ∑ x, explorationLaw n k T hk x * ENNReal.ofReal (Real.exp (-eta * (observationCount i a x : ℝ))) = (q * ENNReal.ofReal (Real.exp (-eta)) + (1-q))^T
structure BanditRLProof.MusicalChairs.ExplorationFeedback 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.ExplorationFeedback

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

structure ExplorationFeedback (k : ℕ) where
def BanditRLProof.MusicalChairs.explorationFeedback 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.explorationFeedback

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

noncomputable def explorationFeedback {n k T : ℕ} (x : Fin T → Fin n → Fin k) (rewards : Fin T → Fin k → ℝ) (i : Fin n) : Fin T → ExplorationFeedback k
def BanditRLProof.MusicalChairs.localObservationCount 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.localObservationCount

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

noncomputable def localObservationCount {k T : ℕ} (f : Fin T → ExplorationFeedback k) (a : Fin k) : ℕ
def BanditRLProof.MusicalChairs.localCollisionCount 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.localCollisionCount

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

noncomputable def localCollisionCount {k T : ℕ} (f : Fin T → ExplorationFeedback k) : ℕ
def BanditRLProof.MusicalChairs.localRewardSum 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.localRewardSum

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

noncomputable def localRewardSum {k T : ℕ} (f : Fin T → ExplorationFeedback k) (a : Fin k) : ℝ
def BanditRLProof.MusicalChairs.localEmpiricalMean 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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.localEmpiricalMean

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

noncomputable def localEmpiricalMean {k T : ℕ} (f : Fin T → ExplorationFeedback k) (a : Fin k) : ℝ
theorem BanditRLProof.MusicalChairs.localObservationCount_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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.localObservationCount_eq

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

theorem localObservationCount_eq {n k T : ℕ} (x : Fin T → Fin n → Fin k) (rewards : Fin T → Fin k → ℝ) (i : Fin n) (a : Fin k) : localObservationCount (explorationFeedback x rewards i) a = observationCount i a x
theorem BanditRLProof.MusicalChairs.localCollisionCount_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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.localCollisionCount_eq

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

theorem localCollisionCount_eq {n k T : ℕ} (x : Fin T → Fin n → Fin k) (rewards : Fin T → Fin k → ℝ) (i : Fin n) : localCollisionCount (explorationFeedback x rewards i) = collisionCount i x
theorem BanditRLProof.MusicalChairs.localRewardSum_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

Indexed settings: Multi-agent bandits

Canonical node identitydeclaration:BanditRLProof.MusicalChairs.localRewardSum_eq

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

theorem localRewardSum_eq {n k T : ℕ} (x : Fin T → Fin n → Fin k) (rewards : Fin T → Fin k → ℝ) (i : Fin n) (a : Fin k) : localRewardSum (explorationFeedback x rewards i) a = ∑ t ∈ Finset.univ.filter (fun t => x t ∈ observes i a), rewards t a