Lean module · Tsallis-FTRL
BanditRLProof.TsallisFTRLRegret
This module lifts the one-step explicit-minimizer API to a finite-horizon regularized be-the-leader theorem and the standard FTRL stability/penalty regret decomposition. It then specializes the regularizer to negative Tsallis entropy and exposes the penalty as a difference of finite power sums.
Module map
Imports
BanditRLProof.TsallisRegularizer
Imported by
BanditRLProof, BanditRLProof.TsallisFTRLOneStepStability, BanditRLProof.TsallisTimeVaryingPenalty
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
def
BanditRLProof.FTRL.cumulativeLoss
Compiled
Coordinatewise cumulative loss before round `t`.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.FTRL.cumulativeLossReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def cumulativeLoss {Action : Type u} (loss : Nat -> Action -> Real) (t : Nat) : Action -> Real
theorem
BanditRLProof.FTRL.cumulativeLoss_zero
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.FTRL.cumulativeLoss_zeroReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
@[simp] theorem cumulativeLoss_zero {Action : Type u} (loss : Nat -> Action -> Real) : cumulativeLoss loss 0 = 0
theorem
BanditRLProof.FTRL.cumulativeLoss_succ
Compiled
Adding one round appends its loss vector to the cumulative loss.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.FTRL.cumulativeLoss_succReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem cumulativeLoss_succ {Action : Type u} (loss : Nat -> Action -> Real) (t : Nat) : cumulativeLoss loss (t + 1) = fun action => cumulativeLoss loss t action + loss t action
theorem
BanditRLProof.FTRL.linearLoss_add_right
Compiled
Finite-action linear loss is additive in its loss-vector argument.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.FTRL.linearLoss_add_rightReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem linearLoss_add_right {Action : Type u} (arms : Finset Action) (p x y : Action -> Real) : linearLoss arms p (fun action => x action + y action) = linearLoss arms p x + linearLoss arms p y
theorem
BanditRLProof.FTRL.linearLoss_cumulativeLoss
Compiled
A linear loss against the cumulative vector is the sum of round losses.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.FTRL.linearLoss_cumulativeLossReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem linearLoss_cumulativeLoss {Action : Type u} (arms : Finset Action) (p : Action -> Real) (loss : Nat -> Action -> Real) (T : Nat) : linearLoss arms p (cumulativeLoss loss T) = (Finset.range T).sum (fun t => linearLoss arms p (loss t))
theorem
BanditRLProof.FTRL.regularizedObjective_cumulativeLoss_succ
Compiled
The cumulative regularized objective has the expected successor update.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.FTRL.regularizedObjective_cumulativeLoss_succReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem regularizedObjective_cumulativeLoss_succ {Action : Type u} (arms : Finset Action) (eta : Real) (regularizer : (Action -> Real) -> Real) (loss : Nat -> Action -> Real) (p : Action -> Real) (t : Nat) : regularizedObjective arms eta regularizer (cumulativeLoss loss (t + 1)) p = regularizedObjective arms eta regularizer (cumulativeLoss loss t) p + eta * linearLoss arms p (loss t)
theorem
BanditRLProof.FTRL.eta_mul_sum_next_linearLoss_add_regularizer_zero_le_objective
Compiled
Scaled regularized be-the-leader inequality for cumulative-loss minimizers. The point `p t` minimizes the objective built from losses before round `t`. Consequently the shifted choices `p (t + 1)` can be compared to the terminal cumulative objective while retaining the initial regularizer value.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.FTRL.eta_mul_sum_next_linearLoss_add_regularizer_zero_le_objectiveReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem eta_mul_sum_next_linearLoss_add_regularizer_zero_le_objective {Action : Type u} (feasible : (Action -> Real) -> Prop) (arms : Finset Action) (eta : Real) (regularizer : (Action -> Real) -> Real) (loss : Nat -> Action -> Real) (p : Nat -> Action -> Real) (T : Nat) (hp : forall t, t <= T -> IsRegularizedMinimizer feasible arms eta regularizer (cumulativeLoss loss t) (p t)) : eta * (Finset.range T).sum (fun t => linearLoss arms (p (t + 1)) (loss t)) + regularizer (p 0) <= regularizedObjective arms eta regularizer (cumulativeLoss loss T) (p T)
theorem
BanditRLProof.FTRL.sum_next_linearLoss_sub_comparator_le_regularizer_penalty
Compiled
Regularized be-the-leader bound against any feasible comparator.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.FTRL.sum_next_linearLoss_sub_comparator_le_regularizer_penaltyReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem sum_next_linearLoss_sub_comparator_le_regularizer_penalty {Action : Type u} (feasible : (Action -> Real) -> Prop) (arms : Finset Action) (eta : Real) (regularizer : (Action -> Real) -> Real) (loss : Nat -> Action -> Real) (p : Nat -> Action -> Real) (q : Action -> Real) (T : Nat) (heta : 0 < eta) (hp : forall t, t <= T -> IsRegularizedMinimizer feasible arms eta regularizer (cumulativeLoss loss t) (p t)) (hq : feasible q) : (Finset.range T).sum (fun t => linearLoss arms (p (t + 1)) (loss t) - linearLoss arms q (loss t)) <= (regularizer q - regularizer (p 0)) / eta
theorem
BanditRLProof.FTRL.cumulativeLinearLoss_sub_comparator_le_stability_add_penalty
Compiled
Finite-horizon FTRL stability/penalty regret decomposition. The first sum on the right is the stability term. The second term is the regularizer penalty. No convexity or minimizer-existence theorem is hidden: all cumulative minimizer certificates are explicit inputs.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.FTRL.cumulativeLinearLoss_sub_comparator_le_stability_add_penaltyReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem cumulativeLinearLoss_sub_comparator_le_stability_add_penalty {Action : Type u} (feasible : (Action -> Real) -> Prop) (arms : Finset Action) (eta : Real) (regularizer : (Action -> Real) -> Real) (loss : Nat -> Action -> Real) (p : Nat -> Action -> Real) (q : Action -> Real) (T : Nat) (heta : 0 < eta) (hp : forall t, t <= T -> IsRegularizedMinimizer feasible arms eta regularizer (cumulativeLoss loss t) (p t)) (hq : feasible q) : (Finset.range T).sum (fun t => linearLoss arms (p t) (loss t) - linearLoss arms q (loss t)) <= (Finset.range T).sum (fun t => linearLoss arms (p t) (loss t) - linearLoss arms (p (t + 1)) (loss t)) + (regularizer q - regularizer (p 0)) / eta
theorem
BanditRLProof.FTRL.cumulativeLinearLoss_sub_comparator_le_stability_add_penalty_simplex
Compiled
Finite-simplex specialization of the FTRL decomposition.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.FTRL.cumulativeLinearLoss_sub_comparator_le_stability_add_penalty_simplexReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem cumulativeLinearLoss_sub_comparator_le_stability_add_penalty_simplex {Action : Type u} (arms : Finset Action) (eta : Real) (regularizer : (Action -> Real) -> Real) (loss : Nat -> Action -> Real) (p : Nat -> Action -> Real) (q : Action -> Real) (T : Nat) (heta : 0 < eta) (hp : forall t, t <= T -> IsRegularizedMinimizer (finiteSimplex arms) arms eta regularizer (cumulativeLoss loss t) (p t)) (hq : finiteSimplex arms q) : (Finset.range T).sum (fun t => linearLoss arms (p t) (loss t) - linearLoss arms q (loss t)) <= (Finset.range T).sum (fun t => linearLoss arms (p t) (loss t) - linearLoss arms (p (t + 1)) (loss t)) + (regularizer q - regularizer (p 0)) / eta
theorem
BanditRLProof.Tsallis.negEntropyRegularizer_sub_eq_powerSum_sub_div
Compiled
Difference of negative Tsallis entropies as a power-sum difference.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.negEntropyRegularizer_sub_eq_powerSum_sub_divReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem negEntropyRegularizer_sub_eq_powerSum_sub_div {Action : Type u} (arms : Finset Action) (alpha : Real) (p q : Action -> Real) (halpha : Ne alpha 1) : negEntropyRegularizer arms alpha q - negEntropyRegularizer arms alpha p = (powerSum arms alpha p - powerSum arms alpha q) / (1 - alpha)
theorem
BanditRLProof.Tsallis.cumulativeLinearLoss_sub_comparator_le_stability_add_powerSumPenalty
Compiled
Finite-horizon Tsallis-FTRL stability/penalty regret decomposition. The penalty is explicit in the finite power sums. The remaining algorithmic obligation is to bound the stability sum for the chosen Tsallis exponent and loss estimator, then supply minimizer existence and any stochastic contracts.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.cumulativeLinearLoss_sub_comparator_le_stability_add_powerSumPenaltyReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem cumulativeLinearLoss_sub_comparator_le_stability_add_powerSumPenalty {Action : Type u} (arms : Finset Action) (alpha eta : Real) (loss : Nat -> Action -> Real) (p : Nat -> Action -> Real) (q : Action -> Real) (T : Nat) (halpha : Ne alpha 1) (heta : 0 < eta) (hp : forall t, t <= T -> FTRL.IsRegularizedMinimizer (FTRL.finiteSimplex arms) arms eta (negEntropyRegularizer arms alpha) (FTRL.cumulativeLoss loss t) (p t)) (hq : FTRL.finiteSimplex arms q) : (Finset.range T).sum (fun t => FTRL.linearLoss arms (p t) (loss t) - FTRL.linearLoss arms q (loss t)) <= (Finset.range T).sum (fun t => FTRL.linearLoss arms (p t) (loss t) - FTRL.linearLoss arms (p (t + 1)) (loss t)) + ((powerSum arms alpha (p 0) - powerSum arms alpha q) / (1 - alpha)) / eta