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.InstanceDependent

This file starts the source-faithful Chapter 16 spine for Lattimore--Szepesvári, Bandit Algorithms* (2020). The compiled surface freezes the exact subpolynomial consistency quantifier, the distribution-class d_inf definition, the exact unit-Gaussian row of Table 16.1, the one-arm change-of-measure/event-information layer built on the compiled Chapter 15 history-KL identity, and the canonical gap-times-pull-count event-to-regret producers. It also isolates the elementary asymptotic and scalar logarithmic steps used by the source proof.

Module map

Declarations
90
Placeholders
0

Imports

BanditRLProof.LowerBounds.Minimax, BanditRLProof.LowerBounds.BanditHistoryKL, BanditRLProof.LowerBounds.GaussianMinimax

Imported by

BanditRLProof, BanditRLProof.Algorithms.MOSSHistoryRegret, BanditRLProof.LowerBounds.HighProbability

Declarations

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

def BanditRLProof.LowerBounds.IsConsistentRegret Compiled

The exact scalar asymptotic quantifier in Definition 16.1: a nonnegative regret sequence is smaller than every positive polynomial order. Regret nonnegativity is kept outside this analytic predicate so callers must expose the model-specific fact explicitly.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.IsConsistentRegret

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

def IsConsistentRegret (regret : Nat -> Real) : Prop
def BanditRLProof.LowerBounds.IsConsistentPolicyOver Compiled

Definition 16.1 over an abstract policy/environment regret interface. This preserves the source quantifier order: one policy, every environment in the class, and every positive real exponent.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.IsConsistentPolicyOver

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

def IsConsistentPolicyOver {Policy Environment : Type*} (environmentClass : Set Environment) (regret : Policy -> Environment -> Nat -> Real) (policy : Policy) : Prop
structure BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment Compiled

A finite-armed product environment whose arm laws have certified finite means. The `mean` field is intentionally tied to the Bochner integral rather than treated as an unrelated parameter: this is the source-level bridge used when an unchanged arm law must imply an unchanged arm mean.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment

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

structure FiniteMeanBanditEnvironment (K : Nat) where
def BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.gap Compiled

The source gap `Delta_i(nu) = muStar(nu) - mu_i(nu)`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.gap

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

def FiniteMeanBanditEnvironment.gap {K : Nat} (environment : FiniteMeanBanditEnvironment K) (arm : Fin K) : Real
theorem BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.gap_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.FiniteMeanBanditEnvironment.gap_nonneg

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

theorem FiniteMeanBanditEnvironment.gap_nonneg {K : Nat} (environment : FiniteMeanBanditEnvironment K) (arm : Fin K) : 0 <= environment.gap arm
theorem BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.gap_bestArm 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.FiniteMeanBanditEnvironment.gap_bestArm

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

theorem FiniteMeanBanditEnvironment.gap_bestArm {K : Nat} (environment : FiniteMeanBanditEnvironment K) : environment.gap environment.bestArm = 0
def BanditRLProof.LowerBounds.oneArmMeanIncrease Compiled

The mean increase `lambda` of the single changed arm in Lemma 16.3.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.oneArmMeanIncrease

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

def oneArmMeanIncrease {K : Nat} (original reference : FiniteMeanBanditEnvironment K) (changedArm : Fin K) : Real
def BanditRLProof.LowerBounds.oneArmChangedMargin Compiled

The changed environment's advantage over the original optimal mean, `lambda - Delta_i(nu)`, in the exact second branch of Lemma 16.3's minimum.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.oneArmChangedMargin

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

def oneArmChangedMargin {K : Nat} (original reference : FiniteMeanBanditEnvironment K) (changedArm : Fin K) : Real
theorem BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.mean_eq_of_armLaw_eq Compiled

Equal arm laws have equal certified finite means.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.mean_eq_of_armLaw_eq

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

theorem FiniteMeanBanditEnvironment.mean_eq_of_armLaw_eq {K : Nat} (first second : FiniteMeanBanditEnvironment K) (arm : Fin K) (hlaw : first.armLaw arm = second.armLaw arm) : first.mean arm = second.mean arm
def BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.InUnstructuredClass Compiled

The unstructured product class in Theorem 16.2: each arm law belongs to its specified component class. Finite means are certified by the environment.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.InUnstructuredClass

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

def FiniteMeanBanditEnvironment.InUnstructuredClass {K : Nat} (environment : FiniteMeanBanditEnvironment K) (componentClass : Fin K → Set (Measure Real)) : Prop
def BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.withImprovedArm Compiled

Replace one arm by a finite-mean probability law whose mean exceeds the old optimum. This constructs the source alternative environment explicitly.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.withImprovedArm

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

def FiniteMeanBanditEnvironment.withImprovedArm {K : Nat} (environment : FiniteMeanBanditEnvironment K) (changedArm : Fin K) (alternative : Measure Real) [IsProbabilityMeasure alternative] (hintegrable : Integrable id alternative) (hbetter : environment.mean environment.bestArm < ∫ x, x ∂alternative) : FiniteMeanBanditEnvironment K where
theorem BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.withImprovedArm_law 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.FiniteMeanBanditEnvironment.withImprovedArm_law

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

theorem FiniteMeanBanditEnvironment.withImprovedArm_law {K : Nat} (environment : FiniteMeanBanditEnvironment K) (changedArm : Fin K) (alternative : Measure Real) [IsProbabilityMeasure alternative] (hi : Integrable id alternative) (hb : environment.mean environment.bestArm < ∫ x, x ∂alternative) (arm : Fin K) : (environment.withImprovedArm changedArm alternative hi hb).armLaw arm = if arm = changedArm then alternative else environment.armLaw arm
theorem BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.withImprovedArm_unique Compiled

The replacement arm is uniquely optimal, as required by Lemma 16.3.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.withImprovedArm_unique

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

theorem FiniteMeanBanditEnvironment.withImprovedArm_unique {K : Nat} (environment : FiniteMeanBanditEnvironment K) (changedArm : Fin K) (alternative : Measure Real) [IsProbabilityMeasure alternative] (hi : Integrable id alternative) (hb : environment.mean environment.bestArm < ∫ x, x ∂alternative) (arm : Fin K) (hne : arm ≠ changedArm) : (environment.withImprovedArm changedArm alternative hi hb).mean arm < (environment.withImprovedArm changedArm alternative hi hb).mean changedArm
theorem BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.withImprovedArm_mem Compiled

Unstructured classes permit exactly the single-component replacement used by the source change-of-measure argument.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.withImprovedArm_mem

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

theorem FiniteMeanBanditEnvironment.withImprovedArm_mem {K : Nat} (environment : FiniteMeanBanditEnvironment K) (componentClass : Fin K → Set (Measure Real)) (hclass : environment.InUnstructuredClass componentClass) (changedArm : Fin K) (alternative : Measure Real) [IsProbabilityMeasure alternative] (hi : Integrable id alternative) (hb : environment.mean environment.bestArm < ∫ x, x ∂alternative) (halt : alternative ∈ componentClass changedArm) : (environment.withImprovedArm changedArm alternative hi hb).InUnstructuredClass componentClass
theorem BanditRLProof.LowerBounds.oneArmMeanIncrease_sub_gap_eq_changedMargin Compiled

The source identity behind Lemma 16.3: `lambda - Delta_i(nu) = mu_i(nu') - muStar(nu)`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.oneArmMeanIncrease_sub_gap_eq_changedMargin

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

theorem oneArmMeanIncrease_sub_gap_eq_changedMargin {K : Nat} (original reference : FiniteMeanBanditEnvironment K) (changedArm : Fin K) : oneArmMeanIncrease original reference changedArm - original.gap changedArm = oneArmChangedMargin original reference changedArm
theorem BanditRLProof.LowerBounds.oneArmMeanChange_produces_gap_contract Compiled

Source mean-to-gap producer for a one-arm change. If the changed arm is suboptimal originally, uniquely optimal after the change, and every other arm law is unchanged, then it produces all sign and comparison obligations needed by the exact majority-event consumer for Lemma 16.3.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.oneArmMeanChange_produces_gap_contract

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

