Lean module · Online foundations
BanditRLProof.OnlineLearningStochastic
Derived squared-loss identities for the Orabona v10 Chapter 1 motivation, printed p.1 / PDF p.13; these are not additional numbered source theorems. Probability and L2 hypotheses are explicit. The random-prediction identity consumes current-target independence; deriving causal independence requires separate information/history producers. These generic identities do not represent all stochastic strategies or prove a learning rate.
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
BanditRL.OnlineLearning.expected_square_decomposition
Compiled
Chapter 1 squared-loss motivation: the mean minimizes expected squared loss.
Used in these reading views: Online Learning Book
Online Learning: foundations and Follow-the-Leader
Canonical node identity
declaration:BanditRL.OnlineLearning.expected_square_decompositionReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem expected_square_decomposition {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ] (Y : Ω → ℝ) (hY : MemLp Y 2 μ) (u : ℝ) : (∫ ω, (u - Y ω)^2 ∂μ) = variance Y μ + (u - ∫ ω, Y ω ∂μ)^2
theorem
BanditRL.OnlineLearning.independent_prediction_square
Compiled
Current-target independence is the information condition needed for random predictions.
Used in these reading views: Online Learning Book
Online Learning: foundations and Follow-the-Leader
Canonical node identity
declaration:BanditRL.OnlineLearning.independent_prediction_squareReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem independent_prediction_square {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ] (P Y : Ω → ℝ) (hP : MemLp P 2 μ) (hY : MemLp Y 2 μ) (h : IndepFun P Y μ) : (∫ ω, (P ω - Y ω)^2 ∂μ) = (∫ ω, (P ω - ∫ ω, Y ω ∂μ)^2 ∂μ) + variance Y μ