Lean module · Foundations
BanditRLProof.Algorithms.MusicalChairsReward
Generated source map for this Lean module.
Module map
Imports
BanditRLProof.Algorithms.MusicalChairsCoordinationTime, BanditRLProof.Algorithms.MusicalChairsExploration
Imported by
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
def
BanditRLProof.MusicalChairs.rewardLaw
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 identity
declaration:BanditRLProof.MusicalChairs.rewardLawReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def rewardLaw {k : ℕ} (nu : Fin k → Measure ℝ) (T : ℕ) : Measure (Fin T → Fin k → ℝ)
def
BanditRLProof.MusicalChairs.armMean
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 identity
declaration:BanditRLProof.MusicalChairs.armMeanReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def armMean {k : ℕ} (nu : Fin k → Measure ℝ) (a : Fin k) : ℝ
theorem
BanditRLProof.MusicalChairs.reward_coordinate_preserving
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 identity
declaration:BanditRLProof.MusicalChairs.reward_coordinate_preservingReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem reward_coordinate_preserving {k T : ℕ} (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (t : Fin T) (a : Fin k) : MeasurePreserving (fun r : Fin T → Fin k → ℝ => r t a) (rewardLaw nu T) (nu a)
theorem
BanditRLProof.MusicalChairs.reward_coordinate_mean
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 identity
declaration:BanditRLProof.MusicalChairs.reward_coordinate_meanReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem reward_coordinate_mean {k T : ℕ} (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (t : Fin T) (a : Fin k) : (∫ r, r t a ∂rewardLaw nu T) = armMean nu a
theorem
BanditRLProof.MusicalChairs.reward_coordinate_bounded
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 identity
declaration:BanditRLProof.MusicalChairs.reward_coordinate_boundedReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem reward_coordinate_bounded {k T : ℕ} (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (hb : ∀ a, ∀ᵐ y ∂nu a, y ∈ Set.Icc (0 : ℝ) 1) (t : Fin T) (a : Fin k) : ∀ᵐ r ∂rewardLaw nu T, r t a ∈ Set.Icc (0 : ℝ) 1
theorem
BanditRLProof.MusicalChairs.reward_coordinate_subGaussian
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 identity
declaration:BanditRLProof.MusicalChairs.reward_coordinate_subGaussianReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem reward_coordinate_subGaussian {k T : ℕ} (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (hb : ∀ a, ∀ᵐ y ∂nu a, y ∈ Set.Icc (0 : ℝ) 1) (t : Fin T) (a : Fin k) : HasSubgaussianMGF (fun r : Fin T → Fin k → ℝ => r t a - armMean nu a) (1/4 : NNReal) (rewardLaw nu T)
theorem
BanditRLProof.MusicalChairs.reward_time_independent
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 identity
declaration:BanditRLProof.MusicalChairs.reward_time_independentReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem reward_time_independent {k T : ℕ} (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (a : Fin k) : iIndepFun (fun t (r : Fin T → Fin k → ℝ) => r t a - armMean nu a) (rewardLaw nu T)
theorem
BanditRLProof.MusicalChairs.selected_sum_subGaussian
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 identity
declaration:BanditRLProof.MusicalChairs.selected_sum_subGaussianReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem selected_sum_subGaussian {k T : ℕ} (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (hb : ∀ a, ∀ᵐ y ∂nu a, y ∈ Set.Icc (0 : ℝ) 1) (S : Finset (Fin T)) (a : Fin k) : HasSubgaussianMGF (fun r : Fin T → Fin k → ℝ => ∑ t ∈ S, (r t a - armMean nu a)) ((S.card : NNReal)/4) (rewardLaw nu T)
theorem
BanditRLProof.MusicalChairs.selected_sum_abs_tail
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 identity
declaration:BanditRLProof.MusicalChairs.selected_sum_abs_tailReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem selected_sum_abs_tail {k T : ℕ} (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (hb : ∀ a, ∀ᵐ y ∂nu a, y ∈ Set.Icc (0 : ℝ) 1) (S : Finset (Fin T)) (a : Fin k) (u : ℝ) (hu : 0 ≤ u) : (rewardLaw nu T).real {r | u ≤ |∑ t ∈ S, (r t a - armMean nu a)|} ≤ 2 * Real.exp (-u^2 / (2 * ((S.card : ℝ)/4)))
def
BanditRLProof.MusicalChairs.selectedMean
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 identity
declaration:BanditRLProof.MusicalChairs.selectedMeanReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def selectedMean {k T : ℕ} (S : Finset (Fin T)) (a : Fin k) (r : Fin T → Fin k → ℝ) : ℝ
theorem
BanditRLProof.MusicalChairs.selected_centered_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 identity
declaration:BanditRLProof.MusicalChairs.selected_centered_sumReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem selected_centered_sum {k T : ℕ} (nu : Fin k → Measure ℝ) (S : Finset (Fin T)) (a : Fin k) (hS : 0 < S.card) (r : Fin T → Fin k → ℝ) : (∑ t ∈ S, (r t a - armMean nu a)) = (S.card : ℝ) * (selectedMean S a r - armMean nu a)
theorem
BanditRLProof.MusicalChairs.selectedMean_tail_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 identity
declaration:BanditRLProof.MusicalChairs.selectedMean_tail_posReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem selectedMean_tail_pos {k T : ℕ} (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (hb : ∀ a, ∀ᵐ y ∂nu a, y ∈ Set.Icc (0 : ℝ) 1) (S : Finset (Fin T)) (a : Fin k) (hS : 0 < S.card) (eps : ℝ) (heps : 0 ≤ eps) : (rewardLaw nu T).real {r | eps/2 ≤ |selectedMean S a r - armMean nu a|} ≤ 2 * Real.exp (-(S.card : ℝ) * eps^2 / 2)
theorem
BanditRLProof.MusicalChairs.selectedMean_tail
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 identity
declaration:BanditRLProof.MusicalChairs.selectedMean_tailReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem selectedMean_tail {k T : ℕ} (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (hb : ∀ a, ∀ᵐ y ∂nu a, y ∈ Set.Icc (0 : ℝ) 1) (S : Finset (Fin T)) (a : Fin k) (eps : ℝ) (heps : 0 ≤ eps) : (rewardLaw nu T).real {r | eps/2 ≤ |selectedMean S a r - armMean nu a|} ≤ 2 * Real.exp (-(S.card : ℝ) * eps^2 / 2)
def
BanditRLProof.MusicalChairs.observedTimes
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 identity
declaration:BanditRLProof.MusicalChairs.observedTimesReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def observedTimes {n k T : ℕ} (x : Fin T → Fin n → Fin k) (i : Fin n) (a : Fin k) : Finset (Fin T)
theorem
BanditRLProof.MusicalChairs.localEmpiricalMean_eq_selectedMean
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 identity
declaration:BanditRLProof.MusicalChairs.localEmpiricalMean_eq_selectedMeanReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem localEmpiricalMean_eq_selectedMean {n k T : ℕ} (x : Fin T → Fin n → Fin k) (r : Fin T → Fin k → ℝ) (i : Fin n) (a : Fin k) : localEmpiricalMean (explorationFeedback x r i) a = selectedMean (observedTimes x i a) a r
theorem
BanditRLProof.MusicalChairs.localEmpiricalMean_fixed_tail
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 identity
declaration:BanditRLProof.MusicalChairs.localEmpiricalMean_fixed_tailReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem localEmpiricalMean_fixed_tail {n k T : ℕ} (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (hb : ∀ a, ∀ᵐ y ∂nu a, y ∈ Set.Icc (0 : ℝ) 1) (x : Fin T → Fin n → Fin k) (i : Fin n) (a : Fin k) (eps : ℝ) (heps : 0 ≤ eps) : (rewardLaw nu T).real {r | eps/2 ≤ |localEmpiricalMean (explorationFeedback x r i) a - armMean nu a|} ≤ 2 * Real.exp (-(observationCount i a x : ℝ) * eps^2 / 2)
theorem
BanditRLProof.MusicalChairs.measurable_selectedMean
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 identity
declaration:BanditRLProof.MusicalChairs.measurable_selectedMeanReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem measurable_selectedMean {k T : ℕ} (S : Finset (Fin T)) (a : Fin k) : Measurable (selectedMean S a)
theorem
BanditRLProof.MusicalChairs.measurable_jointEmpiricalMean
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 identity
declaration:BanditRLProof.MusicalChairs.measurable_jointEmpiricalMeanReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem measurable_jointEmpiricalMean {n k T : ℕ} (i : Fin n) (a : Fin k) : Measurable (fun z : (Fin T → Fin n → Fin k) × (Fin T → Fin k → ℝ) => localEmpiricalMean (explorationFeedback z.1 z.2 i) a)
def
BanditRLProof.MusicalChairs.explorationRewardLaw
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 identity
declaration:BanditRLProof.MusicalChairs.explorationRewardLawReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def explorationRewardLaw {n k T : ℕ} (hk : 0 < k) (nu : Fin k → Measure ℝ) : Measure ((Fin T → Fin n → Fin k) × (Fin T → Fin k → ℝ))
def
BanditRLProof.MusicalChairs.meanBadEvent
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 identity
declaration:BanditRLProof.MusicalChairs.meanBadEventReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def meanBadEvent {n k T : ℕ} (nu : Fin k → Measure ℝ) (i : Fin n) (a : Fin k) (eps : ℝ) : Set ((Fin T → Fin n → Fin k) × (Fin T → Fin k → ℝ))
theorem
BanditRLProof.MusicalChairs.measurableSet_meanBadEvent
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 identity
declaration:BanditRLProof.MusicalChairs.measurableSet_meanBadEventReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem measurableSet_meanBadEvent {n k T : ℕ} (nu : Fin k → Measure ℝ) (i : Fin n) (a : Fin k) (eps : ℝ) : MeasurableSet (meanBadEvent (T := T) nu i a eps)
theorem
BanditRLProof.MusicalChairs.meanBadEvent_mixture
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 identity
declaration:BanditRLProof.MusicalChairs.meanBadEvent_mixtureReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem meanBadEvent_mixture {n k T : ℕ} (hk : 0 < k) (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (i : Fin n) (a : Fin k) (eps : ℝ) : explorationRewardLaw hk nu (meanBadEvent (T := T) nu i a eps) = ∑ x, explorationLaw n k T hk x * rewardLaw nu T {r | eps/2 ≤ |localEmpiricalMean (explorationFeedback x r i) a - armMean nu a|}
theorem
BanditRLProof.MusicalChairs.meanBadEvent_count_bound
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 identity
declaration:BanditRLProof.MusicalChairs.meanBadEvent_count_boundReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem meanBadEvent_count_bound {n k T : ℕ} (hk : 0 < k) (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (hb : ∀ a, ∀ᵐ y ∂nu a, y ∈ Set.Icc (0 : ℝ) 1) (i : Fin n) (a : Fin k) (eps : ℝ) (heps : 0 ≤ eps) : let q := (1 / (k : ℝ≥0∞)) * (((k-1 : ℕ) : ℝ≥0∞) / (k : ℝ≥0∞))^(n-1) explorationRewardLaw hk nu (meanBadEvent (T := T) nu i a eps) ≤ 2 * (q * ENNReal.ofReal (Real.exp (-(eps^2/2))) + (1-q))^T
theorem
BanditRLProof.MusicalChairs.half_le_one_sub_exp_neg
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 identity
declaration:BanditRLProof.MusicalChairs.half_le_one_sub_exp_negReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem half_le_one_sub_exp_neg (x : ℝ) (hx0 : 0 ≤ x) (hx1 : x ≤ 1) : x/2 ≤ 1 - Real.exp (-x)
theorem
BanditRLProof.MusicalChairs.count_mixture_exp_bound
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 identity
declaration:BanditRLProof.MusicalChairs.count_mixture_exp_boundReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem count_mixture_exp_bound (q eps : ℝ) (T : ℕ) (hq0 : 0 ≤ q) (hq1 : q ≤ 1) (heps0 : 0 ≤ eps) (heps1 : eps ≤ 1) : (q * Real.exp (-(eps^2/2)) + (1-q))^T ≤ Real.exp (-(T : ℝ)*q*eps^2/4)
def
BanditRLProof.MusicalChairs.explorationProbReal
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 identity
declaration:BanditRLProof.MusicalChairs.explorationProbRealReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def explorationProbReal (n k : ℕ) : ℝ
theorem
BanditRLProof.MusicalChairs.explorationProbReal_nonneg
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 identity
declaration:BanditRLProof.MusicalChairs.explorationProbReal_nonnegReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem explorationProbReal_nonneg (n k : ℕ) : 0 ≤ explorationProbReal n k
theorem
BanditRLProof.MusicalChairs.explorationProbReal_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 identity
declaration:BanditRLProof.MusicalChairs.explorationProbReal_le_oneReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem explorationProbReal_le_one (n k : ℕ) (hk : 0 < k) : explorationProbReal n k ≤ 1
theorem
BanditRLProof.MusicalChairs.explorationProbReal_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 identity
declaration:BanditRLProof.MusicalChairs.explorationProbReal_lowerReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem explorationProbReal_lower (n k : ℕ) (hk : 0 < k) (hnk : n ≤ k) : (1 : ℝ)/(4*k) ≤ explorationProbReal n k
theorem
BanditRLProof.MusicalChairs.ofReal_explorationProbReal
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 identity
declaration:BanditRLProof.MusicalChairs.ofReal_explorationProbRealReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem ofReal_explorationProbReal (n k : ℕ) (hk : 0 < k) : ENNReal.ofReal (explorationProbReal n k) = (1/(k : ℝ≥0∞)) * (((k-1 : ℕ) : ℝ≥0∞)/(k : ℝ≥0∞))^(n-1)
theorem
BanditRLProof.MusicalChairs.meanBadEvent_exponential_bound
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 identity
declaration:BanditRLProof.MusicalChairs.meanBadEvent_exponential_boundReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem meanBadEvent_exponential_bound {n k T : ℕ} (hk : 0 < k) (hnk : n ≤ k) (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (hb : ∀ a, ∀ᵐ y ∂nu a, y ∈ Set.Icc (0 : ℝ) 1) (i : Fin n) (a : Fin k) (eps : ℝ) (heps0 : 0 ≤ eps) (heps1 : eps ≤ 1) : explorationRewardLaw hk nu (meanBadEvent (T := T) nu i a eps) ≤ ENNReal.ofReal (2 * Real.exp (-(T : ℝ)*eps^2/(16*k)))
def
BanditRLProof.MusicalChairs.allMeanBadEvent
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 identity
declaration:BanditRLProof.MusicalChairs.allMeanBadEventReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def allMeanBadEvent {n k T : ℕ} (nu : Fin k → Measure ℝ) (eps : ℝ) : Set ((Fin T → Fin n → Fin k) × (Fin T → Fin k → ℝ))
theorem
BanditRLProof.MusicalChairs.allMeanBadEvent_exponential_bound
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 identity
declaration:BanditRLProof.MusicalChairs.allMeanBadEvent_exponential_boundReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem allMeanBadEvent_exponential_bound {n k T : ℕ} (hk : 0 < k) (hnk : n ≤ k) (nu : Fin k → Measure ℝ) [∀ a, IsProbabilityMeasure (nu a)] (hb : ∀ a, ∀ᵐ y ∂nu a, y ∈ Set.Icc (0 : ℝ) 1) (eps : ℝ) (heps0 : 0 ≤ eps) (heps1 : eps ≤ 1) : explorationRewardLaw hk nu (allMeanBadEvent (n := n) (T := T) nu eps) ≤ ENNReal.ofReal (2 * (k : ℝ)^2 * Real.exp (-(T : ℝ)*eps^2/(16*k)))
theorem
BanditRLProof.MusicalChairs.mean_exploration_threshold
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 identity
declaration:BanditRLProof.MusicalChairs.mean_exploration_thresholdReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem mean_exploration_threshold (k T : ℕ) (hk : 0 < k) (eps delta : ℝ) (heps : 0 < eps) (hdelta : 0 < delta) (hT : (16*(k : ℝ)/eps^2) * Real.log (4*(k : ℝ)^2/delta) ≤ T) : 2*(k : ℝ)^2 * Real.exp (-(T : ℝ)*eps^2/(16*k)) ≤ delta/2
theorem
BanditRLProof.MusicalChairs.allMeanBadEvent_le_half_delta
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 identity
declaration:BanditRLProof.MusicalChairs.allMeanBadEvent_le_half_deltaReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem allMeanBadEvent_le_half_delta {n k T : ℕ} (hk : 0 < 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) (hT : (16*(k : ℝ)/eps^2) * Real.log (4*(k : ℝ)^2/delta) ≤ T) : explorationRewardLaw hk nu (allMeanBadEvent (n := n) (T := T) nu eps) ≤ ENNReal.ofReal (delta/2)
def
BanditRLProof.MusicalChairs.allMeanAccurate
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 identity
declaration:BanditRLProof.MusicalChairs.allMeanAccurateReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def allMeanAccurate {n k T : ℕ} (nu : Fin k → Measure ℝ) (eps : ℝ) : Set ((Fin T → Fin n → Fin k) × (Fin T → Fin k → ℝ))
theorem
BanditRLProof.MusicalChairs.allMeanAccurate_eq_compl
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 identity
declaration:BanditRLProof.MusicalChairs.allMeanAccurate_eq_complReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem allMeanAccurate_eq_compl {n k T : ℕ} (nu : Fin k → Measure ℝ) (eps : ℝ) : allMeanAccurate (n := n) (T := T) nu eps = (allMeanBadEvent nu eps)ᶜ
theorem
BanditRLProof.MusicalChairs.allMeanAccurate_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 identity
declaration:BanditRLProof.MusicalChairs.allMeanAccurate_probabilityReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem allMeanAccurate_probability {n k T : ℕ} (hk : 0 < 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) (hT : (16*(k : ℝ)/eps^2) * Real.log (4*(k : ℝ)^2/delta) ≤ T) : 1 - ENNReal.ofReal (delta/2) ≤ explorationRewardLaw hk nu (allMeanAccurate (n := n) (T := T) nu eps)