theorem oneArmMeanChange_produces_gap_contract {K : Nat} (original reference : FiniteMeanBanditEnvironment K) (changedArm : Fin K) (hsuboptimal : original.mean changedArm < original.mean original.bestArm) (hunique : forall arm, arm ≠ changedArm -> reference.mean arm < reference.mean changedArm) (hsame : forall arm, arm ≠ changedArm -> original.armLaw arm = reference.armLaw arm) : 0 < original.gap changedArm /\ 0 < oneArmChangedMargin original reference changedArm /\ (forall arm, arm ≠ changedArm -> oneArmChangedMargin original reference changedArm <= reference.gap arm)
structure BanditRLProof.LowerBounds.UnitVarianceGaussianBanditEnvironment Compiled

An unrestricted finite vector of unit-variance Gaussian means, together with a certified optimal arm. Unlike the Chapter 15 minimax cube, Chapter 16 uses all mean vectors in `Real^k`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.UnitVarianceGaussianBanditEnvironment

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

structure UnitVarianceGaussianBanditEnvironment (K : Nat) where
def BanditRLProof.LowerBounds.UnitVarianceGaussianBanditEnvironment.gap 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.UnitVarianceGaussianBanditEnvironment.gap

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

def UnitVarianceGaussianBanditEnvironment.gap {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) (arm : Fin K) : Real
theorem BanditRLProof.LowerBounds.UnitVarianceGaussianBanditEnvironment.gap_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.UnitVarianceGaussianBanditEnvironment.gap_nonneg

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

theorem UnitVarianceGaussianBanditEnvironment.gap_nonneg {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) (arm : Fin K) : 0 <= environment.gap arm
def BanditRLProof.LowerBounds.UnitVarianceGaussianBanditEnvironment.toFiniteMean Compiled

The finite-mean product environment induced by arbitrary unit-variance Gaussian arms.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.UnitVarianceGaussianBanditEnvironment.toFiniteMean

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

noncomputable def UnitVarianceGaussianBanditEnvironment.toFiniteMean {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) : FiniteMeanBanditEnvironment K where
theorem BanditRLProof.LowerBounds.UnitVarianceGaussianBanditEnvironment.toFiniteMean_mean 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.UnitVarianceGaussianBanditEnvironment.toFiniteMean_mean

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

theorem UnitVarianceGaussianBanditEnvironment.toFiniteMean_mean {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) : environment.toFiniteMean.mean = environment.mean
theorem BanditRLProof.LowerBounds.UnitVarianceGaussianBanditEnvironment.toFiniteMean_gap 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.UnitVarianceGaussianBanditEnvironment.toFiniteMean_gap

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

theorem UnitVarianceGaussianBanditEnvironment.toFiniteMean_gap {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) : environment.toFiniteMean.gap = environment.gap
def BanditRLProof.LowerBounds.chapter16GaussianChangedMean Compiled

Mean vector obtained by increasing exactly one Gaussian arm by `(1 + epsilon) Delta_i`, as in the proof of Theorem 16.4.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.chapter16GaussianChangedMean

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

def chapter16GaussianChangedMean {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) (changedArm : Fin K) (epsilon : Real) (arm : Fin K) : Real
theorem BanditRLProof.LowerBounds.chapter16GaussianChangedMean_changed 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.chapter16GaussianChangedMean_changed

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

theorem chapter16GaussianChangedMean_changed {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) (changedArm : Fin K) (epsilon : Real) : chapter16GaussianChangedMean environment changedArm epsilon changedArm = environment.mean changedArm + (1 + epsilon) * environment.gap changedArm
theorem BanditRLProof.LowerBounds.chapter16GaussianChangedMean_other 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.chapter16GaussianChangedMean_other

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

theorem chapter16GaussianChangedMean_other {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) (changedArm : Fin K) (epsilon : Real) (arm : Fin K) (harm : arm ≠ changedArm) : chapter16GaussianChangedMean environment changedArm epsilon arm = environment.mean arm
theorem BanditRLProof.LowerBounds.chapter16GaussianChangedMean_uniqueBest Compiled

The shifted Gaussian arm is uniquely optimal whenever its original gap and `epsilon` are positive.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.chapter16GaussianChangedMean_uniqueBest

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

theorem chapter16GaussianChangedMean_uniqueBest {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) (changedArm : Fin K) (epsilon : Real) (hgap : 0 < environment.gap changedArm) (hepsilon : 0 < epsilon) : forall arm, arm ≠ changedArm -> chapter16GaussianChangedMean environment changedArm epsilon arm < chapter16GaussianChangedMean environment changedArm epsilon changedArm
def BanditRLProof.LowerBounds.chapter16GaussianChangedEnvironment Compiled

The shifted mean vector, certified with the changed arm as an optimum.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.chapter16GaussianChangedEnvironment

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

noncomputable def chapter16GaussianChangedEnvironment {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) (changedArm : Fin K) (epsilon : Real) (hgap : 0 < environment.gap changedArm) (hepsilon : 0 < epsilon) : UnitVarianceGaussianBanditEnvironment K where
theorem BanditRLProof.LowerBounds.chapter16GaussianChangedMean_mem_localBox Compiled

The Gaussian shift stays in the source box `[mu_j, mu_j + 2 Delta_j]` when `epsilon <= 1`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.chapter16GaussianChangedMean_mem_localBox

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

theorem chapter16GaussianChangedMean_mem_localBox {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) (changedArm : Fin K) (epsilon : Real) (hgap : 0 < environment.gap changedArm) (hepsilon : 0 < epsilon) (hepsilon_one : epsilon <= 1) : forall arm, chapter16GaussianChangedMean environment changedArm epsilon arm ∈ Set.Icc (environment.mean arm) (environment.mean arm + 2 * environment.gap arm)
theorem BanditRLProof.LowerBounds.chapter16GaussianChangedEnvironment_uniqueBest 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.chapter16GaussianChangedEnvironment_uniqueBest

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

theorem chapter16GaussianChangedEnvironment_uniqueBest {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) (changedArm : Fin K) (epsilon : Real) (hgap : 0 < environment.gap changedArm) (hepsilon : 0 < epsilon) : forall arm, arm ≠ changedArm -> (chapter16GaussianChangedEnvironment environment changedArm epsilon hgap hepsilon).mean arm < (chapter16GaussianChangedEnvironment environment changedArm epsilon hgap hepsilon).mean changedArm
theorem BanditRLProof.LowerBounds.chapter16GaussianChangedEnvironment_sameArmLaw 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.chapter16GaussianChangedEnvironment_sameArmLaw

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

theorem chapter16GaussianChangedEnvironment_sameArmLaw {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) (changedArm : Fin K) (epsilon : Real) (hgap : 0 < environment.gap changedArm) (hepsilon : 0 < epsilon) : forall arm, arm ≠ changedArm -> environment.toFiniteMean.armLaw arm = (chapter16GaussianChangedEnvironment environment changedArm epsilon hgap hepsilon).toFiniteMean.armLaw arm
theorem BanditRLProof.LowerBounds.chapter16GaussianChangedEnvironment_meanIncrease 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.chapter16GaussianChangedEnvironment_meanIncrease

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

theorem chapter16GaussianChangedEnvironment_meanIncrease {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) (changedArm : Fin K) (epsilon : Real) (hgap : 0 < environment.gap changedArm) (hepsilon : 0 < epsilon) : oneArmMeanIncrease environment.toFiniteMean (chapter16GaussianChangedEnvironment environment changedArm epsilon hgap hepsilon).toFiniteMean changedArm = (1 + epsilon) * environment.gap changedArm
theorem BanditRLProof.LowerBounds.chapter16GaussianChangedEnvironment_changedMargin 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.chapter16GaussianChangedEnvironment_changedMargin

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

theorem chapter16GaussianChangedEnvironment_changedMargin {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) (changedArm : Fin K) (epsilon : Real) (hgap : 0 < environment.gap changedArm) (hepsilon : 0 < epsilon) : oneArmChangedMargin environment.toFiniteMean (chapter16GaussianChangedEnvironment environment changedArm epsilon hgap hepsilon).toFiniteMean changedArm = epsilon * environment.gap changedArm
theorem BanditRLProof.LowerBounds.chapter16GaussianChangedEnvironment_armKL 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.chapter16GaussianChangedEnvironment_armKL

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

