Lean module · Tsallis-FTRL
BanditRLProof.TsallisRefinedAveragedStabilityObstruction
The shifted ordinary-importance-weighted moments have the paper-shaped sampled-action average, but the current local stability quantity <p - p_next, hatLoss> is not the conjugate-potential stability used in the Tsallis-INF proof. This module gives a fully rational two-arm counterexample: the current and sampled-update distributions are strict simplex minimizers and the losses lie in [0,1], yet the proposed refined averaged upper bound fails.
Module map
Imports
BanditRLProof.TsallisRefinedImportanceWeightedMoment
Imported by
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
abbrev
BanditRLProof.Tsallis.CounterAction
Compiled Internal helper
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.CounterActionReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private abbrev CounterAction
def
BanditRLProof.Tsallis.counterArms
Compiled Internal helper
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.counterArmsReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private noncomputable def counterArms : Finset CounterAction
def
BanditRLProof.Tsallis.counterEta
Compiled Internal helper
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.counterEtaReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private noncomputable def counterEta : Real
def
BanditRLProof.Tsallis.counterProb
Compiled Internal helper
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.counterProbReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private noncomputable def counterProb : CounterAction -> Real
def
BanditRLProof.Tsallis.counterScore
Compiled Internal helper
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.counterScoreReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private noncomputable def counterScore : CounterAction -> Real
def
BanditRLProof.Tsallis.counterLoss
Compiled Internal helper
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.counterLossReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private noncomputable def counterLoss : CounterAction -> Real
def
BanditRLProof.Tsallis.counterNext
Compiled Internal helper
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.counterNextReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private noncomputable def counterNext (chosen action : CounterAction) : Real
def
BanditRLProof.Tsallis.counterNextMultiplier
Compiled Internal helper
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.counterNextMultiplierReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private noncomputable def counterNextMultiplier (chosen : CounterAction) : Real
theorem
BanditRLProof.Tsallis.sqrt_49
Compiled Internal helper
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.sqrt_49Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem sqrt_49 : Real.sqrt (49 : Real) = 7
theorem
BanditRLProof.Tsallis.sqrt_576
Compiled Internal helper
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.sqrt_576Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem sqrt_576 : Real.sqrt (576 : Real) = 24
theorem
BanditRLProof.Tsallis.sqrt_625
Compiled Internal helper
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.sqrt_625Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem sqrt_625 : Real.sqrt (625 : Real) = 25
theorem
BanditRLProof.Tsallis.sqrt_24778200568643041
Compiled Internal helper
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.sqrt_24778200568643041Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem sqrt_24778200568643041 : Real.sqrt (24778200568643041 : Real) = 157410929
theorem
BanditRLProof.Tsallis.sqrt_1813828968643041
Compiled Internal helper
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.sqrt_1813828968643041Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem sqrt_1813828968643041 : Real.sqrt (1813828968643041 : Real) = 42589071
theorem
BanditRLProof.Tsallis.sqrt_22964371600000000
Compiled Internal helper
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.sqrt_22964371600000000Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem sqrt_22964371600000000 : Real.sqrt (22964371600000000 : Real) = 151540000
theorem
BanditRLProof.Tsallis.sqrt_1524122302720081
Compiled Internal helper
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.sqrt_1524122302720081Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem sqrt_1524122302720081 : Real.sqrt (1524122302720081 : Real) = 39040009
theorem
BanditRLProof.Tsallis.sqrt_120121402720081
Compiled Internal helper
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.sqrt_120121402720081Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem sqrt_120121402720081 : Real.sqrt (120121402720081 : Real) = 10959991
theorem
BanditRLProof.Tsallis.sqrt_1404000900000000
Compiled Internal helper
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.sqrt_1404000900000000Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem sqrt_1404000900000000 : Real.sqrt (1404000900000000 : Real) = 37470000
theorem
BanditRLProof.Tsallis.counterEta_pos
Compiled Internal helper
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.counterEta_posReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem counterEta_pos : 0 < counterEta
theorem
BanditRLProof.Tsallis.counterEta_le_one
Compiled Internal helper
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.counterEta_le_oneReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem counterEta_le_one : counterEta <= 1
theorem
BanditRLProof.Tsallis.counterProb_simplex
Compiled Internal helper
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.counterProb_simplexReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem counterProb_simplex : FTRL.finiteSimplex counterArms counterProb
theorem
BanditRLProof.Tsallis.counterProb_pos
Compiled Internal helper
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.counterProb_posReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem counterProb_pos (action : CounterAction) (haction : action ∈ counterArms) : 0 < counterProb action
theorem
BanditRLProof.Tsallis.counterLoss_mem_Icc
Compiled Internal helper
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.counterLoss_mem_IccReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem counterLoss_mem_Icc (action : CounterAction) (haction : action ∈ counterArms) : 0 <= counterLoss action ∧ counterLoss action <= 1
theorem
BanditRLProof.Tsallis.counterNext_simplex
Compiled Internal helper
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.counterNext_simplexReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem counterNext_simplex (chosen : CounterAction) (hchosen : chosen ∈ counterArms) : FTRL.finiteSimplex counterArms (counterNext chosen)
theorem
BanditRLProof.Tsallis.counterNext_pos
Compiled Internal helper
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.counterNext_posReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem counterNext_pos (chosen : CounterAction) (hchosen : chosen ∈ counterArms) (action : CounterAction) (haction : action ∈ counterArms) : 0 < counterNext chosen action
theorem
BanditRLProof.Tsallis.rpow_neg_half_eq_inv_sqrt
Compiled Internal helper
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.rpow_neg_half_eq_inv_sqrtReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem rpow_neg_half_eq_inv_sqrt {x : Real} (hx : 0 < x) : x ^ (-(1 / 2 : Real)) = 1 / Real.sqrt x
theorem
BanditRLProof.Tsallis.counterProb_stationary
Compiled Internal helper
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.counterProb_stationaryReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem counterProb_stationary : HalfTsallisInteriorStationary counterArms counterEta counterScore counterProb 0
theorem
BanditRLProof.Tsallis.counterNext_stationary
Compiled Internal helper
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.counterNext_stationaryReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem counterNext_stationary (chosen : CounterAction) (hchosen : chosen ∈ counterArms) : HalfTsallisInteriorStationary counterArms counterEta (fun action => counterScore action + Exp3.importanceWeightedLoss counterProb counterLoss chosen action) (counterNext chosen) (counterNextMultiplier chosen)
theorem
BanditRLProof.Tsallis.counterProb_minimizer
Compiled Internal helper
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.counterProb_minimizerReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem counterProb_minimizer : FTRL.IsRegularizedMinimizer (FTRL.finiteSimplex counterArms) counterArms counterEta (negEntropyRegularizer counterArms (1 / 2 : Real)) counterScore counterProb
theorem
BanditRLProof.Tsallis.counterNext_minimizer
Compiled Internal helper
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.counterNext_minimizerReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
private theorem counterNext_minimizer (chosen : CounterAction) (hchosen : chosen ∈ counterArms) : FTRL.IsRegularizedMinimizer (FTRL.finiteSimplex counterArms) counterArms counterEta (negEntropyRegularizer counterArms (1 / 2 : Real)) (fun action => counterScore action + Exp3.importanceWeightedLoss counterProb counterLoss chosen action) (counterNext chosen)
theorem
BanditRLProof.Tsallis.exists_minimizer_counterexample_to_refinedAveragedStability
Compiled
Even with strict positive simplex minimizers and `[0,1]` losses, the current sampled-action average of `<p - p_next, hatLoss>` can exceed the locally scaled paper coefficient `eta * sum sqrt(p) * (1-p) + 2 * eta^2`.
Used in these reading views: Bandit Book · Online Learning Book
8. Tsallis-FTRL, corruption, and nonstationarity
Canonical node identity
declaration:BanditRLProof.Tsallis.exists_minimizer_counterexample_to_refinedAveragedStabilityReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem exists_minimizer_counterexample_to_refinedAveragedStability : ∃ (eta : Real) (score prob loss : Fin 2 -> Real) (next : Fin 2 -> Fin 2 -> Real), 0 < eta ∧ eta <= 1 ∧ FTRL.finiteSimplex Finset.univ prob ∧ (∀ action ∈ (Finset.univ : Finset (Fin 2)), 0 < prob action) ∧ (∀ action ∈ (Finset.univ : Finset (Fin 2)), 0 <= loss action ∧ loss action <= 1) ∧ FTRL.IsRegularizedMinimizer (FTRL.finiteSimplex Finset.univ) Finset.univ eta (negEntropyRegularizer Finset.univ (1 / 2 : Real)) score prob ∧ (∀ chosen ∈ (Finset.univ : Finset (Fin 2)), ∀ action ∈ (Finset.univ : Finset (Fin 2)), 0 < next chosen action) ∧ (∀ chosen ∈ (Finset.univ : Finset (Fin 2)), FTRL.IsRegularizedMinimizer (FTRL.finiteSimplex Finset.univ) Finset.univ eta (negEntropyRegularizer Finset.univ (1 / 2 : Real)) (fun action => score action + Exp3.importanceWeightedLoss prob loss chosen action) (next chosen)) ∧ eta * (Finset.univ : Finset (Fin 2)).sum (fun action => Real.sqrt (prob action) * (1 - prob action)) + 2 * eta ^ 2 < (Finset.univ : Finset (Fin 2)).sum (fun chosen => prob chosen * (FTRL.linearLoss Finset.univ prob (Exp3.importanceWeightedLoss prob loss chosen) - FTRL.linearLoss Finset.univ (next chosen) (Exp3.importanceWeightedLoss prob loss chosen)))