Corollary E.7 (as proved, with Pinsker's constant): discounted state distributions of nearby policies
ProvedMBRLGuarantees.occ_lOneDist_le_sqrt_two_kappa_dKLLet , , let be a dynamical model and two policies with measurable. Then the discounted state distributions of and on satisfy
This is the step that lets the bounds of Section 4 replace the state distribution of by that of a nearby reference policy.
Formalization Note The paper prints the bound without the factor . Its proof applies Pinsker's inequality as , but Pinsker's inequality is , and the printed bound fails for two states with (see the mission report). The model is arbitrary; the paper uses .
import Mathlib import Definitions.Def_MBRLGuarantees_Basic open MeasureTheory ProbabilityTheory InformationTheory open scoped ENNReal
namespace MBRLGuarantees
theorem occ_lOneDist_le_sqrt_two_kappa_dKL {S A : Type*} [MeasurableSpace S] [MeasurableSpace A]
(γ : ℝ) (hγ0 : 0 ≤ γ) (hγ1 : γ < 1) (μ₀ : Measure S) [IsProbabilityMeasure μ₀]
(M : Kernel (S × A) S) [IsMarkovKernel M] (pi pi' : Kernel S A) [IsMarkovKernel pi]
[IsMarkovKernel pi'] (hKL : Measurable fun s => klDiv (pi s) (pi' s)) :
lOneDist (occ γ μ₀ pi M) (occ γ μ₀ pi' M) ≤
ENNReal.ofReal (Real.sqrt 2 * kappa γ) * dKL γ μ₀ M pi pi' := by sorry
end MBRLGuaranteesRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let and be arbitrary measurable spaces of states and actions. Let be a real number with . Let be a probability measure on , the initial-state distribution. Let be a Markov kernel from to , the dynamics model. Let and be two Markov kernels from to , the policies. The only further hypothesis is that the map
is measurable. Here is the Kullback–Leibler divergence. It equals when is not absolutely continuous with respect to , or when the log-likelihood ratio is not integrable.
Objects involved.
- For a policy , the state transition kernel on is
- is its -step iterate, with the identity kernel and .
- The discounted state distribution of on from is the measure
where is the law of the state at time . Under the stated assumptions, has total mass .
- The " distance" between two measures on is defined in its dual form as the -valued quantity
- The policy distance is the -valued lower Lebesgue integral
Note that it is averaged over , the discounted state distribution of the first policy , not . It is taken with .
- The constant is .
Conclusion. The theorem asserts, as an inequality in ,
where the left side uses as the first argument and as the second. Both distributions are computed on the same model from the same .
Edge cases.
- The product follows the extended-real convention .
- When , both sides reduce to the case , and the right-hand side is even if .
- When and the KL divergence is infinite on a set of positive -measure, the right-hand side is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.