theorem chapter16GaussianChangedEnvironment_armKL {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) (changedArm : Fin K) (epsilon : Real) (hgap : 0 < environment.gap changedArm) (hepsilon : 0 < epsilon) : InformationTheory.klDiv (environment.toFiniteMean.armLaw changedArm) ((chapter16GaussianChangedEnvironment environment changedArm epsilon hgap hepsilon).toFiniteMean.armLaw changedArm) = ENNReal.ofReal (((1 + epsilon) * environment.gap changedArm) ^ 2 / 2)
theorem BanditRLProof.LowerBounds.chapter16GaussianChangedEnvironment_armKL_toReal 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.chapter16GaussianChangedEnvironment_armKL_toReal

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

theorem chapter16GaussianChangedEnvironment_armKL_toReal {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) (changedArm : Fin K) (epsilon : Real) (hgap : 0 < environment.gap changedArm) (hepsilon : 0 < epsilon) : (InformationTheory.klDiv (environment.toFiniteMean.armLaw changedArm) ((chapter16GaussianChangedEnvironment environment changedArm epsilon hgap hepsilon).toFiniteMean.armLaw changedArm)).toReal = ((1 + epsilon) * environment.gap changedArm) ^ 2 / 2
def BanditRLProof.LowerBounds.InChapter16GaussianLocalClass Compiled

Membership in the local Gaussian class `E(nu)` of Theorem 16.4.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.InChapter16GaussianLocalClass

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

def InChapter16GaussianLocalClass {K : Nat} (base candidate : UnitVarianceGaussianBanditEnvironment K) : Prop
theorem BanditRLProof.LowerBounds.inChapter16GaussianLocalClass_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.inChapter16GaussianLocalClass_self

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

theorem inChapter16GaussianLocalClass_self {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) : InChapter16GaussianLocalClass environment environment
theorem BanditRLProof.LowerBounds.inChapter16GaussianLocalClass_changed 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.inChapter16GaussianLocalClass_changed

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

theorem inChapter16GaussianLocalClass_changed {K : Nat} (environment : UnitVarianceGaussianBanditEnvironment K) (changedArm : Fin K) (epsilon : Real) (hgap : 0 < environment.gap changedArm) (hepsilon : 0 < epsilon) (hepsilon_one : epsilon <= 1) : InChapter16GaussianLocalClass environment (chapter16GaussianChangedEnvironment environment changedArm epsilon hgap hepsilon)
theorem BanditRLProof.LowerBounds.IsConsistentRegret.add Compiled

The sum of two source-consistent regret sequences is still consistent. This is the closure step used for `R_n(nu) + R_n(nu')` in the proof of Theorem 16.2.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.IsConsistentRegret.add

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

theorem IsConsistentRegret.add {first second : Nat -> Real} (hfirst : IsConsistentRegret first) (hsecond : IsConsistentRegret second) : IsConsistentRegret (fun n => first n + second n)
theorem BanditRLProof.LowerBounds.IsConsistentRegret.eventually_add_le_rpow Compiled

Two consistent regret sequences are eventually at most `n^p` for every positive exponent `p`. This is a stronger eventual form of the source's auxiliary `C_p n^p` bound and avoids introducing an opaque constant.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.IsConsistentRegret.eventually_add_le_rpow

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

theorem IsConsistentRegret.eventually_add_le_rpow {first second : Nat -> Real} (hfirst : IsConsistentRegret first) (hsecond : IsConsistentRegret second) {p : Real} (hp : 0 < p) : ∀ᶠ n : Nat in atTop, first n + second n <= (n : Real) ^ p
theorem BanditRLProof.LowerBounds.IsConsistentRegret.eventually_log_add_div_log_le Compiled

Eventually, the logarithmic growth ratio of a positive sum of two consistent regrets is at most every positive exponent. This is the direction-correct analytic leaf used before the source takes a limsup.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.IsConsistentRegret.eventually_log_add_div_log_le

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

theorem IsConsistentRegret.eventually_log_add_div_log_le {first second : Nat -> Real} (hfirst : IsConsistentRegret first) (hsecond : IsConsistentRegret second) (hpositive : ∀ᶠ n : Nat in atTop, 0 < first n + second n) {p : Real} (hp : 0 < p) : ∀ᶠ n : Nat in atTop, Real.log (first n + second n) / Real.log n <= p
theorem BanditRLProof.LowerBounds.IsConsistentRegret.eventually_pull_div_log_ge Compiled

Consistency extracts every strict reciprocal-information lower bound from the source logarithmic inequality. This eventual form does not assume that the normalized pull counts converge.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.IsConsistentRegret.eventually_pull_div_log_ge

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

theorem IsConsistentRegret.eventually_pull_div_log_ge {first second pulls : Nat → Real} {c d r : Real} (hfirst : IsConsistentRegret first) (hsecond : IsConsistentRegret second) (hpositive : ∀ᶠ n in atTop, 0 < first n + second n) (hd : 0 < d) (hr : r < 1 / d) (hsource : ∀ᶠ n : Nat in atTop, (c + Real.log n - Real.log (first n + second n)) / d ≤ pulls n) : ∀ᶠ n in atTop, r ≤ pulls n / Real.log n
theorem BanditRLProof.LowerBounds.IsConsistentRegret.liminf_pull_div_log_ge Compiled

The finite-positive information branch in extended-real liminf form. The conclusion allows infinite normalized pull growth.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.IsConsistentRegret.liminf_pull_div_log_ge

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

theorem IsConsistentRegret.liminf_pull_div_log_ge {first second pulls : Nat → Real} {c d : Real} (hfirst : IsConsistentRegret first) (hsecond : IsConsistentRegret second) (hpositive : ∀ᶠ n in atTop, 0 < first n + second n) (hd : 0 < d) (hsource : ∀ᶠ n : Nat in atTop, (c + Real.log n - Real.log (first n + second n)) / d ≤ pulls n) : ENNReal.ofReal (1 / d) ≤ liminf (fun n : Nat => ENNReal.ofReal (pulls n / Real.log n)) atTop
def BanditRLProof.LowerBounds.divergenceInfimum Compiled

The source quantity `d_inf(P, muStar, M) = inf {D(P,P') : P' in M, mean(P') > muStar}`. The value is extended-real, so an empty alternative set has infimum `∞` and support failures remain visible.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.divergenceInfimum

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

def divergenceInfimum {Reward : Type*} [MeasurableSpace Reward] (P : Measure Reward) (muStar : Real) (distributionClass : Set (Measure Reward)) (mean : Measure Reward -> Real) : ENNReal
theorem BanditRLProof.LowerBounds.divergenceInfimum_le Compiled

Any admissible confusing alternative upper-bounds `d_inf`, with KL in the source direction from the original law to the alternative law.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.divergenceInfimum_le

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

