English

LeanLTL: A unifying framework for linear temporal logics in Lean

Logic in Computer Science 2025-07-03 v1 Programming Languages

Abstract

We propose LeanLTL, a unifying framework for linear temporal logics in Lean 4. LeanLTL supports reasoning about traces that represent either infinite or finite linear time. The library allows traditional LTL syntax to be combined with arbitrary Lean expressions, making it straightforward to define properties involving numerical or other types. We prove that standard flavors of LTL can be embedded in our framework. The library also provides automation for reasoning about LeanLTL formulas in a way that facilitates using Lean's existing tactics. Finally, we provide examples illustrating the utility of the library in reasoning about systems that come from applications.

Keywords

Cite

@article{arxiv.2507.01780,
  title  = {LeanLTL: A unifying framework for linear temporal logics in Lean},
  author = {Eric Vin and Kyle A. Miller and Daniel J. Fremont},
  journal= {arXiv preprint arXiv:2507.01780},
  year   = {2025}
}

Comments

9 pages, 3 figures; for associated project files see https://github.com/UCSCFormalMethods/LeanLTL; to be published in LIPIcs for ITP '25

R2 v1 2026-07-01T03:43:22.798Z