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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext e0ccb7e1-bd27-4159-a78b-6ff8d5004d43Cited 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
- 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
- Coq Coq correct! verification of type checking and erasure for Coq, in CoqMatthieu Sozeau, Simon Boulier, Yannick Forster, Nicolas Tabareau et al.POPL 2020 · 67 citations
