Lean module · Foundations
BanditRLProof.Algorithms.CUCBThresholdTail
Exact source threshold crossing converted into an actual fixed-count observation-shortfall probability, with decision time n+1 and horizon H.
Module map
Imports
BanditRLProof.Algorithms.CUCBSourceModel
Imported by
BanditRLProof, BanditRLProof.Algorithms.CUCBSufficientSampling
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
theorem
BanditRLProof.CUCB.probabilistic_threshold_crossing
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.CUCB.probabilistic_threshold_crossingReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem probabilistic_threshold_crossing (H n : ℕ) (hH : n+1≤H) (u p k : ℝ) (hu : 0<u) (hp : 0<p) (hp1 : p≠1) (hk : samplingThreshold H u p<k) : 0<k ∧ 6*Real.log ((n:ℝ)+1)/u^2<k*p/2 ∧ -k*p/8≤-(3*Real.log ((n:ℝ)+1))
theorem
BanditRLProof.CUCB.FeedbackModel.arms_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
Canonical node identity
declaration:BanditRLProof.CUCB.FeedbackModel.arms_nonemptyReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem arms_nonempty : (Finset.univ : Finset (Fin m)).Nonempty
def
BanditRLProof.CUCB.FeedbackModel.globalMinTrigger
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.CUCB.FeedbackModel.globalMinTriggerReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def globalMinTrigger : ℝ
theorem
BanditRLProof.CUCB.FeedbackModel.globalMinTrigger_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.CUCB.FeedbackModel.globalMinTrigger_posReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem globalMinTrigger_pos : 0<M.globalMinTrigger
theorem
BanditRLProof.CUCB.FeedbackModel.globalMinTrigger_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.CUCB.FeedbackModel.globalMinTrigger_leReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem globalMinTrigger_le (i : Fin m) : M.globalMinTrigger≤M.minTrigger i
theorem
BanditRLProof.CUCB.FeedbackModel.globalMinTrigger_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
Canonical node identity
declaration:BanditRLProof.CUCB.FeedbackModel.globalMinTrigger_le_oneReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem globalMinTrigger_le_one : M.globalMinTrigger≤1
theorem
BanditRLProof.CUCB.FeedbackModel.globalMinTrigger_eq_one_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
Canonical node identity
declaration:BanditRLProof.CUCB.FeedbackModel.globalMinTrigger_eq_one_iffReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem globalMinTrigger_eq_one_iff : M.globalMinTrigger=1 ↔ ∀i, M.minTrigger i=1
theorem
BanditRLProof.CUCB.SourceModel.trigger_shortfall_fixed_count
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.CUCB.SourceModel.trigger_shortfall_fixed_countReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem trigger_shortfall_fixed_count (H n : ℕ) (hH : n+1≤H) (i : Fin m) (u k : ℝ) (hu : 0<u) (hp1 : M.minTrigger i≠1) (hk : samplingThreshold H u (M.minTrigger i)<k) : (cucbTrajectory S.oracle M.environment) {Y | k≤(S.chargeData.counters (fun t => (Y t).1) n i : ℝ) ∧ (observationCount (fun t => (Y t).2) n i : ℝ)≤6*Real.log ((n:ℝ)+1)/u^2} ≤ ENNReal.ofReal (((n:ℝ)+1)^3)⁻¹
theorem
BanditRLProof.CUCB.SourceModel.trigger_shortfall_slice
Compiled
A single fixed-count tail covers every eligible action: minimize its positive inverse gap before taking probabilities, instead of unioning over actions.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.SourceModel.trigger_shortfall_sliceReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem trigger_shortfall_slice (H n : ℕ) (hH : n+1≤H) (i : Fin m) (hp1 : M.minTrigger i≠1) (k : ℕ) : (cucbTrajectory S.oracle M.environment) {Y | S.chargeData.counters (fun t => (Y t).1) n i=k ∧ ∃a, 0<S.gap a ∧ i∈M.possible a ∧ samplingThreshold H (S.inverseGap a) (M.minTrigger i)<k ∧ (observationCount (fun t => (Y t).2) n i : ℝ)≤ 6*Real.log ((n:ℝ)+1)/(S.inverseGap a)^2} ≤ ENNReal.ofReal (((n:ℝ)+1)^3)⁻¹
def
BanditRLProof.CUCB.SourceModel.TriggerShortfall
Compiled
The actual observation shortfall after crossing the source horizon threshold.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.SourceModel.TriggerShortfallReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def TriggerShortfall (H n : ℕ) (i : Fin m) : Set (ℕ → Round A m)
theorem
BanditRLProof.CUCB.SourceModel.trigger_shortfall_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
Canonical node identity
declaration:BanditRLProof.CUCB.SourceModel.trigger_shortfall_probabilityReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem trigger_shortfall_probability (H n : ℕ) (hH : n+1≤H) (i : Fin m) (hp1 : M.minTrigger i≠1) : (cucbTrajectory S.oracle M.environment) (S.TriggerShortfall H n i) ≤ ENNReal.ofReal ((((n:ℝ)+1)^2)⁻¹)
theorem
BanditRLProof.CUCB.SourceModel.trigger_shortfall_probability_of_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
Canonical node identity
declaration:BanditRLProof.CUCB.SourceModel.trigger_shortfall_probability_of_oneReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem trigger_shortfall_probability_of_one (H n : ℕ) (hH : n+1≤H) (i : Fin m) (hp : M.minTrigger i=1) : (cucbTrajectory S.oracle M.environment) (S.TriggerShortfall H n i)=0
theorem
BanditRLProof.CUCB.SourceModel.trigger_shortfall_union_probability
Compiled
Sum only over base arms; the action family has already been absorbed in each fixed-count tail. Deterministically observed arms contribute zero.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.SourceModel.trigger_shortfall_union_probabilityReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem trigger_shortfall_union_probability (H n : ℕ) (hH : n+1≤H) : (cucbTrajectory S.oracle M.environment) (⋃i, S.TriggerShortfall H n i) ≤ ENNReal.ofReal ((m:ℝ)/((n:ℝ)+1)^2)
theorem
BanditRLProof.CUCB.SourceModel.trigger_shortfall_union_probability_of_all_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
Canonical node identity
declaration:BanditRLProof.CUCB.SourceModel.trigger_shortfall_union_probability_of_all_oneReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem trigger_shortfall_union_probability_of_all_one (H n : ℕ) (hH : n+1≤H) (hp : ∀i, M.minTrigger i=1) : (cucbTrajectory S.oracle M.environment) (⋃i, S.TriggerShortfall H n i)=0