Lean module · Foundations
BanditRLProof.ConfidenceIntervals
Deterministic absolute-error certificates and finite interval comparisons.
Module map
Imports
No project-local imports.
Imported by
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
theorem
BanditRLProof.ConfidenceIntervals.bias_statistical_composition
Compiled
Two absolute-error certificates compose by the triangle inequality.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.ConfidenceIntervals.bias_statistical_compositionReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem bias_statistical_composition {μ ν estimate b s : ℝ} (hb : |ν - μ| ≤ b) (hs : |estimate - ν| ≤ s) : |estimate - μ| ≤ b + s
def
BanditRLProof.ConfidenceIntervals.survivors
Compiled
Strictly disjoint intervals remove arms; touching intervals and ties survive.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.ConfidenceIntervals.survivorsReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def survivors {K : ℕ} (active : Finset (Fin K)) (estimate radius : Fin K → ℝ) : Finset (Fin K)
theorem
BanditRLProof.ConfidenceIntervals.optimal_survives
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.ConfidenceIntervals.optimal_survivesReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem optimal_survives {K : ℕ} (active : Finset (Fin K)) (μ estimate radius : Fin K → ℝ) (star : Fin K) (hstar : star ∈ active) (hopt : ∀ i ∈ active, μ i ≤ μ star) (hconf : ∀ i ∈ active, |estimate i - μ i| ≤ radius i) : star ∈ survivors active estimate radius
theorem
BanditRLProof.ConfidenceIntervals.large_gap_removed
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.ConfidenceIntervals.large_gap_removedReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem large_gap_removed {K : ℕ} (active : Finset (Fin K)) (μ estimate radius : Fin K → ℝ) (star i : Fin K) (hstar : star ∈ active) {r : ℝ} (hwidth : ∀ j ∈ active, radius j ≤ r) (hconf : ∀ j ∈ active, |estimate j - μ j| ≤ radius j) (hgap : 4 * r < μ star - μ i) : i ∉ survivors active estimate radius