Lean module · OFUL
BanditRLProof.OFULScheduledBoundedStoppingTimeHighProbabilityRegretRate
# Bounded stopping-time high-probability OFUL pseudo-regret rate This module evaluates the explicit one-policy all-horizon OFUL rate at a bounded stopping time. The probability argument is pathwise event domination, not optional stopping and not a new union bound.
Module map
Imports
BanditRLProof.OFULScheduledAllHorizonHighProbabilityRegretRate
Imported by
BanditRLProof, BanditRLProof.OFULScheduledBoundedStoppingTimeExpectedRegret
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
def
BanditRLProof.OFUL.canonicalHistoryTrajectoryAllRoundFiltration
Compiled
The canonical trajectory filtration through the current round. At level `T` it contains exactly the coordinates `0, ..., T`.
def canonicalHistoryTrajectoryAllRoundFiltration {K : Nat} : Filtration Nat (inferInstance : MeasurableSpace (Nat -> Fin K × Real))
theorem
BanditRLProof.OFUL.canonicalHistoryTrajectoryAllRoundFiltration_apply
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
theorem canonicalHistoryTrajectoryAllRoundFiltration_apply {K : Nat} (horizon : Nat) : (canonicalHistoryTrajectoryAllRoundFiltration (K
theorem
BanditRLProof.OFUL.measurable_canonicalHistoryTrajectory_coordinate_allRound
Compiled
Every coordinate `t <= T` is measurable at all-round level `T`.
theorem measurable_canonicalHistoryTrajectory_coordinate_allRound {K : Nat} {t horizon : Nat} (ht : t <= horizon) : @Measurable (Nat -> Fin K × Real) (Fin K × Real) (canonicalHistoryTrajectoryAllRoundFiltration (K
theorem
BanditRLProof.OFUL.boundedTrajectoryTime_ne_top
Compiled
A trajectory time below a finite deterministic horizon cannot be `top`.
theorem boundedTrajectoryTime_ne_top {K : Nat} (tau : (Nat -> Fin K × Real) -> WithTop Nat) (maxHorizon : Nat) (htau_le : forall trajectory, tau trajectory <= (maxHorizon : WithTop Nat)) : forall trajectory, tau trajectory ≠ (⊤ : WithTop Nat)
theorem
BanditRLProof.OFUL.coe_untopA_boundedTrajectoryTime
Compiled
Under a finite bound, `untopA` recovers the actual stopping-time value.
theorem coe_untopA_boundedTrajectoryTime {K : Nat} (tau : (Nat -> Fin K × Real) -> WithTop Nat) (maxHorizon : Nat) (htau_le : forall trajectory, tau trajectory <= (maxHorizon : WithTop Nat)) (trajectory : Nat -> Fin K × Real) : ((tau trajectory).untopA : WithTop Nat) = tau trajectory
theorem
BanditRLProof.OFUL.measurable_canonicalStandardHighProbabilityPseudoRegret_allRound
Compiled
Complete fixed-best pseudo-regret through horizon `T` is measurable using only trajectory coordinates `0, ..., T`.
theorem measurable_canonicalStandardHighProbabilityPseudoRegret_allRound {K : Nat} {Feature : Type u} [Fintype Feature] (thetaStar : Feature -> Real) (actionFeature : Fin K -> Feature -> Real) (best : Fin K) (horizon : Nat) : @Measurable (Nat -> Fin K × Real) Real (canonicalHistoryTrajectoryAllRoundFiltration (K
theorem
BanditRLProof.OFUL.canonicalStandardHighProbabilityPseudoRegret_stronglyAdapted_allRound
Compiled
The complete fixed-best pseudo-regret process is strongly adapted to the canonical all-round trajectory filtration.
theorem canonicalStandardHighProbabilityPseudoRegret_stronglyAdapted_allRound {K : Nat} {Feature : Type u} [Fintype Feature] (thetaStar : Feature -> Real) (actionFeature : Fin K -> Feature -> Real) (best : Fin K) : StronglyAdapted (canonicalHistoryTrajectoryAllRoundFiltration (K
theorem
BanditRLProof.OFUL.telescopingHighProbabilityPseudoRegretBound_stronglyAdapted_allRound
Compiled
The deterministic explicit rate process is strongly adapted.
theorem telescopingHighProbabilityPseudoRegretBound_stronglyAdapted_allRound {K : Nat} {Feature : Type u} [Fintype Feature] (R delta lambda S L2 : Real) : StronglyAdapted (canonicalHistoryTrajectoryAllRoundFiltration (K
def
BanditRLProof.OFUL.telescopingCanonicalExplicitHighProbabilityPseudoRegretStoppedViolationSet
Compiled
Violation of the explicit scheduled pseudo-regret rate after evaluating both the deterministic budget and pseudo-regret process at a Mathlib stopped value.
noncomputable def telescopingCanonicalExplicitHighProbabilityPseudoRegretStoppedViolationSet {K : Nat} {Feature : Type u} [Fintype Feature] (lambda : Real) (thetaStar : Feature -> Real) (actionFeature : Fin K -> Feature -> Real) (R delta S L2 : Real) (best : Fin K) (tau : (Nat -> Fin K × Real) -> WithTop Nat) : Set (Nat -> Fin K × Real)
theorem
BanditRLProof.OFUL.telescopingCanonicalExplicitHighProbabilityPseudoRegretStoppedViolationSet_subset_allHorizon
Compiled
Every stopped-value violation is already an all-horizon violation, with the same trajectory and witness horizon.
theorem telescopingCanonicalExplicitHighProbabilityPseudoRegretStoppedViolationSet_subset_allHorizon {K : Nat} {Feature : Type u} [Fintype Feature] (lambda : Real) (thetaStar : Feature -> Real) (actionFeature : Fin K -> Feature -> Real) (R delta S L2 : Real) (best : Fin K) (tau : (Nat -> Fin K × Real) -> WithTop Nat) : telescopingCanonicalExplicitHighProbabilityPseudoRegretStoppedViolationSet lambda thetaStar actionFeature R delta S L2 best tau ⊆ telescopingCanonicalExplicitHighProbabilityPseudoRegretAllHorizonViolationSet lambda thetaStar actionFeature R delta S L2 best
theorem
BanditRLProof.OFUL.measurableSet_telescopingCanonicalExplicitHighProbabilityPseudoRegretStoppedViolationSet_of_boundedStoppingTime
Compiled
For a bounded stopping time, the stopped explicit violation event is measurable at the deterministic bound.
theorem measurableSet_telescopingCanonicalExplicitHighProbabilityPseudoRegretStoppedViolationSet_of_boundedStoppingTime {K : Nat} {Feature : Type u} [Fintype Feature] (lambda : Real) (thetaStar : Feature -> Real) (actionFeature : Fin K -> Feature -> Real) (R delta S L2 : Real) (best : Fin K) (tau : (Nat -> Fin K × Real) -> WithTop Nat) (htau : IsStoppingTime (canonicalHistoryTrajectoryAllRoundFiltration (K
theorem
BanditRLProof.OFUL.measure_telescopingCanonicalExplicitHighProbabilityPseudoRegretStoppedViolationSet_le_of_linearSubgaussianEnvironment_of_featureBound_le_regularization
Compiled
The stopped-value violation event inherits the all-horizon `delta` tail. This pathwise transport does not require the index to be a stopping time.
theorem measure_telescopingCanonicalExplicitHighProbabilityPseudoRegretStoppedViolationSet_le_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) (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) (tau : (Nat -> Fin K × Real) -> WithTop Nat) : Thompson.canonicalHistoryTrajectoryMeasure (finiteHistoryTelescopingScalarRidgeOptimisticAlgorithm hK lambda actionFeature R delta S) environment (telescopingCanonicalExplicitHighProbabilityPseudoRegretStoppedViolationSet lambda thetaStar actionFeature R delta S L2 best tau) <= ENNReal.ofReal delta
theorem
BanditRLProof.OFUL.telescopingCanonicalStandardHighProbabilityPseudoRegret_nonneg_and_boundedStoppingTime_tail_le_explicitBound_of_linearSubgaussianEnvironment_of_featureBound_le_regularization
Compiled
Complete bounded-stopping-time high-probability pseudo-regret theorem for the single telescoping-schedule OFUL policy.
theorem telescopingCanonicalStandardHighProbabilityPseudoRegret_nonneg_and_boundedStoppingTime_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) (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) (tau : (Nat -> Fin K × Real) -> WithTop Nat) (htau : IsStoppingTime (canonicalHistoryTrajectoryAllRoundFiltration (K