Lemma 4.1: prediction error bounds the value discrepancy
ProvedMBRLGuarantees.value_gap_le_lipschitz_model_errorLet the states be points of a normed space (an injective measurable map , with second countable and carrying its Borel -algebra), let , let be bounded and measurable, and let . Let and be deterministic measurable models and a policy. Suppose the imaginary value function is -Lipschitz,
Then
with and .
Formalization Note The right side is a -valued integral, so the bound is also stated when the expected prediction error is infinite.
import Mathlib import Definitions.Def_MBRLGuarantees_Basic open MeasureTheory ProbabilityTheory InformationTheory open scoped ENNReal
namespace MBRLGuarantees
theorem value_gap_le_lipschitz_model_error {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 : Kernel S A) [IsMarkovKernel pi]
(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'‖) :
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 γ μ₀ pi (Kernel.deterministic mstar hmstar)) := by sorry
end MBRLGuaranteesRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. The statement involves the following objects:
- and are arbitrary measurable spaces of states and actions.
- is a normed abelian group. It carries a measurable structure equal to its Borel -algebra, and its topology is second countable.
- is an injective, measurable map. It is used to measure distances between states via .
- is a real number with . The case is allowed.
- is a measurable reward function, bounded in the sense that there is a real with for all .
- is a probability measure on , the initial-state distribution.
- is a Markov kernel from to , written . It is the policy.
- are measurable maps. They define deterministic dynamics:
- , the Dirac mass at ;
- .
- is a real number with no sign restriction.
Derived quantities. For a model :
- The induced state-to-state kernel is the law of when .
- is its -fold composition, with the identity kernel.
- The expected one-step reward is .
- The state value function is
The sum is an unconditional infinite sum, which is taken to be if it is not summable. Each integral is a Bochner integral, which is taken to be if the integrand is not integrable.
- The averaged value is
under the same integral convention.
- The discounted state distribution of on the true model is the measure
- The constant is , which is here.
Hypothesis. The value function of on the model is -Lipschitz with respect to :
Because is injective, whenever . So if , this hypothesis can hold only when has at most one point. If , it forces to be constant.
Conclusion. The following inequality holds in the extended non-negative reals :
Points to note about this inequality:
- The double integral is a lower (non-negative extended) integral, so it may equal , in which case the inequality is trivially true when .
- The prefactor is the real number truncated at . It is therefore whenever , in particular when or . Under the convention , the right-hand side is then , even if the integral is infinite.
- The distance between next states is always measured through in the norm of .
- The averaging distribution is the discounted state distribution of under the true dynamics , not under .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.