Lemma D.4: control of the change of a discounted state distribution
ProvedMBRLGuarantees.chiSq_occ_perturbationLet , let be Markov kernels on , let be a probability distribution, and let and . Let be measurable with , assume is measurable, and assume . Put
Then
and
This is the perturbation bound behind the refined discrepancy bound of Proposition A.2.
Formalization Note The sup norm is replaced by an arbitrary bound on , which is equivalent. The paper's are real numbers, so its statement presupposes ; this is the hypothesis hfin. Without it the -valued second bound would be false because in : on two states with , , , , , , one has and , so the right side would be while the left side is . With hfin, an infinite makes the right side (or the left side ), so the encoding is harmless.
import Mathlib import Definitions.Def_MBRLGuarantees_Basic open MeasureTheory ProbabilityTheory InformationTheory open scoped ENNReal
namespace MBRLGuarantees
theorem chiSq_occ_perturbation {S : Type*} [MeasurableSpace S]
(γ : ℝ) (hγ0 : 0 ≤ γ) (hγ1 : γ < 1) (P P' : Kernel S S) [IsMarkovKernel P] [IsMarkovKernel P']
(μ : Measure S) [IsProbabilityMeasure μ] (f : S → ℝ) (hf : Measurable f) (F : ℝ)
(hF : ∀ x, |f x| ≤ F) (hchi : Measurable fun x => chiSq (P' x) (P x))
(hfin : chiSqTrans (discOcc γ P μ) P' P ≠ ∞) :
let d1 := ENNReal.ofReal (1 - γ)⁻¹ * chiSqTrans (discOcc γ P μ) P' P ^ (1 / 2 : ℝ)
let d2 := ENNReal.ofReal (1 - γ)⁻¹ *
chiSqTrans (discOcc γ P ((discOcc γ P μ).bind P)) P' P ^ (1 / 2 : ℝ)
ENNReal.ofReal |(∫ x, f x ∂(discOcc γ P' μ)) - ∫ x, f x ∂(discOcc γ P μ)| ≤
d1 * ENNReal.ofReal F ∧
ENNReal.ofReal |(∫ x, f x ∂(discOcc γ P' μ)) - ∫ x, f x ∂(discOcc γ P μ)| ≤
d1 * (∫⁻ x, ENNReal.ofReal (f x ^ 2) ∂(discOcc γ P ((discOcc γ P μ).bind P))) ^ (1 / 2 : ℝ) +
d1 * d2 ^ (1 / 2 : ℝ) * ENNReal.ofReal F := by sorry
end MBRLGuaranteesRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. is an arbitrary measurable space (the state space). The statement fixes:
- a real number with ;
- two Markov kernels and from to . Each and is a probability measure on ;
- a probability measure on ;
- a measurable function and a real number with for every . Because is a probability measure, is nonempty, so this forces ;
- the assumption that is measurable (as an extended-nonnegative-valued function);
- the assumption that , where is defined below.
Definitions used.
The -step kernel is defined by and . For a measure , is the law at time of the chain with kernel started from .
The discounted occupancy of a chain with kernel started from is
The statement uses:
- and . Since is a probability measure and , are Markov kernels, both are probability measures. When both equal .
- . This is the discounted occupancy of the -chain started from the distribution , i.e. advanced by one step of .
For measures , the distance is
For a measure on , the kernel version is
Two quantities in are then defined:
- is finite by hypothesis.
- No finiteness is assumed for , which may equal .
Conclusion. Both of the following inequalities hold in :
How the terms are interpreted.
- The integrals of are ordinary real integrals against probability measures.
- is the integral of as a nonnegative function. It is finite, since is also a probability measure and .
- In (ii) the last term contains , a square root of . That is, it equals , not itself.
- Products follow the extended-nonnegative-reals convention . So if or , the last term of (ii) is even when . If , and , the right side of (ii) is and (ii) holds trivially.
- When , the left-hand side of both inequalities is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.