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

Generated source map for this Lean module.

Module map

Declarations
27
Placeholders
0

Imports

BanditRLProof.Algorithms.MusicalChairsCoordinationTime, BanditRLProof.Algorithms.MusicalChairsPopulation

Imported by

BanditRLProof.Algorithms.MusicalChairsHandoff

Declarations

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

def BanditRLProof.MusicalChairs.scoreOrder 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.scoreOrder

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

def scoreOrder {k : ℕ} (score : Fin k → ℝ) (a b : Fin k) : Prop
def BanditRLProof.MusicalChairs.rankedArms 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.rankedArms

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

noncomputable def rankedArms {k : ℕ} (score : Fin k → ℝ) : List (Fin k)
def BanditRLProof.MusicalChairs.topArms 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.topArms

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

noncomputable def topArms {k : ℕ} (score : Fin k → ℝ) (n : ℕ) : Finset (Fin k)
theorem BanditRLProof.MusicalChairs.topArms_card 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.topArms_card

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

theorem topArms_card {k : ℕ} (score : Fin k → ℝ) (n : ℕ) : (topArms score n).card = min n k
theorem BanditRLProof.MusicalChairs.topArms_before_unselected 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.topArms_before_unselected

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

theorem topArms_before_unselected {k : ℕ} (score : Fin k → ℝ) (n : ℕ) {a b : Fin k} (ha : a ∈ topArms score n) (hb : b ∉ topArms score n) : scoreOrder score a b
theorem BanditRLProof.MusicalChairs.topArms_eq_of_order_separated 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.topArms_eq_of_order_separated

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

theorem topArms_eq_of_order_separated {k : ℕ} (score : Fin k → ℝ) (n : ℕ) (S : Finset (Fin k)) (hcard : S.card = n) (hnk : n ≤ k) (hsep : ∀ a ∈ S, ∀ b ∉ S, scoreOrder score a b) : topArms score n = S
theorem BanditRLProof.MusicalChairs.topArms_eq_of_strict_separation 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.topArms_eq_of_strict_separation

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

theorem topArms_eq_of_strict_separation {k : ℕ} (score : Fin k → ℝ) (n : ℕ) (S : Finset (Fin k)) (hcard : S.card = n) (hnk : n ≤ k) (hsep : ∀ a ∈ S, ∀ b ∉ S, score b < score a) : topArms score n = S
theorem BanditRLProof.MusicalChairs.topArms_eq_iff 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.topArms_eq_iff

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

theorem topArms_eq_iff {k : ℕ} (score : Fin k → ℝ) (n : ℕ) (hnk : n ≤ k) (S : Finset (Fin k)) : topArms score n = S ↔ S.card = n ∧ ∀ a ∈ S, ∀ b ∉ S, scoreOrder score a b
theorem BanditRLProof.MusicalChairs.populationEstimate_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.populationEstimate_pos

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

theorem populationEstimate_pos {k T C : ℕ} (hk : 1 < k) (hC : C ≤ T) : 0 < populationEstimate k T C
def BanditRLProof.MusicalChairs.localCandidateSet 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.localCandidateSet

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

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

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

theorem localCandidateSet_card {k T : ℕ} (f : Fin T → ExplorationFeedback k) : (localCandidateSet f).card = localPopulationEstimate f
theorem BanditRLProof.MusicalChairs.localCandidateSet_nonempty 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.localCandidateSet_nonempty

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

theorem localCandidateSet_nonempty {k T : ℕ} (hk : 1 < k) (f : Fin T → ExplorationFeedback k) : (localCandidateSet f).Nonempty
theorem BanditRLProof.MusicalChairs.empirical_strict_separation 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.empirical_strict_separation

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

theorem empirical_strict_separation {k : ℕ} (mu score : Fin k → ℝ) (S : Finset (Fin k)) (eps gap : ℝ) (hepsgap : eps < gap) (hgap : ∀ a ∈ S, ∀ b ∉ S, gap ≤ mu a - mu b) (hacc : ∀ a, |score a-mu a| < eps/2) : ∀ a ∈ S, ∀ b ∉ S, score b < score a
theorem BanditRLProof.MusicalChairs.localCandidateSet_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.localCandidateSet_correct

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

