Lune

POPL2024Top-tier venue

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 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.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Evolving Abstract Transformers for Gradient-Guided, Adaptable Abstract Interpretation cites When Less Is More: Consequence-Finding in a Weak Theory of Arithmetic
  • Reflections on Termination of Linear Loops cites Termination analysis without the tears
  • Algebraic Closure of Matrix Sets Recognized by 1-VASS cites Simple Linear Loops: Algebraic Invariants and Applications
  • Algebraic Closure of Matrix Sets Recognized by 1-VASS cites Polynomial invariant generation for non-deterministic recursive programs
  • Algebro-geometric Algorithms for Template-Based Synthesis of Polynomial Programs cites Polynomial invariant generation for non-deterministic recursive programs
  • When Less Is More: Consequence-Finding in a Weak Theory of Arithmetic cites Polynomial invariant generation for non-deterministic recursive programs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Linear and Non-linear Relational Analyses for Quantum Program OptimizationMatthew Amy, Joseph LundervillePOPL 2025 · 9 citations
  2. Simple Linear Loops: Algebraic Invariants and ApplicationsRida Ait El Manssour, George Kenison, Mahsa Shirmohammadi, Anton VaronkaPOPL 2025 · 2 citations
  3. Algebraic Closure of Matrix Sets Recognized by 1-VASSRida Ait El Manssour, Mahsa Naraghi, Mahsa Shirmohammadi, James WorrellSODA 2026 · 1 citation
  4. Software Model Checking via Summary-Guided SearchRuijie Fang, Zachary Kincaid, Thomas RepsOOPSLA 2025
  5. Evolving Abstract Transformers for Gradient-Guided, Adaptable Abstract InterpretationShaurya Gomber, Debangshu Banerjee, Gagandeep SinghPLDI 2026

Builds on5

  1. Polynomial invariant generation for non-deterministic recursive programsKrishnendu Chatterjee, Hongfei Fu, Amir Kafshdar Goharshady, Ehsan Kafshdar GoharshadyPLDI 2020 · 46 citations
  2. Termination analysis without the tearsShaowei Zhu, Zachary KincaidPLDI 2021 · 16 citations
  3. Algebro-geometric Algorithms for Template-Based Synthesis of Polynomial ProgramsAmir Kafshdar Goharshady, S. Hitarth, Fatemeh Mohammadi, Harshit J. MotwaniOOPSLA 2023 · 15 citations
  4. When Less Is More: Consequence-Finding in a Weak Theory of ArithmeticZachary Kincaid, Nicolas Koh, Shaowei ZhuPOPL 2023 · 8 citations
  5. Reflections on Termination of Linear LoopsShaowei Zhu, Zachary KincaidCAV 2021 · 4 citations

Related papers

  1. Affine Loop Invariant Generation via Matrix AlgebraYucheng Ji, Hongfei Fu, Bin Fang, Haibo ChenCAV 2022 · 10 citations
  2. On Polynomial Expressions with C-Finite Recurrences in Loops with Nested Nondeterministic BranchesChenglin Wang, Fangzhen LinCAV 2024 · 3 citations
  3. Demystifying Template-Based Invariant Generation for Bit-Vector ProgramsPeisen Yao, Jingyu Ke, Jiahui Sun, Hongfei Fu et al.ASE 2023 · 3 citations
  4. Monotone Procedure Summarization via Vector Addition Systems and Inductive PotentialsNikhil Pimpalkhare, Zachary KincaidOOPSLA 2024 · 4 citations
  5. Polynomial Invariant Generation for Floating-Point ProgramsXuran Cai, Liqian Chen, Hongfei FuCAV 2026
Dusk over the sea between two cliffs drawn in fine vertical lines