Proposition 4.2 (as proved): prediction error under the reference policy's state distribution
ProvedMBRLGuarantees.norm_discrepancy_bound_near_referenceIn the setting of Lemma 4.1, let be a reference policy with , where and is measurable, and suppose the states are uniformly bounded, for all . Then
The first term only needs states sampled from the reference policy, which is what makes it estimable.
Formalization Note The paper prints the second term as , without the factor . That version is false: multiplying the reward by multiplies the left side and by and leaves unchanged (a two-state counterexample is in the mission report). The proof in Appendix C.3 multiplies the bound by and uses Corollary E.7 without its factor ; with Corollary E.7 corrected, the paper's chain gives only . The constant stated here is nevertheless true by a sharper step: the integrand lies in , so . The right side is -valued.
import Mathlib import Definitions.Def_MBRLGuarantees_Basic open MeasureTheory ProbabilityTheory InformationTheory open scoped ENNReal
namespace MBRLGuarantees
theorem norm_discrepancy_bound_near_reference {S A E : Type*} [MeasurableSpace S]
[MeasurableSpace A] [NormedAddCommGroup E] [MeasurableSpace E] [BorelSpace E]
[SecondCountableTopology E] (ι : S → E) (hι : Function.Injective ι) (hιm : Measurable ι)
(γ : ℝ) (hγ0 : 0 ≤ γ) (hγ1 : γ < 1)
(R : S × A → ℝ) (hRm : Measurable R) (hRb : ∃ C, ∀ x, |R x| ≤ C)
(μ₀ : Measure S) [IsProbabilityMeasure μ₀] (pi piref : Kernel S A) [IsMarkovKernel pi]
[IsMarkovKernel piref]
(mstar mhat : S × A → S) (hmstar : Measurable mstar) (hmhat : Measurable mhat) (L : ℝ)
(hL : ∀ s s', |stateValue γ R pi (Kernel.deterministic mhat hmhat) s -
stateValue γ R pi (Kernel.deterministic mhat hmhat) s'| ≤ L * ‖ι s - ι s'‖)
(δ : ℝ) (hδ : 0 ≤ δ) (hKL : Measurable fun s => klDiv (pi s) (piref s))
(hd : dKL γ μ₀ (Kernel.deterministic mstar hmstar) pi piref ≤ ENNReal.ofReal δ)
(B : ℝ) (hB : ∀ s, ‖ι s‖ ≤ B) :
ENNReal.ofReal |value γ R μ₀ pi (Kernel.deterministic mhat hmhat) -
value γ R μ₀ pi (Kernel.deterministic mstar hmstar)| ≤
ENNReal.ofReal (kappa γ * L) *
∫⁻ s, ∫⁻ a, ENNReal.ofReal ‖ι (mhat (s, a)) - ι (mstar (s, a))‖ ∂(pi s)
∂(occ γ μ₀ piref (Kernel.deterministic mstar hmstar)) +
ENNReal.ofReal (2 * kappa γ ^ 2 * L * δ * B) := by sorry
end MBRLGuaranteesRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let (states) and (actions) be arbitrary measurable spaces. Let be a normed abelian group that is second countable and carries its Borel -algebra. Let be an injective, measurable map. It embeds states into , and distances between states are measured as . The remaining data and hypotheses are:
- a discount factor with ;
- a reward that is measurable and bounded, meaning some real has for all ;
- a probability measure on (the initial-state distribution);
- two Markov kernels and from to , so each and is a probability measure on ;
- two measurable maps .
Each map is turned into a deterministic dynamical model, the Dirac kernels
For a policy and a model , the following objects are used.
Transition kernel and expected reward.
- The state-to-state kernel is . For a deterministic model this is the pushforward of under .
- is its -fold composition, with the identity.
- The expected one-step reward is .
Value functions.
These are a real-valued series and a real-valued integral. By convention they take the value if the series is not summable or the integrand is not integrable.
Discounted state distribution.
Constant. , which is here.
The hypotheses are:
- (Lipschitz value.) There is a real number (not assumed nonnegative) such that for all ,
Since is injective, this forces whenever has at least two points.
-
(Measurability of KL.) The map is measurable. Here KL takes values in and is when absolute continuity or integrability of the log-likelihood ratio fails.
-
(Policy closeness.) There is a real such that
This integral is computed in , with . The averaging is over the discounted state distribution of (not ) on the model .
- (Bounded embedding.) There is a real with for all .
The conclusion is the following inequality, which holds in the extended nonnegative reals :
Some features of this conclusion are worth noting:
- The two values compared are the value of the same policy under the learned model and under , both started from .
- The inner action-integral in the first term is taken against .
- The outer state-integral is taken against the discounted state distribution of on .
- That double integral is computed in .
- The real coefficients and are truncated at from below.
- When , we have , so the right-hand side is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.