theorem localCandidateSet_correct {n k T : ℕ} (f : Fin T → ExplorationFeedback k) (mu : Fin k → ℝ) (S : Finset (Fin k)) (hcard : S.card = n) (hnk : n ≤ k) (eps gap : ℝ) (hepsgap : eps < gap) (hgap : ∀ a ∈ S, ∀ b ∉ S, gap ≤ mu a - mu b) (hacc : ∀ a, |localEmpiricalMean f a-mu a| < eps/2) (hpop : localPopulationEstimate f = n) : localCandidateSet f = S
theorem BanditRLProof.MusicalChairs.localCandidateSet_eq_iff 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.localCandidateSet_eq_iff

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

theorem localCandidateSet_eq_iff {k T : ℕ} (f : Fin T → ExplorationFeedback k) (S : Finset (Fin k)) : localCandidateSet f = S ↔ S.card = localPopulationEstimate f ∧ ∀ a ∈ S, ∀ b ∉ S, scoreOrder (localEmpiricalMean f) a b
theorem BanditRLProof.MusicalChairs.measurableSet_localScoreOrder 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_localScoreOrder

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

theorem measurableSet_localScoreOrder {n k T : ℕ} (i : Fin n) (a b : Fin k) : MeasurableSet {z : (Fin T → Fin n → Fin k) × (Fin T → Fin k → ℝ) | scoreOrder (localEmpiricalMean (explorationFeedback z.1 z.2 i)) a b}
def BanditRLProof.MusicalChairs.explorationGoodEvent 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.explorationGoodEvent

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

def explorationGoodEvent {n k T : ℕ} (S : Finset (Fin k)) : Set ((Fin T → Fin n → Fin k) × (Fin T → Fin k → ℝ))
theorem BanditRLProof.MusicalChairs.explorationGoodEvent_eq_comparisons 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.explorationGoodEvent_eq_comparisons

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

