BanditRLlib
Lean gate passed before this site build; local proof declarations are shown as compiled.

Lean module · EXP3

BanditRLProof.Exp3MixedSquarePredictableVarianceRealizedHighProbabilityRegret

# Realized EXP3 regret with random predictable mixed-square variance This module adds the generated realized-minus-predictable deviation to the random predictable-variance regret route. The resulting selected-loss regret bound preserves the cumulative variance overflow event explicitly.

Module map

Declarations
5
Placeholders
0

Imports

BanditRLProof.Exp3MixedSquarePredictableVarianceHighProbabilityRegret, BanditRLProof.Exp3RealizedConfidence

Imported by

BanditRLProof, BanditRLProof.Exp3MixedSquarePredictableVarianceRealizedMarkovHighProbabilityRegret

Declarations

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

def BanditRLProof.Exp3.sampledPredictableVarianceSquareRealizedHighProbabilityRegretBudget Compiled

Realized selected-loss regret budget with a caller-supplied cumulative predictable mixed-square variance budget.

noncomputable def sampledPredictableVarianceSquareRealizedHighProbabilityRegretBudget {Action : Type v} [DecidableEq Action] (arms : Finset Action) (eta gamma : Real) (horizon : Nat) (varianceBudget deltaSquare deltaConfidence deltaRealized : Real) : Real
theorem BanditRLProof.Exp3.sampledPredictable_predictableVarianceSquareRealizedHighProbabilityRegret_tail_joint Compiled

Realized selected-loss regret on the event that cumulative predictable mixed-square variance stays below `varianceBudget`.

theorem sampledPredictable_predictableVarianceSquareRealizedHighProbabilityRegret_tail_joint {Env : Type u} {Action : Type v} [MeasurableSpace Env] [StandardBorelSpace Env] [Nonempty Env] [MeasurableSpace Action] [MeasurableSingletonClass Action] [StandardBorelSpace Action] [Nonempty Action] [DecidableEq Action] (prior : Measure Env) [IsProbabilityMeasure prior] (arms : Finset Action) (harms : arms.Nonempty) (eta gamma : Real) (heta : 0 < eta) (hgamma_pos : 0 < gamma) (hgamma_lt_one : gamma < 1) (loss : PredictableLossVector Env Action) (comparator : Action) (hcomparator : comparator ∈ arms) (horizon : Nat) (hhorizon : 0 < horizon) (varianceBudget deltaSquare deltaConfidence deltaRealized : Real) (hvarianceBudget : 0 < varianceBudget) (hdeltaSquare : 0 < deltaSquare) (hdeltaConfidence : 0 < deltaConfidence) (hdeltaRealized : 0 < deltaRealized) : let mu := prior ⊗ₘ sampledImportanceWeightedTrajectoryKernel arms harms eta gamma hgamma_pos.le hgamma_lt_one.le loss.environment mu {sample | sampledPredictableVarianceSquareRealizedHighProbabilityRegretBudget arms eta gamma horizon varianceBudget deltaSquare deltaConfidence deltaRealized <= (Finset.range horizon).sum (fun t => sampledTrajectoryRealizedLossAt t sample) - (Finset.range horizon).sum (fun t => predictableLossAt loss t sample comparator) ∧ (Finset.range horizon).sum (fun i => sampledTrajectoryPredictableMixedSquaredVarianceAt arms eta gamma loss i sample) <= varianceBudget} <= ((ENNReal.ofReal deltaSquare + ENNReal.ofReal deltaConfidence) + ENNReal.ofReal deltaConfidence) + ENNReal.ofReal deltaRealized
theorem BanditRLProof.Exp3.sampledPredictable_predictableVarianceSquareRealizedHighProbabilityRegret_tail Compiled

Unconditional realized selected-loss regret with the cumulative predictable-variance overflow probability left explicit.

