Lean module · Foundations
BanditRLProof.Algorithms.MOSSPeeling
The source barrier and explicit dyadic maximum-event bridge for Lemma 9.3.
Module map
Imports
BanditRLProof.Algorithms.MOSS, BanditRLProof.ConcentrationMartingaleMaximal, BanditRLProof.ConcentrationDyadicExponential
Imported by
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
theorem
BanditRLProof.MOSS.logPlus_mono
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.MOSS.logPlus_monoReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem logPlus_mono {x y : ℝ} (hxy : x ≤ y) : logPlus x ≤ logPlus y
theorem
BanditRLProof.MOSS.exp_neg_logPlus_inv_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
Canonical node identity
declaration:BanditRLProof.MOSS.exp_neg_logPlus_inv_leReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem exp_neg_logPlus_inv_le (x : ℝ) (hx : 0 < x) : exp (-logPlus (1 / x)) ≤ x
def
BanditRLProof.MOSS.peelingBarrier
Compiled
Scaled source confidence barrier, avoiding division by the sample count.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.MOSS.peelingBarrierReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def peelingBarrier (δ gap s : ℝ) : ℝ
def
BanditRLProof.MOSS.blockBarrier
Compiled
Lower barrier common to one dyadic block m<=s<=2m.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.MOSS.blockBarrierReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def blockBarrier (δ gap m : ℝ) : ℝ
theorem
BanditRLProof.MOSS.blockBarrier_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
Canonical node identity
declaration:BanditRLProof.MOSS.blockBarrier_posReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem blockBarrier_pos (δ gap m : ℝ) (hm : 0 < m) (hg : 0 < gap) : 0 < blockBarrier δ gap m
theorem
BanditRLProof.MOSS.blockBarrier_le_peelingBarrier
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.MOSS.blockBarrier_le_peelingBarrierReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem blockBarrier_le_peelingBarrier (δ gap m s : ℝ) (hδ : 0 < δ) (hg : 0 ≤ gap) (hm : 0 < m) (hms : m ≤ s) (hsm : s ≤ 2*m) : blockBarrier δ gap m ≤ peelingBarrier δ gap s
theorem
BanditRLProof.MOSS.exp_neg_blockBarrier_sq_le
Compiled
Scalar exponential bound used after Doob on one dyadic block.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.MOSS.exp_neg_blockBarrier_sq_leReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem exp_neg_blockBarrier_sq_le (δ gap m : ℝ) (hδ : 0 < δ) (hg : 0 ≤ gap) (hm : 0 < m) : exp (-(blockBarrier δ gap m)^2 / (4*m)) ≤ (2*m*δ) * exp (-(m*gap^2/4))
def
BanditRLProof.MOSS.peelingSum
Compiled
Centered partial sum in the source's one-based sample convention.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.MOSS.peelingSumReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def peelingSum {Ω : Type*} (X : ℕ → Ω → ℝ) (s : ℕ) (ω : Ω) : ℝ
def
BanditRLProof.MOSS.blockBadEvent
Compiled
Maximal partial-sum event dominating one dyadic block.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.MOSS.blockBadEventReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def blockBadEvent {Ω : Type*} (X : ℕ → Ω → ℝ) (δ gap : ℝ) (m : ℕ) : Set Ω
theorem
BanditRLProof.MOSS.measure_blockBadEvent_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
Canonical node identity
declaration:BanditRLProof.MOSS.measure_blockBadEvent_leReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem measure_blockBadEvent_le (X : ℕ → Ω → ℝ) (hXm : ∀ i, StronglyMeasurable (X i)) (hind : iIndepFun X μ) (hmean : ∀ i, ∫ ω, X i ω ∂μ = 0) (hsubG : ∀ i, HasSubgaussianMGF (X i) 1 μ) (δ gap : ℝ) (hδ : 0 < δ) (hg : 0 < gap) (m : ℕ) (hm : 0 < m) : μ (blockBadEvent X δ gap m) ≤ ENNReal.ofReal ((2*(m : ℝ)*δ) * exp (-((m : ℝ)*gap^2/4)))
def
BanditRLProof.MOSS.scaledBadEvent
Compiled
All positive-sample source bad events, in scaled partial-sum form.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.MOSS.scaledBadEventReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def scaledBadEvent (X : ℕ → Ω → ℝ) (δ gap : ℝ) : Set Ω
theorem
BanditRLProof.MOSS.measure_scaledBadEvent_le_fifteen
Compiled
Countable dyadic peeling with the printed constant 15.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.MOSS.measure_scaledBadEvent_le_fifteenReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem measure_scaledBadEvent_le_fifteen (X : ℕ → Ω → ℝ) (hXm : ∀ i, StronglyMeasurable (X i)) (hind : iIndepFun X μ) (hmean : ∀ i, ∫ ω, X i ω ∂μ = 0) (hsubG : ∀ i, HasSubgaussianMGF (X i) 1 μ) (δ gap : ℝ) (hδ : 0 < δ) (hg : 0 < gap) : μ (scaledBadEvent X δ gap) ≤ ENNReal.ofReal (15*δ/gap^2)
def
BanditRLProof.MOSS.meanBadEvent
Compiled
The actual empirical-mean bad event appearing in source Lemma 9.3.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.MOSS.meanBadEventReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def meanBadEvent (X : ℕ → Ω → ℝ) (δ gap : ℝ) : Set Ω
theorem
BanditRLProof.MOSS.meanBadEvent_subset_scaledBadEvent
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.MOSS.meanBadEvent_subset_scaledBadEventReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem meanBadEvent_subset_scaledBadEvent (X : ℕ → Ω → ℝ) (δ gap : ℝ) : meanBadEvent X δ gap ⊆ scaledBadEvent X δ gap
theorem
BanditRLProof.MOSS.measure_meanBadEvent_le_fifteen
Compiled
Source Lemma 9.3, with the printed constant and actual mean/radius event. The proof works for every positive delta, hence in particular delta in (0,1). The explicit centered-coordinate contracts are later instantiated by MOSS.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.MOSS.measure_meanBadEvent_le_fifteenReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem measure_meanBadEvent_le_fifteen (X : ℕ → Ω → ℝ) (hXm : ∀ i, StronglyMeasurable (X i)) (hind : iIndepFun X μ) (hmean : ∀ i, ∫ ω, X i ω ∂μ = 0) (hsubG : ∀ i, HasSubgaussianMGF (X i) 1 μ) (δ gap : ℝ) (hδ : 0 < δ) (hg : 0 < gap) : μ (meanBadEvent X δ gap) ≤ ENNReal.ofReal (15*δ/gap^2)