Ramsey Quantifiers in Linear Arithmetics
Pascal Bergsträßer, Moses Ganardi, Anthony W. Lin, Georg Zetzsche
Abstract
We study Satisfiability Modulo Theories (SMT) enriched with the so-called Ramsey quantifiers, which assert the existence of cliques (complete graphs) in the graph induced by some formulas. The extended framework is known to have applications in proving program termination (in particular, whether a transitive binary predicate is well-founded), and monadic decomposability of SMT formulas. Our main result is a new algorithm for eliminating Ramsey quantifiers from three common SMT theories: Linear Integer Arithmetic (LIA), Linear Real Arithmetic (LRA), and Linear Integer Real Arithmetic (LIRA). In particular, if we work only with existentially quantified formulas, then our algorithm runs in polynomial time and produces a formula of linear size. One immediate consequence is that checking well-foundedness of a given formula in the aforementioned theory defining a transitive predicate can be straightforwardly handled by highly optimized SMT-solvers. We show also how this provides a uniform semi-algorithm for verifying termination and liveness with completeness guarantee (in fact, with an optimal computational complexity) for several well-known classes of infinite-state systems, which include succinct timed systems, one-counter systems, and monotonic counter systems. Another immediate consequence is a solution to an open problem on checking monadic decomposability of a given relation in quantifier-free fragments of LRA and LIRA, which is an important problem in automated reasoning and constraint databases. Our result immediately implies decidability of this problem with an optimal complexity (coNP-complete) and enables exploitation of SMT-solvers. It also provides a termination guarantee for the generic monadic decomposition algorithm of Veanes et al. for LIA, LRA, and LIRA. We report encouraging experimental results on a prototype implementation of our algorithms on micro-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.
1 top-tier paper has 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
- Revisiting Membership Problems in Subclasses of Rational Relations cites Ramsey Quantifiers over Automatic Structures: Complexity and Applications to Verification
- Reachability in Vector Addition Systems is Ackermann-complete cites The Reachability Problem for Petri Nets is Not Primitive Recursive
- The Reachability Problem for Petri Nets is Not Primitive Recursive cites Reachability in Vector Addition Systems is Ackermann-complete
- Constructing Small Monadic Decompositions in Presburger Arithmetic cites Ramsey Quantifiers over Automatic Structures: Complexity and Applications to Verification
- Constructing Small Monadic Decompositions in Presburger Arithmetic cites Learning Union of Integer Hypercubes with Queries - (with Applications to Monadic Decomposition)
Cited by top-tier papers1
Builds on5
- Reachability in Vector Addition Systems is Ackermann-completeWojciech Czerwinski, Lukasz OrlikowskiFOCS 2021 · 69 citations
- The Reachability Problem for Petri Nets is Not Primitive RecursiveJérôme LerouxFOCS 2021 · 62 citations
- Ramsey Quantifiers over Automatic Structures: Complexity and Applications to VerificationPascal Bergsträßer, Moses Ganardi, Anthony W. Lin, Georg ZetzscheLICS 2022 · 3 citations
- Revisiting Membership Problems in Subclasses of Rational RelationsPascal Bergsträßer, Moses GanardiLICS 2023 · 2 citations
- Learning Union of Integer Hypercubes with Queries - (with Applications to Monadic Decomposition)Oliver Markgraf, Daniel Stan, Anthony W. LinCAV 2021 · 1 citation
Related papers
- Lagrangian-Based Duality for Quantified SMT AlgorithmsIvana Bocevska, Takeshi Tsukada, Hiroshi Unno, Oded Padon et al.CAV 2026
- Quantified Linear and Polynomial Arithmetic Satisfiability via Template-based SkolemizationKrishnendu Chatterjee, Ehsan Kafshdar Goharshady, Mehrdad Karrabi, Harshit J. Motwani et al.AAAI 2025 · 3 citations
- Infinite-State Liveness Checking with rliveAlessandro Cimatti, Alberto Griggio, Christopher Johannsen, Kristin Yvonne Rozier et al.CAV 2025 · 2 citations
- Verified Quadratic Virtual Substitution for Real ArithmeticMatias Scharager, Katherine Cordwell, Stefan Mitsch, André PlatzerFM 2021 · 3 citations
- Geometric decision procedures and the VC dimension of linear arithmetic theoriesDmitry Chistikov, Christoph Haase, Alessio MansuttiLICS 2022 · 1 citation
