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

Generated source map for this Lean module.

Module map

Declarations
30
Placeholders
0

Imports

BanditRLProof.Algorithms.MusicalChairsCoordinationTime, BanditRLProof.Algorithms.MusicalChairsCollision

Imported by

BanditRLProof.Algorithms.MusicalChairsRanking

Declarations

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

theorem BanditRLProof.MusicalChairs.base_gamma_upper 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.base_gamma_upper

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

theorem base_gamma_upper {k : ℝ} (hk : 1 < k) : (1-1/k) ^ (2/5 : ℝ) ≤ 1 - (2/5 : ℝ)/k
theorem BanditRLProof.MusicalChairs.base_neg_gamma_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.base_neg_gamma_lower

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

theorem base_neg_gamma_lower {k : ℝ} (hk : 1 < k) : 1 + (2/5 : ℝ)/k ≤ (1-1/k) ^ (-(2/5 : ℝ))
theorem BanditRLProof.MusicalChairs.avoidanceBase_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.avoidanceBase_eq

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

theorem avoidanceBase_eq {k : ℕ} (hk : 0 < k) : (((k-1 : ℕ) : ℝ)/(k : ℝ)) = 1-1/(k : ℝ)
theorem BanditRLProof.MusicalChairs.avoidance_mass_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.avoidance_mass_lower

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

theorem avoidance_mass_lower {n k : ℕ} (hk : 1 < k) (hnk : n ≤ k) : (1/4 : ℝ) ≤ (1-1/(k : ℝ))^(n-1)
theorem BanditRLProof.MusicalChairs.collision_accuracy_sandwich 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.collision_accuracy_sandwich

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

theorem collision_accuracy_sandwich {n k : ℕ} (hk : 1 < k) (hnk : n ≤ k) (pHat : ℝ) (hacc : |pHat-collisionProbReal n k| ≤ 1/(10*(k : ℝ))) : (1-1/(k : ℝ))^(n-1) * (1-1/(k : ℝ))^(2/5 : ℝ) ≤ 1-pHat ∧ 1-pHat ≤ (1-1/(k : ℝ))^(n-1) * (1-1/(k : ℝ))^(-(2/5 : ℝ))
theorem BanditRLProof.MusicalChairs.collision_accuracy_survival_pos 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.collision_accuracy_survival_pos

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

theorem collision_accuracy_survival_pos {n k : ℕ} (hk : 1 < k) (hnk : n ≤ k) (pHat : ℝ) (hacc : |pHat-collisionProbReal n k| ≤ 1/(10*(k : ℝ))) : 0 < 1-pHat
theorem BanditRLProof.MusicalChairs.population_inverse_margin 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.population_inverse_margin

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

theorem population_inverse_margin {n k : ℕ} (hn : 0 < n) (hk : 1 < k) (hnk : n ≤ k) (pHat : ℝ) (hacc : |pHat-collisionProbReal n k| ≤ 1/(10*(k : ℝ))) : (n : ℝ)-(2/5 : ℝ) ≤ 1+Real.log (1-pHat)/Real.log (1-1/(k : ℝ)) ∧ 1+Real.log (1-pHat)/Real.log (1-1/(k : ℝ)) ≤ (n : ℝ)+(2/5 : ℝ)
theorem BanditRLProof.MusicalChairs.population_inverse_round 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.population_inverse_round

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

theorem population_inverse_round {n k : ℕ} (hn : 0 < n) (hk : 1 < k) (hnk : n ≤ k) (pHat : ℝ) (hacc : |pHat-collisionProbReal n k| ≤ 1/(10*(k : ℝ))) : round (1+Real.log (1-pHat)/Real.log (1-1/(k : ℝ))) = (n : ℤ)
def BanditRLProof.MusicalChairs.populationInverse 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.populationInverse

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

noncomputable def populationInverse (k T C : ℕ) : ℝ
def BanditRLProof.MusicalChairs.populationEstimate 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.populationEstimate

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

noncomputable def populationEstimate (k T C : ℕ) : ℕ
def BanditRLProof.MusicalChairs.localPopulationEstimate 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.localPopulationEstimate

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

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

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

theorem localCollisionCount_le {k T : ℕ} (f : Fin T → ExplorationFeedback k) : localCollisionCount f ≤ T
theorem BanditRLProof.MusicalChairs.noncollision_fraction_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.noncollision_fraction_eq

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

theorem noncollision_fraction_eq {T C : ℕ} (hT : 0 < T) (hC : C ≤ T) : (((T-C : ℕ) : ℝ)/(T : ℝ)) = 1-(C : ℝ)/(T : ℝ)
theorem BanditRLProof.MusicalChairs.populationInverse_ge_one 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.populationInverse_ge_one

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

theorem populationInverse_ge_one {k T C : ℕ} (hk : 1 < k) (hC : C < T) : 1 ≤ populationInverse k T C
theorem BanditRLProof.MusicalChairs.populationEstimate_le 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.populationEstimate_le

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

theorem populationEstimate_le (k T C : ℕ) : populationEstimate k T C ≤ k
theorem BanditRLProof.MusicalChairs.populationEstimate_all_collision 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.populationEstimate_all_collision

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

theorem populationEstimate_all_collision (k T : ℕ) : populationEstimate k T T = k
theorem BanditRLProof.MusicalChairs.populationEstimate_zero_collision 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.populationEstimate_zero_collision

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

theorem populationEstimate_zero_collision {k T : ℕ} (hk : 0 < k) (hT : 0 < T) : populationEstimate k T 0 = 1
theorem BanditRLProof.MusicalChairs.populationEstimate_correct 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.populationEstimate_correct

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

