Hennessy-Milner Logic in CSLib, the Lean Computer Science Library
Fabrizio MontesiMPMarco PeressottiAlexandre Rademaker
Fabrizio Montesi
MPMarco Peressotti
Alexandre Rademaker
+3
The paper presents a formalisation of Hennessy-Milner Logic (HML) for the Lean Computer Science Library, covering syntax, satisfaction relation, denotational semantics, and a complete metatheory. Its central contribution is the mechanised proof of the Hennessy-Milner theorem—bisimilarity coincides with theory equivalence for image-finite labelled transition systems (LTSs). The development is parametric over arbitrary LTSs, integrates with CSLib's existing bisimilarity formalisation, and leverages Lean's automation, making it a reusable library component for verifying reactive systems.

arXiv ·
· February 17, 2026