BanditRLlib
Lean gate passed before this site build; local proof declarations are shown as compiled.Lean-verified build · exact declarations linked.

Lean module · OFUL

BanditRLProof.OFULScheduledPositiveActionCostBudgetExhaustionExpectedRegret

This module specializes the cumulative positive-cost budget-exhaustion route to a deterministic Nat-valued cost on the finite action set. At round t, the cost process reads the current action from the canonical generated trajectory.

Module map

Declarations
8
Placeholders
0

Imports

BanditRLProof.OFULScheduledCumulativePositiveCostBudgetExhaustionExpectedRegret

Imported by

BanditRLProof, BanditRLProof.OFULScheduledAEAlignedWindowPositiveActionCostBudgetExhaustionExpectedRegret

Declarations

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

def BanditRLProof.Budget.canonicalActionCostProcess Compiled

The deterministic cost of the current canonical trajectory action.

Used in these reading views: Bandit Book

5. OFUL, self-normalized confidence, and stopping times

Canonical node identitydeclaration:BanditRLProof.Budget.canonicalActionCostProcess

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

def canonicalActionCostProcess {K : Nat} (actionCost : Fin K -> Nat) (t : Nat) (trajectory : Nat -> Fin K × Real) : Nat
theorem BanditRLProof.Budget.adapted_canonicalActionCostProcess Compiled

The current-action cost is adapted to the canonical all-round filtration: the current trajectory coordinate is measurable, as are all maps between countable measurable spaces.

Used in these reading views: Bandit Book

5. OFUL, self-normalized confidence, and stopping times

Canonical node identitydeclaration:BanditRLProof.Budget.adapted_canonicalActionCostProcess

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem adapted_canonicalActionCostProcess {K : Nat} (actionCost : Fin K -> Nat) : Adapted (OFUL.canonicalHistoryTrajectoryAllRoundFiltration (K := K)) (canonicalActionCostProcess actionCost)
theorem BanditRLProof.Budget.canonicalActionCostProcess_one_le Compiled

Positive arm costs give a pointwise positive trajectory cost process.

Used in these reading views: Bandit Book

5. OFUL, self-normalized confidence, and stopping times

Canonical node identitydeclaration:BanditRLProof.Budget.canonicalActionCostProcess_one_le

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem canonicalActionCostProcess_one_le {K : Nat} (actionCost : Fin K -> Nat) (hpositive : forall action, 1 <= actionCost action) : forall t trajectory, 1 <= canonicalActionCostProcess actionCost t trajectory
def BanditRLProof.Budget.cumulativeActionCost Compiled

Action cost spent after `t` completed rounds, using the half-open index set `{0, ..., t - 1}`.

Used in these reading views: Bandit Book

5. OFUL, self-normalized confidence, and stopping times

Canonical node identitydeclaration:BanditRLProof.Budget.cumulativeActionCost

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

def cumulativeActionCost {K : Nat} (actionCost : Fin K -> Nat) (t : Nat) (trajectory : Nat -> Fin K × Real) : Nat
theorem BanditRLProof.Budget.cumulativeActionCost_apply Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Bandit Book

5. OFUL, self-normalized confidence, and stopping times

Canonical node identitydeclaration:BanditRLProof.Budget.cumulativeActionCost_apply

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem cumulativeActionCost_apply {K : Nat} (actionCost : Fin K -> Nat) (t : Nat) (trajectory : Nat -> Fin K × Real) : cumulativeActionCost actionCost t trajectory = (Finset.range t).sum (fun s => actionCost (trajectory s).1)
theorem BanditRLProof.Budget.adapted_cumulativeActionCost Compiled

The half-open cumulative action-cost process remains adapted.

Used in these reading views: Bandit Book

5. OFUL, self-normalized confidence, and stopping times

Canonical node identitydeclaration:BanditRLProof.Budget.adapted_cumulativeActionCost

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem adapted_cumulativeActionCost {K : Nat} (actionCost : Fin K -> Nat) : Adapted (OFUL.canonicalHistoryTrajectoryAllRoundFiltration (K := K)) (cumulativeActionCost actionCost)
theorem BanditRLProof.Budget.cumulativeActionCost_unitGrowth_of_one_le Compiled

Positive arm costs make cumulative action cost grow by at least one.

Used in these reading views: Bandit Book

5. OFUL, self-normalized confidence, and stopping times

Canonical node identitydeclaration:BanditRLProof.Budget.cumulativeActionCost_unitGrowth_of_one_le

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem cumulativeActionCost_unitGrowth_of_one_le {K : Nat} (actionCost : Fin K -> Nat) (hpositive : forall action, 1 <= actionCost action) : forall t trajectory, cumulativeActionCost actionCost t trajectory + 1 <= cumulativeActionCost actionCost (t + 1) trajectory
theorem BanditRLProof.Budget.integral_stoppedValue_canonicalStandardHighProbabilityPseudoRegret_nonneg_and_le_quadraticCoefficient_mul_budgetRoundsSq_add_initialGap_mul_budgetRounds_mul_sqrt_delta_and_stoppedViolation_measure_le_of_positiveActionCostBudgetExhaustionTime Compiled

Canonical scheduled OFUL expected pseudo-regret stopped when the half-open cumulative deterministic action cost reaches the budget.

Used in these reading views: Bandit Book

5. OFUL, self-normalized confidence, and stopping times

Canonical node identitydeclaration:BanditRLProof.Budget.integral_stoppedValue_canonicalStandardHighProbabilityPseudoRegret_nonneg_and_le_quadraticCoefficient_mul_budgetRoundsSq_add_initialGap_mul_budgetRounds_mul_sqrt_delta_and_stoppedViolation_measure_le_of_positiveActionCostBudgetExhaustionTime

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem integral_stoppedValue_canonicalStandardHighProbabilityPseudoRegret_nonneg_and_le_quadraticCoefficient_mul_budgetRoundsSq_add_initialGap_mul_budgetRounds_mul_sqrt_delta_and_stoppedViolation_measure_le_of_positiveActionCostBudgetExhaustionTime {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 : OFUL.IsOptimalLinearArm thetaStar actionFeature best) (source : OFUL.CanonicalLinearSubgaussianEnvironmentLaw hK thetaStar actionFeature R S environment) (actionCost : Fin K -> Nat) (budget : Nat) (hpositive : forall action, 1 <= actionCost action) : let mu := Thompson.canonicalHistoryTrajectoryMeasure (OFUL.finiteHistoryTelescopingScalarRidgeOptimisticAlgorithm hK lambda actionFeature R delta S) environment let tau := budgetExhaustionTime (cumulativeActionCost actionCost) budget let stoppedRegret := stoppedValue (fun horizon trajectory => OFUL.canonicalStandardHighProbabilityPseudoRegret thetaStar actionFeature best horizon trajectory) tau let bad := OFUL.telescopingCanonicalExplicitHighProbabilityPseudoRegretStoppedViolationSet lambda thetaStar actionFeature R delta S L2 best tau 0 <= integral mu stoppedRegret /\ integral mu stoppedRegret <= OFUL.telescopingHighProbabilityPseudoRegretQuadraticCoefficient (Feature := Feature) R delta lambda S L2 * (((budget + 1 : Nat) : Real)) ^ 2 + OFUL.standardScalarInitialGapBound S L2 * (((budget + 1 : Nat) : Real)) * Real.sqrt delta /\ mu bad <= ENNReal.ofReal delta