theorem populationEstimate_correct {n k T C : ℕ} (hn : 0 < n) (hk : 1 < k) (hnk : n ≤ k) (hT : 0 < T) (hC : C ≤ T) (hacc : |(C : ℝ)/T-collisionProbReal n k| ≤ 1/(10*(k : ℝ))) : populationEstimate k T C = n
theorem BanditRLProof.MusicalChairs.localPopulationEstimate_correct 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.localPopulationEstimate_correct

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

theorem localPopulationEstimate_correct {n k T : ℕ} (hn : 0 < n) (hk : 1 < k) (hnk : n ≤ k) (hT : 0 < T) (f : Fin T → ExplorationFeedback k) (hacc : |(localCollisionCount f : ℝ)/T-collisionProbReal n k| ≤ 1/(10*(k : ℝ))) : localPopulationEstimate f = n
theorem BanditRLProof.MusicalChairs.populationEstimate_regular_cast 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.populationEstimate_regular_cast

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

theorem populationEstimate_regular_cast {k T C : ℕ} (hk : 1 < k) (hC : C < T) : (populationEstimate k T C : ℤ) = min (k : ℤ) (round (populationInverse k T C))
theorem BanditRLProof.MusicalChairs.collisionCount_le 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_le

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

theorem collisionCount_le {n k T : ℕ} (x : Fin T → Fin n → Fin k) (i : Fin n) : collisionCount i x ≤ T
theorem BanditRLProof.MusicalChairs.localPopulationEstimate_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.localPopulationEstimate_eq

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

theorem localPopulationEstimate_eq {n k T : ℕ} (x : Fin T → Fin n → Fin k) (r : Fin T → Fin k → ℝ) (i : Fin n) : localPopulationEstimate (explorationFeedback x r i) = populationEstimate k T (collisionCount i x)
def BanditRLProof.MusicalChairs.populationRecovered 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.populationRecovered

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

def populationRecovered {n k T : ℕ} : Set (Fin T → Fin n → Fin k)
theorem BanditRLProof.MusicalChairs.allCollisionAccurate_subset_populationRecovered 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.allCollisionAccurate_subset_populationRecovered

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

theorem allCollisionAccurate_subset_populationRecovered {n k T : ℕ} (hn : 0 < n) (hk : 1 < k) (hnk : n ≤ k) (hT : 0 < T) : allCollisionAccurate (n := n) (k := k) (T := T) ⊆ populationRecovered
theorem BanditRLProof.MusicalChairs.populationRecovered_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.populationRecovered_probability

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

theorem populationRecovered_probability {n k T : ℕ} (hn : 0 < n) (hk : 1 < k) (hnk : n ≤ k) (hT : 0 < T) (delta : ℝ) (hdelta : 0 < delta) (hbudget : (50*(k : ℝ)^2) * Real.log (4*(k : ℝ)/delta) ≤ T) : 1 - ENNReal.ofReal (delta/2) ≤ (explorationLaw n k T (by omega)).toMeasure (populationRecovered (n := n) (k := k) (T := T))
def BanditRLProof.MusicalChairs.explorationEstimatesCorrect 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.explorationEstimatesCorrect

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

def explorationEstimatesCorrect {n k T : ℕ} (nu : Fin k → Measure ℝ) (eps : ℝ) : Set ((Fin T → Fin n → Fin k) × (Fin T → Fin k → ℝ))
theorem BanditRLProof.MusicalChairs.explorationEstimatesCorrect_eq_inter 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.explorationEstimatesCorrect_eq_inter

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

theorem explorationEstimatesCorrect_eq_inter {n k T : ℕ} (nu : Fin k → Measure ℝ) (eps : ℝ) : explorationEstimatesCorrect (n := n) (T := T) nu eps = allMeanAccurate nu eps ∩ Prod.fst ⁻¹' populationRecovered
theorem BanditRLProof.MusicalChairs.measurableSet_explorationEstimatesCorrect 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.measurableSet_explorationEstimatesCorrect

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

theorem measurableSet_explorationEstimatesCorrect {n k T : ℕ} (nu : Fin k → Measure ℝ) (eps : ℝ) : MeasurableSet (explorationEstimatesCorrect (n := n) (T := T) nu eps)
theorem BanditRLProof.MusicalChairs.explorationStatisticsAccurate_subset_estimatesCorrect 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.explorationStatisticsAccurate_subset_estimatesCorrect

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

theorem explorationStatisticsAccurate_subset_estimatesCorrect {n k T : ℕ} (hn : 0 < n) (hk : 1 < k) (hnk : n ≤ k) (hT : 0 < T) (nu : Fin k → Measure ℝ) (eps : ℝ) : explorationStatisticsAccurate (n := n) (T := T) nu eps ⊆ explorationEstimatesCorrect nu eps
theorem BanditRLProof.MusicalChairs.explorationEstimatesCorrect_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.explorationEstimatesCorrect_probability

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

theorem explorationEstimatesCorrect_probability {n k : ℕ} (hn : 0 < n) (hk : 1 < k) (hnk : n ≤ k) (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (hb : ∀ a, ∀ᵐ y ∂nu a, y ∈ Set.Icc (0 : ℝ) 1) (eps delta : ℝ) (heps : 0 < eps) (heps1 : eps ≤ 1) (hdelta : 0 < delta) (hdelta1 : delta < 1) : 1 - ENNReal.ofReal delta ≤ explorationRewardLaw (by omega) nu (explorationEstimatesCorrect (n := n) (T := explorationLength k eps delta) nu eps)