BanditRLlib
Lean gate passed before this site build; local proof declarations are shown as compiled.Lean-verified build · exact declarations linked.

Lean module · Online foundations

BanditRLProof.OnlineGuessingIIDSuccess

Generated source map for this Lean module.

Module map

Declarations
4
Placeholders
0

Imports

BanditRLProof.OnlineGuessingRandomizedIID

Imported by

BanditRLProof

Declarations

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

theorem BanditRL.OnlineLearning.centered_total_sublinear_iff_average Compiled

Signed centered-total sublinearity is exactly vanishing average excess; eventual positive horizons only.

Used in these reading views: Online Learning Book

Online Learning: foundations and Follow-the-Leader

Canonical node identitydeclaration:BanditRL.OnlineLearning.centered_total_sublinear_iff_average

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

theorem centered_total_sublinear_iff_average (total : ℕ → ℝ) (c : ℝ) : (fun T => total T - (T : ℝ) * c) =o[atTop] (fun T : ℕ => (T : ℝ)) ↔ Tendsto (fun T => total T / (T : ℝ) - c) atTop (nhds (0 : ℝ))
theorem BanditRL.OnlineLearning.randomized_history_policy_success_iff Compiled

Actual jointly measurable private-seed strict-history policy success equivalences; convergence is characterized, not asserted for every policy.

Used in these reading views: Online Learning Book

Online Learning: foundations and Follow-the-Leader

Canonical node identitydeclaration:BanditRL.OnlineLearning.randomized_history_policy_success_iff

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

theorem randomized_history_policy_success_iff {Ω : Type u} {Seed : Type v} [MeasurableSpace Ω] [MeasurableSpace Seed] (μ : Measure Ω) [IsProbabilityMeasure μ] (Y : ℕ → Ω → ℝ) (hY : ∀ t, Measurable (Y t)) (hlaw : ∀ t, IdentDistrib (Y t) (Y 0) μ μ) (hb : ∀ t, ∀ᵐ ω ∂μ, Y t ω ∈ Set.Icc (0 : ℝ) 1) (hind : iIndepFun Y μ) (S : Ω → Seed) (hS : Measurable S) (hseed : IndepFun S (fun ω t => Y t ω) μ) (policy : (t : ℕ) → (Seed × ((↑(Finset.range t) : Type) → ℝ)) → ℝ) (hp : ∀ t, Measurable (policy t)) (hpb : ∀ t s z, (∀ i, z i ∈ Set.Icc (0 : ℝ) 1) → policy t (s, z) ∈ Set.Icc (0 : ℝ) 1) : let prediction := fun t ω => policy t (S ω, fun i => Y i ω) (∀ T, 0 ≤ expectedFixedRegret μ Y prediction T) ∧ ((fun T => expectedFixedRegret μ Y prediction T) =o[atTop] (fun T : ℕ => (T : ℝ)) ↔ Tendsto (fun T => (∫ ω, ∑ t ∈ Finset.range T, (prediction t ω - Y t ω)^2 ∂μ) / (T : ℝ) - variance (Y 0) μ) atTop (nhds (0 : ℝ))) ∧ (Tendsto (fun T => (∫ ω, ∑ t ∈ Finset.range T, (prediction t ω - Y t ω)^2 ∂μ) / (T : ℝ) - variance (Y 0) μ) atTop (nhds (0 : ℝ)) ↔ Tendsto (fun T => (∑ t ∈ Finset.range T, ∫ ω, (prediction t ω - ∫ ω, Y 0 ω ∂μ)^2 ∂μ) / (T : ℝ)) atTop (nhds (0 : ℝ)))
theorem BanditRL.OnlineLearning.meanPredict_expectedFixed_upper Compiled

Actual unknown-law initial-half strictpast meanPredict expected-fixed upper from source pathwise Theorem1.3; independence not assumed.

Used in these reading views: Online Learning Book

Online Learning: foundations and Follow-the-Leader

Canonical node identitydeclaration:BanditRL.OnlineLearning.meanPredict_expectedFixed_upper

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

theorem meanPredict_expectedFixed_upper {Ω : Type u} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ] (Y : ℕ → Ω → ℝ) (hY : ∀ t, Measurable (Y t)) (hlaw : ∀ t, IdentDistrib (Y t) (Y 0) μ μ) (hb : ∀ t, ∀ᵐ ω ∂μ, Y t ω ∈ Set.Icc (0 : ℝ) 1) (T : ℕ) (hT : 0 < T) : expectedFixedRegret μ Y (fun t ω => meanPredict (fun i => Y i ω) t) T ≤ 4 + 4 * Real.log T
theorem BanditRL.OnlineLearning.meanPredict_iid_success Compiled

Actual unknown-law strictpast meanPredict stochastic success: IID nonnegative excess and integrated4log upper produce ordinary zero normalized limit and little-o.

Used in these reading views: Online Learning Book

Online Learning: foundations and Follow-the-Leader

Canonical node identitydeclaration:BanditRL.OnlineLearning.meanPredict_iid_success

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

theorem meanPredict_iid_success {Ω : Type u} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ] (Y : ℕ → Ω → ℝ) (hY : ∀ t, Measurable (Y t)) (hlaw : ∀ t, IdentDistrib (Y t) (Y 0) μ μ) (hb : ∀ t, ∀ᵐ ω ∂μ, Y t ω ∈ Set.Icc (0 : ℝ) 1) (hind : iIndepFun Y μ) : Tendsto (fun T => expectedFixedRegret μ Y (fun t ω => meanPredict (fun i => Y i ω) t) T / (T : ℝ)) atTop (nhds (0 : ℝ)) ∧ (fun T => expectedFixedRegret μ Y (fun t ω => meanPredict (fun i => Y i ω) t) T) =o[atTop] (fun T : ℕ => (T : ℝ))