Lean module · Online foundations
BanditRLProof.OnlineLearningHistory
Derived strict finite-history policy APIs and positive-horizon normalization for Orabona v10 Chapter 1, printed p.1 / PDF p.13. Independence is produced for the actual composed deterministic history policy. The loss lower bound uses legacy pointwise target support and a global bound on every history tuple, stronger than AE support and feasibility only on legal histories. It compares with current-round variance without an identical-law premise. These APIs do not represent every random kernel or completed-information strategy; the scalar normalized identity is not itself an asymptotic result.
Module map
Imports
BanditRLProof.OnlineLearningIID
Imported by
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
theorem
BanditRL.OnlineLearning.history_policy_independent
Compiled
A policy consumes only the finite strict-past tuple; no full-sequence algorithm argument.
Used in these reading views: Online Learning Book
Online Learning: foundations and Follow-the-Leader
Canonical node identity
declaration:BanditRL.OnlineLearning.history_policy_independentReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem history_policy_independent {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ] (Y : ℕ → Ω → ℝ) (hY : ∀ t, Measurable (Y t)) (hind : iIndepFun Y μ) (t : ℕ) (policy : ((↑(Finset.range t) : Type) → ℝ) → ℝ) (hp : Measurable policy) : IndepFun (fun ω => policy (fun i => Y i ω)) (Y t) μ
theorem
BanditRL.OnlineLearning.history_policy_loss_ge_variance
Compiled
No bounded measurable history policy beats the variance benchmark in expectation.
Used in these reading views: Online Learning Book
Online Learning: foundations and Follow-the-Leader
Canonical node identity
declaration:BanditRL.OnlineLearning.history_policy_loss_ge_varianceReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem history_policy_loss_ge_variance {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ] (Y : ℕ → Ω → ℝ) (hY : ∀ t, Measurable (Y t)) (hind : iIndepFun Y μ) (hb : ∀ t ω, Y t ω ∈ Set.Icc (0 : ℝ) 1) (t : ℕ) (policy : ((↑(Finset.range t) : Type) → ℝ) → ℝ) (hp : Measurable policy) (hpb : ∀ z, policy z ∈ Set.Icc (0 : ℝ) 1) : variance (Y t) μ ≤ ∫ ω, (policy (fun i => Y i ω) - Y t ω)^2 ∂μ
theorem
BanditRL.OnlineLearning.normalized_excess
Compiled
Equations (1.1) and (1.2) differ exactly by normalization for positive horizon.
Used in these reading views: Online Learning Book
Online Learning: foundations and Follow-the-Leader
Canonical node identity
declaration:BanditRL.OnlineLearning.normalized_excessReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem normalized_excess (total variance : ℝ) (T : ℕ) (hT : 0 < T) : total / T - variance = (total - T * variance) / T