Theorem 5: is Lipschitz with respect to
ProvedDeepBisimulationControl.optValue_lipschitz_piBisimMetricLet be a finite state space, a finite nonempty action space, a transition kernel, a reward function, and with . Let be an optimal policy and the -bisimulation metric, . Then for all states ,
So is Lipschitz with respect to with constant .
Formalization Note The policy may be any optimal stationary stochastic policy; deterministic optimal policies are the special case.
import Mathlib import Definitions.Def_DeepBisimulationControl_Basic open Filter Topology
namespace DeepBisimulationControl
theorem optValue_lipschitz_piBisimMetric {S A : Type*} [Fintype S] [DecidableEq S] [Fintype A]
[Nonempty A]
(P : S → A → S → ℝ) (hP : IsKernel P) (R : S → A → ℝ) (gamma c : ℝ)
(hg0 : 0 ≤ gamma) (hg1 : gamma < 1) (hc1 : c < 1) (hgc : gamma ≤ c)
(pi : S → A → ℝ) (hpi : IsOptimalPolicy P R gamma pi) (s t : S) :
|optValue P R gamma s - optValue P R gamma t| ≤ 1 / (1 - c) * piBisimMetric P R c pi s t := by sorry
end DeepBisimulationControlRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a finite state space and a finite, nonempty action space. The data are:
- a transition function which is a Markov kernel: for all and for all ;
- an arbitrary real reward function , with no boundedness or sign condition;
- real numbers (the discount) and (the bisimulation weight) satisfying
Together these force , so in particular ;
- a function assumed to be an optimal policy (defined below);
- two arbitrary states , which may be equal.
Policies and values. A policy is a function with for every . It is stationary and possibly stochastic. For a policy , define:
- the on-policy reward ;
- the on-policy transition matrix ;
- the value
where is the -th matrix power. By the formal convention, this infinite sum is taken to be if the series is not summable;
- the optimal value
a supremum of real numbers taken separately at each state. By convention it equals if that set is not bounded above.
The hypothesis that is an optimal policy means that is a policy and for every state .
Wasserstein distance. For a function and functions , a coupling is a on with row sums and column sums . Then
This is an infimum of real numbers. By convention it equals if there are no couplings or if the set of costs is unbounded below.
On-policy bisimulation metric. The on-policy bisimulation operator sends to
The -bisimulation metric is then
where:
- is the -fold iterate of applied to the identically-zero function, with ;
- the supremum is taken pointwise for each pair as a supremum of reals, equal to by convention if unbounded above.
Note that the metric uses the weight and the given optimal policy ; it does not involve .
Conclusion. Under these hypotheses, the theorem asserts
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.