Lean module · OFUL
BanditRLProof.OFULHighProbabilityRegretRate
This module expands the named all-round OFUL gap budget into an explicit logarithmic radius-width expression and specializes the compiled cumulative-gap tail to a certified optimal fixed arm.
Module map
Imports
BanditRLProof.OFULExpectedRegret
Imported by
BanditRLProof, BanditRLProof.OFULScheduledAllHorizonAllRoundGap
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
def
BanditRLProof.OFUL.standardHighProbabilityRegretLogBudget
Compiled
The confidence logarithm for outer failure probability `delta` over the complete finite window `0, ..., horizon`.
Used in these reading views: Bandit Book
5. OFUL, self-normalized confidence, and stopping times
Canonical node identity
declaration:BanditRLProof.OFUL.standardHighProbabilityRegretLogBudgetReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def standardHighProbabilityRegretLogBudget {Feature : Type u} [Fintype Feature] (lambda delta : Real) (horizon : Nat) (L2 : Real) : Real
theorem
BanditRLProof.OFUL.standardScalarConfidenceRadiusUpper_highProbabilityRegret
Compiled
At algorithm parameter `delta / (T+1)`, the standard confidence radius has the explicit form `R * sqrt (B_T + 2 * log ((T+1)/delta)) + sqrt lambda * S`.
Used in these reading views: Bandit Book
5. OFUL, self-normalized confidence, and stopping times
Canonical node identity
declaration:BanditRLProof.OFUL.standardScalarConfidenceRadiusUpper_highProbabilityRegretReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem standardScalarConfidenceRadiusUpper_highProbabilityRegret {Feature : Type u} [Fintype Feature] [Nonempty Feature] (R : Real) (hR : 0 < R) (delta : Real) (hdelta : 0 < delta) (hdelta_one : delta <= 1) (lambda : Real) (hlambda : 0 < lambda) (S : Real) (horizon : Nat) (L2 : Real) (hL2 : 0 <= L2) : standardScalarConfidenceRadiusUpper (Feature := Feature) R (delta / (((horizon + 1 : Nat) : Real))) lambda S (horizon + 1) L2 = R * Real.sqrt (standardHighProbabilityRegretLogBudget (Feature := Feature) lambda delta horizon L2) + Real.sqrt lambda * S
def
BanditRLProof.OFUL.standardHighProbabilityPseudoRegretBound
Compiled
Explicit complete finite-window high-probability pseudo-regret budget.
Used in these reading views: Bandit Book
5. OFUL, self-normalized confidence, and stopping times
Canonical node identity
declaration:BanditRLProof.OFUL.standardHighProbabilityPseudoRegretBoundReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def standardHighProbabilityPseudoRegretBound {Feature : Type u} [Fintype Feature] (R delta lambda S : Real) (horizon : Nat) (L2 : Real) : Real
theorem
BanditRLProof.OFUL.standardScalarAllRoundGapBound_eq_standardHighProbabilityPseudoRegretBound
Compiled
The named all-round gap budget is exactly the explicit rate expression.
Used in these reading views: Bandit Book
5. OFUL, self-normalized confidence, and stopping times
Canonical node identity
declaration:BanditRLProof.OFUL.standardScalarAllRoundGapBound_eq_standardHighProbabilityPseudoRegretBoundReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem standardScalarAllRoundGapBound_eq_standardHighProbabilityPseudoRegretBound {Feature : Type u} [Fintype Feature] [Nonempty Feature] (R : Real) (hR : 0 < R) (delta : Real) (hdelta : 0 < delta) (hdelta_one : delta <= 1) (lambda : Real) (hlambda : 0 < lambda) (S : Real) (horizon : Nat) (L2 : Real) (hL2 : 0 <= L2) : standardScalarAllRoundGapBound (Feature := Feature) R delta lambda S horizon L2 = standardHighProbabilityPseudoRegretBound (Feature := Feature) R delta lambda S horizon L2
def
BanditRLProof.OFUL.canonicalStandardHighProbabilityPseudoRegret
Compiled
Complete fixed-optimal-arm pseudo-regret along one canonical trajectory.
Used in these reading views: Bandit Book
5. OFUL, self-normalized confidence, and stopping times
Canonical node identity
declaration:BanditRLProof.OFUL.canonicalStandardHighProbabilityPseudoRegretReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def canonicalStandardHighProbabilityPseudoRegret {K : Nat} {Feature : Type u} [Fintype Feature] (thetaStar : Feature -> Real) (actionFeature : Fin K -> Feature -> Real) (best : Fin K) (horizon : Nat) (trajectory : Nat -> Fin K × Real) : Real
theorem
BanditRLProof.OFUL.canonicalStandardHighProbabilityPseudoRegret_nonneg_and_tail_le_explicitBound_of_linearSubgaussianEnvironment_of_featureBound_le_regularization
Compiled
Explicit finite-window high-probability pseudo-regret theorem for the canonical scalar-ridge OFUL trajectory. The horizon-`T` algorithm is run at `delta / (T+1)`. The result controls the complete rounds `0, ..., T`; it is not an anytime or all-horizon statement.
Used in these reading views: Bandit Book
5. OFUL, self-normalized confidence, and stopping times
Canonical node identity
declaration:BanditRLProof.OFUL.canonicalStandardHighProbabilityPseudoRegret_nonneg_and_tail_le_explicitBound_of_linearSubgaussianEnvironment_of_featureBound_le_regularizationReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem canonicalStandardHighProbabilityPseudoRegret_nonneg_and_tail_le_explicitBound_of_linearSubgaussianEnvironment_of_featureBound_le_regularization {K : Nat} {Feature : Type u} [Fintype Feature] [DecidableEq Feature] [Nonempty Feature] (hK : 0 < K) (lambda : Real) (hlambda : 0 < lambda) (thetaStar : Feature -> Real) (actionFeature : Fin K -> Feature -> Real) (R : Real) (hR : 0 < R) (delta : Real) (hdelta : 0 < delta) (hdelta_one : delta <= 1) (S : Real) (hS : 0 <= S) (environment : Thompson.HistoryEnvironment (Fin K) Real) (horizon : Nat) (L2 : Real) (hL2 : 0 <= L2) (hactionFeatureBound : forall action, dotProduct (actionFeature action) (actionFeature action) <= L2) (hL2lambda : L2 <= lambda) (best : Fin K) (hbest : IsOptimalLinearArm thetaStar actionFeature best) (source : CanonicalLinearSubgaussianEnvironmentLaw hK thetaStar actionFeature R S environment) : let algorithmDelta := delta / (((horizon + 1 : Nat) : Real)) let mu := Thompson.canonicalHistoryTrajectoryMeasure (finiteHistoryScalarRidgeOptimisticAlgorithm hK lambda actionFeature R algorithmDelta S) environment let pseudoRegret := canonicalStandardHighProbabilityPseudoRegret thetaStar actionFeature best horizon (forall trajectory, 0 <= pseudoRegret trajectory) /\ mu {trajectory | standardHighProbabilityPseudoRegretBound (Feature := Feature) R delta lambda S horizon L2 < pseudoRegret trajectory} <= ENNReal.ofReal delta