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

Lean module · Foundations

BanditRLProof.LowerBounds.HighProbability

This module formalizes the source-faithful threshold surfaces and reusable probability/algebra leaves from Lattimore--Szepesvari, *Bandit Algorithms* (2020), Part IV, Chapter 17.

Module map

Declarations
164
Placeholders
0

Imports

BanditRLProof.LowerBounds.InstanceDependent

Imported by

BanditRLProof

Declarations

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

def BanditRLProof.LowerBounds.tailAtLeast Compiled

The tail event used throughout Chapter 17: the realized quantity is at least the displayed lower-bound threshold.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 17: High-Probability Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.tailAtLeast

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

def tailAtLeast {Omega : Type*} (quantity : Omega -> Real) (threshold : Real) : Set Omega
def BanditRLProof.LowerBounds.stochasticHighProbabilityThreshold Compiled

The exact threshold inside Theorem 17.1, with `alternativeArms = k - 1`. The theorem's factor `1/4` multiplies the whole minimum.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 17: High-Probability Lower Bounds

Indexed settings: Distributional and high-probability lower bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.stochasticHighProbabilityThreshold

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

def stochasticHighProbabilityThreshold (horizon alternativeArms : Nat) (B delta : Real) : Real
def BanditRLProof.LowerBounds.stochasticMinimaxHighProbabilityThreshold Compiled

The exact threshold in Corollary 17.2, again with `alternativeArms = k - 1`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 17: High-Probability Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.stochasticMinimaxHighProbabilityThreshold

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

def stochasticMinimaxHighProbabilityThreshold (horizon alternativeArms : Nat) (delta : Real) : Real
def BanditRLProof.LowerBounds.adversarialHighProbabilityThreshold Compiled

The threshold shape in Theorem 17.4. The universal constant `c` remains an explicit argument, and the logarithm is `log (1 / (2 * delta))`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 17: High-Probability Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialHighProbabilityThreshold

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

def adversarialHighProbabilityThreshold (horizon arms : Nat) (c delta : Real) : Real
def BanditRLProof.LowerBounds.gaussianRandomPseudoRegret Compiled

The stochastic random pseudo-regret from Section 17.1, evaluated on one realized canonical finite history. It is deliberately separate from the deterministic expected pseudo-regret below.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gaussianRandomPseudoRegret

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

noncomputable def gaussianRandomPseudoRegret {K : Nat} (environment : UnitGaussianBanditEnvironment K) (lastRound : Nat) (history : History.FinitePairHistory (Fin K) Real lastRound) : Real
def BanditRLProof.LowerBounds.gaussianExpectedPseudoRegretReal Compiled

The deterministic expected pseudo-regret presentation used in Eq. (17.4), written as expected pull counts times gaps (the Lemma 4.5 identity). This is not the random pseudo-regret and is not adversarial random regret.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gaussianExpectedPseudoRegretReal

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

noncomputable def gaussianExpectedPseudoRegretReal {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : UnitGaussianBanditEnvironment K) (lastRound : Nat) : Real
structure BanditRLProof.LowerBounds.GapOneGaussianBanditEnvironment Compiled

The source class `E^k`: unit-variance Gaussian arms with gaps bounded by one, without an artificial absolute restriction on the means.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.GapOneGaussianBanditEnvironment

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

structure GapOneGaussianBanditEnvironment (K : Nat) where
def BanditRLProof.LowerBounds.gapOneGaussianExpectedPseudoRegretReal Compiled

Deterministic expected pseudo-regret for the full source class `E^k`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gapOneGaussianExpectedPseudoRegretReal

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

noncomputable def gapOneGaussianExpectedPseudoRegretReal {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : GapOneGaussianBanditEnvironment K) (lastRound : Nat) : Real
def BanditRLProof.LowerBounds.gapOneGaussianRandomPseudoRegret Compiled

The stochastic random pseudo-regret on the full source class `E^k`. Unlike `gapOneGaussianExpectedPseudoRegretReal`, this is a random variable on the realized finite history.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gapOneGaussianRandomPseudoRegret

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

noncomputable def gapOneGaussianRandomPseudoRegret {K : Nat} (environment : GapOneGaussianBanditEnvironment K) (lastRound : Nat) (history : History.FinitePairHistory (Fin K) Real lastRound) : Real
def BanditRLProof.LowerBounds.UnitGaussianBanditEnvironment.toGapOne Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.UnitGaussianBanditEnvironment.toGapOne

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

def UnitGaussianBanditEnvironment.toGapOne {K : Nat} (environment : UnitGaussianBanditEnvironment K) : GapOneGaussianBanditEnvironment K where
theorem BanditRLProof.LowerBounds.gapOneGaussianExpectedPseudoRegretReal_toGapOne Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gapOneGaussianExpectedPseudoRegretReal_toGapOne

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

theorem gapOneGaussianExpectedPseudoRegretReal_toGapOne {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : UnitGaussianBanditEnvironment K) (lastRound : Nat) : gapOneGaussianExpectedPseudoRegretReal algorithm environment.toGapOne lastRound = gaussianExpectedPseudoRegretReal algorithm environment lastRound
theorem BanditRLProof.LowerBounds.gapOneGaussianRandomPseudoRegret_toGapOne Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gapOneGaussianRandomPseudoRegret_toGapOne

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

theorem gapOneGaussianRandomPseudoRegret_toGapOne {K : Nat} (environment : UnitGaussianBanditEnvironment K) (lastRound : Nat) (history : History.FinitePairHistory (Fin K) Real lastRound) : gapOneGaussianRandomPseudoRegret environment.toGapOne lastRound history = gaussianRandomPseudoRegret environment lastRound history
def BanditRLProof.LowerBounds.stochasticHighProbabilityGap Compiled

The exact gap selected in the proof of Theorem 17.1.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.stochasticHighProbabilityGap

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

noncomputable def stochasticHighProbabilityGap (horizon alternativeArms : Nat) (B delta : Real) : Real
theorem BanditRLProof.LowerBounds.gaussianRandomPseudoRegret_nonneg Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gaussianRandomPseudoRegret_nonneg

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

theorem gaussianRandomPseudoRegret_nonneg {K : Nat} (environment : UnitGaussianBanditEnvironment K) (lastRound : Nat) (history : History.FinitePairHistory (Fin K) Real lastRound) : 0 <= gaussianRandomPseudoRegret environment lastRound history
theorem BanditRLProof.LowerBounds.measurable_gaussianRandomPseudoRegret Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.measurable_gaussianRandomPseudoRegret

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

theorem measurable_gaussianRandomPseudoRegret {K : Nat} (environment : UnitGaussianBanditEnvironment K) (lastRound : Nat) : Measurable (gaussianRandomPseudoRegret environment lastRound)
theorem BanditRLProof.LowerBounds.gaussianRandomPseudoRegret_le_horizon Compiled

Unit-cube gaps and the exact pull-count sum bound stochastic random pseudo-regret by the number of observed rounds.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gaussianRandomPseudoRegret_le_horizon

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

theorem gaussianRandomPseudoRegret_le_horizon {K : Nat} (environment : UnitGaussianBanditEnvironment K) (lastRound : Nat) (history : History.FinitePairHistory (Fin K) Real lastRound) : gaussianRandomPseudoRegret environment lastRound history <= (lastRound + 1 : Nat)
theorem BanditRLProof.LowerBounds.integrable_gaussianRandomPseudoRegret Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.integrable_gaussianRandomPseudoRegret

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

theorem integrable_gaussianRandomPseudoRegret {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : UnitGaussianBanditEnvironment K) (lastRound : Nat) : Integrable (gaussianRandomPseudoRegret environment lastRound) (canonicalBanditHistoryMeasure algorithm (unitGaussianKernel environment.mean) lastRound)
theorem BanditRLProof.LowerBounds.gaussianExpectedPseudoRegret_toReal_eq Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gaussianExpectedPseudoRegret_toReal_eq

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

theorem gaussianExpectedPseudoRegret_toReal_eq {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : UnitGaussianBanditEnvironment K) (lastRound : Nat) : (gaussianExpectedPseudoRegret algorithm environment lastRound).toReal = gaussianExpectedPseudoRegretReal algorithm environment lastRound
theorem BanditRLProof.LowerBounds.integral_gaussianRandomPseudoRegret_eq_expected Compiled

The deterministic expected pseudo-regret surface is the integral of the random pseudo-regret under the same policy/environment history law.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.integral_gaussianRandomPseudoRegret_eq_expected

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

theorem integral_gaussianRandomPseudoRegret_eq_expected {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : UnitGaussianBanditEnvironment K) (lastRound : Nat) : ∫ history, gaussianRandomPseudoRegret environment lastRound history ∂canonicalBanditHistoryMeasure algorithm (unitGaussianKernel environment.mean) lastRound = gaussianExpectedPseudoRegretReal algorithm environment lastRound
theorem BanditRLProof.LowerBounds.integral_le_threshold_add_bound_mul_tailMass Compiled

Integrating a nonnegative bounded random variable after splitting at one measurable upper-tail event.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.integral_le_threshold_add_bound_mul_tailMass

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

theorem integral_le_threshold_add_bound_mul_tailMass {Omega : Type*} [MeasurableSpace Omega] (mu : Measure Omega) [IsProbabilityMeasure mu] (quantity : Omega -> Real) (threshold bound : Real) (hmeas : Measurable quantity) (hintegrable : Integrable quantity mu) (hthreshold : 0 <= threshold) (hbound : forall omega, quantity omega <= bound) : ∫ omega, quantity omega ∂mu <= threshold + bound * mu.real (tailAtLeast quantity threshold)
theorem BanditRLProof.LowerBounds.gaussianExpectedPseudoRegretReal_base_eq Compiled

In the base environment, expected pseudo-regret is exactly the common alternative gap times the sum of the alternative expected pull counts.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gaussianExpectedPseudoRegretReal_base_eq

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

