Lean module · Foundations
BanditRLProof.LowerBounds.FinitePartitionKL
The supremum in textbook Eq. (14.5) ranges over every finite measurable partition, represented here by measurable maps to Fin n. Empty cells are harmless. The singular branch below is only one part of the required equivalence with the Radon--Nikodym definition.
Module map
Imports
BanditRLProof.LowerBounds.FiniteDiscreteKL
Imported by
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
theorem
BanditRLProof.LowerBounds.totalMass_klFun_le_relativeEntropy
Compiled
Convexity bounds the divergence of total masses by finite-measure KL.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.LowerBounds.totalMass_klFun_le_relativeEntropyReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem totalMass_klFun_le_relativeEntropy {α : Type*} [MeasurableSpace α] (P Q : Measure α) [IsFiniteMeasure P] [IsFiniteMeasure Q] : ENNReal.ofReal (InformationTheory.klFun ((P univ / Q univ).toReal)) * Q univ ≤ relativeEntropy P Q
theorem
BanditRLProof.LowerBounds.sum_relativeEntropy_restrict_fibers
Compiled
KL splits into the restrictions to all cells of a finite observation.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.LowerBounds.sum_relativeEntropy_restrict_fibersReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem sum_relativeEntropy_restrict_fibers {α : Type*} [MeasurableSpace α] (P Q : Measure α) [IsFiniteMeasure P] [IsFiniteMeasure Q] (h : P ≪ Q) {n : ℕ} (f : α → Fin n) (hf : Measurable f) : (∑ i, relativeEntropy (P.restrict (f ⁻¹' {i})) (Q.restrict (f ⁻¹' {i}))) = relativeEntropy P Q
theorem
BanditRLProof.LowerBounds.relativeEntropy_finite_map_le
Compiled
Finite-valued measurable observations cannot increase KL.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.LowerBounds.relativeEntropy_finite_map_leReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem relativeEntropy_finite_map_le {α : Type*} [MeasurableSpace α] (P Q : Measure α) [IsFiniteMeasure P] [IsFiniteMeasure Q] {n : ℕ} (f : α → Fin n) (hf : Measurable f) : relativeEntropy (P.map f) (Q.map f) ≤ relativeEntropy P Q
def
BanditRLProof.LowerBounds.finitePartitionRelativeEntropy
Compiled
Relative entropy defined by the supremum over finite measurable observations.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret · Chapter 14: Foundations of Information Theory
Canonical node identity
declaration:BanditRLProof.LowerBounds.finitePartitionRelativeEntropyReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def finitePartitionRelativeEntropy {α : Type*} [MeasurableSpace α] (P Q : Measure α) : ENNReal
theorem
BanditRLProof.LowerBounds.finitePartitionRelativeEntropy_le_relativeEntropy
Compiled
The finite-discretisation supremum never exceeds RN relative entropy.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.LowerBounds.finitePartitionRelativeEntropy_le_relativeEntropyReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem finitePartitionRelativeEntropy_le_relativeEntropy {α : Type*} [MeasurableSpace α] (P Q : Measure α) [IsFiniteMeasure P] [IsFiniteMeasure Q] : finitePartitionRelativeEntropy P Q ≤ relativeEntropy P Q
theorem
BanditRLProof.LowerBounds.relativeEntropy_map_le_finitePartitionRelativeEntropy
Compiled
Every finite measurable observation is included in the defining supremum.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.LowerBounds.relativeEntropy_map_le_finitePartitionRelativeEntropyReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem relativeEntropy_map_le_finitePartitionRelativeEntropy {α : Type*} [MeasurableSpace α] (P Q : Measure α) {n : ℕ} (f : α → Fin n) (hf : Measurable f) : relativeEntropy (P.map f) (Q.map f) ≤ finitePartitionRelativeEntropy P Q
theorem
BanditRLProof.LowerBounds.finitePartitionRelativeEntropy_fin_eq
Compiled
On an already finite observation space, the identity partition loses nothing.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.LowerBounds.finitePartitionRelativeEntropy_fin_eqReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem finitePartitionRelativeEntropy_fin_eq {n : ℕ} (P Q : Measure (Fin n)) [IsFiniteMeasure P] [IsFiniteMeasure Q] : finitePartitionRelativeEntropy P Q = relativeEntropy P Q
theorem
BanditRLProof.LowerBounds.relativeEntropy_finite_map_eq_if
Compiled
The discrete KL of an observation is the exact cell-mass formula.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.LowerBounds.relativeEntropy_finite_map_eq_ifReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem relativeEntropy_finite_map_eq_if {α : Type*} [MeasurableSpace α] (P Q : Measure α) [IsProbabilityMeasure P] [IsProbabilityMeasure Q] {n : ℕ} (f : α → Fin n) (hf : Measurable f) : relativeEntropy (P.map f) (Q.map f) = if ∀ i, Q (f ⁻¹' {i}) = 0 → P (f ⁻¹' {i}) = 0 then ENNReal.ofReal (∑ i, (P (f ⁻¹' {i})).toReal * Real.log ((P (f ⁻¹' {i})).toReal / (Q (f ⁻¹' {i})).toReal)) else (⊤ : ENNReal)
theorem
BanditRLProof.LowerBounds.exists_binary_map_relativeEntropy_eq_top_of_event
Compiled
A measurable support mismatch is detected by a two-cell observation.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.LowerBounds.exists_binary_map_relativeEntropy_eq_top_of_eventReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem exists_binary_map_relativeEntropy_eq_top_of_event {α : Type*} [MeasurableSpace α] (P Q : Measure α) {A : Set α} (hA : MeasurableSet A) (hp : P A ≠ 0) (hq : Q A = 0) : ∃ f : α → Fin 2, Measurable f ∧ relativeEntropy (P.map f) (Q.map f) = (⊤ : ENNReal)
theorem
BanditRLProof.LowerBounds.finitePartitionRelativeEntropy_eq_top_of_not_absolutelyContinuous
Compiled
Non-absolute-continuity forces infinite finite-partition relative entropy.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.LowerBounds.finitePartitionRelativeEntropy_eq_top_of_not_absolutelyContinuousReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem finitePartitionRelativeEntropy_eq_top_of_not_absolutelyContinuous {α : Type*} [MeasurableSpace α] (P Q : Measure α) (h : ¬ P ≪ Q) : finitePartitionRelativeEntropy P Q = (⊤ : ENNReal)
theorem
BanditRLProof.LowerBounds.finitePartitionRelativeEntropy_eq_relativeEntropy_of_not_absolutelyContinuous
Compiled
The finite-partition and RN definitions agree in the singular branch.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.LowerBounds.finitePartitionRelativeEntropy_eq_relativeEntropy_of_not_absolutelyContinuousReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem finitePartitionRelativeEntropy_eq_relativeEntropy_of_not_absolutelyContinuous {α : Type*} [MeasurableSpace α] (P Q : Measure α) (h : ¬ P ≪ Q) : finitePartitionRelativeEntropy P Q = relativeEntropy P Q