CycleQ: an efficient basis for cyclic equational reasoning
Eddie Jones, C.-H. Luke Ong, Steven J. Ramsay
Abstract
We propose a new cyclic proof system for automated, equational reasoning about the behaviour of pure functional programs. The key to the system is the way in which cyclic proofs and equational reasoning are mediated by the use of contextual substitution as a cut rule. We show that our system, although simple, already subsumes several of the approaches to implicit induction variously known as “inductionless induction”, “rewriting induction”, and “proof by consistency”. By restricting the form of the traces, we show that global correctness in our system can be verified incrementally, taking advantage of the well-known size-change principle, which leads to an efficient implementation of proof search. Our CycleQ tool, implemented as a GHC plugin, shows promising results on a number of standard benchmarks.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Automated Verification of Fundamental Algebraic Laws cites Type-Checking CRDT Convergence
- Looping for Good: Cyclic Proofs for Security Protocols cites Cyclic program synthesis
- The Complex(ity) Landscape of Checking Infinite Descent cites Cyclic program synthesis
Cited by top-tier papers4
- Type-Checking CRDT ConvergenceGeorge Zakhour, Pascal Weisenburger, Guido SalvaneschiPLDI 2023 · 16 citations
- Automated Verification of Fundamental Algebraic LawsGeorge Zakhour, Pascal Weisenburger, Guido SalvaneschiPLDI 2024 · 6 citations
- The Complex(ity) Landscape of Checking Infinite DescentLiron Cohen, Adham Jabarin, Andrei Popescu, Reuben N. S. RowePOPL 2024 · 4 citations
- Looping for Good: Cyclic Proofs for Security ProtocolsFelix Linker, Christoph Sprenger, Cas Cremers, David A. BasinCCS 2025
Builds on3
- Cyclic program synthesisShachar Itzhaky, Hila Peleg, Nadia Polikarpova, Reuben N. S. Rowe et al.PLDI 2021 · 26 citations
- Cyclic proofs, system t, and the power of contractionDenis Kuperberg, Laureline Pinault, Damien PousPOPL 2021 · 13 citations
- Software model-checking as cyclic-proof searchTakeshi Tsukada, Hiroshi UnnoPOPL 2022 · 12 citations
Related papers
- Proving Functional Program Equivalence via Directed Lemma SynthesisYican Sun, Ruyi Ji, Jian Fang, Xuanlin Jiang et al.FM 2024 · 2 citations
- Cyclic Implicit ComplexityGianluca Curzi, Anupam DasLICS 2022 · 4 citations
- A Deductive System for Contract Satisfaction ProofsArthur Correnson, Haoyi Zeng, Jana HofmannPLDI 2026
- Coherence via Well-Foundedness: Taming Set-Quotients in Homotopy Type TheoryNicolai Kraus, Jakob von RaumerLICS 2020 · 8 citations
- Compiling with continuations, correctlyZoe Paraskevopoulou, Anvay GroverOOPSLA 2021 · 10 citations