theorem gaussianExpectedPseudoRegretReal_base_eq {m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (gap : Real) (hgap : 0 <= gap) (hgap_le : gap <= 1 / 2) (lastRound : Nat) : gaussianExpectedPseudoRegretReal algorithm (gaussianMinimaxBaseEnvironment gap hgap hgap_le) lastRound = gap * ∑ i : Fin m, gaussianExpectedPullCountReal algorithm (gaussianMinimaxBaseMean gap) lastRound i.succ
theorem BanditRLProof.LowerBounds.horizon_mul_sqrt_div_eq_sqrt_mul Compiled

Positive-horizon square-root normalization used by the exact Chapter 17 gap calibration.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.horizon_mul_sqrt_div_eq_sqrt_mul

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

theorem horizon_mul_sqrt_div_eq_sqrt_mul {horizon alternatives : Real} (hhorizon : 0 < horizon) (halternatives : 0 <= alternatives) : horizon * Real.sqrt (alternatives / horizon) = Real.sqrt (horizon * alternatives)
theorem BanditRLProof.LowerBounds.sqrt_mul_mul_sqrt_div_eq_alternatives Compiled

The two square-root factors in the information exponent cancel exactly.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.sqrt_mul_mul_sqrt_div_eq_alternatives

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

theorem sqrt_mul_mul_sqrt_div_eq_alternatives {horizon alternatives : Real} (hhorizon : 0 < horizon) (halternatives : 0 <= alternatives) : Real.sqrt (alternatives * horizon) * Real.sqrt (alternatives / horizon) = alternatives
theorem BanditRLProof.LowerBounds.horizon_mul_stochasticHighProbabilityGap_div_two Compiled

The chosen source gap times half the horizon is exactly the threshold displayed in Theorem 17.1, including the outer factor `1/4`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.horizon_mul_stochasticHighProbabilityGap_div_two

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

theorem horizon_mul_stochasticHighProbabilityGap_div_two (horizon alternatives : Nat) (B delta : Real) (hhorizon : 0 < horizon) (hB : 0 < B) : (horizon : Real) * stochasticHighProbabilityGap horizon alternatives B delta / 2 = stochasticHighProbabilityThreshold horizon alternatives B delta
theorem BanditRLProof.LowerBounds.stochasticHighProbability_informationExponent_le_log Compiled

Exact scalar information calibration in the positive-logarithm branch of Theorem 17.1.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.stochasticHighProbability_informationExponent_le_log

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

theorem stochasticHighProbability_informationExponent_le_log (horizon alternatives : Nat) (B delta : Real) (hhorizon : 0 < horizon) (halternatives : 0 < alternatives) (hB : 0 < B) (hlog : 0 < Real.log (1 / (4 * delta))) : let gap := stochasticHighProbabilityGap horizon alternatives B delta (B * Real.sqrt ((alternatives : Real) * (horizon : Real)) / (gap * (alternatives : Real))) * (2 * gap ^ 2) <= Real.log (1 / (4 * delta))
theorem BanditRLProof.LowerBounds.gaussianRandomPseudoRegret_ge_theorem17_1_of_four_mul_delta_lt_one Compiled

The positive-logarithm branch of Lattimore--Szepesvari Theorem 17.1. The algorithm is one common randomized nonanticipating history policy in the base and changed environments. The expected-regret premise is deterministic; the conclusion is a tail probability for random pseudo-regret.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gaussianRandomPseudoRegret_ge_theorem17_1_of_four_mul_delta_lt_one

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

theorem gaussianRandomPseudoRegret_ge_theorem17_1_of_four_mul_delta_lt_one {alternatives horizon : Nat} (halternatives : 0 < alternatives) (hhorizon : 0 < horizon) (B delta : Real) (hB : 0 < B) (hdelta : 0 < delta) (hfourDelta : 4 * delta < 1) (algorithm : Thompson.HistoryAlgorithm (Fin (alternatives + 1)) Real) (hExpected : forall environment : UnitGaussianBanditEnvironment (alternatives + 1), gaussianExpectedPseudoRegretReal algorithm environment (horizon - 1) <= B * Real.sqrt ((alternatives : Real) * (horizon : Real))) : exists environment : UnitGaussianBanditEnvironment (alternatives + 1), delta <= (canonicalBanditHistoryMeasure algorithm (unitGaussianKernel environment.mean) (horizon - 1)).real (tailAtLeast (gaussianRandomPseudoRegret environment (horizon - 1)) (stochasticHighProbabilityThreshold horizon alternatives B delta))
theorem BanditRLProof.LowerBounds.gaussianRandomPseudoRegret_ge_theorem17_1_unitCube Compiled

*Lattimore--Szepesvari, Theorem 17.1.** A single policy whose deterministic expected pseudo-regret is uniformly at most `B * sqrt ((k-1) * n)` on the unit-cube subfamily has a unit-Gaussian environment whose random pseudo-regret exceeds the exact source threshold with probability at least `delta`. This internal theorem is stronger than the printed result because it assumes the uniform bound only on the unit-cube Gaussian subfamily used by the proof. The public source-class wrapper below restores the printed `E^k` premise.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gaussianRandomPseudoRegret_ge_theorem17_1_unitCube

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

theorem gaussianRandomPseudoRegret_ge_theorem17_1_unitCube {alternatives horizon : Nat} (halternatives : 0 < alternatives) (hhorizon : 0 < horizon) (B delta : Real) (hB : 0 < B) (hdelta : 0 < delta) (hdelta_one : delta < 1) (algorithm : Thompson.HistoryAlgorithm (Fin (alternatives + 1)) Real) (hExpected : forall environment : UnitGaussianBanditEnvironment (alternatives + 1), gaussianExpectedPseudoRegretReal algorithm environment (horizon - 1) <= B * Real.sqrt ((alternatives : Real) * (horizon : Real))) : exists environment : UnitGaussianBanditEnvironment (alternatives + 1), delta <= (canonicalBanditHistoryMeasure algorithm (unitGaussianKernel environment.mean) (horizon - 1)).real (tailAtLeast (gaussianRandomPseudoRegret environment (horizon - 1)) (stochasticHighProbabilityThreshold horizon alternatives B delta))
theorem BanditRLProof.LowerBounds.gaussianRandomPseudoRegret_ge_theorem17_1 Compiled

Theorem 17.1 with the premise quantified over the full source class `E^k` of unit-variance Gaussian bandits whose gaps are at most one. The hard witness lies in the unit-cube subfamily, which is embedded into `E^k`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 17: High-Probability Lower Bounds

Indexed settings: Distributional and high-probability lower bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gaussianRandomPseudoRegret_ge_theorem17_1

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

theorem gaussianRandomPseudoRegret_ge_theorem17_1 {alternatives horizon : Nat} (halternatives : 0 < alternatives) (hhorizon : 0 < horizon) (B delta : Real) (hB : 0 < B) (hdelta : 0 < delta) (hdelta_one : delta < 1) (algorithm : Thompson.HistoryAlgorithm (Fin (alternatives + 1)) Real) (hExpected : forall environment : GapOneGaussianBanditEnvironment (alternatives + 1), gapOneGaussianExpectedPseudoRegretReal algorithm environment (horizon - 1) <= B * Real.sqrt ((alternatives : Real) * (horizon : Real))) : exists environment : UnitGaussianBanditEnvironment (alternatives + 1), delta <= (canonicalBanditHistoryMeasure algorithm (unitGaussianKernel environment.mean) (horizon - 1)).real (tailAtLeast (gaussianRandomPseudoRegret environment (horizon - 1)) (stochasticHighProbabilityThreshold horizon alternatives B delta))
theorem BanditRLProof.LowerBounds.stochasticMinimax_sourceTerm_eq Compiled

The square-root identity used to specialize Theorem 17.1 in Corollary 17.2. Keeping it separate makes the source constant `B = sqrt (2 log (1/(4δ)))` mechanically visible.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.stochasticMinimax_sourceTerm_eq

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

theorem stochasticMinimax_sourceTerm_eq {horizon alternatives : Nat} (delta : Real) (hlog : 0 < Real.log (1 / (4 * delta))) : (1 / Real.sqrt (2 * Real.log (1 / (4 * delta)))) * Real.sqrt ((alternatives : Real) * (horizon : Real)) * Real.log (1 / (4 * delta)) = Real.sqrt (((horizon : Real) * (alternatives : Real) / 2) * Real.log (1 / (4 * delta)))
theorem BanditRLProof.LowerBounds.stochasticHighProbabilityThreshold_at_minimax_scale Compiled

The Theorem 17.1 threshold at the source choice of `B` is exactly the Corollary 17.2 minimax threshold.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.stochasticHighProbabilityThreshold_at_minimax_scale

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

theorem stochasticHighProbabilityThreshold_at_minimax_scale {horizon alternatives : Nat} (delta : Real) (hlog : 0 < Real.log (1 / (4 * delta))) : stochasticHighProbabilityThreshold horizon alternatives (Real.sqrt (2 * Real.log (1 / (4 * delta)))) delta = stochasticMinimaxHighProbabilityThreshold horizon alternatives delta
theorem BanditRLProof.LowerBounds.stochasticMinimaxHighProbabilityThreshold_le_quarter_root Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.stochasticMinimaxHighProbabilityThreshold_le_quarter_root

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

theorem stochasticMinimaxHighProbabilityThreshold_le_quarter_root {horizon alternatives : Nat} (delta : Real) (hlog : 0 <= Real.log (1 / (4 * delta))) : stochasticMinimaxHighProbabilityThreshold horizon alternatives delta <= (1 / 4 : Real) * Real.sqrt ((horizon : Real) * (alternatives : Real) * Real.log (1 / (4 * delta)))
theorem BanditRLProof.LowerBounds.minimax_expected_scale_identity Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.minimax_expected_scale_identity

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

theorem minimax_expected_scale_identity {horizon alternatives : Nat} (delta : Real) (hlog : 0 <= Real.log (1 / (4 * delta))) : Real.sqrt (2 * Real.log (1 / (4 * delta))) * Real.sqrt ((alternatives : Real) * (horizon : Real)) = Real.sqrt 2 * Real.sqrt ((horizon : Real) * (alternatives : Real) * Real.log (1 / (4 * delta)))
theorem BanditRLProof.LowerBounds.integral_exp_neg_rpow_inv_le_one Compiled

The analytic inequality quoted in Corollary 17.3: `integral_0^infinity exp (-x^(1/p)) dx <= 1` for `0<p<1`. The change of variables identifies the integral with `Gamma (p+1)`; convexity of Gamma between one and two gives the bound.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.integral_exp_neg_rpow_inv_le_one

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

theorem integral_exp_neg_rpow_inv_le_one {p : Real} (hp : 0 < p) (hp_one : p < 1) : (∫ x : Real in Set.Ioi 0, Real.exp (-(x ^ (1 / p)))) <= 1
theorem BanditRLProof.LowerBounds.integral_le_scale_of_all_rpow_log_tail Compiled

Integrating an all-confidence stretched-exponential tail gives the first-moment bound used by Corollary 17.3. The strict source tail is retained at the caller; only its weak consequence is needed under the integral.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.integral_le_scale_of_all_rpow_log_tail

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

theorem integral_le_scale_of_all_rpow_log_tail {Omega : Type*} [MeasurableSpace Omega] (mu : Measure Omega) [IsProbabilityMeasure mu] (quantity : Omega -> Real) (scale p : Real) (hscale : 0 < scale) (hp : 0 < p) (hp_one : p < 1) (hintegrable : Integrable quantity mu) (hnonneg : forall omega, 0 <= quantity omega) (htail : forall delta : Real, 0 < delta -> delta < 1 -> mu.real (tailAtLeast quantity (scale * (Real.log (1 / delta)) ^ p)) < delta) : (∫ omega, quantity omega ∂mu) <= scale
theorem BanditRLProof.LowerBounds.gaussianRandomPseudoRegret_ge_corollary17_2 Compiled

*Lattimore--Szepesvari, Corollary 17.2.** Under the exact side condition in Eq. (17.6), every policy has a unit-Gaussian instance whose random pseudo-regret reaches the minimax high-probability threshold with probability at least `delta`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 17: High-Probability Lower Bounds

Indexed settings: Distributional and high-probability lower bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gaussianRandomPseudoRegret_ge_corollary17_2

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

theorem gaussianRandomPseudoRegret_ge_corollary17_2 {alternatives horizon : Nat} (halternatives : 0 < alternatives) (hhorizon : 0 < horizon) (delta : Real) (hdelta : 0 < delta) (hdelta_one : delta < 1) (hside : (horizon : Real) * delta <= Real.sqrt ((horizon : Real) * (alternatives : Real) * Real.log (1 / (4 * delta)))) (algorithm : Thompson.HistoryAlgorithm (Fin (alternatives + 1)) Real) : exists environment : UnitGaussianBanditEnvironment (alternatives + 1), delta <= (canonicalBanditHistoryMeasure algorithm (unitGaussianKernel environment.mean) (horizon - 1)).real (tailAtLeast (gaussianRandomPseudoRegret environment (horizon - 1)) (stochasticMinimaxHighProbabilityThreshold horizon alternatives delta))
theorem BanditRLProof.LowerBounds.noUniformGaussianRandomPseudoRegretTail_corollary17_3 Compiled

*Lattimore--Szepesvari, Corollary 17.3.** No single policy has a strictly smaller than `delta` random-pseudo-regret tail at every horizon, confidence level, and environment in the full gap-at-most-one Gaussian class when the logarithmic exponent lies in `(0,1)`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 17: High-Probability Lower Bounds

Indexed settings: Distributional and high-probability lower bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.noUniformGaussianRandomPseudoRegretTail_corollary17_3

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

theorem noUniformGaussianRandomPseudoRegretTail_corollary17_3 {alternatives : Nat} (halternatives : 0 < alternatives) (p B : Real) (hp : 0 < p) (hp_one : p < 1) (hB : 0 < B) : ¬ exists algorithm : Thompson.HistoryAlgorithm (Fin (alternatives + 1)) Real, forall horizon : Nat, 0 < horizon -> forall delta : Real, 0 < delta -> delta < 1 -> forall environment : GapOneGaussianBanditEnvironment (alternatives + 1), (canonicalBanditHistoryMeasure algorithm (unitGaussianKernel environment.mean) (horizon - 1)).real (tailAtLeast (gapOneGaussianRandomPseudoRegret environment (horizon - 1)) (B * Real.sqrt ((alternatives : Real) * (horizon : Real)) * (Real.log (1 / delta)) ^ p)) < delta
theorem BanditRLProof.LowerBounds.exists_tailMass_ge_of_integral_ge Compiled

Claim 17.5 in its abstract first-moment form. If the average tail mass is at least `delta`, some deterministic instance has tail mass at least `delta`. The textbook suppresses the regularity needed to write the expectation. Lean makes it explicit as `Integrable tailMass Q`; `Q` is explicitly a probability measure.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.exists_tailMass_ge_of_integral_ge

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

theorem exists_tailMass_ge_of_integral_ge {Instance : Type*} [MeasurableSpace Instance] (Q : Measure Instance) [IsProbabilityMeasure Q] (tailMass : Instance -> Real) (delta : Real) (hIntegrable : Integrable tailMass Q) (hAverage : delta <= ∫ x, tailMass x ∂Q) : exists x, delta <= tailMass x
theorem BanditRLProof.LowerBounds.exists_cdfTail_ge_of_integral_ge Compiled

Claim 17.5 specialized to the source notation `1 - F_x(u)`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 17: High-Probability Lower Bounds

Indexed settings: Distributional and high-probability lower bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.exists_cdfTail_ge_of_integral_ge

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

theorem exists_cdfTail_ge_of_integral_ge {Instance : Type*} [MeasurableSpace Instance] (Q : Measure Instance) [IsProbabilityMeasure Q] (cdf : Instance -> Real -> Real) (threshold delta : Real) (hIntegrable : Integrable (fun x => 1 - cdf x threshold) Q) (hAverage : delta <= ∫ x, 1 - cdf x threshold ∂Q) : exists x, delta <= 1 - cdf x threshold
theorem BanditRLProof.LowerBounds.measureReal_diff_ge_delta Compiled

Probability subtraction used after Claims 17.6 and 17.7. If the pull-count event has probability at least `2 * delta` and the clipping event has probability at most `delta`, their good difference has probability at least `delta`. No measurability hypothesis is hidden: `Measure.real` is defined for all sets, and `le_measureReal_diff` is an outer-measure inequality.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 17: High-Probability Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.measureReal_diff_ge_delta

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

theorem measureReal_diff_ge_delta {Omega : Type*} [MeasurableSpace Omega] (P : Measure Omega) [IsFiniteMeasure P] (pullSmall clippingBad : Set Omega) (delta : Real) (hPullSmall : 2 * delta <= P.real pullSmall) (hClippingBad : P.real clippingBad <= delta) : delta <= P.real (pullSmall \ clippingBad)
def BanditRLProof.LowerBounds.adversarialRegretLowerExpression Compiled

The deterministic lower expression on the right-hand side of Eq. (17.8), after writing the pull and clipping counts as real numbers.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialRegretLowerExpression

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

def adversarialRegretLowerExpression (horizon pullCount clippingCount : Nat) (gap : Real) : Real
theorem BanditRLProof.LowerBounds.adversarialRegretLowerExpression_ge_quarter Compiled

If fewer than half of the rounds pull the distinguished arm and at most a quarter are clipped, the Eq. (17.8) lower expression is at least one quarter of `gap * horizon`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 17: High-Probability Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialRegretLowerExpression_ge_quarter

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

theorem adversarialRegretLowerExpression_ge_quarter (horizon pullCount clippingCount : Nat) (gap : Real) (hGap : 0 <= gap) (hPull : (pullCount : Real) <= (horizon : Real) / 2) (hClipping : (clippingCount : Real) <= (horizon : Real) / 4) : gap * ((horizon : Real) / 4) <= adversarialRegretLowerExpression horizon pullCount clippingCount gap
theorem BanditRLProof.LowerBounds.randomRegret_ge_quarter_of_clippingDecomposition Compiled

The explicit transfer from Eq. (17.8) to the quarter-horizon regret threshold. The premise `hSource` is exactly the construction-specific part that Chapter 17 must still supply.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 17: High-Probability Lower Bounds

Indexed settings: Distributional and high-probability lower bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.randomRegret_ge_quarter_of_clippingDecomposition

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

theorem randomRegret_ge_quarter_of_clippingDecomposition (horizon pullCount clippingCount : Nat) (gap randomRegret : Real) (hGap : 0 <= gap) (hPull : (pullCount : Real) <= (horizon : Real) / 2) (hClipping : (clippingCount : Real) <= (horizon : Real) / 4) (hSource : adversarialRegretLowerExpression horizon pullCount clippingCount gap <= randomRegret) : gap * ((horizon : Real) / 4) <= randomRegret
def BanditRLProof.LowerBounds.clipUnitReward Compiled

Clipping to the reward interval `[0,1]`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.clipUnitReward

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

def clipUnitReward (x : Real) : Real
theorem BanditRLProof.LowerBounds.clipUnitReward_mono Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.clipUnitReward_mono

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

theorem clipUnitReward_mono {x y : Real} (hxy : x <= y) : clipUnitReward x <= clipUnitReward y
theorem BanditRLProof.LowerBounds.clipUnitReward_eq_self Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.clipUnitReward_eq_self

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

theorem clipUnitReward_eq_self {x : Real} (hx0 : 0 <= x) (hx1 : x <= 1) : clipUnitReward x = x
def BanditRLProof.LowerBounds.adversarialHardShift Compiled

The source hard-family shift: arm zero receives `gap`, the distinguished nonzero arm receives `2*gap`, and every other arm receives zero.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialHardShift

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

def adversarialHardShift {alternatives : Nat} (gap : Real) (distinguished : Fin alternatives) (arm : Fin (alternatives + 1)) : Real
def BanditRLProof.LowerBounds.adversarialClippedGaussianReward Compiled

The exact pre-sampled construction underlying Theorem 17.4. One scalar `eta t` is shared by every arm at round `t`; hence the arm rewards are correlated within a round. Independence and standard-Gaussian assumptions belong to the law of the path `eta`, not to this pathwise definition.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClippedGaussianReward

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

def adversarialClippedGaussianReward {horizon alternatives : Nat} (eta : Fin horizon -> Real) (gap : Real) (distinguished : Fin alternatives) (t : Fin horizon) (arm : Fin (alternatives + 1)) : Real
def BanditRLProof.LowerBounds.adversarialCenteredNoiseLaw Compiled

The IID centered-Gaussian path law used by the equivalent centered form of the source construction. Adding `1/2` in `adversarialClippedGaussianReward` makes `1/2 + eta t` have the source law `N(1/2, sigma^2)`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialCenteredNoiseLaw

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

noncomputable def adversarialCenteredNoiseLaw (horizon : Nat) (sigma : Real) : Measure (Fin horizon -> Real)
def BanditRLProof.LowerBounds.adversarialClippedArmLaw Compiled

One observed arm's marginal in the clipped Gaussian construction. The joint reward matrix still uses a shared noise coordinate for all arms.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClippedArmLaw

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

noncomputable def adversarialClippedArmLaw (sigma shift : Real) : Measure Real
theorem BanditRLProof.LowerBounds.measurable_adversarialClippedArmMap Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.measurable_adversarialClippedArmMap

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

theorem measurable_adversarialClippedArmMap (shift : Real) : Measurable (fun x : Real => clipUnitReward (1 / 2 + x + shift))
abbrev BanditRLProof.LowerBounds.adversarialClippedKernel Compiled

Finite-arm observation kernel, parameterized also for the base family used in Claim 17.6.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClippedKernel

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

noncomputable abbrev adversarialClippedKernel {K : Nat} (sigma : Real) (shift : Fin K -> Real) : Kernel (Fin K) Real
def BanditRLProof.LowerBounds.adversarialClippedHistoryLaw Compiled

The observable history law under a fixed randomized policy and the clipped Gaussian feedback kernel. This is not a law on full reward matrices.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClippedHistoryLaw

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

noncomputable def adversarialClippedHistoryLaw {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (sigma : Real) (shift : Fin K -> Real) (lastRound : Nat) : Measure (History.FinitePairHistory (Fin K) Real lastRound)
theorem BanditRLProof.LowerBounds.adversarialCenteredNoiseLaw_reward_marginal Compiled

A coordinate of the shared-noise matrix has exactly the arm marginal used by the observation kernel. This retains the original product noise law.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialCenteredNoiseLaw_reward_marginal

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

theorem adversarialCenteredNoiseLaw_reward_marginal {horizon alternatives : Nat} (sigma gap : Real) (distinguished : Fin alternatives) (t : Fin horizon) (arm : Fin (alternatives + 1)) : (adversarialCenteredNoiseLaw horizon sigma).map (fun eta => adversarialClippedGaussianReward eta gap distinguished t arm) = adversarialClippedArmLaw sigma (adversarialHardShift gap distinguished arm)
def BanditRLProof.LowerBounds.adversarialClipHistory Compiled

Clip the observed reward coordinates while retaining every action.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClipHistory

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

def adversarialClipHistory {K : Nat} (n : Nat) (history : History.FinitePairHistory (Fin K) Real n) : History.FinitePairHistory (Fin K) Real n
theorem BanditRLProof.LowerBounds.measurable_adversarialClipHistory Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.measurable_adversarialClipHistory

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

theorem measurable_adversarialClipHistory {K : Nat} (n : Nat) : Measurable (adversarialClipHistory (K := K) n)
def BanditRLProof.LowerBounds.adversarialClipHistoryAlgorithm Compiled

Lift the original policy to unbounded observations by feeding it only the clipped history. This construction is independent of the hard instance.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClipHistoryAlgorithm

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

noncomputable def adversarialClipHistoryAlgorithm {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) : Thompson.HistoryAlgorithm (Fin K) Real where
theorem BanditRLProof.LowerBounds.adversarialClipHistoryAlgorithm_policy_apply Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClipHistoryAlgorithm_policy_apply

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

theorem adversarialClipHistoryAlgorithm_policy_apply {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (n : Nat) (history : History.FinitePairHistory (Fin K) Real n) : (adversarialClipHistoryAlgorithm algorithm).policy n history = algorithm.policy n (adversarialClipHistory n history)
theorem BanditRLProof.LowerBounds.adversarialClipHistory_pullCount Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClipHistory_pullCount

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

theorem adversarialClipHistory_pullCount {K : Nat} (n : Nat) (history : History.FinitePairHistory (Fin K) Real n) (arm : Fin K) : finiteHistoryPullCountENNReal n (adversarialClipHistory n history) arm = finiteHistoryPullCountENNReal n history arm
theorem BanditRLProof.LowerBounds.adversarialClipHistory_pullCountReal Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClipHistory_pullCountReal

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

theorem adversarialClipHistory_pullCountReal {K : Nat} (n : Nat) (history : History.FinitePairHistory (Fin K) Real n) (arm : Fin K) : finiteHistoryPullCountReal n (adversarialClipHistory n history) arm = finiteHistoryPullCountReal n history arm
abbrev BanditRLProof.LowerBounds.adversarialUnclippedKernel Compiled

Unclipped feedback law used with the lifted policy.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialUnclippedKernel

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

noncomputable abbrev adversarialUnclippedKernel {K : Nat} (sigma : Real) (shift : Fin K -> Real) : Kernel (Fin K) Real
theorem BanditRLProof.LowerBounds.adversarialClippedKernel_eq_map Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClippedKernel_eq_map

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

theorem adversarialClippedKernel_eq_map {K : Nat} (sigma : Real) (shift : Fin K -> Real) : adversarialClippedKernel sigma shift = (adversarialUnclippedKernel sigma shift).map clipUnitReward
theorem BanditRLProof.LowerBounds.adversarialClipped_initialPairLaw Compiled

Initial action/reward law transport for the original and lifted policy.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClipped_initialPairLaw

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

theorem adversarialClipped_initialPairLaw {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (sigma : Real) (shift : Fin K -> Real) : algorithm.initialAction ⊗ₘ adversarialClippedKernel sigma shift = ((adversarialClipHistoryAlgorithm algorithm).initialAction ⊗ₘ adversarialUnclippedKernel sigma shift).map (Prod.map id clipUnitReward)
theorem BanditRLProof.LowerBounds.adversarialClippedHistoryLaw_zero Compiled

The exact observable history transport at the first observation.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClippedHistoryLaw_zero

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

theorem adversarialClippedHistoryLaw_zero {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (sigma : Real) (shift : Fin K -> Real) : adversarialClippedHistoryLaw algorithm sigma shift 0 = (canonicalBanditHistoryMeasure (adversarialClipHistoryAlgorithm algorithm) (adversarialUnclippedKernel sigma shift) 0).map (adversarialClipHistory 0)
theorem BanditRLProof.LowerBounds.adversarialClipped_historyStepLaw Compiled

Pointwise transport of the next action/reward pair after a history.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClipped_historyStepLaw

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

theorem adversarialClipped_historyStepLaw {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (sigma : Real) (shift : Fin K -> Real) (n : Nat) (history : History.FinitePairHistory (Fin K) Real n) : Thompson.historyStepKernel algorithm (stationaryBanditHistoryEnvironment (adversarialClippedKernel sigma shift)) n (adversarialClipHistory n history) = (Thompson.historyStepKernel (adversarialClipHistoryAlgorithm algorithm) (stationaryBanditHistoryEnvironment (adversarialUnclippedKernel sigma shift)) n history).map (Prod.map id clipUnitReward)
theorem BanditRLProof.LowerBounds.adversarialClipped_prefixStepLaw Compiled

Integrate the pointwise next-pair transport over any prefix law.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClipped_prefixStepLaw

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

theorem adversarialClipped_prefixStepLaw {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (sigma : Real) (shift : Fin K -> Real) (n : Nat) (P : Measure (History.FinitePairHistory (Fin K) Real n)) [IsProbabilityMeasure P] : P.map (adversarialClipHistory n) ⊗ₘ Thompson.historyStepKernel algorithm (stationaryBanditHistoryEnvironment (adversarialClippedKernel sigma shift)) n = (P ⊗ₘ Thompson.historyStepKernel (adversarialClipHistoryAlgorithm algorithm) (stationaryBanditHistoryEnvironment (adversarialUnclippedKernel sigma shift)) n).map (Prod.map (adversarialClipHistory n) (Prod.map id clipUnitReward))
theorem BanditRLProof.LowerBounds.adversarialClippedHistoryLaw_eq_map Compiled

Exact transport of the entire finite observed history under the same original policy and its clipped-history lift.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClippedHistoryLaw_eq_map

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

theorem adversarialClippedHistoryLaw_eq_map {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (sigma : Real) (shift : Fin K -> Real) (n : Nat) : adversarialClippedHistoryLaw algorithm sigma shift n = (canonicalBanditHistoryMeasure (adversarialClipHistoryAlgorithm algorithm) (adversarialUnclippedKernel sigma shift) n).map (adversarialClipHistory n)
theorem BanditRLProof.LowerBounds.adversarialClippedHistoryLaw_pullSmall Compiled

Pull-count events are preserved by the full history transport.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClippedHistoryLaw_pullSmall

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

theorem adversarialClippedHistoryLaw_pullSmall {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (sigma : Real) (shift : Fin K -> Real) (n : Nat) (arm : Fin K) (threshold : Real) : (adversarialClippedHistoryLaw algorithm sigma shift n) {h | finiteHistoryPullCountReal n h arm < threshold} = (canonicalBanditHistoryMeasure (adversarialClipHistoryAlgorithm algorithm) (adversarialUnclippedKernel sigma shift) n) {h | finiteHistoryPullCountReal n h arm < threshold}
theorem BanditRLProof.LowerBounds.adversarialUnclippedKernel_apply Compiled

Identify the unbounded observation marginal as the exact shifted Gaussian.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialUnclippedKernel_apply

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

theorem adversarialUnclippedKernel_apply {K : Nat} (sigma : Real) (shift : Fin K -> Real) (arm : Fin K) : adversarialUnclippedKernel sigma shift arm = gaussianReal (1 / 2 + shift arm) ⟨sigma ^ 2, sq_nonneg sigma⟩
theorem BanditRLProof.LowerBounds.klDiv_gaussianReal_common_scale Compiled

Equal nonzero variance Gaussian KL, obtained by scaling the unit variance theorem through a measurable equivalence. Mathlib candidate.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.klDiv_gaussianReal_common_scale

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

theorem klDiv_gaussianReal_common_scale (sigma mu nu : Real) (hs : sigma ≠ 0) : InformationTheory.klDiv (gaussianReal mu ⟨sigma ^ 2, sq_nonneg sigma⟩) (gaussianReal nu ⟨sigma ^ 2, sq_nonneg sigma⟩) = ENNReal.ofReal ((mu - nu) ^ 2 / (2 * sigma ^ 2))
theorem BanditRLProof.LowerBounds.klDiv_adversarialUnclippedKernel Compiled

Directed per-arm information for the unbounded hard-family observations.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.klDiv_adversarialUnclippedKernel

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

theorem klDiv_adversarialUnclippedKernel {K : Nat} (sigma : Real) (hs : sigma ≠ 0) (shift referenceShift : Fin K -> Real) (arm : Fin K) : InformationTheory.klDiv (adversarialUnclippedKernel sigma shift arm) (adversarialUnclippedKernel sigma referenceShift arm) = ENNReal.ofReal ((shift arm - referenceShift arm) ^ 2 / (2 * sigma ^ 2))
theorem BanditRLProof.LowerBounds.klDiv_adversarialUnclipped_base_changed_history Compiled

Exact first-law pull-count information identity for Claim 17.6's unclipped hard family. The same lifted policy is used on both sides.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.klDiv_adversarialUnclipped_base_changed_history

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

theorem klDiv_adversarialUnclipped_base_changed_history {m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (sigma gap : Real) (hs : sigma ≠ 0) (i : Fin m) (n : Nat) : InformationTheory.klDiv (canonicalBanditHistoryMeasure (adversarialClipHistoryAlgorithm algorithm) (adversarialUnclippedKernel sigma (gaussianMinimaxBaseMean gap)) n) (canonicalBanditHistoryMeasure (adversarialClipHistoryAlgorithm algorithm) (adversarialUnclippedKernel sigma (adversarialHardShift gap i)) n) = canonicalRealizedExpectedPullCountThrough (adversarialClipHistoryAlgorithm algorithm) (adversarialUnclippedKernel sigma (gaussianMinimaxBaseMean gap)) n i.succ * ENNReal.ofReal (2 * gap ^ 2 / sigma ^ 2)
def BanditRLProof.LowerBounds.adversarialClaim17_6Gap Compiled

The exact source tuning from Claim 17.6, with `alternatives = k - 1`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClaim17_6Gap

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

noncomputable def adversarialClaim17_6Gap (horizon alternatives : Nat) (sigma delta : Real) : Real
def BanditRLProof.LowerBounds.adversarialFullHardShift Compiled

Include the base instance as arm zero, as required by Claim 17.6.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialFullHardShift

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

def adversarialFullHardShift {m : Nat} (gap : Real) (distinguished arm : Fin (m + 1)) : Real
theorem BanditRLProof.LowerBounds.adversarialFullHardShift_zero Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialFullHardShift_zero

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

theorem adversarialFullHardShift_zero {m : Nat} (gap : Real) : adversarialFullHardShift (m := m) gap 0 = gaussianMinimaxBaseMean gap
theorem BanditRLProof.LowerBounds.adversarialFullHardShift_succ Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialFullHardShift_succ

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

theorem adversarialFullHardShift_succ {m : Nat} (gap : Real) (i : Fin m) : adversarialFullHardShift gap i.succ = adversarialHardShift gap i
theorem BanditRLProof.LowerBounds.adversarialClaim17_6Gap_information_calibration Compiled

Source gap tuning cancels the least-arm information bound exactly.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClaim17_6Gap_information_calibration

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

theorem adversarialClaim17_6Gap_information_calibration {horizon m : Nat} (hn : 0 < horizon) (hm : 0 < m) (sigma delta : Real) (hs : sigma ≠ 0) (hd : 0 < delta) (hd8 : delta < 1 / 8) : ((horizon : Real) / m) * (2 * (adversarialClaim17_6Gap horizon m sigma delta) ^ 2 / sigma ^ 2) = Real.log (1 / (8 * delta))
theorem BanditRLProof.LowerBounds.sum_adversarialUnclipped_expectedPulls Compiled

Conservation of expected pulls for the lifted policy's unbounded law.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.sum_adversarialUnclipped_expectedPulls

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

theorem sum_adversarialUnclipped_expectedPulls {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (sigma : Real) (shift : Fin K -> Real) (n : Nat) : (∑ arm : Fin K, canonicalRealizedExpectedPullCountThrough (adversarialClipHistoryAlgorithm algorithm) (adversarialUnclippedKernel sigma shift) n arm) = n + 1
theorem BanditRLProof.LowerBounds.adversarialClippedHistory_pull_le_half_claim17_6 Compiled

Corrected Claim 17.6: the source strict inequality must be non-strict. The witness ranges over the base instance as well as all changed instances.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClippedHistory_pull_le_half_claim17_6

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

theorem adversarialClippedHistory_pull_le_half_claim17_6 {m : Nat} (hm : 0 < m) (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (n : Nat) (sigma delta : Real) (hs : sigma ≠ 0) (hd : 0 < delta) (hd8 : delta < 1 / 8) : ∃ arm : Fin (m + 1), 2 * delta <= (adversarialClippedHistoryLaw algorithm sigma (adversarialFullHardShift (adversarialClaim17_6Gap (n + 1) m sigma delta) arm) n).real {h | finiteHistoryPullCountReal n h arm <= ((n + 1 : Nat) : Real) / 2}
theorem BanditRLProof.LowerBounds.adversarialHardShift_distinguished Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialHardShift_distinguished

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

theorem adversarialHardShift_distinguished {alternatives : Nat} (gap : Real) (distinguished : Fin alternatives) : adversarialHardShift gap distinguished distinguished.succ = 2 * gap
theorem BanditRLProof.LowerBounds.adversarialHardShift_nonneg Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialHardShift_nonneg

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

theorem adversarialHardShift_nonneg {alternatives : Nat} (gap : Real) (hgap : 0 <= gap) (distinguished : Fin alternatives) (arm : Fin (alternatives + 1)) : 0 <= adversarialHardShift gap distinguished arm
theorem BanditRLProof.LowerBounds.adversarialHardShift_le_two_mul Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialHardShift_le_two_mul

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

theorem adversarialHardShift_le_two_mul {alternatives : Nat} (gap : Real) (hgap : 0 <= gap) (distinguished : Fin alternatives) (arm : Fin (alternatives + 1)) : adversarialHardShift gap distinguished arm <= 2 * gap
theorem BanditRLProof.LowerBounds.adversarialHardShift_le_gap_of_ne Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialHardShift_le_gap_of_ne

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

theorem adversarialHardShift_le_gap_of_ne {alternatives : Nat} (gap : Real) (hgap : 0 <= gap) (distinguished : Fin alternatives) (arm : Fin (alternatives + 1)) (hne : arm ≠ distinguished.succ) : adversarialHardShift gap distinguished arm <= gap
theorem BanditRLProof.LowerBounds.adversarialClippedGaussianReward_distinguished_mono Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClippedGaussianReward_distinguished_mono

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

theorem adversarialClippedGaussianReward_distinguished_mono {horizon alternatives : Nat} (eta : Fin horizon -> Real) (gap : Real) (hgap : 0 <= gap) (distinguished : Fin alternatives) (t : Fin horizon) (arm : Fin (alternatives + 1)) : adversarialClippedGaussianReward eta gap distinguished t arm <= adversarialClippedGaussianReward eta gap distinguished t distinguished.succ
theorem BanditRLProof.LowerBounds.adversarialClippedGaussianReward_gap_of_not_clipped Compiled

Away from clipping, the distinguished arm beats every other arm by at least `gap`. This is the pointwise engine of Eq. (17.8).

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClippedGaussianReward_gap_of_not_clipped

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

theorem adversarialClippedGaussianReward_gap_of_not_clipped {horizon alternatives : Nat} (eta : Fin horizon -> Real) (gap : Real) (hgap : 0 <= gap) (distinguished : Fin alternatives) (t : Fin horizon) (arm : Fin (alternatives + 1)) (hne : arm ≠ distinguished.succ) (hgood : |eta t| < 1 / 2 - 2 * gap) : gap <= adversarialClippedGaussianReward eta gap distinguished t distinguished.succ - adversarialClippedGaussianReward eta gap distinguished t arm
def BanditRLProof.LowerBounds.adversarialPullCountReal Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialPullCountReal

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

def adversarialPullCountReal {horizon alternatives : Nat} (actions : Fin horizon -> Fin (alternatives + 1)) (distinguished : Fin alternatives) : Real
def BanditRLProof.LowerBounds.adversarialClippingCountReal Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClippingCountReal

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

def adversarialClippingCountReal {horizon : Nat} (eta : Fin horizon -> Real) (gap : Real) : Real
def BanditRLProof.LowerBounds.adversarialClipIndicator Compiled

The Bernoulli indicator of a clipped round in the construction for Theorem 17.4.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClipIndicator

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

def adversarialClipIndicator (gap x : Real) : Real
theorem BanditRLProof.LowerBounds.measurable_adversarialClipIndicator Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.measurable_adversarialClipIndicator

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

theorem measurable_adversarialClipIndicator (gap : Real) : Measurable (adversarialClipIndicator gap)
theorem BanditRLProof.LowerBounds.adversarialClipIndicator_mem_Icc Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClipIndicator_mem_Icc

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

theorem adversarialClipIndicator_mem_Icc (gap x : Real) : adversarialClipIndicator gap x ∈ Set.Icc 0 1
theorem BanditRLProof.LowerBounds.gaussianReal_tenth_abs_quarter_le_eighth Compiled

The one-dimensional Gaussian tail estimate used in Claim 17.7. It is proved from Mathlib's sub-Gaussian Chernoff bound; the final numerical step is the degree-five lower Taylor bound for `exp (25/8)`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gaussianReal_tenth_abs_quarter_le_eighth

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

theorem gaussianReal_tenth_abs_quarter_le_eighth : (gaussianReal 0 ⟨(1 / 10 : Real) ^ 2, sq_nonneg _⟩).real {x : Real | (1 / 4 : Real) <= |x|} <= 1 / 8
theorem BanditRLProof.LowerBounds.integral_adversarialClipIndicator_eq Compiled

Each coordinate under the IID product law has the stated Gaussian marginal, specialized to the clipping indicator needed for Claim 17.7.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.integral_adversarialClipIndicator_eq

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

theorem integral_adversarialClipIndicator_eq {horizon : Nat} (gap : Real) (t : Fin horizon) : ∫ eta, adversarialClipIndicator gap (eta t) ∂(adversarialCenteredNoiseLaw horizon (1 / 10)) = (gaussianReal 0 ⟨(1 / 10 : Real) ^ 2, sq_nonneg _⟩).real {x : Real | 1 / 2 - 2 * gap <= |x|}
theorem BanditRLProof.LowerBounds.adversarialClippingCount_tail_claim17_7 Compiled

*Claim 17.7.** Under the source variance `sigma = 1/10`, if `gap < 1/8` and `n >= 32 log(1/delta)`, at most a `delta` fraction of noise paths have at least `n/4` clipped rounds.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClippingCount_tail_claim17_7

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

theorem adversarialClippingCount_tail_claim17_7 {horizon : Nat} (hhorizon : 0 < horizon) (delta gap : Real) (hdelta : 0 < delta) (hdelta1 : delta < 1) (hgap_lt : gap < 1 / 8) (horizon_condition : 32 * Real.log (1 / delta) <= horizon) : (adversarialCenteredNoiseLaw horizon (1 / 10)).real {eta | (horizon : Real) / 4 <= adversarialClippingCountReal eta gap} <= delta
def BanditRLProof.LowerBounds.adversarialBoundaryClippingCountReal Compiled

The textbook clipping count: a round is counted when at least one arm has reward at a boundary of the unit interval.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialBoundaryClippingCountReal

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

noncomputable def adversarialBoundaryClippingCountReal {horizon alternatives : Nat} (eta : Fin horizon -> Real) (gap : Real) (distinguished : Fin alternatives) : Real
theorem BanditRLProof.LowerBounds.adversarialBoundaryClippingCountReal_le Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialBoundaryClippingCountReal_le

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

theorem adversarialBoundaryClippingCountReal_le {horizon alternatives : Nat} (eta : Fin horizon -> Real) (gap : Real) (hgap : 0 <= gap) (distinguished : Fin alternatives) : adversarialBoundaryClippingCountReal eta gap distinguished <= adversarialClippingCountReal eta gap
theorem BanditRLProof.LowerBounds.adversarialBoundaryClippingCount_tail_claim17_7 Compiled

Claim 17.7 for the literal boundary event in the textbook.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialBoundaryClippingCount_tail_claim17_7

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

theorem adversarialBoundaryClippingCount_tail_claim17_7 {horizon alternatives : Nat} (hhorizon : 0 < horizon) (delta gap : Real) (hdelta : 0 < delta) (hdelta1 : delta < 1) (hgap : 0 <= gap) (hgap_lt : gap < 1 / 8) (distinguished : Fin alternatives) (horizon_condition : 32 * Real.log (1 / delta) <= horizon) : (adversarialCenteredNoiseLaw horizon (1 / 10)).real {eta | (horizon : Real) / 4 <= adversarialBoundaryClippingCountReal eta gap distinguished} <= delta
def BanditRLProof.LowerBounds.adversarialComparatorRegret Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialComparatorRegret

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

def adversarialComparatorRegret {horizon alternatives : Nat} (reward : Fin horizon -> Fin (alternatives + 1) -> Real) (actions : Fin horizon -> Fin (alternatives + 1)) (comparator : Fin (alternatives + 1)) : Real
def BanditRLProof.LowerBounds.adversarialRandomRegret Compiled

Adversarial random regret: the best fixed arm in hindsight minus the reward collected along the realized action path.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialRandomRegret

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

noncomputable def adversarialRandomRegret {horizon alternatives : Nat} (reward : Fin horizon -> Fin (alternatives + 1) -> Real) (actions : Fin horizon -> Fin (alternatives + 1)) : Real
theorem BanditRLProof.LowerBounds.adversarialComparatorRegret_le_randomRegret Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialComparatorRegret_le_randomRegret

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

theorem adversarialComparatorRegret_le_randomRegret {horizon alternatives : Nat} (reward : Fin horizon -> Fin (alternatives + 1) -> Real) (actions : Fin horizon -> Fin (alternatives + 1)) (comparator : Fin (alternatives + 1)) : adversarialComparatorRegret reward actions comparator <= adversarialRandomRegret reward actions
theorem BanditRLProof.LowerBounds.adversarialComparatorRegret_ge_eq17_8 Compiled

*Equation (17.8), construction level.** For every realized shared-noise path and every action path, regret against the distinguished arm is bounded below by `gap * (n - T_i(n) - C)`, where `C` counts clipping rounds.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialComparatorRegret_ge_eq17_8

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

theorem adversarialComparatorRegret_ge_eq17_8 {horizon alternatives : Nat} (eta : Fin horizon -> Real) (gap : Real) (hgap : 0 <= gap) (distinguished : Fin alternatives) (actions : Fin horizon -> Fin (alternatives + 1)) : gap * ((horizon : Real) - adversarialPullCountReal actions distinguished - adversarialClippingCountReal eta gap) <= adversarialComparatorRegret (adversarialClippedGaussianReward eta gap distinguished) actions distinguished.succ
theorem BanditRLProof.LowerBounds.adversarialRandomRegret_ge_eq17_8 Compiled

Eq. (17.8) in the textbook's actual random-regret form.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 17: High-Probability Lower Bounds

Indexed settings: Distributional and high-probability lower bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialRandomRegret_ge_eq17_8

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

theorem adversarialRandomRegret_ge_eq17_8 {horizon alternatives : Nat} (eta : Fin horizon -> Real) (gap : Real) (hgap : 0 <= gap) (distinguished : Fin alternatives) (actions : Fin horizon -> Fin (alternatives + 1)) : gap * ((horizon : Real) - adversarialPullCountReal actions distinguished - adversarialClippingCountReal eta gap) <= adversarialRandomRegret (adversarialClippedGaussianReward eta gap distinguished) actions
theorem BanditRLProof.LowerBounds.clipUnitReward_eq_self_of_ne_endpoints Compiled Internal helper

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.clipUnitReward_eq_self_of_ne_endpoints

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

private theorem clipUnitReward_eq_self_of_ne_endpoints (x : Real) (h0 : clipUnitReward x ≠ 0) (h1 : clipUnitReward x ≠ 1) : clipUnitReward x = x
theorem BanditRLProof.LowerBounds.adversarialRandomRegret_ge_boundary_eq17_8 Compiled

Exact Eq. (17.8), with the textbook's actual boundary count.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialRandomRegret_ge_boundary_eq17_8

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

theorem adversarialRandomRegret_ge_boundary_eq17_8 {horizon alternatives : Nat} (eta : Fin horizon -> Real) (gap : Real) (hgap : 0 <= gap) (distinguished : Fin alternatives) (actions : Fin horizon -> Fin (alternatives + 1)) : gap * ((horizon : Real) - adversarialPullCountReal actions distinguished - adversarialBoundaryClippingCountReal eta gap distinguished) <= adversarialRandomRegret (adversarialClippedGaussianReward eta gap distinguished) actions
def BanditRLProof.LowerBounds.adversarialFullClippedReward Compiled

The shared-noise matrix for every witness, including the base arm.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialFullClippedReward

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

def adversarialFullClippedReward {horizon m : Nat} (eta : Fin horizon -> Real) (gap : Real) (i : Fin (m + 1)) (t : Fin horizon) (arm : Fin (m + 1)) : Real
theorem BanditRLProof.LowerBounds.adversarialFullHardShift_bounds Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialFullHardShift_bounds

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

theorem adversarialFullHardShift_bounds {m : Nat} (gap : Real) (hg : 0 <= gap) (i arm : Fin (m + 1)) : 0 <= adversarialFullHardShift gap i arm ∧ adversarialFullHardShift gap i arm <= 2 * gap
theorem BanditRLProof.LowerBounds.adversarialFullHardShift_separation Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialFullHardShift_separation

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

theorem adversarialFullHardShift_separation {m : Nat} (gap : Real) (hg : 0 <= gap) (i arm : Fin (m + 1)) (hi : arm ≠ i) : gap <= adversarialFullHardShift gap i i - adversarialFullHardShift gap i arm
theorem BanditRLProof.LowerBounds.adversarialFullClippedReward_best Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialFullClippedReward_best

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

theorem adversarialFullClippedReward_best {horizon m : Nat} (eta : Fin horizon -> Real) (gap : Real) (hg : 0 <= gap) (i : Fin (m + 1)) (t : Fin horizon) (arm : Fin (m + 1)) : adversarialFullClippedReward eta gap i t arm <= adversarialFullClippedReward eta gap i t i
def BanditRLProof.LowerBounds.adversarialFullBoundaryCount Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialFullBoundaryCount

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

noncomputable def adversarialFullBoundaryCount {horizon m : Nat} (eta : Fin horizon -> Real) (gap : Real) (i : Fin (m + 1)) : Real
theorem BanditRLProof.LowerBounds.adversarialFullRandomRegret_ge_boundary_eq17_8 Compiled

Literal boundary-count Eq. (17.8), now also valid for the base witness.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialFullRandomRegret_ge_boundary_eq17_8

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

theorem adversarialFullRandomRegret_ge_boundary_eq17_8 {horizon m : Nat} (eta : Fin horizon -> Real) (gap : Real) (hg : 0 <= gap) (i : Fin (m + 1)) (actions : Fin horizon -> Fin (m + 1)) : gap * ((horizon : Real) - (∑ t, if actions t = i then 1 else 0) - adversarialFullBoundaryCount eta gap i) <= adversarialRandomRegret (adversarialFullClippedReward eta gap i) actions
theorem BanditRLProof.LowerBounds.adversarialFullBoundaryCount_le Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialFullBoundaryCount_le

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

theorem adversarialFullBoundaryCount_le {horizon m : Nat} (eta : Fin horizon -> Real) (gap : Real) (hg : 0 <= gap) (i : Fin (m + 1)) : adversarialFullBoundaryCount eta gap i <= adversarialClippingCountReal eta gap
theorem BanditRLProof.LowerBounds.adversarialFullBoundaryCount_tail_claim17_7 Compiled

Claim 17.7 for every member of the corrected Claim 17.6 witness family.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 17: High-Probability Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialFullBoundaryCount_tail_claim17_7

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

theorem adversarialFullBoundaryCount_tail_claim17_7 {horizon m : Nat} (hn : 0 < horizon) (delta gap : Real) (hd : 0 < delta) (hd1 : delta < 1) (hg : 0 <= gap) (hg8 : gap < 1 / 8) (i : Fin (m + 1)) (horizon_condition : 32 * Real.log (1 / delta) <= horizon) : (adversarialCenteredNoiseLaw horizon (1 / 10)).real {eta | (horizon : Real) / 4 <= adversarialFullBoundaryCount eta gap i} <= delta
abbrev BanditRLProof.LowerBounds.AdversarialRewardTable Compiled

A deterministic oblivious reward table. Only its finite prefix is used.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.AdversarialRewardTable

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

abbrev AdversarialRewardTable (K : Nat)
def BanditRLProof.LowerBounds.adversarialTableInitialFeedback Compiled

Feedback from a fixed table, with the table retained as a kernel parameter.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialTableInitialFeedback

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

noncomputable def adversarialTableInitialFeedback {K : Nat} : Kernel (AdversarialRewardTable K × Fin K) Real
def BanditRLProof.LowerBounds.adversarialTableNextFeedback Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialTableNextFeedback

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

noncomputable def adversarialTableNextFeedback {K : Nat} (n : Nat) : Kernel ((AdversarialRewardTable K × History.FinitePairHistory (Fin K) Real n) × Fin K) Real
def BanditRLProof.LowerBounds.adversarialTableStepKernel Compiled

The original policy observes exactly its action/reward prefix.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialTableStepKernel

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

noncomputable def adversarialTableStepKernel {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (n : Nat) : Kernel (AdversarialRewardTable K × History.FinitePairHistory (Fin K) Real n) (Fin K × Real)
def BanditRLProof.LowerBounds.adversarialTableHistoryKernel Compiled

Conditional history distribution under each fixed oblivious table. This is a measurable kernel, so averaging over random tables is well-defined.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialTableHistoryKernel

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

noncomputable def adversarialTableHistoryKernel {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) : (n : Nat) -> Kernel (AdversarialRewardTable K) (History.FinitePairHistory (Fin K) Real n) | 0 => ((Kernel.const (AdversarialRewardTable K) algorithm.initialAction) ⊗ₖ adversarialTableInitialFeedback).map (pairHistoryZeroMeasurableEquiv (Fin K) Real) | n + 1 => ((adversarialTableHistoryKernel algorithm n) ⊗ₖ adversarialTableStepKernel algorithm n).map (pairHistorySuccMeasurableEquiv (Fin K) Real n) instance adversarialTableHistoryKernel_isMarkov {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (n : Nat) : IsMarkovKernel (adversarialTableHistoryKernel algorithm n)
theorem BanditRLProof.LowerBounds.adversarialTableStepKernel_apply Compiled

Fixing the table gives exactly the original policy and deterministic feedback.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialTableStepKernel_apply

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

theorem adversarialTableStepKernel_apply {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (n : Nat) (table : AdversarialRewardTable K) (history : History.FinitePairHistory (Fin K) Real n) : adversarialTableStepKernel algorithm n (table, history) = algorithm.policy n history ⊗ₘ Kernel.deterministic (table (n + 1)) (measurable_of_countable _)
theorem BanditRLProof.LowerBounds.adversarialTableHistoryKernel_zero Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialTableHistoryKernel_zero

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

theorem adversarialTableHistoryKernel_zero {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (table : AdversarialRewardTable K) : adversarialTableHistoryKernel algorithm 0 table = (algorithm.initialAction ⊗ₘ Kernel.deterministic (table 0) (measurable_of_countable _)).map (pairHistoryZeroMeasurableEquiv (Fin K) Real)
theorem BanditRLProof.LowerBounds.adversarialTableHistoryKernel_succ Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialTableHistoryKernel_succ

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

theorem adversarialTableHistoryKernel_succ {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (n : Nat) (table : AdversarialRewardTable K) : adversarialTableHistoryKernel algorithm (n + 1) table = ((adversarialTableHistoryKernel algorithm n table) ⊗ₘ Kernel.sectR (adversarialTableStepKernel algorithm n) table).map (pairHistorySuccMeasurableEquiv (Fin K) Real n)
theorem BanditRLProof.LowerBounds.adversarialTableHistoryKernel_prefix_congr Compiled

Future reward rows cannot affect an already observed history.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialTableHistoryKernel_prefix_congr

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

theorem adversarialTableHistoryKernel_prefix_congr {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (n : Nat) (table other : AdversarialRewardTable K) (heq : ∀ t, t <= n -> table t = other t) : adversarialTableHistoryKernel algorithm n table = adversarialTableHistoryKernel algorithm n other
def BanditRLProof.LowerBounds.adversarialFullRewardTable Compiled

Extend the finite shared-noise matrix by zero rows after its horizon.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialFullRewardTable

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

def adversarialFullRewardTable {horizon m : Nat} (eta : Fin horizon -> Real) (gap : Real) (i : Fin (m + 1)) : AdversarialRewardTable (m + 1)
theorem BanditRLProof.LowerBounds.measurable_adversarialFullRewardTable Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.measurable_adversarialFullRewardTable

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

theorem measurable_adversarialFullRewardTable {horizon m : Nat} (gap : Real) (i : Fin (m + 1)) : Measurable (fun eta : Fin horizon -> Real => adversarialFullRewardTable eta gap i)
theorem BanditRLProof.LowerBounds.adversarialFullRewardTable_at Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialFullRewardTable_at

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

theorem adversarialFullRewardTable_at {horizon m : Nat} (eta : Fin horizon -> Real) (gap : Real) (i : Fin (m + 1)) (t : Fin horizon) : adversarialFullRewardTable eta gap i t = adversarialFullClippedReward eta gap i t
def BanditRLProof.LowerBounds.adversarialNoiseHistoryKernel Compiled

Conditional policy history kernel parameterized by the finite noise path.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialNoiseHistoryKernel

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

noncomputable def adversarialNoiseHistoryKernel {horizon m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (gap : Real) (i : Fin (m + 1)) (n : Nat) : Kernel (Fin horizon -> Real) (History.FinitePairHistory (Fin (m + 1)) Real n)
def BanditRLProof.LowerBounds.adversarialNoiseHistoryJoint Compiled

Shared-noise matrix and the original randomized policy on one joint space.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialNoiseHistoryJoint

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

noncomputable def adversarialNoiseHistoryJoint {horizon m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (sigma gap : Real) (i : Fin (m + 1)) (n : Nat) : Measure ((Fin horizon -> Real) × History.FinitePairHistory (Fin (m + 1)) Real n)
theorem BanditRLProof.LowerBounds.adversarialNoiseHistoryJoint_noise_marginal Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialNoiseHistoryJoint_noise_marginal

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

theorem adversarialNoiseHistoryJoint_noise_marginal {horizon m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (sigma gap : Real) (i : Fin (m + 1)) (n : Nat) : (adversarialNoiseHistoryJoint (horizon := horizon) algorithm sigma gap i n).fst = adversarialCenteredNoiseLaw horizon sigma
theorem BanditRLProof.LowerBounds.adversarialNoiseHistoryKernel_update_future Compiled

Resampling an unobserved noise coordinate leaves the prefix law unchanged.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialNoiseHistoryKernel_update_future

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

theorem adversarialNoiseHistoryKernel_update_future {horizon m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (gap : Real) (i : Fin (m + 1)) (n : Nat) (eta : Fin horizon -> Real) (j : Fin horizon) (hj : n < j.val) (x : Real) : adversarialNoiseHistoryKernel algorithm gap i n (Function.update eta j x) = adversarialNoiseHistoryKernel algorithm gap i n eta
theorem BanditRLProof.LowerBounds.adversarialCenteredNoiseLaw_split Compiled

Isolate any coordinate of the shared Gaussian noise as a product factor.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialCenteredNoiseLaw_split

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

theorem adversarialCenteredNoiseLaw_split {N : Nat} (sigma : Real) (j : Fin (N + 1)) : MeasurePreserving (MeasurableEquiv.piFinSuccAbove (fun _ : Fin (N + 1) => Real) j) (adversarialCenteredNoiseLaw (N + 1) sigma) ((gaussianReal 0 ⟨sigma ^ 2, sq_nonneg sigma⟩).prod (adversarialCenteredNoiseLaw N sigma))
theorem BanditRLProof.LowerBounds.adversarialNoiseHistoryKernel_split_future Compiled

In split coordinates, the prefix history law is independent of the future factor.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialNoiseHistoryKernel_split_future

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

theorem adversarialNoiseHistoryKernel_split_future {N m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (gap : Real) (i : Fin (m + 1)) (n : Nat) (j : Fin (N + 1)) (hj : n < j.val) (rest : Fin N -> Real) (x y : Real) : adversarialNoiseHistoryKernel algorithm gap i n (j.insertNth x rest) = adversarialNoiseHistoryKernel algorithm gap i n (j.insertNth y rest)
theorem BanditRLProof.LowerBounds.lintegral_adversarialCenteredNoiseLaw_split Compiled

Tonelli in the independent-coordinate representation of the hard noise law.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.lintegral_adversarialCenteredNoiseLaw_split

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

theorem lintegral_adversarialCenteredNoiseLaw_split {N : Nat} (sigma : Real) (j : Fin (N + 1)) (f : (Fin (N + 1) -> Real) -> ENNReal) (hf : Measurable f) : (∫⁻ eta, f eta ∂adversarialCenteredNoiseLaw (N + 1) sigma) = ∫⁻ x, ∫⁻ rest, f (j.insertNth x rest) ∂adversarialCenteredNoiseLaw N sigma ∂gaussianReal 0 ⟨sigma ^ 2, sq_nonneg sigma⟩
theorem BanditRLProof.LowerBounds.adversarialCenteredNoiseLaw_full_reward_marginal Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialCenteredNoiseLaw_full_reward_marginal

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

theorem adversarialCenteredNoiseLaw_full_reward_marginal {horizon m : Nat} (sigma gap : Real) (i : Fin (m + 1)) (t : Fin horizon) (arm : Fin (m + 1)) : (adversarialCenteredNoiseLaw horizon sigma).map (fun eta => adversarialFullClippedReward eta gap i t arm) = adversarialClippedArmLaw sigma (adversarialFullHardShift gap i arm)
theorem BanditRLProof.LowerBounds.lintegral_adversarialTableHistoryKernel_zero Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.lintegral_adversarialTableHistoryKernel_zero

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

theorem lintegral_adversarialTableHistoryKernel_zero {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (table : AdversarialRewardTable K) (f : History.FinitePairHistory (Fin K) Real 0 -> ENNReal) (hf : Measurable f) : (∫⁻ h, f h ∂adversarialTableHistoryKernel algorithm 0 table) = ∫⁻ arm, f (pairHistoryZeroMeasurableEquiv (Fin K) Real (arm, table 0 arm)) ∂algorithm.initialAction
theorem BanditRLProof.LowerBounds.lintegral_adversarialNoiseHistoryKernel_zero Compiled

The initial matrix mixture has exactly the canonical clipped observation law.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.lintegral_adversarialNoiseHistoryKernel_zero

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

theorem lintegral_adversarialNoiseHistoryKernel_zero {N m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (sigma gap : Real) (i : Fin (m + 1)) (f : History.FinitePairHistory (Fin (m + 1)) Real 0 -> ENNReal) (hf : Measurable f) : (∫⁻ eta, ∫⁻ h, f h ∂adversarialNoiseHistoryKernel (horizon := N + 1) algorithm gap i 0 eta ∂adversarialCenteredNoiseLaw (N + 1) sigma) = ∫⁻ h, f h ∂adversarialClippedHistoryLaw algorithm sigma (adversarialFullHardShift gap i) 0
theorem BanditRLProof.LowerBounds.adversarialNoiseHistoryJoint_history_marginal_zero Compiled

Initial case of the joint-space history marginal identification.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialNoiseHistoryJoint_history_marginal_zero

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

theorem adversarialNoiseHistoryJoint_history_marginal_zero {N m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (sigma gap : Real) (i : Fin (m + 1)) : (adversarialNoiseHistoryJoint (horizon := N + 1) algorithm sigma gap i 0).snd = adversarialClippedHistoryLaw algorithm sigma (adversarialFullHardShift gap i) 0
theorem BanditRLProof.LowerBounds.lintegral_adversarialTableHistoryKernel_succ Compiled

Conditional table-history recursion, with deterministic feedback integrated out.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.lintegral_adversarialTableHistoryKernel_succ

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

theorem lintegral_adversarialTableHistoryKernel_succ {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (table : AdversarialRewardTable K) (n : Nat) (f : History.FinitePairHistory (Fin K) Real (n + 1) -> ENNReal) (hf : Measurable f) : (∫⁻ h, f h ∂adversarialTableHistoryKernel algorithm (n + 1) table) = ∫⁻ h, ∫⁻ arm, f (pairHistorySuccMeasurableEquiv (Fin K) Real n (h, (arm, table (n + 1) arm))) ∂algorithm.policy n h ∂adversarialTableHistoryKernel algorithm n table
theorem BanditRLProof.LowerBounds.lintegral_adversarialFreshNoise_step Compiled

Integrate fresh shared noise against a fixed prefix law and the same policy.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.lintegral_adversarialFreshNoise_step

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

theorem lintegral_adversarialFreshNoise_step {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (n : Nat) (P : Measure (History.FinitePairHistory (Fin K) Real n)) [IsProbabilityMeasure P] (sigma : Real) (shift : Fin K -> Real) (f : History.FinitePairHistory (Fin K) Real n × (Fin K × Real) -> ENNReal) (hf : Measurable f) : (∫⁻ x, ∫⁻ h, ∫⁻ arm, f (h, (arm, clipUnitReward (1 / 2 + x + shift arm))) ∂algorithm.policy n h ∂P ∂gaussianReal 0 ⟨sigma ^ 2, sq_nonneg sigma⟩) = ∫⁻ h, ∫⁻ pair, f (h, pair) ∂Thompson.historyStepKernel algorithm (stationaryBanditHistoryEnvironment (adversarialClippedKernel sigma shift)) n h ∂P
theorem BanditRLProof.LowerBounds.lintegral_adversarialNoiseHistoryKernel_succ_slice Compiled

Successor history integration on each fixed remaining-noise slice.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.lintegral_adversarialNoiseHistoryKernel_succ_slice

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

theorem lintegral_adversarialNoiseHistoryKernel_succ_slice {N m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (sigma gap : Real) (i : Fin (m + 1)) (n : Nat) (hn : n + 1 < N + 1) (rest : Fin N -> Real) (f : History.FinitePairHistory (Fin (m + 1)) Real (n + 1) -> ENNReal) (hf : Measurable f) : (∫⁻ x, ∫⁻ h, f h ∂adversarialNoiseHistoryKernel algorithm gap i (n + 1) ((⟨n + 1, hn⟩ : Fin (N + 1)).insertNth x rest) ∂gaussianReal 0 ⟨sigma ^ 2, sq_nonneg sigma⟩) = ∫⁻ h, ∫⁻ pair, f (pairHistorySuccMeasurableEquiv (Fin (m + 1)) Real n (h, pair)) ∂Thompson.historyStepKernel algorithm (stationaryBanditHistoryEnvironment (adversarialClippedKernel sigma (adversarialFullHardShift gap i))) n h ∂adversarialNoiseHistoryKernel algorithm gap i n ((⟨n + 1, hn⟩ : Fin (N + 1)).insertNth 0 rest)
theorem BanditRLProof.LowerBounds.lintegral_adversarialNoiseHistoryKernel_succ Compiled

Full-noise successor recursion after integrating the independent next coordinate.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.lintegral_adversarialNoiseHistoryKernel_succ

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

theorem lintegral_adversarialNoiseHistoryKernel_succ {N m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (sigma gap : Real) (i : Fin (m + 1)) (n : Nat) (hn : n + 1 < N + 1) (f : History.FinitePairHistory (Fin (m + 1)) Real (n + 1) -> ENNReal) (hf : Measurable f) : (∫⁻ eta, ∫⁻ h, f h ∂adversarialNoiseHistoryKernel (horizon := N + 1) algorithm gap i (n + 1) eta ∂adversarialCenteredNoiseLaw (N + 1) sigma) = ∫⁻ eta, ∫⁻ h, ∫⁻ pair, f (pairHistorySuccMeasurableEquiv (Fin (m + 1)) Real n (h, pair)) ∂Thompson.historyStepKernel algorithm (stationaryBanditHistoryEnvironment (adversarialClippedKernel sigma (adversarialFullHardShift gap i))) n h ∂adversarialNoiseHistoryKernel algorithm gap i n eta ∂adversarialCenteredNoiseLaw (N + 1) sigma
theorem BanditRLProof.LowerBounds.lintegral_adversarialNoiseHistoryKernel_eq_clipped Compiled

All observed finite prefixes have the canonical clipped history law.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.lintegral_adversarialNoiseHistoryKernel_eq_clipped

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

theorem lintegral_adversarialNoiseHistoryKernel_eq_clipped {N m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (sigma gap : Real) (i : Fin (m + 1)) (n : Nat) (hn : n < N + 1) (f : History.FinitePairHistory (Fin (m + 1)) Real n -> ENNReal) (hf : Measurable f) : (∫⁻ eta, ∫⁻ h, f h ∂adversarialNoiseHistoryKernel (horizon := N + 1) algorithm gap i n eta ∂adversarialCenteredNoiseLaw (N + 1) sigma) = ∫⁻ h, f h ∂adversarialClippedHistoryLaw algorithm sigma (adversarialFullHardShift gap i) n
theorem BanditRLProof.LowerBounds.adversarialNoiseHistoryJoint_history_marginal Compiled

Full matrix-policy coupling: its history marginal is exactly Claim 17.6's law.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialNoiseHistoryJoint_history_marginal

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

theorem adversarialNoiseHistoryJoint_history_marginal {N m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (sigma gap : Real) (i : Fin (m + 1)) (n : Nat) (hn : n < N + 1) : (adversarialNoiseHistoryJoint (horizon := N + 1) algorithm sigma gap i n).snd = adversarialClippedHistoryLaw algorithm sigma (adversarialFullHardShift gap i) n
theorem BanditRLProof.LowerBounds.adversarialNoiseHistoryJoint_pull_le_half_claim17_6 Compiled

Corrected Claim 17.6 on the shared-noise matrix and policy joint space.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 17: High-Probability Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialNoiseHistoryJoint_pull_le_half_claim17_6

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

theorem adversarialNoiseHistoryJoint_pull_le_half_claim17_6 {m : Nat} (hm : 0 < m) (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (n : Nat) (sigma delta : Real) (hs : sigma ≠ 0) (hd : 0 < delta) (hd8 : delta < 1 / 8) : ∃ i : Fin (m + 1), 2 * delta <= (adversarialNoiseHistoryJoint (horizon := n + 1) algorithm sigma (adversarialClaim17_6Gap (n + 1) m sigma delta) i n).real {p | finiteHistoryPullCountReal n p.2 i <= ((n + 1 : Nat) : Real) / 2}
theorem BanditRLProof.LowerBounds.measurable_adversarialClippingCountReal Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.measurable_adversarialClippingCountReal

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

theorem measurable_adversarialClippingCountReal {horizon : Nat} (gap : Real) : Measurable (fun eta : Fin horizon -> Real => adversarialClippingCountReal eta gap)
theorem BanditRLProof.LowerBounds.adversarialNoiseHistoryJoint_clipping_tail Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialNoiseHistoryJoint_clipping_tail

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

theorem adversarialNoiseHistoryJoint_clipping_tail {horizon m : Nat} (hn : 0 < horizon) (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (delta gap : Real) (hd : 0 < delta) (hd1 : delta < 1) (hg8 : gap < 1 / 8) (i : Fin (m + 1)) (n : Nat) (horizon_condition : 32 * Real.log (1 / delta) <= horizon) : (adversarialNoiseHistoryJoint (horizon := horizon) algorithm (1 / 10) gap i n).real {p | (horizon : Real) / 4 <= adversarialClippingCountReal p.1 gap} <= delta
theorem BanditRLProof.LowerBounds.adversarialNoiseHistoryJoint_good_event Compiled

Pull-small and literally few clipped rounds hold jointly with probability at least delta.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialNoiseHistoryJoint_good_event

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

theorem adversarialNoiseHistoryJoint_good_event {m : Nat} (hm : 0 < m) (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (n : Nat) (delta : Real) (hd : 0 < delta) (hd8 : delta < 1 / 8) (hg8 : adversarialClaim17_6Gap (n + 1) m (1 / 10) delta < 1 / 8) (horizon_condition : 32 * Real.log (1 / delta) <= ((n + 1 : Nat) : Real)) : ∃ i : Fin (m + 1), delta <= (adversarialNoiseHistoryJoint (horizon := n + 1) algorithm (1 / 10) (adversarialClaim17_6Gap (n + 1) m (1 / 10) delta) i n).real {p | finiteHistoryPullCountReal n p.2 i <= ((n + 1 : Nat) : Real) / 2 ∧ adversarialFullBoundaryCount p.1 (adversarialClaim17_6Gap (n + 1) m (1 / 10) delta) i < ((n + 1 : Nat) : Real) / 4}
def BanditRLProof.LowerBounds.adversarialHistoryActions Compiled

The realized action path, indexed by the actual number of observations.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialHistoryActions

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

def adversarialHistoryActions {K : Nat} (n : Nat) (h : History.FinitePairHistory (Fin K) Real n) : Fin (n + 1) -> Fin K
theorem BanditRLProof.LowerBounds.adversarialHistoryActions_pullCountENNReal Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialHistoryActions_pullCountENNReal

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

theorem adversarialHistoryActions_pullCountENNReal {K : Nat} (n : Nat) (h : History.FinitePairHistory (Fin K) Real n) (arm : Fin K) : finiteHistoryPullCountENNReal n h arm = ∑ t, if adversarialHistoryActions n h t = arm then (1 : ENNReal) else 0
theorem BanditRLProof.LowerBounds.adversarialHistoryActions_pullCountReal Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialHistoryActions_pullCountReal

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

theorem adversarialHistoryActions_pullCountReal {K : Nat} (n : Nat) (h : History.FinitePairHistory (Fin K) Real n) (arm : Fin K) : finiteHistoryPullCountReal n h arm = ∑ t, if adversarialHistoryActions n h t = arm then (1 : Real) else 0
theorem BanditRLProof.LowerBounds.adversarialHistory_randomRegret_ge_quarter Compiled

Eq. (17.8) on the same history coordinates as the joint good event.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialHistory_randomRegret_ge_quarter

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

theorem adversarialHistory_randomRegret_ge_quarter {m : Nat} (n : Nat) (eta : Fin (n + 1) -> Real) (gap : Real) (hg : 0 <= gap) (i : Fin (m + 1)) (h : History.FinitePairHistory (Fin (m + 1)) Real n) (hp : finiteHistoryPullCountReal n h i <= ((n + 1 : Nat) : Real) / 2) (hc : adversarialFullBoundaryCount eta gap i <= ((n + 1 : Nat) : Real) / 4) : gap * (((n + 1 : Nat) : Real) / 4) <= adversarialRandomRegret (adversarialFullClippedReward eta gap i) (adversarialHistoryActions n h)
theorem BanditRLProof.LowerBounds.adversarialNoiseHistoryJoint_randomRegret_tail Compiled

Random-regret tail on the coupled hard matrix, before final constant calibration.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialNoiseHistoryJoint_randomRegret_tail

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

theorem adversarialNoiseHistoryJoint_randomRegret_tail {m : Nat} (hm : 0 < m) (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (n : Nat) (delta : Real) (hd : 0 < delta) (hd8 : delta < 1 / 8) (hg8 : adversarialClaim17_6Gap (n + 1) m (1 / 10) delta < 1 / 8) (horizon_condition : 32 * Real.log (1 / delta) <= ((n + 1 : Nat) : Real)) : ∃ i : Fin (m + 1), delta <= (adversarialNoiseHistoryJoint (horizon := n + 1) algorithm (1 / 10) (adversarialClaim17_6Gap (n + 1) m (1 / 10) delta) i n).real {p | adversarialClaim17_6Gap (n + 1) m (1 / 10) delta * (((n + 1 : Nat) : Real) / 4) <= adversarialRandomRegret (adversarialFullClippedReward p.1 (adversarialClaim17_6Gap (n + 1) m (1 / 10) delta) i) (adversarialHistoryActions n p.2)}
theorem BanditRLProof.LowerBounds.exists_kernel_section_mass_ge Compiled

First-moment extraction for a measurable kernel event. Mathlib candidate.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.exists_kernel_section_mass_ge

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

theorem exists_kernel_section_mass_ge {X Y : Type*} [MeasurableSpace X] [MeasurableSpace Y] (μ : Measure X) [IsProbabilityMeasure μ] (κ : Kernel X Y) [IsMarkovKernel κ] (E : Set (X × Y)) (hE : MeasurableSet E) (delta : Real) (hd : delta <= (μ ⊗ₘ κ).real E) : ∃ x, delta <= (κ x).real (Prod.mk x ⁻¹' E)
theorem BanditRLProof.LowerBounds.measurable_adversarialRandomRegret Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.measurable_adversarialRandomRegret

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

theorem measurable_adversarialRandomRegret {horizon m : Nat} (actions : Fin horizon -> Fin (m + 1)) : Measurable (fun reward : Fin horizon -> Fin (m + 1) -> Real => adversarialRandomRegret reward actions)
theorem BanditRLProof.LowerBounds.measurable_adversarialJointRandomRegret Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.measurable_adversarialJointRandomRegret

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

theorem measurable_adversarialJointRandomRegret {m : Nat} (n : Nat) (gap : Real) (i : Fin (m + 1)) : Measurable (fun p : (Fin (n + 1) -> Real) × History.FinitePairHistory (Fin (m + 1)) Real n => adversarialRandomRegret (adversarialFullClippedReward p.1 gap i) (adversarialHistoryActions n p.2))
theorem BanditRLProof.LowerBounds.exists_adversarialTable_randomRegret_tail Compiled

A deterministic bounded reward table realizes the uncalibrated random-regret tail.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.exists_adversarialTable_randomRegret_tail

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

theorem exists_adversarialTable_randomRegret_tail {m : Nat} (hm : 0 < m) (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (n : Nat) (delta : Real) (hd : 0 < delta) (hd8 : delta < 1 / 8) (hg8 : adversarialClaim17_6Gap (n + 1) m (1 / 10) delta < 1 / 8) (horizon_condition : 32 * Real.log (1 / delta) <= ((n + 1 : Nat) : Real)) : ∃ table : AdversarialRewardTable (m + 1), (∀ t arm, table t arm ∈ Set.Icc (0 : Real) 1) ∧ delta <= (adversarialTableHistoryKernel algorithm n table).real {h | adversarialClaim17_6Gap (n + 1) m (1 / 10) delta * (((n + 1 : Nat) : Real) / 4) <= adversarialRandomRegret (fun t : Fin (n + 1) => table t.val) (adversarialHistoryActions n h)}
theorem BanditRLProof.LowerBounds.adversarialConfidence_log_calibration Compiled

Explicit logarithmic comparison on the corrected confidence domain.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialConfidence_log_calibration

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

theorem adversarialConfidence_log_calibration (delta : Real) (hd : 0 < delta) (hd32 : delta <= 1 / 32) : 0 < Real.log (1 / (2 * delta)) ∧ Real.log (1 / (2 * delta)) / 2 <= Real.log (1 / (8 * delta)) ∧ Real.log (1 / delta) <= 2 * Real.log (1 / (2 * delta)) ∧ Real.log (1 / (8 * delta)) <= Real.log (1 / (2 * delta))
theorem BanditRLProof.LowerBounds.adversarialClaim17_6Gap_tenth_sq Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialClaim17_6Gap_tenth_sq

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

theorem adversarialClaim17_6Gap_tenth_sq {N m : Nat} (hN : 0 < N) (hm : 0 < m) (delta : Real) (hd : 0 < delta) (hd8 : delta < 1 / 8) : (adversarialClaim17_6Gap N m (1 / 10) delta) ^ 2 = (m : Real) * Real.log (1 / (8 * delta)) / (200 * N)
theorem BanditRLProof.LowerBounds.adversarialHorizon_calibration Compiled

The source clipping and gap conditions follow from a source-form horizon bound.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialHorizon_calibration

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

theorem adversarialHorizon_calibration {N m : Nat} (hN : 0 < N) (hm : 0 < m) (delta : Real) (hd : 0 < delta) (hd32 : delta <= 1 / 32) (horizon : 64 * ((m + 1 : Nat) : Real) * Real.log (1 / (2 * delta)) <= N) : adversarialClaim17_6Gap N m (1 / 10) delta < 1 / 8 ∧ 32 * Real.log (1 / delta) <= N
theorem BanditRLProof.LowerBounds.adversarialThreshold_calibration Compiled

Strict slack converts the construction's non-strict event to a CDF-complement event.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialThreshold_calibration

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

theorem adversarialThreshold_calibration {N m : Nat} (hN : 0 < N) (hm : 0 < m) (delta : Real) (hd : 0 < delta) (hd32 : delta <= 1 / 32) : adversarialHighProbabilityThreshold N (m + 1) (1 / 160) delta < adversarialClaim17_6Gap N m (1 / 10) delta * ((N : Real) / 4)
theorem BanditRLProof.LowerBounds.exists_adversarialTable_randomRegret_gt_theorem17_4 Compiled

*Corrected Theorem 17.4.** Explicit constants and confidence domain; the event is strict random regret, for a deterministic bounded reward table.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.exists_adversarialTable_randomRegret_gt_theorem17_4

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

theorem exists_adversarialTable_randomRegret_gt_theorem17_4 {m : Nat} (hm : 0 < m) (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (n : Nat) (delta : Real) (hd : 0 < delta) (hd32 : delta <= 1 / 32) (horizon : 64 * ((m + 1 : Nat) : Real) * Real.log (1 / (2 * delta)) <= ((n + 1 : Nat) : Real)) : ∃ table : AdversarialRewardTable (m + 1), (∀ t arm, table t arm ∈ Set.Icc (0 : Real) 1) ∧ delta <= (adversarialTableHistoryKernel algorithm n table).real {h | adversarialHighProbabilityThreshold (n + 1) (m + 1) (1 / 160) delta < adversarialRandomRegret (fun t : Fin (n + 1) => table t.val) (adversarialHistoryActions n h)}
def BanditRLProof.LowerBounds.adversarialTableRandomRegret Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialTableRandomRegret

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

def adversarialTableRandomRegret {m : Nat} (table : AdversarialRewardTable (m + 1)) (n : Nat) (h : History.FinitePairHistory (Fin (m + 1)) Real n) : Real
def BanditRLProof.LowerBounds.adversarialTableExpectedRegret Compiled

Deterministic expectation, separate from the pathwise random-regret variable.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialTableExpectedRegret

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

noncomputable def adversarialTableExpectedRegret {m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (table : AdversarialRewardTable (m + 1)) (n : Nat) : Real
def BanditRLProof.LowerBounds.adversarialTableCDF Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialTableCDF

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

noncomputable def adversarialTableCDF {m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (table : AdversarialRewardTable (m + 1)) (n : Nat) (u : Real) : Real
theorem BanditRLProof.LowerBounds.measurable_adversarialTableRandomRegret Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.measurable_adversarialTableRandomRegret

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

theorem measurable_adversarialTableRandomRegret {m : Nat} (table : AdversarialRewardTable (m + 1)) (n : Nat) : Measurable (adversarialTableRandomRegret table n)
theorem BanditRLProof.LowerBounds.integrable_adversarialTableRandomRegret Compiled

A fixed finite reward table has only finitely many possible action-path regrets, so its expectation is a genuine integrable random variable.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 17: High-Probability Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.integrable_adversarialTableRandomRegret

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

theorem integrable_adversarialTableRandomRegret {m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (table : AdversarialRewardTable (m + 1)) (n : Nat) : Integrable (adversarialTableRandomRegret table n) (adversarialTableHistoryKernel algorithm n table)
theorem BanditRLProof.LowerBounds.adversarialTable_strictTail_eq_one_sub_CDF Compiled

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

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialTable_strictTail_eq_one_sub_CDF

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

theorem adversarialTable_strictTail_eq_one_sub_CDF {m : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (table : AdversarialRewardTable (m + 1)) (n : Nat) (u : Real) : (adversarialTableHistoryKernel algorithm n table).real {h | u < adversarialTableRandomRegret table n h} = 1 - adversarialTableCDF algorithm table n u
theorem BanditRLProof.LowerBounds.adversarialRandomRegret_ge_theorem17_4 Compiled

Corrected Theorem 17.4 in the source's CDF-complement notation.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 17: High-Probability Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.adversarialRandomRegret_ge_theorem17_4

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

theorem adversarialRandomRegret_ge_theorem17_4 {m : Nat} (hm : 0 < m) (algorithm : Thompson.HistoryAlgorithm (Fin (m + 1)) Real) (n : Nat) (delta : Real) (hd : 0 < delta) (hd32 : delta <= 1 / 32) (horizon : 64 * ((m + 1 : Nat) : Real) * Real.log (1 / (2 * delta)) <= ((n + 1 : Nat) : Real)) : ∃ table : AdversarialRewardTable (m + 1), (∀ t arm, table t arm ∈ Set.Icc (0 : Real) 1) ∧ delta <= 1 - adversarialTableCDF algorithm table n (adversarialHighProbabilityThreshold (n + 1) (m + 1) (1 / 160) delta)