Solvable Polynomial Ideals: The Ideal Reflection for Program Analysis
John Cyphert, Zachary Kincaid
Abstract
This paper presents a program analysis method that generates program summaries involving polynomial arithmetic. Our approach builds on prior techniques that use solvable polynomial maps for summarizing loops. These techniques are able to generate all polynomial invariants for a restricted class of programs, but cannot be applied to programs outside of this class—for instance, programs with nested loops, conditional branching, unstructured control flow, etc. There currently lacks approaches to apply these prior methods to the case of general programs. This paper bridges that gap. Instead of restricting the kinds of programs we can handle, our method abstracts every loop into a model that can be solved with prior techniques, bringing to bear prior work on solvable polynomial maps to general programs. While no method can generate all polynomial invariants for arbitrary programs, our method establishes its merit through a monotonicty result. We have implemented our techniques, and tested them on a suite of benchmarks from the literature. Our experiments indicate our techniques show promise on challenging verification tasks requiring non-linear reasoning.
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 e00cd372-2304-455d-bd29-58df63569aa7Cited by top-tier papers7
- Linear and Non-linear Relational Analyses for Quantum Program OptimizationMatthew Amy, Joseph LundervillePOPL 2025 · 9 citations
- Simple Linear Loops: Algebraic Invariants and ApplicationsRida Ait El Manssour, George Kenison, Mahsa Shirmohammadi, Anton VaronkaPOPL 2025 · 2 citations
- Algebraic Closure of Matrix Sets Recognized by 1-VASSRida Ait El Manssour, Mahsa Naraghi, Mahsa Shirmohammadi, James WorrellSODA 2026 · 1 citation
- Software Model Checking via Summary-Guided SearchRuijie Fang, Zachary Kincaid, Thomas RepsOOPSLA 2025
- Evolving Abstract Transformers for Gradient-Guided, Adaptable Abstract InterpretationShaurya Gomber, Debangshu Banerjee, Gagandeep SinghPLDI 2026
Builds on5
- Polynomial invariant generation for non-deterministic recursive programsKrishnendu Chatterjee, Hongfei Fu, Amir Kafshdar Goharshady, Ehsan Kafshdar GoharshadyPLDI 2020 · 46 citations
- Termination analysis without the tearsShaowei Zhu, Zachary KincaidPLDI 2021 · 16 citations
- Algebro-geometric Algorithms for Template-Based Synthesis of Polynomial ProgramsAmir Kafshdar Goharshady, S. Hitarth, Fatemeh Mohammadi, Harshit J. MotwaniOOPSLA 2023 · 15 citations
- When Less Is More: Consequence-Finding in a Weak Theory of ArithmeticZachary Kincaid, Nicolas Koh, Shaowei ZhuPOPL 2023 · 8 citations
- Reflections on Termination of Linear LoopsShaowei Zhu, Zachary KincaidCAV 2021 · 4 citations
Related papers
- Affine Loop Invariant Generation via Matrix AlgebraYucheng Ji, Hongfei Fu, Bin Fang, Haibo ChenCAV 2022 · 10 citations
- On Polynomial Expressions with C-Finite Recurrences in Loops with Nested Nondeterministic BranchesChenglin Wang, Fangzhen LinCAV 2024 · 3 citations
- Demystifying Template-Based Invariant Generation for Bit-Vector ProgramsPeisen Yao, Jingyu Ke, Jiahui Sun, Hongfei Fu et al.ASE 2023 · 3 citations
- Monotone Procedure Summarization via Vector Addition Systems and Inductive PotentialsNikhil Pimpalkhare, Zachary KincaidOOPSLA 2024 · 4 citations
- Polynomial Invariant Generation for Floating-Point ProgramsXuran Cai, Liqian Chen, Hongfei FuCAV 2026