theorem sampledPredictable_predictableVarianceSquareRealizedHighProbabilityRegret_tail {Env : Type u} {Action : Type v} [MeasurableSpace Env] [StandardBorelSpace Env] [Nonempty Env] [MeasurableSpace Action] [MeasurableSingletonClass Action] [StandardBorelSpace Action] [Nonempty Action] [DecidableEq Action] (prior : Measure Env) [IsProbabilityMeasure prior] (arms : Finset Action) (harms : arms.Nonempty) (eta gamma : Real) (heta : 0 < eta) (hgamma_pos : 0 < gamma) (hgamma_lt_one : gamma < 1) (loss : PredictableLossVector Env Action) (comparator : Action) (hcomparator : comparator ∈ arms) (horizon : Nat) (hhorizon : 0 < horizon) (varianceBudget deltaSquare deltaConfidence deltaRealized : Real) (hvarianceBudget : 0 < varianceBudget) (hdeltaSquare : 0 < deltaSquare) (hdeltaConfidence : 0 < deltaConfidence) (hdeltaRealized : 0 < deltaRealized) : let mu := prior ⊗ₘ sampledImportanceWeightedTrajectoryKernel arms harms eta gamma hgamma_pos.le hgamma_lt_one.le loss.environment mu {sample | sampledPredictableVarianceSquareRealizedHighProbabilityRegretBudget arms eta gamma horizon varianceBudget deltaSquare deltaConfidence deltaRealized <= (Finset.range horizon).sum (fun t => sampledTrajectoryRealizedLossAt t sample) - (Finset.range horizon).sum (fun t => predictableLossAt loss t sample comparator)} <= (((ENNReal.ofReal deltaSquare + ENNReal.ofReal deltaConfidence) + ENNReal.ofReal deltaConfidence) + ENNReal.ofReal deltaRealized) + mu {sample | varianceBudget < (Finset.range horizon).sum (fun i => sampledTrajectoryPredictableMixedSquaredVarianceAt arms eta gamma loss i sample)}
theorem BanditRLProof.Exp3.sampledPredictable_predictableVarianceSquareRealizedHighProbabilityRegret_tail_joint_total_delta Compiled

Total-failure joint-event form with all four confidence events allocated `delta / 4`.

theorem sampledPredictable_predictableVarianceSquareRealizedHighProbabilityRegret_tail_joint_total_delta {Env : Type u} {Action : Type v} [MeasurableSpace Env] [StandardBorelSpace Env] [Nonempty Env] [MeasurableSpace Action] [MeasurableSingletonClass Action] [StandardBorelSpace Action] [Nonempty Action] [DecidableEq Action] (prior : Measure Env) [IsProbabilityMeasure prior] (arms : Finset Action) (harms : arms.Nonempty) (eta gamma : Real) (heta : 0 < eta) (hgamma_pos : 0 < gamma) (hgamma_lt_one : gamma < 1) (loss : PredictableLossVector Env Action) (comparator : Action) (hcomparator : comparator ∈ arms) (horizon : Nat) (hhorizon : 0 < horizon) (varianceBudget delta : Real) (hvarianceBudget : 0 < varianceBudget) (hdelta : 0 < delta) : let mu := prior ⊗ₘ sampledImportanceWeightedTrajectoryKernel arms harms eta gamma hgamma_pos.le hgamma_lt_one.le loss.environment mu {sample | sampledPredictableVarianceSquareRealizedHighProbabilityRegretBudget arms eta gamma horizon varianceBudget (delta / 4) (delta / 4) (delta / 4) <= (Finset.range horizon).sum (fun t => sampledTrajectoryRealizedLossAt t sample) - (Finset.range horizon).sum (fun t => predictableLossAt loss t sample comparator) ∧ (Finset.range horizon).sum (fun i => sampledTrajectoryPredictableMixedSquaredVarianceAt arms eta gamma loss i sample) <= varianceBudget} <= ENNReal.ofReal delta
theorem BanditRLProof.Exp3.sampledPredictable_predictableVarianceSquareRealizedHighProbabilityRegret_tail_total_delta Compiled

Primary residual-variance realized-regret theorem. The four explicit confidence failures total `delta`; only predictable-variance overflow remains.

theorem sampledPredictable_predictableVarianceSquareRealizedHighProbabilityRegret_tail_total_delta {Env : Type u} {Action : Type v} [MeasurableSpace Env] [StandardBorelSpace Env] [Nonempty Env] [MeasurableSpace Action] [MeasurableSingletonClass Action] [StandardBorelSpace Action] [Nonempty Action] [DecidableEq Action] (prior : Measure Env) [IsProbabilityMeasure prior] (arms : Finset Action) (harms : arms.Nonempty) (eta gamma : Real) (heta : 0 < eta) (hgamma_pos : 0 < gamma) (hgamma_lt_one : gamma < 1) (loss : PredictableLossVector Env Action) (comparator : Action) (hcomparator : comparator ∈ arms) (horizon : Nat) (hhorizon : 0 < horizon) (varianceBudget delta : Real) (hvarianceBudget : 0 < varianceBudget) (hdelta : 0 < delta) : let mu := prior ⊗ₘ sampledImportanceWeightedTrajectoryKernel arms harms eta gamma hgamma_pos.le hgamma_lt_one.le loss.environment mu {sample | sampledPredictableVarianceSquareRealizedHighProbabilityRegretBudget arms eta gamma horizon varianceBudget (delta / 4) (delta / 4) (delta / 4) <= (Finset.range horizon).sum (fun t => sampledTrajectoryRealizedLossAt t sample) - (Finset.range horizon).sum (fun t => predictableLossAt loss t sample comparator)} <= ENNReal.ofReal delta + mu {sample | varianceBudget < (Finset.range horizon).sum (fun i => sampledTrajectoryPredictableMixedSquaredVarianceAt arms eta gamma loss i sample)}