Lean module · Tsallis-FTRL
BanditRLProof.TsallisSelfBounding
This module records the paper-facing (Delta, C, T) self-bounding condition, identifies it on the generated predictable trajectory under an exact gap law, and proves the finite completion-of-squares conversion used after a refined suboptimal-arm stability bound is available.
Module map
Imports
BanditRLProof.TsallisFTRLEstimatedEnvironmentRegret
Imported by
BanditRLProof, BanditRLProof.TsallisRefinedSuboptimalStability, BanditRLProof.TsallisTimeVaryingPenalty
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
def
BanditRLProof.Tsallis.pointMass
Compiled
Unit mass at one action, used as the fixed optimal-arm comparator.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.pointMassReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def pointMass {Action : Type u} [DecidableEq Action] (best : Action) : Action -> Real
theorem
BanditRLProof.Tsallis.finiteSimplex_pointMass
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.finiteSimplex_pointMassReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem finiteSimplex_pointMass {Action : Type u} [DecidableEq Action] (arms : Finset Action) {best : Action} (hbest : best ∈ arms) : FTRL.finiteSimplex arms (pointMass best)
theorem
BanditRLProof.Tsallis.linearLoss_pointMass
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.linearLoss_pointMassReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem linearLoss_pointMass {Action : Type u} [DecidableEq Action] (arms : Finset Action) {best : Action} (hbest : best ∈ arms) (loss : Action -> Real) : FTRL.linearLoss arms (pointMass best) loss = loss best
theorem
BanditRLProof.Tsallis.linearLoss_sub_pointMass_eq_gapMass
Compiled
One-round regret against a point mass is the probability-weighted gap.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.linearLoss_sub_pointMass_eq_gapMassReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem linearLoss_sub_pointMass_eq_gapMass {Action : Type u} [DecidableEq Action] (arms : Finset Action) {best : Action} (hbest : best ∈ arms) (prob loss gap : Action -> Real) (hprob : FTRL.finiteSimplex arms prob) (hgap : ∀ action ∈ arms, loss action - loss best = gap action) : FTRL.linearLoss arms prob loss - FTRL.linearLoss arms (pointMass best) loss = arms.sum (fun action => prob action * gap action)
def
BanditRLProof.Tsallis.sampledHalfTsallisPredictableGapMass
Compiled
Gap mass accumulated by the generated actual-time sampling laws.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.sampledHalfTsallisPredictableGapMassReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def sampledHalfTsallisPredictableGapMass {Env : Type u} {Action : Type v} [DecidableEq Action] (arms : Finset Action) (harms : arms.Nonempty) (eta : Real) (gap : Action -> Real) (horizon : Nat) (sample : Env × ((k : Nat) -> Action × Real)) : Real
def
BanditRLProof.Tsallis.HasSelfBoundingRegret
Compiled
Paper-facing scalar form of a `(Delta, C, T)` self-bounding constraint.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.HasSelfBoundingRegretReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def HasSelfBoundingRegret (expectedGapMass regret corruption : Real) : Prop
theorem
BanditRLProof.Tsallis.sampledHalfTsallisPredictableEnvironmentRegret_pointMass_eq_gapMass
Compiled
A predictable fixed-gap law identifies environment regret pathwise.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.sampledHalfTsallisPredictableEnvironmentRegret_pointMass_eq_gapMassReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem sampledHalfTsallisPredictableEnvironmentRegret_pointMass_eq_gapMass {Env : Type u} {Action : Type v} [MeasurableSpace Env] [MeasurableSpace Action] [DecidableEq Action] (arms : Finset Action) (harms : arms.Nonempty) (eta : Real) (loss : Exp3.PredictableLossVector Env Action) {best : Action} (hbest : best ∈ arms) (gap : Action -> Real) (horizon : Nat) (hgap : ∀ t sample action, action ∈ arms -> Exp3.predictableLossAt loss t sample action - Exp3.predictableLossAt loss t sample best = gap action) (sample : Env × ((k : Nat) -> Action × Real)) : sampledHalfTsallisPredictableEnvironmentRegret arms harms eta loss (pointMass best) horizon sample = sampledHalfTsallisPredictableGapMass arms harms eta gap horizon sample
theorem
BanditRLProof.Tsallis.integral_sampledHalfTsallisPredictableEnvironmentRegret_hasSelfBounding
Compiled
The fixed-gap predictable environment satisfies the integrated self-bounding condition, with any nonnegative corruption allowance.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.integral_sampledHalfTsallisPredictableEnvironmentRegret_hasSelfBoundingReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem integral_sampledHalfTsallisPredictableEnvironmentRegret_hasSelfBounding {Env : Type u} {Action : Type v} [MeasurableSpace Env] [StandardBorelSpace Env] [MeasurableSpace Action] [MeasurableSingletonClass Action] [StandardBorelSpace Action] [Nonempty Action] [DecidableEq Action] (prior : Measure Env) [IsProbabilityMeasure prior] (arms : Finset Action) (harms : arms.Nonempty) (eta : Real) (loss : Exp3.PredictableLossVector Env Action) {best : Action} (hbest : best ∈ arms) (gap : Action -> Real) (horizon : Nat) (hgap : ∀ t sample action, action ∈ arms -> Exp3.predictableLossAt loss t sample action - Exp3.predictableLossAt loss t sample best = gap action) (corruption : Real) (hcorruption : 0 ≤ corruption) : let selector := canonicalHalfTsallisFiniteHistorySelectorMeasurability arms harms eta let mu := prior ⊗ₘ sampledHalfTsallisTrajectoryKernel arms harms eta selector loss.environment HasSelfBoundingRegret (integral mu (sampledHalfTsallisPredictableGapMass arms harms eta gap horizon)) (integral mu (sampledHalfTsallisPredictableEnvironmentRegret arms harms eta loss (pointMass best) horizon)) corruption
theorem
BanditRLProof.Tsallis.integral_sampledHalfTsallisPredictableEnvironmentRegret_pointMass_le
Compiled
Actual generated environment-regret upper bound specialized to the optimal-arm point-mass comparator.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.integral_sampledHalfTsallisPredictableEnvironmentRegret_pointMass_leReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem integral_sampledHalfTsallisPredictableEnvironmentRegret_pointMass_le {Env : Type u} {Action : Type v} [MeasurableSpace Env] [StandardBorelSpace Env] [MeasurableSpace Action] [MeasurableSingletonClass Action] [StandardBorelSpace Action] [Nonempty Action] [DecidableEq Action] (prior : Measure Env) [IsProbabilityMeasure prior] (arms : Finset Action) (harms : arms.Nonempty) (eta : Real) (heta : 0 < eta) (loss : Exp3.PredictableLossVector Env Action) {best : Action} (hbest : best ∈ arms) (horizon : Nat) : let selector := canonicalHalfTsallisFiniteHistorySelectorMeasurability arms harms eta let mu := prior ⊗ₘ sampledHalfTsallisTrajectoryKernel arms harms eta selector loss.environment integral mu (sampledHalfTsallisPredictableEnvironmentRegret arms harms eta loss (pointMass best) horizon) <= 2 * eta * powerSum arms (1 / 2 : Real) (initialHalfTsallisDistribution arms harms eta) + integral mu (fun sample => (Finset.range horizon).sum (fun n => sampledHalfTsallisHalfPowerBoundAt (Env := Env) arms harms eta n (sampledHalfTsallisHistoryAt n sample))) + ((powerSum arms (1 / 2 : Real) (initialHalfTsallisDistribution arms harms eta) - powerSum arms (1 / 2 : Real) (pointMass best)) / (1 - (1 / 2 : Real))) / eta
theorem
BanditRLProof.Tsallis.two_mul_coeff_mul_sqrt_sub_gap_mul_le_sq_div_gap
Compiled
Coordinate completion of squares used by the self-bounding conversion.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.two_mul_coeff_mul_sqrt_sub_gap_mul_le_sq_div_gapReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem two_mul_coeff_mul_sqrt_sub_gap_mul_le_sq_div_gap (coeff probability gap : Real) (hprobability : 0 ≤ probability) (hgap : 0 < gap) : 2 * coeff * Real.sqrt probability - gap * probability ≤ coeff ^ 2 / gap
theorem
BanditRLProof.Tsallis.regret_le_two_mul_base_add_sum_sq_div_gap_add_corruption
Compiled
Finite `(Delta, C, T)` self-bounding conversion after a refined upper bound has removed every zero-gap coordinate.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.regret_le_two_mul_base_add_sum_sq_div_gap_add_corruptionReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem regret_le_two_mul_base_add_sum_sq_div_gap_add_corruption {Index : Type u} (indices : Finset Index) (probability coeff gap : Index -> Real) (regret base corruption : Real) (hprobability : ∀ index ∈ indices, 0 ≤ probability index) (hgap : ∀ index ∈ indices, 0 < gap index) (hselfBounding : indices.sum (fun index => gap index * probability index) - corruption ≤ regret) (hupper : regret ≤ base + indices.sum (fun index => coeff index * Real.sqrt (probability index))) : regret ≤ 2 * base + indices.sum (fun index => coeff index ^ 2 / gap index) + corruption
theorem
BanditRLProof.Tsallis.powerSum_pointMass_half
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.powerSum_pointMass_halfReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem powerSum_pointMass_half {Action : Type u} [DecidableEq Action] (arms : Finset Action) {best : Action} (hbest : best ∈ arms) : powerSum arms (1 / 2 : Real) (pointMass best) = 1
theorem
BanditRLProof.Tsallis.sum_erase_sqrt_pointMass
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.sum_erase_sqrt_pointMassReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem sum_erase_sqrt_pointMass {Action : Type u} [DecidableEq Action] (arms : Finset Action) (best : Action) : (arms.erase best).sum (fun action => Real.sqrt (pointMass best action)) = 0
theorem
BanditRLProof.Tsallis.not_forall_powerSum_half_le_sum_erase_sqrt
Compiled
The existing total half-power budget cannot uniformly be replaced by a suboptimal-arm square-root budget. A refined `(1-p)` factor is genuinely needed before the self-bounding conversion can consume the trajectory bound.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.not_forall_powerSum_half_le_sum_erase_sqrtReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem not_forall_powerSum_half_le_sum_erase_sqrt {Action : Type u} [DecidableEq Action] (arms : Finset Action) {best : Action} (hbest : best ∈ arms) : ¬ ∀ p : Action -> Real, FTRL.finiteSimplex arms p -> powerSum arms (1 / 2 : Real) p ≤ (arms.erase best).sum (fun action => Real.sqrt (p action))