theorem explorationGoodEvent_eq_comparisons {n k T : ℕ} (S : Finset (Fin k)) (hcard : S.card = n) : explorationGoodEvent (n := n) (T := T) S = (Prod.fst ⁻¹' populationRecovered) ∩ {z | ∀ i : Fin n, ∀ a ∈ S, ∀ b ∉ S, scoreOrder (localEmpiricalMean (explorationFeedback z.1 z.2 i)) a b}
theorem BanditRLProof.MusicalChairs.measurableSet_explorationGoodEvent 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_explorationGoodEvent

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

theorem measurableSet_explorationGoodEvent {n k T : ℕ} (S : Finset (Fin k)) (hcard : S.card = n) : MeasurableSet (explorationGoodEvent (n := n) (T := T) S)
theorem BanditRLProof.MusicalChairs.explorationEstimatesCorrect_subset_goodEvent 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_subset_goodEvent

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

theorem explorationEstimatesCorrect_subset_goodEvent {n k T : ℕ} (nu : Fin k → Measure ℝ) (S : Finset (Fin k)) (hcard : S.card = n) (hnk : n ≤ k) (eps gap : ℝ) (hepsgap : eps < gap) (hgap : ∀ a ∈ S, ∀ b ∉ S, gap ≤ armMean nu a - armMean nu b) : explorationEstimatesCorrect (n := n) (T := T) nu eps ⊆ explorationGoodEvent S
def BanditRLProof.MusicalChairs.trueTopArms 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.trueTopArms

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

noncomputable def trueTopArms {k : ℕ} (nu : Fin k → Measure ℝ) (n : ℕ) : Finset (Fin k)
theorem BanditRLProof.MusicalChairs.trueTopArms_eq_of_gap 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.trueTopArms_eq_of_gap

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

theorem trueTopArms_eq_of_gap {n k : ℕ} (nu : Fin k → Measure ℝ) (S : Finset (Fin k)) (hcard : S.card = n) (hnk : n ≤ k) (gap : ℝ) (hgap0 : 0 < gap) (hgap : ∀ a ∈ S, ∀ b ∉ S, gap ≤ armMean nu a - armMean nu b) : trueTopArms nu n = S
theorem BanditRLProof.MusicalChairs.explorationGoodEvent_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.explorationGoodEvent_probability

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

theorem explorationGoodEvent_probability {n k : ℕ} (hn : 0 < n) (hnk : n < k) (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (hb : ∀ a, ∀ᵐ y ∂nu a, y ∈ Set.Icc (0 : ℝ) 1) (S : Finset (Fin k)) (hcard : S.card = n) (eps gap delta : ℝ) (heps : 0 < eps) (heps1 : eps ≤ 1) (hepsgap : eps < gap) (hgap : ∀ a ∈ S, ∀ b ∉ S, gap ≤ armMean nu a - armMean nu b) (hdelta : 0 < delta) (hdelta1 : delta < 1) : 1 - ENNReal.ofReal delta ≤ explorationRewardLaw (by omega) nu (explorationGoodEvent (n := n) (T := explorationLength k eps delta) S)
theorem BanditRLProof.MusicalChairs.explorationGoodEvent_trueTop_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.explorationGoodEvent_trueTop_probability

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

theorem explorationGoodEvent_trueTop_probability {n k : ℕ} (hn : 0 < n) (hnk : n < k) (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (hb : ∀ a, ∀ᵐ y ∂nu a, y ∈ Set.Icc (0 : ℝ) 1) (S : Finset (Fin k)) (hcard : S.card = n) (eps gap delta : ℝ) (heps : 0 < eps) (heps1 : eps ≤ 1) (hepsgap : eps < gap) (hgap : ∀ a ∈ S, ∀ b ∉ S, gap ≤ armMean nu a - armMean nu b) (hdelta : 0 < delta) (hdelta1 : delta < 1) : 1 - ENNReal.ofReal delta ≤ explorationRewardLaw (by omega) nu (explorationGoodEvent (n := n) (T := explorationLength k eps delta) (trueTopArms nu n))
theorem BanditRLProof.MusicalChairs.armMean_mem_unitInterval 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.armMean_mem_unitInterval

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

theorem armMean_mem_unitInterval {k : ℕ} (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (hb : ∀ a, ∀ᵐ y ∂nu a, y ∈ Set.Icc (0 : ℝ) 1) (a : Fin k) : armMean nu a ∈ Set.Icc (0 : ℝ) 1
theorem BanditRLProof.MusicalChairs.separating_gap_le_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.separating_gap_le_one

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

theorem separating_gap_le_one {n k : ℕ} (hn : 0 < n) (hnk : n < k) (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (hb : ∀ a, ∀ᵐ y ∂nu a, y ∈ Set.Icc (0 : ℝ) 1) (S : Finset (Fin k)) (hcard : S.card = n) (gap : ℝ) (hgap : ∀ a ∈ S, ∀ b ∉ S, gap ≤ armMean nu a - armMean nu b) : gap ≤ 1
theorem BanditRLProof.MusicalChairs.source_exploration_good_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.source_exploration_good_probability

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

theorem source_exploration_good_probability {n k : ℕ} (hn : 0 < n) (hnk : n < k) (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (hb : ∀ a, ∀ᵐ y ∂nu a, y ∈ Set.Icc (0 : ℝ) 1) (S : Finset (Fin k)) (hcard : S.card = n) (eps gap delta : ℝ) (heps : 0 < eps) (hepsgap : eps < gap) (hgap : ∀ a ∈ S, ∀ b ∉ S, gap ≤ armMean nu a - armMean nu b) (hdelta : 0 < delta) (hdelta1 : delta < 1) : 1 - ENNReal.ofReal delta ≤ explorationRewardLaw (by omega) nu (explorationGoodEvent (n := n) (T := explorationLength k eps delta) (trueTopArms nu n))