Hennessy-Milner Logic in CSLib, the Lean Computer Science Library

Fabrizio Montesi, Marco Peressotti, Alexandre Rademaker [2026].
In CoRR abs/2602.15409.

Abstract
We present a library-level formalisation of Hennessy-Milner Logic (HML) - a foundational logic for labelled transition systems (LTSs) - for the Lean Computer Science Library (CSLib). Our development includes the syntax, satisfaction relation, and denotational semantics of HML, as well as a complete metatheory including the Hennessy-Milner theorem - bisimilarity coincides with theory equivalence for image-finite LTSs. Our development emphasises generality and reusability: it is parametric over arbitrary LTSs, definitions integrate with CSLib's infrastructure (such as the formalisation of bisimilarity), and proofs leverage Lean's automation (notably the grind tactic). All code is publicly available in CSLib and can be readily applied to systems that use its LTS API.
Links
doi.org
Additional notes
None
Cite (BibTeX)
Click to expand
@article{DBLP:journals/corr/abs-2602-15409,
  author       = {Fabrizio Montesi and
                  Marco Peressotti and
                  Alexandre Rademaker},
  title        = {Hennessy-Milner Logic in CSLib, the Lean Computer Science Library},
  journal      = {CoRR},
  volume       = {abs/2602.15409},
  year         = {2026},
  url          = {https://doi.org/10.48550/arXiv.2602.15409},
  doi          = {10.48550/ARXIV.2602.15409},
  eprinttype   = {arXiv},
  eprint       = {2602.15409},
  timestamp    = {Sun, 29 Mar 2026 14:38:07 +0200},
  biburl       = {https://dblp.org/rec/journals/corr/abs-2602-15409.bib},
  bibsource    = {dblp computer science bibliography, https://dblp.org}
}

A PDF is available (possibly a preprint):

Download PDF