Theorem 1 (as proved): policy iteration reaches and has a least fixed point
ProvedDeepBisimulationControl.pi_bisim_metric_fixed_pointLet be a finite state space, a finite nonempty action space, a transition kernel, a reward function, and . Let be a run of policy iteration: , with whenever is a maximiser. For a policy let
Then there are and a deterministic policy such that:
- is optimal and for all ;
- is a pseudometric with ;
- pointwise for every pseudometric with , so is the least fixed point of in the space of (bounded) pseudometrics;
- the iterates , computed along policy iteration converge pointwise to .
This is the paper's statement that the -bisimulation metric is the fixed point reached while the policy improves.
Formalization Note The printed Theorem 1 speaks of a policy that is "continuously improving" and a "-bisimulation metric" without defining either. Its proof argues through policy iteration (eqs. (10)-(11)) and the existence of a fixed point of for a fixed . The statement above is what that argument establishes, with "continuously improving" read as policy iteration and the -bisimulation metric read as the least fixed point of . The tie-breaking rule is the standard one; without it policy iteration can alternate between optimal policies forever. On a finite state space every pseudometric is bounded.
import Mathlib import Definitions.Def_DeepBisimulationControl_Basic open Filter Topology
namespace DeepBisimulationControl
theorem pi_bisim_metric_fixed_point {S A : Type*} [Fintype S] [DecidableEq S] [Fintype A]
[DecidableEq A] [Nonempty A]
(P : S → A → S → ℝ) (hP : IsKernel P) (R : S → A → ℝ) (gamma c : ℝ)
(hg0 : 0 ≤ gamma) (hg1 : gamma < 1) (hc0 : 0 ≤ c) (hc1 : c < 1)
(sigma : ℕ → S → A) (hsigma : IsPolicyIteration P R gamma sigma) :
∃ (K : ℕ) (sigmaStar : S → A),
IsOptimalPolicy P R gamma (detPolicy sigmaStar) ∧ (∀ k, K ≤ k → sigma k = sigmaStar) ∧
IsPseudometric (piBisimMetric P R c (detPolicy sigmaStar)) ∧
piBisimOperator P R c (detPolicy sigmaStar) (piBisimMetric P R c (detPolicy sigmaStar)) =
piBisimMetric P R c (detPolicy sigmaStar) ∧
(∀ d : S → S → ℝ, IsPseudometric d → piBisimOperator P R c (detPolicy sigmaStar) d = d →
∀ s t, piBisimMetric P R c (detPolicy sigmaStar) s t ≤ d s t) ∧
(∀ s t, Tendsto (fun n => policyIterationMetric P R c sigma n s t) atTop
(𝓝 (piBisimMetric P R c (detPolicy sigmaStar) s t))) := by sorry
end DeepBisimulationControlRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be a finite set of states (possibly empty) and a finite, nonempty set of actions. Let be a transition kernel: for all and for all . Let be an arbitrary reward function (no boundedness or sign assumption). Let be reals with
Policies and values. A stochastic policy is a function with for every . For a map , the deterministic policy puts mass on and elsewhere. For a policy :
- the on-policy reward is ;
- the on-policy transition is , viewed as an matrix;
- the value is the infinite sum
with the convention that a non-summable series is assigned the value ;
- the optimal value is , the supremum over all stochastic policies, with the convention that a set not bounded above has "supremum" ;
- the action value is .
A policy is called optimal if it is a stochastic policy and for every .
Policy-iteration hypothesis. The sequence is assumed to satisfy the following for every and every state :
- maximizes , that is, for all ;
- if is itself such a maximizer, then .
The initial map is unconstrained.
Metric objects. A pseudometric on is a function with:
- ;
- ;
- ;
- .
For distributions on and a cost function , the 1-Wasserstein distance is
Here the infimum of an empty set, or of a set not bounded below, is taken to be .
The on-policy bisimulation operator for a policy sends a function to
The -bisimulation metric is defined by
where is the -fold iterate starting from the zero function. The supremum is taken pointwise, and a set not bounded above again gets the value .
The policy-iteration metric sequence is defined by
Claim. Under these hypotheses, there exist a natural number and a map such that all of the following hold, writing and :
- is an optimal policy: for all .
- for every , so policy iteration is eventually constant at .
- is a pseudometric on .
- is a fixed point: .
- is the least fixed point among pseudometrics: for every pseudometric with , we have for all . Fixed points of that are not pseudometrics are not compared.
- For every pair , the policy-iteration metric converges to :
The discount enters only through the values and the policy-iteration hypothesis. The metric weights use the separate constant .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.