This is the pre-proceedings for the RLC 2026. You may expect minor changes.

Towards Formalizing Reinforcement Learning Theory: A Robbins-Siegmund Approach

By Shangtong Zhang

Reinforcement Learning Journal, vol. 7, 2026, pp. TBD.

Will be presented at the Reinforcement Learning Conference (RLC), MontrĂ©al, Quebec, Canada, August 15–17, 2026.


Download:

Keywords: RL Theory, Formal Verification, Lean

Abstract:

In this paper, we formalize the almost sure convergence of $Q$-learning and linear temporal difference (TD) learning with Markovian samples using the Lean 4 theorem prover based on the Mathlib library. $Q$-learning and linear TD are among the earliest and most influential reinforcement learning (RL) algorithms. The investigation of their convergence properties is not only a major research topic during the early development of the RL field but also receives significant attention nowadays. This paper formally verifies their almost sure convergence in a unified framework based on the Robbins-Siegmund theorem. The framework developed in this work can potentially be extended to convergence rates and other modes of convergence. This work thus makes an important step towards fully formalizing convergent RL results. The code is available at https://github.com/ShangtongZhang/rl-theory-in-lean.


Citation Information:

Shangtong Zhang. "Towards Formalizing Reinforcement Learning Theory: A Robbins-Siegmund Approach." Reinforcement Learning Journal, vol. 7, 2026, pp. TBD.

BibTeX:
@article{zhang2026towards,
    title={Towards Formalizing Reinforcement Learning Theory: A Robbins-Siegmund Approach},
    author={Shangtong Zhang},
    journal={Reinforcement Learning Journal},
    volume={7},
    pages={},
    year={2026}
}