theorem divergenceInfimum_le {Reward : Type*} [MeasurableSpace Reward] {P P' : Measure Reward} {muStar : Real} {distributionClass : Set (Measure Reward)} {mean : Measure Reward -> Real} (hclass : P' ∈ distributionClass) (hbetter : muStar < mean P') : divergenceInfimum P muStar distributionClass mean <= relativeEntropy P P'
theorem BanditRLProof.LowerBounds.divergenceInfimum_exists_alternative_lt Compiled

Every strict upper bound on `d_inf` admits a confusing alternative below that bound. No minimizer or finite positive infimum is assumed.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.divergenceInfimum_exists_alternative_lt

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

theorem divergenceInfimum_exists_alternative_lt {Reward : Type*} [MeasurableSpace Reward] {P : Measure Reward} {muStar : Real} {distributionClass : Set (Measure Reward)} {mean : Measure Reward -> Real} {bound : ENNReal} (hbound : divergenceInfimum P muStar distributionClass mean < bound) : ∃ P', P' ∈ distributionClass ∧ muStar < mean P' ∧ relativeEntropy P P' < bound
theorem BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.exists_confusingEnvironment_lt Compiled

Lift a near-infimum arm law to an admissible product environment. The component classes consist of finite-mean probability laws, exactly as in Theorem 16.2; the information cost stays in `ENNReal`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.FiniteMeanBanditEnvironment.exists_confusingEnvironment_lt

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

theorem FiniteMeanBanditEnvironment.exists_confusingEnvironment_lt {K : Nat} (environment : FiniteMeanBanditEnvironment K) (componentClass : Fin K → Set (Measure Real)) (hclass : environment.InUnstructuredClass componentClass) (hfinite : ∀ arm P, P ∈ componentClass arm → IsProbabilityMeasure P ∧ Integrable id P) (changedArm : Fin K) {bound : ENNReal} (hbound : divergenceInfimum (environment.armLaw changedArm) (environment.mean environment.bestArm) (componentClass changedArm) (fun P => ∫ x, x ∂P) < bound) : ∃ reference : FiniteMeanBanditEnvironment K, reference.InUnstructuredClass componentClass ∧ (∀ arm, arm ≠ changedArm → environment.armLaw arm = reference.armLaw arm) ∧ (∀ arm, arm ≠ changedArm → reference.mean arm < reference.mean changedArm) ∧ relativeEntropy (environment.armLaw changedArm) (reference.armLaw changedArm) < bound
theorem BanditRLProof.LowerBounds.divergenceInfimum_eq_top_iff Compiled

The infinite branch includes both an empty alternative class and classes whose every confusing alternative has infinite directed KL.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.divergenceInfimum_eq_top_iff

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

theorem divergenceInfimum_eq_top_iff {Reward : Type*} [MeasurableSpace Reward] {P : Measure Reward} {muStar : Real} {distributionClass : Set (Measure Reward)} {mean : Measure Reward -> Real} : divergenceInfimum P muStar distributionClass mean = ⊤ ↔ ∀ P', P' ∈ distributionClass → muStar < mean P' → relativeEntropy P P' = ⊤
def BanditRLProof.LowerBounds.parametricDivergenceInfimum Compiled

Parameterized form of `d_inf`, useful when a distribution class is presented by a family of laws rather than an injective set-level mean map.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.parametricDivergenceInfimum

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

def parametricDivergenceInfimum {Reward Parameter : Type*} [MeasurableSpace Reward] (law : Parameter -> Measure Reward) (mean : Parameter -> Real) (parameter : Parameter) (muStar : Real) : ENNReal
theorem BanditRLProof.LowerBounds.parametricDivergenceInfimum_le Compiled

Candidate inequality for the parameterized `d_inf` surface.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.parametricDivergenceInfimum_le

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

theorem parametricDivergenceInfimum_le {Reward Parameter : Type*} [MeasurableSpace Reward] {law : Parameter -> Measure Reward} {mean : Parameter -> Real} {parameter alternative : Parameter} {muStar : Real} (hbetter : muStar < mean alternative) : parametricDivergenceInfimum law mean parameter muStar <= relativeEntropy (law parameter) (law alternative)
abbrev BanditRLProof.LowerBounds.unitGaussianDivergenceInfimum Compiled

Unit-variance Gaussian specialization of the source `d_inf`.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.unitGaussianDivergenceInfimum

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

abbrev unitGaussianDivergenceInfimum (mu muStar : Real) : ENNReal
theorem BanditRLProof.LowerBounds.unitGaussianDivergenceInfimum_le_perturbed Compiled

A Gaussian alternative with mean `muStar + epsilon` is admissible and has the exact arm-level information cost shown here. Taking `epsilon -> 0` is a separate infimum/limit leaf and is not hidden in this theorem.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.unitGaussianDivergenceInfimum_le_perturbed

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

theorem unitGaussianDivergenceInfimum_le_perturbed (mu muStar epsilon : Real) (hepsilon : 0 < epsilon) : unitGaussianDivergenceInfimum mu muStar <= ENNReal.ofReal (((muStar - mu) + epsilon) ^ 2 / 2)
theorem BanditRLProof.LowerBounds.unitGaussianDivergenceInfimum_ge Compiled

Every strictly better unit-Gaussian alternative costs at least the boundary value from Table 16.1.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.unitGaussianDivergenceInfimum_ge

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

theorem unitGaussianDivergenceInfimum_ge (mu muStar : Real) (hmu : mu < muStar) : ENNReal.ofReal ((muStar - mu) ^ 2 / 2) <= unitGaussianDivergenceInfimum mu muStar
theorem BanditRLProof.LowerBounds.unitGaussianDivergenceInfimum_eq Compiled

Exact unit-variance Gaussian row of Table 16.1. The strict alternative mean means the boundary law is not itself admissible; the reverse inequality is obtained from positive perturbations tending to zero.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.unitGaussianDivergenceInfimum_eq

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

theorem unitGaussianDivergenceInfimum_eq (mu muStar : Real) (hmu : mu < muStar) : unitGaussianDivergenceInfimum mu muStar = ENNReal.ofReal ((muStar - mu) ^ 2 / 2)
theorem BanditRLProof.LowerBounds.banditHistoryRelativeEntropy_eq_expectedPulls_mul_of_only_arm_changed Compiled

Chapter 16's one-arm change-of-measure specialization of Lemma 15.1. When two stationary bandit environments differ only at `changedArm`, the directed relative entropy of their finite histories is exactly the first-environment expected number of pulls of that arm times its arm-law relative entropy. The algorithm is one common, possibly randomized, nonanticipating history policy in both environments.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.banditHistoryRelativeEntropy_eq_expectedPulls_mul_of_only_arm_changed

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

theorem banditHistoryRelativeEntropy_eq_expectedPulls_mul_of_only_arm_changed {K : Nat} {Reward : Type*} [MeasurableSpace Reward] [MeasurableSpace.CountablyGenerated Reward] (algorithm : Thompson.HistoryAlgorithm (Fin K) Reward) (armLaw referenceArmLaw : Kernel (Fin K) Reward) [IsMarkovKernel armLaw] [IsMarkovKernel referenceArmLaw] (changedArm : Fin K) (lastRound : Nat) (hsame : forall arm, arm ≠ changedArm -> armLaw arm = referenceArmLaw arm) : InformationTheory.klDiv (canonicalBanditHistoryMeasure algorithm armLaw lastRound) (canonicalBanditHistoryMeasure algorithm referenceArmLaw lastRound) = canonicalRealizedExpectedPullCountThrough algorithm armLaw lastRound changedArm * InformationTheory.klDiv (armLaw changedArm) (referenceArmLaw changedArm)
def BanditRLProof.LowerBounds.oneArmMajorityPullEvent Compiled

The source majority event `A = {T_i(n) > n/2}` in the repository's inclusive convention, where `lastRound` contains `lastRound + 1` pulls.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.oneArmMajorityPullEvent

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

def oneArmMajorityPullEvent {K : Nat} {Reward : Type*} (changedArm : Fin K) (lastRound : Nat) : Set (History.FinitePairHistory (Fin K) Reward lastRound)
theorem BanditRLProof.LowerBounds.measurableSet_oneArmMajorityPullEvent 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.measurableSet_oneArmMajorityPullEvent

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

theorem measurableSet_oneArmMajorityPullEvent {K : Nat} {Reward : Type*} [MeasurableSpace Reward] (changedArm : Fin K) (lastRound : Nat) : MeasurableSet (oneArmMajorityPullEvent (Reward := Reward) changedArm lastRound)
def BanditRLProof.LowerBounds.finiteHistoryGapPseudoRegret Compiled

Gap-times-pull-count pseudo-regret on one realized finite history. The gap vector is kept explicit so the later Chapter 16 environment layer must identify it with `muStar - mu_i`; no scalar regret hypothesis is hidden here.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.finiteHistoryGapPseudoRegret

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

noncomputable def finiteHistoryGapPseudoRegret {K : Nat} {Reward : Type*} (gap : Fin K -> Real) (lastRound : Nat) (history : History.FinitePairHistory (Fin K) Reward lastRound) : ENNReal
def BanditRLProof.LowerBounds.canonicalGapExpectedPseudoRegret Compiled

Expected gap pseudo-regret under the canonical law generated by one possibly randomized history policy and one stationary arm kernel.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.canonicalGapExpectedPseudoRegret

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

noncomputable def canonicalGapExpectedPseudoRegret {K : Nat} {Reward : Type*} [MeasurableSpace Reward] [MeasurableSpace.CountablyGenerated Reward] (algorithm : Thompson.HistoryAlgorithm (Fin K) Reward) (armLaw : Kernel (Fin K) Reward) [IsMarkovKernel armLaw] (gap : Fin K -> Real) (lastRound : Nat) : ENNReal
theorem BanditRLProof.LowerBounds.measurable_finiteHistoryGapPseudoRegret 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_finiteHistoryGapPseudoRegret

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

theorem measurable_finiteHistoryGapPseudoRegret {K : Nat} {Reward : Type*} [MeasurableSpace Reward] (gap : Fin K -> Real) (lastRound : Nat) : Measurable (finiteHistoryGapPseudoRegret (Reward := Reward) gap lastRound)
theorem BanditRLProof.LowerBounds.finiteHistoryGapPseudoRegret_ne_top 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.finiteHistoryGapPseudoRegret_ne_top

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

theorem finiteHistoryGapPseudoRegret_ne_top {K : Nat} {Reward : Type*} (gap : Fin K -> Real) (lastRound : Nat) (history : History.FinitePairHistory (Fin K) Reward lastRound) : finiteHistoryGapPseudoRegret gap lastRound history ≠ ∞
theorem BanditRLProof.LowerBounds.finiteHistoryGapPseudoRegret_toReal 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.finiteHistoryGapPseudoRegret_toReal

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

theorem finiteHistoryGapPseudoRegret_toReal {K : Nat} {Reward : Type*} (gap : Fin K -> Real) (lastRound : Nat) (history : History.FinitePairHistory (Fin K) Reward lastRound) (hgap : forall arm, 0 <= gap arm) : (finiteHistoryGapPseudoRegret gap lastRound history).toReal = ∑ arm : Fin K, gap arm * finiteHistoryPullCountReal lastRound history arm
theorem BanditRLProof.LowerBounds.sum_canonicalRealizedExpectedPullCountThrough_general Compiled

The expected realized pull counts of all arms sum to the inclusive horizon for every Markov arm kernel, not only for the Gaussian Chapter 15 instance.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.sum_canonicalRealizedExpectedPullCountThrough_general

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

theorem sum_canonicalRealizedExpectedPullCountThrough_general {K : Nat} {Reward : Type*} [MeasurableSpace Reward] [MeasurableSpace.CountablyGenerated Reward] (algorithm : Thompson.HistoryAlgorithm (Fin K) Reward) (armLaw : Kernel (Fin K) Reward) [IsMarkovKernel armLaw] (lastRound : Nat) : ∑ arm : Fin K, canonicalRealizedExpectedPullCountThrough algorithm armLaw lastRound arm = lastRound + 1
theorem BanditRLProof.LowerBounds.canonicalRealizedExpectedPullCountThrough_ne_top 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.canonicalRealizedExpectedPullCountThrough_ne_top

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

theorem canonicalRealizedExpectedPullCountThrough_ne_top {K : Nat} {Reward : Type*} [MeasurableSpace Reward] [MeasurableSpace.CountablyGenerated Reward] (algorithm : Thompson.HistoryAlgorithm (Fin K) Reward) (armLaw : Kernel (Fin K) Reward) [IsMarkovKernel armLaw] (lastRound : Nat) (arm : Fin K) : canonicalRealizedExpectedPullCountThrough algorithm armLaw lastRound arm ≠ ∞
theorem BanditRLProof.LowerBounds.canonicalGapExpectedPseudoRegret_eq_sum_expectedPulls 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 · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.canonicalGapExpectedPseudoRegret_eq_sum_expectedPulls

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

theorem canonicalGapExpectedPseudoRegret_eq_sum_expectedPulls {K : Nat} {Reward : Type*} [MeasurableSpace Reward] [MeasurableSpace.CountablyGenerated Reward] (algorithm : Thompson.HistoryAlgorithm (Fin K) Reward) (armLaw : Kernel (Fin K) Reward) [IsMarkovKernel armLaw] (gap : Fin K -> Real) (lastRound : Nat) : canonicalGapExpectedPseudoRegret algorithm armLaw gap lastRound = ∑ arm : Fin K, ENNReal.ofReal (gap arm) * canonicalRealizedExpectedPullCountThrough algorithm armLaw lastRound arm
theorem BanditRLProof.LowerBounds.canonicalGapExpectedPseudoRegret_ne_top 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.canonicalGapExpectedPseudoRegret_ne_top

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

theorem canonicalGapExpectedPseudoRegret_ne_top {K : Nat} {Reward : Type*} [MeasurableSpace Reward] [MeasurableSpace.CountablyGenerated Reward] (algorithm : Thompson.HistoryAlgorithm (Fin K) Reward) (armLaw : Kernel (Fin K) Reward) [IsMarkovKernel armLaw] (gap : Fin K -> Real) (lastRound : Nat) : canonicalGapExpectedPseudoRegret algorithm armLaw gap lastRound ≠ ∞
def BanditRLProof.LowerBounds.canonicalGapExpectedPseudoRegretReal Compiled

Real-valued presentation of the finite expected pseudo-regret. Finiteness is proved above rather than assumed by the Chapter 16 consumer.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.canonicalGapExpectedPseudoRegretReal

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

noncomputable def canonicalGapExpectedPseudoRegretReal {K : Nat} {Reward : Type*} [MeasurableSpace Reward] [MeasurableSpace.CountablyGenerated Reward] (algorithm : Thompson.HistoryAlgorithm (Fin K) Reward) (armLaw : Kernel (Fin K) Reward) [IsMarkovKernel armLaw] (gap : Fin K -> Real) (lastRound : Nat) : Real
theorem BanditRLProof.LowerBounds.canonicalGapExpectedPseudoRegretReal_eq_sum_expectedPulls Compiled

Real-valued gap-times-expected-pulls decomposition. This is the precise finite-horizon form used when Theorem 16.4 sums its per-arm lower bounds.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.canonicalGapExpectedPseudoRegretReal_eq_sum_expectedPulls

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

theorem canonicalGapExpectedPseudoRegretReal_eq_sum_expectedPulls {K : Nat} {Reward : Type*} [MeasurableSpace Reward] [MeasurableSpace.CountablyGenerated Reward] (algorithm : Thompson.HistoryAlgorithm (Fin K) Reward) (armLaw : Kernel (Fin K) Reward) [IsMarkovKernel armLaw] (gap : Fin K -> Real) (hgap : forall arm, 0 <= gap arm) (lastRound : Nat) : canonicalGapExpectedPseudoRegretReal algorithm armLaw gap lastRound = ∑ arm : Fin K, gap arm * (canonicalRealizedExpectedPullCountThrough algorithm armLaw lastRound arm).toReal
def BanditRLProof.LowerBounds.unitVarianceGaussianExpectedPseudoRegret Compiled

Expected pseudo-regret of an unrestricted unit-variance Gaussian environment in the Chapter 16 gap-times-pulls convention.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.unitVarianceGaussianExpectedPseudoRegret

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

noncomputable def unitVarianceGaussianExpectedPseudoRegret {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : UnitVarianceGaussianBanditEnvironment K) (lastRound : Nat) : Real
theorem BanditRLProof.LowerBounds.oneArmMajority_forces_gapPseudoRegret Compiled

On the source majority event, the original environment pays at least half the horizon times the changed arm's positive gap.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.oneArmMajority_forces_gapPseudoRegret

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

theorem oneArmMajority_forces_gapPseudoRegret {K : Nat} {Reward : Type*} (gap : Fin K -> Real) (hgap : forall arm, 0 <= gap arm) (changedArm : Fin K) (hchanged : 0 < gap changedArm) (lastRound : Nat) (history : History.FinitePairHistory (Fin K) Reward lastRound) (hA : history ∈ oneArmMajorityPullEvent (Reward := Reward) changedArm lastRound) : ENNReal.ofReal (((lastRound + 1 : Nat) : Real) * gap changedArm / 2) <= finiteHistoryGapPseudoRegret gap lastRound history
theorem BanditRLProof.LowerBounds.oneArmMajority_compl_forces_gapPseudoRegret Compiled

On the complement of the majority event, every non-changed arm charged by at least `changedMargin` forces half-horizon pseudo-regret.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.oneArmMajority_compl_forces_gapPseudoRegret

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

theorem oneArmMajority_compl_forces_gapPseudoRegret {K : Nat} {Reward : Type*} (gap : Fin K -> Real) (hgap : forall arm, 0 <= gap arm) (changedArm : Fin K) (changedMargin : Real) (hmargin : 0 < changedMargin) (hother : forall arm, arm ≠ changedArm -> changedMargin <= gap arm) (lastRound : Nat) (history : History.FinitePairHistory (Fin K) Reward lastRound) (hAc : history ∈ (oneArmMajorityPullEvent (Reward := Reward) changedArm lastRound)ᶜ) : ENNReal.ofReal (((lastRound + 1 : Nat) : Real) * changedMargin / 2) <= finiteHistoryGapPseudoRegret gap lastRound history
theorem BanditRLProof.LowerBounds.oneArmMajority_probability_charge_le_expectedPseudoRegret Compiled

Original-environment event probability charged to the actual canonical gap pseudo-regret.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.oneArmMajority_probability_charge_le_expectedPseudoRegret

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

theorem oneArmMajority_probability_charge_le_expectedPseudoRegret {K : Nat} {Reward : Type*} [MeasurableSpace Reward] [MeasurableSpace.CountablyGenerated Reward] (algorithm : Thompson.HistoryAlgorithm (Fin K) Reward) (armLaw : Kernel (Fin K) Reward) [IsMarkovKernel armLaw] (gap : Fin K -> Real) (hgap : forall arm, 0 <= gap arm) (changedArm : Fin K) (hchanged : 0 < gap changedArm) (lastRound : Nat) : ((lastRound + 1 : Nat) : Real) * gap changedArm / 2 * (canonicalBanditHistoryMeasure algorithm armLaw lastRound).real (oneArmMajorityPullEvent (Reward := Reward) changedArm lastRound) <= canonicalGapExpectedPseudoRegretReal algorithm armLaw gap lastRound
theorem BanditRLProof.LowerBounds.oneArmMajority_compl_probability_charge_le_expectedPseudoRegret Compiled

Changed-environment complement probability charged to the actual canonical gap pseudo-regret.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.oneArmMajority_compl_probability_charge_le_expectedPseudoRegret

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

theorem oneArmMajority_compl_probability_charge_le_expectedPseudoRegret {K : Nat} {Reward : Type*} [MeasurableSpace Reward] [MeasurableSpace.CountablyGenerated Reward] (algorithm : Thompson.HistoryAlgorithm (Fin K) Reward) (armLaw : Kernel (Fin K) Reward) [IsMarkovKernel armLaw] (gap : Fin K -> Real) (hgap : forall arm, 0 <= gap arm) (changedArm : Fin K) (changedMargin : Real) (hmargin : 0 < changedMargin) (hother : forall arm, arm ≠ changedArm -> changedMargin <= gap arm) (lastRound : Nat) : ((lastRound + 1 : Nat) : Real) * changedMargin / 2 * (canonicalBanditHistoryMeasure algorithm armLaw lastRound).real (oneArmMajorityPullEvent (Reward := Reward) changedArm lastRound)ᶜ <= canonicalGapExpectedPseudoRegretReal algorithm armLaw gap lastRound
theorem BanditRLProof.LowerBounds.bretagnolleHuberScale_expectedPulls_mul_armKL_le_majorityErrors Compiled

Chapter 16's measurable-event information constraint before regret calibration. It instantiates Bretagnolle--Huber on the exact majority event and rewrites the full history KL using the compiled one-arm specialization of Lemma 15.1.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.bretagnolleHuberScale_expectedPulls_mul_armKL_le_majorityErrors

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

theorem bretagnolleHuberScale_expectedPulls_mul_armKL_le_majorityErrors {K : Nat} {Reward : Type*} [MeasurableSpace Reward] [MeasurableSpace.CountablyGenerated Reward] (algorithm : Thompson.HistoryAlgorithm (Fin K) Reward) (armLaw referenceArmLaw : Kernel (Fin K) Reward) [IsMarkovKernel armLaw] [IsMarkovKernel referenceArmLaw] (changedArm : Fin K) (lastRound : Nat) (hsame : forall arm, arm ≠ changedArm -> armLaw arm = referenceArmLaw arm) : bretagnolleHuberScale (canonicalRealizedExpectedPullCountThrough algorithm armLaw lastRound changedArm * InformationTheory.klDiv (armLaw changedArm) (referenceArmLaw changedArm)) <= (canonicalBanditHistoryMeasure algorithm armLaw lastRound).real (oneArmMajorityPullEvent (Reward := Reward) changedArm lastRound) + (canonicalBanditHistoryMeasure algorithm referenceArmLaw lastRound).real (oneArmMajorityPullEvent (Reward := Reward) changedArm lastRound)ᶜ
theorem BanditRLProof.LowerBounds.bretagnolleHuberScale_mul_eq_exp Compiled

Finite-information evaluation of the testing scale used when Chapter 16 passes from extended-real KL to the real logarithmic inequality.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.bretagnolleHuberScale_mul_eq_exp

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

theorem bretagnolleHuberScale_mul_eq_exp {expectedPull armInformation : ENNReal} (hpull : expectedPull ≠ ∞) (hinformation : armInformation ≠ ∞) : bretagnolleHuberScale (expectedPull * armInformation) = (1 / 2 : Real) * Real.exp (-(expectedPull.toReal * armInformation.toReal))
theorem BanditRLProof.LowerBounds.exp_testing_bound_of_majority_regret_bounds Compiled

Deterministic assembly of the two majority-event regret charges with the Bretagnolle--Huber testing error.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.exp_testing_bound_of_majority_regret_bounds

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

theorem exp_testing_bound_of_majority_regret_bounds (expectedPull information gap changedMargin horizon originalError changedError originalRegret changedRegret : Real) (hgap : 0 < gap) (hmargin : 0 < changedMargin) (hhorizon : 0 < horizon) (horiginalError : 0 <= originalError) (hchangedError : 0 <= changedError) (htesting : (1 / 2 : Real) * Real.exp (-(expectedPull * information)) <= originalError + changedError) (horiginalRegret : horizon * gap / 2 * originalError <= originalRegret) (hchangedRegret : horizon * changedMargin / 2 * changedError <= changedRegret) : horizon * min gap changedMargin / 4 * Real.exp (-(expectedPull * information)) <= originalRegret + changedRegret
theorem BanditRLProof.LowerBounds.expectedPullCount_ge_log_regret_of_exp_testing_bound Compiled

The exact logarithmic rearrangement used in Lemma 16.3. This theorem is only the scalar consumer of the testing inequality; the bandit theorem must still produce `htesting` from the common-policy history law, the majority event, and the two expected pseudo-regrets.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.expectedPullCount_ge_log_regret_of_exp_testing_bound

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

theorem expectedPullCount_ge_log_regret_of_exp_testing_bound (expectedPull information gap changedMargin horizon regretSum : Real) (hinformation : 0 < information) (hgap : 0 < gap) (hmargin : 0 < changedMargin) (hhorizon : 0 < horizon) (htesting : horizon * min gap changedMargin / 4 * Real.exp (-(expectedPull * information)) <= regretSum) : (Real.log (min gap changedMargin / 4) + Real.log horizon - Real.log regretSum) / information <= expectedPull
theorem BanditRLProof.LowerBounds.expectedPullCount_ge_log_gapPseudoRegret_of_only_arm_changed Compiled

Chapter 16's finite-time change-of-measure calculation with the actual canonical gap pseudo-regrets produced above. This closes the common-policy, one-arm-KL, majority-event, exact `1/4`, and logarithmic assembly route for explicit nonnegative gap vectors. It is intentionally not named as source Lemma 16.3: a later environment layer must still prove that these vectors are the mean gaps of finite-mean arm laws and discharge the finite-positive-KL branch from that source contract.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Indexed settings: Finite stochastic bandits

Canonical node identitydeclaration:BanditRLProof.LowerBounds.expectedPullCount_ge_log_gapPseudoRegret_of_only_arm_changed

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

theorem expectedPullCount_ge_log_gapPseudoRegret_of_only_arm_changed {K : Nat} {Reward : Type*} [MeasurableSpace Reward] [MeasurableSpace.CountablyGenerated Reward] (algorithm : Thompson.HistoryAlgorithm (Fin K) Reward) (armLaw referenceArmLaw : Kernel (Fin K) Reward) [IsMarkovKernel armLaw] [IsMarkovKernel referenceArmLaw] (originalGap referenceGap : Fin K -> Real) (horiginalGap : forall arm, 0 <= originalGap arm) (hreferenceGap : forall arm, 0 <= referenceGap arm) (changedArm : Fin K) (changedMargin : Real) (hchangedGap : 0 < originalGap changedArm) (hmargin : 0 < changedMargin) (hother : forall arm, arm ≠ changedArm -> changedMargin <= referenceGap arm) (lastRound : Nat) (hsame : forall arm, arm ≠ changedArm -> armLaw arm = referenceArmLaw arm) (hinformation_ne_top : InformationTheory.klDiv (armLaw changedArm) (referenceArmLaw changedArm) ≠ ∞) (hinformation_pos : 0 < (InformationTheory.klDiv (armLaw changedArm) (referenceArmLaw changedArm)).toReal) : (Real.log (min (originalGap changedArm) changedMargin / 4) + Real.log ((lastRound + 1 : Nat) : Real) - Real.log (canonicalGapExpectedPseudoRegretReal algorithm armLaw originalGap lastRound + canonicalGapExpectedPseudoRegretReal algorithm referenceArmLaw referenceGap lastRound)) / (InformationTheory.klDiv (armLaw changedArm) (referenceArmLaw changedArm)).toReal <= (canonicalRealizedExpectedPullCountThrough algorithm armLaw lastRound changedArm).toReal
theorem BanditRLProof.LowerBounds.gapPseudoRegret_add_pos_of_only_arm_changed Compiled

The two regrets in the one-arm testing construction cannot both vanish when arm KL is finite and both source gaps are positive.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gapPseudoRegret_add_pos_of_only_arm_changed

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

theorem gapPseudoRegret_add_pos_of_only_arm_changed {K : Nat} {Reward : Type*} [MeasurableSpace Reward] [MeasurableSpace.CountablyGenerated Reward] (algorithm : Thompson.HistoryAlgorithm (Fin K) Reward) (armLaw referenceArmLaw : Kernel (Fin K) Reward) [IsMarkovKernel armLaw] [IsMarkovKernel referenceArmLaw] (originalGap referenceGap : Fin K -> Real) (horiginalGap : forall arm, 0 <= originalGap arm) (hreferenceGap : forall arm, 0 <= referenceGap arm) (changedArm : Fin K) (changedMargin : Real) (hchangedGap : 0 < originalGap changedArm) (hmargin : 0 < changedMargin) (hother : forall arm, arm ≠ changedArm -> changedMargin <= referenceGap arm) (lastRound : Nat) (hsame : forall arm, arm ≠ changedArm -> armLaw arm = referenceArmLaw arm) (hinformation_ne_top : InformationTheory.klDiv (armLaw changedArm) (referenceArmLaw changedArm) ≠ ∞) : 0 < canonicalGapExpectedPseudoRegretReal algorithm armLaw originalGap lastRound + canonicalGapExpectedPseudoRegretReal algorithm referenceArmLaw referenceGap lastRound
theorem BanditRLProof.LowerBounds.expectedPullCount_ge_log_regret_changeOfMeasure Compiled

*Lattimore--Szepesvári, Lemma 16.3.** This is the exact source one-arm change-of-measure inequality for finite-mean product environments. The denominator is presented through `ENNReal.toReal`; when arm KL is infinite this evaluates the source convention `x / ∞ = 0`. The zero-KL case is impossible here because the changed arm has different certified finite means.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.expectedPullCount_ge_log_regret_changeOfMeasure

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

theorem expectedPullCount_ge_log_regret_changeOfMeasure {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (original reference : FiniteMeanBanditEnvironment K) (changedArm : Fin K) (hsuboptimal : original.mean changedArm < original.mean original.bestArm) (hunique : forall arm, arm ≠ changedArm -> reference.mean arm < reference.mean changedArm) (hsame : forall arm, arm ≠ changedArm -> original.armLaw arm = reference.armLaw arm) (lastRound : Nat) : (Real.log (min (oneArmMeanIncrease original reference changedArm - original.gap changedArm) (original.gap changedArm) / 4) + Real.log ((lastRound + 1 : Nat) : Real) - Real.log (canonicalGapExpectedPseudoRegretReal algorithm original.armLaw original.gap lastRound + canonicalGapExpectedPseudoRegretReal algorithm reference.armLaw reference.gap lastRound)) / (InformationTheory.klDiv (original.armLaw changedArm) (reference.armLaw changedArm)).toReal <= (canonicalRealizedExpectedPullCountThrough algorithm original.armLaw lastRound changedArm).toReal
def BanditRLProof.LowerBounds.finiteMeanExpectedRegret Compiled

Expected regret after exactly `n` pulls, including the empty horizon.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.finiteMeanExpectedRegret

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

def finiteMeanExpectedRegret {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : FiniteMeanBanditEnvironment K) : Nat → Real | 0 => 0 | n + 1 => canonicalGapExpectedPseudoRegretReal algorithm environment.armLaw environment.gap n /-- Expected pull count after exactly `n` pulls, including the empty horizon. -/ def finiteMeanExpectedPullCount {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : FiniteMeanBanditEnvironment K) (arm : Fin K) : Nat → Real | 0 => 0 | n + 1 => (canonicalRealizedExpectedPullCountThrough algorithm environment.armLaw n arm).toReal theorem finiteMeanExpectedPullCount_nonneg {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : FiniteMeanBanditEnvironment K) (arm : Fin K) (n : Nat) : 0 ≤ finiteMeanExpectedPullCount algorithm environment arm n
def BanditRLProof.LowerBounds.finiteMeanExpectedPullCount Compiled

Expected pull count after exactly `n` pulls, including the empty horizon.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.finiteMeanExpectedPullCount

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

def finiteMeanExpectedPullCount {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : FiniteMeanBanditEnvironment K) (arm : Fin K) : Nat → Real | 0 => 0 | n + 1 => (canonicalRealizedExpectedPullCountThrough algorithm environment.armLaw n arm).toReal theorem finiteMeanExpectedPullCount_nonneg {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : FiniteMeanBanditEnvironment K) (arm : Fin K) (n : Nat) : 0 ≤ finiteMeanExpectedPullCount algorithm environment arm n
theorem BanditRLProof.LowerBounds.finiteMeanExpectedPullCount_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.finiteMeanExpectedPullCount_nonneg

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

theorem finiteMeanExpectedPullCount_nonneg {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : FiniteMeanBanditEnvironment K) (arm : Fin K) (n : Nat) : 0 ≤ finiteMeanExpectedPullCount algorithm environment arm n
theorem BanditRLProof.LowerBounds.finiteMeanExpectedRegret_eq_sum Compiled

Source regret decomposition with the exact number-of-pulls horizon.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.finiteMeanExpectedRegret_eq_sum

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

theorem finiteMeanExpectedRegret_eq_sum {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : FiniteMeanBanditEnvironment K) (n : Nat) : finiteMeanExpectedRegret algorithm environment n = ∑ arm, environment.gap arm * finiteMeanExpectedPullCount algorithm environment arm n
theorem BanditRLProof.LowerBounds.finiteMeanNormalizedRegret_eq_sum Compiled

Extended-real normalization of the source regret decomposition.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.finiteMeanNormalizedRegret_eq_sum

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

theorem finiteMeanNormalizedRegret_eq_sum {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : FiniteMeanBanditEnvironment K) (n : Nat) (hn : 1 < n) : ENNReal.ofReal (finiteMeanExpectedRegret algorithm environment n / Real.log n) = ∑ arm, ENNReal.ofReal (environment.gap arm) * ENNReal.ofReal (finiteMeanExpectedPullCount algorithm environment arm n / Real.log n)
theorem BanditRLProof.LowerBounds.consistentRegret_liminf_expectedPull_div_log_ge_of_alternative Compiled

Theorem 16.2's per-alternative information constraint for finite KL. Consistency is imposed on the actual regret sequences of the two environments, and the conclusion uses the original-law pull count.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.consistentRegret_liminf_expectedPull_div_log_ge_of_alternative

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

theorem consistentRegret_liminf_expectedPull_div_log_ge_of_alternative {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (original reference : FiniteMeanBanditEnvironment K) (changedArm : Fin K) (hsuboptimal : original.mean changedArm < original.mean original.bestArm) (hunique : ∀ arm, arm ≠ changedArm → reference.mean arm < reference.mean changedArm) (hsame : ∀ arm, arm ≠ changedArm → original.armLaw arm = reference.armLaw arm) (hfirst : IsConsistentRegret (finiteMeanExpectedRegret algorithm original)) (hsecond : IsConsistentRegret (finiteMeanExpectedRegret algorithm reference)) (hfinite : InformationTheory.klDiv (original.armLaw changedArm) (reference.armLaw changedArm) ≠ ∞) : ENNReal.ofReal (1 / (InformationTheory.klDiv (original.armLaw changedArm) (reference.armLaw changedArm)).toReal) ≤ liminf (fun n : Nat => ENNReal.ofReal (finiteMeanExpectedPullCount algorithm original changedArm n / Real.log n)) atTop
theorem BanditRLProof.LowerBounds.consistentPolicy_liminf_expectedPull_div_log_ge_inv_dInf Compiled

The exact per-arm information constraint supporting Theorem 16.2. The inverse infimum remains extended-real: zero infimum forces infinite liminf, while an empty or all-infinite alternative class contributes zero.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.consistentPolicy_liminf_expectedPull_div_log_ge_inv_dInf

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

theorem consistentPolicy_liminf_expectedPull_div_log_ge_inv_dInf {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (componentClass : Fin K → Set (Measure Real)) (hfinite : ∀ arm P, P ∈ componentClass arm → IsProbabilityMeasure P ∧ Integrable id P) (hconsistent : IsConsistentPolicyOver {environment : FiniteMeanBanditEnvironment K | environment.InUnstructuredClass componentClass} finiteMeanExpectedRegret algorithm) (original : FiniteMeanBanditEnvironment K) (hclass : original.InUnstructuredClass componentClass) (changedArm : Fin K) (hsuboptimal : original.mean changedArm < original.mean original.bestArm) : (divergenceInfimum (original.armLaw changedArm) (original.mean original.bestArm) (componentClass changedArm) (fun P => ∫ x, x ∂P))⁻¹ ≤ liminf (fun n : Nat => ENNReal.ofReal (finiteMeanExpectedPullCount algorithm original changedArm n / Real.log n)) atTop
theorem BanditRLProof.LowerBounds.consistentPolicy_liminf_expectedRegret_div_log_ge Compiled

*Lattimore--Szepesvári, Theorem 16.2.** The unstructured finite-mean product-class regret lower bound, including zero and infinite information costs. All quotients and the liminf are extended-real.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.consistentPolicy_liminf_expectedRegret_div_log_ge

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

theorem consistentPolicy_liminf_expectedRegret_div_log_ge {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (componentClass : Fin K → Set (Measure Real)) (hfinite : ∀ arm P, P ∈ componentClass arm → IsProbabilityMeasure P ∧ Integrable id P) (hconsistent : IsConsistentPolicyOver {environment : FiniteMeanBanditEnvironment K | environment.InUnstructuredClass componentClass} finiteMeanExpectedRegret algorithm) (original : FiniteMeanBanditEnvironment K) (hclass : original.InUnstructuredClass componentClass) : (∑ arm : Fin K with 0 < original.gap arm, ENNReal.ofReal (original.gap arm) / divergenceInfimum (original.armLaw arm) (original.mean original.bestArm) (componentClass arm) (fun P => ∫ x, x ∂P)) ≤ liminf (fun n : Nat => ENNReal.ofReal (finiteMeanExpectedRegret algorithm original n / Real.log n)) atTop
theorem BanditRLProof.LowerBounds.gaussianExpectedPullCount_ge_finiteTimeInstanceDependent Compiled

Per-arm finite-time Gaussian consequence used in Theorem 16.4, before summing and taking positive parts. Both regret bounds are retained explicitly so the published `2 C n^p` denominator is visible.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gaussianExpectedPullCount_ge_finiteTimeInstanceDependent

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

theorem gaussianExpectedPullCount_ge_finiteTimeInstanceDependent {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : UnitVarianceGaussianBanditEnvironment K) (changedArm : Fin K) (epsilon C p : Real) (hgap : 0 < environment.gap changedArm) (hepsilon : 0 < epsilon) (hepsilon_one : epsilon <= 1) (_hC : 0 < C) (lastRound : Nat) (hbase : unitVarianceGaussianExpectedPseudoRegret algorithm environment lastRound <= C * (((lastRound + 1 : Nat) : Real) ^ p)) (hchanged : unitVarianceGaussianExpectedPseudoRegret algorithm (chapter16GaussianChangedEnvironment environment changedArm epsilon hgap hepsilon) lastRound <= C * (((lastRound + 1 : Nat) : Real) ^ p)) : (Real.log (epsilon * environment.gap changedArm / 4) + Real.log ((lastRound + 1 : Nat) : Real) - Real.log (2 * C * (((lastRound + 1 : Nat) : Real) ^ p))) / (((1 + epsilon) * environment.gap changedArm) ^ 2 / 2) <= (canonicalRealizedExpectedPullCountThrough algorithm (unitGaussianKernel environment.mean) lastRound changedArm).toReal
theorem BanditRLProof.LowerBounds.chapter16Gaussian_finiteTime_log_identity Compiled

Exact logarithmic normalization in the displayed bound (16.5).

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.chapter16Gaussian_finiteTime_log_identity

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

theorem chapter16Gaussian_finiteTime_log_identity (epsilon gap C p horizon : Real) (hepsilon : 0 < epsilon) (hgap : 0 < gap) (hC : 0 < C) (hhorizon : 0 < horizon) : Real.log (epsilon * gap / 4) + Real.log horizon - Real.log (2 * C * horizon ^ p) = (1 - p) * Real.log horizon + Real.log (epsilon * gap / (8 * C))
theorem BanditRLProof.LowerBounds.gaussianExpectedRegret_ge_finiteTimeInstanceDependent Compiled

*Lattimore--Szepesvári, Theorem 16.4.** Finite-time instance-dependent lower bound for arbitrary unit-variance Gaussian means. `lastRound + 1` is the source horizon `n`; the supplied set `N` is therefore stated on positive horizon lengths.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret · Chapter 16: Instance-Dependent Lower Bounds

Canonical node identitydeclaration:BanditRLProof.LowerBounds.gaussianExpectedRegret_ge_finiteTimeInstanceDependent

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

theorem gaussianExpectedRegret_ge_finiteTimeInstanceDependent {K : Nat} (algorithm : Thompson.HistoryAlgorithm (Fin K) Real) (environment : UnitVarianceGaussianBanditEnvironment K) (horizons : Set Nat) (hhorizons : horizons.Nonempty) (C p : Real) (hC : 0 < C) (_hp : p ∈ Set.Ioo (0 : Real) 1) (hregret : forall (lastRound : Nat), lastRound + 1 ∈ horizons -> forall candidate : UnitVarianceGaussianBanditEnvironment K, InChapter16GaussianLocalClass environment candidate -> unitVarianceGaussianExpectedPseudoRegret algorithm candidate lastRound <= C * (((lastRound + 1 : Nat) : Real) ^ p)) (epsilon : Real) (hepsilon : epsilon ∈ Set.Ioc (0 : Real) 1) (lastRound : Nat) (hhorizon : lastRound + 1 ∈ horizons) : unitVarianceGaussianExpectedPseudoRegret algorithm environment lastRound >= 2 / (1 + epsilon) ^ 2 * ∑ arm ∈ Finset.univ.filter (fun arm : Fin K => 0 < environment.gap arm), max (((1 - p) * Real.log ((lastRound + 1 : Nat) : Real) + Real.log (epsilon * environment.gap arm / (8 * C))) / environment.gap arm) 0