CertRL: Formalizing Convergence Proofs for Value and Policy Iteration in Coq
Not on the map. Why?
Abstract (arXiv)
Reinforcement learning algorithms solve sequential decision-making problems in probabilistic environments by optimizing for long-term reward. The desire to use reinforcement learning in safety-critical settings inspires a recent line of work on formally constrained reinforcement learning; however, these methods place the implementation of the learning algorithm in their Trusted Computing Base. The crucial correctness property of these implementations is a guarantee that the learning algorithm converges to an optimal policy. This paper begins the work of closing this gap by developing a Coq formalization of two canonical reinforcement learning algorithms: value and policy iteration for finite state Markov decision processes. The central results are a formalization of Bellman's optimality principle and its proof, which uses a contraction property of Bellman optimality operator to establish that a sequence converges in the infinite horizon limit. The CertRL development exemplifies how the Giry monad and mechanized metric coinduction streamline optimality proofs for reinforcement learning algorithms. The CertRL library provides a general framework for proving properties about Markov decision processes and reinforcement learning algorithms, paving the way for further work on formalization of reinforcement learning algorithms.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). First posted on arXiv 23 Sep 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 2; 2023: 1; 2024: 1; 2025: 3; 2026: 1.
9 papers.
- 2022Formalization of a Stochastic Approximation Theoremcited by 5
- 2025Towards Formalizing Reinforcement Learning Theory: A Robbins-Siegmund Approachcited by 5
- 2021Formalising the Foundations of Discrete Reinforcement Learning in Isabelle/HOLcited by 3
- 2025Lean Formalization of Generalization Error Bound by Rademacher Complexity and Dudley's Entropy Integralcited by 2
- 2025Formalized Hopfield Networks and Boltzmann Machinescited by 2
- 2024Formally Verified Approximate Policy Iterationcited by 1
- 2022Formally Verified Solution Methods for Infinite-Horizon Markov Decision Processescited by 0
- 2023Coinductive guide to inductive transformer headscited by 0
- 2026Working Paper: Towards Schema-based Learning from a Category-Theoretic Perspectivecited by 0
- 2026Working Paper: Towards Schema-based Learning from a Category-Theoretic Perspective12 Apr 2026
- 2025Formalized Hopfield Networks and Boltzmann Machines8 Dec 2025
- 2025Towards Formalizing Reinforcement Learning Theory: A Robbins-Siegmund Approach5 Nov 2025
- 2025Lean Formalization of Generalization Error Bound by Rademacher Complexity and Dudley's Entropy Integral25 Mar 2025
- 2024Formally Verified Approximate Policy Iteration11 Jun 2024
- 2023Coinductive guide to inductive transformer heads3 Feb 2023
- 2022Formally Verified Solution Methods for Infinite-Horizon Markov Decision Processes5 Jun 2022
- 2022Formalization of a Stochastic Approximation Theorem12 Feb 2022
- 2021Formalising the Foundations of Discrete Reinforcement Learning in Isabelle/HOL11 Dec 2021