Ramsey Quantifiers in Linear Arithmetics

被引:1
|
作者
Bergstraesser, Pascal [1 ]
Ganardi, Moses [2 ]
Lin, Anthony W. [1 ,2 ]
Zetzsche, Georg [2 ]
机构
[1] Univ Kaiserslautern Landau, Kaiserslautern, Germany
[2] MPI SWS, Kaiserslautern, Germany
来源
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL | 2024年 / 8卷 / POPL期
基金
欧洲研究理事会;
关键词
Ramsey Quantifiers; Satisfiability Modulo Theories; Linear Integer Arithmetic; Linear Real Arithmetic; Monadic Decomposability; Liveness; Termination; Infinite Chains; Infinite Cliques; PUSHDOWN TIMED AUTOMATA; REACHABILITY ANALYSIS; MODEL CHECKING;
D O I
10.1145/3632843
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:1 / 32
页数:32
相关论文
共 50 条
  • [1] On the Combination of the Bernays-Schonfinkel-Ramsey Fragment with Simple Linear Integer Arithmetic
    Horbach, Matthias
    Voigt, Marco
    Weidenbach, Christoph
    AUTOMATED DEDUCTION - CADE 26, 2017, 10395 : 77 - 94
  • [2] Reasoning about graded strategy quantifiers
    Malvone, Vadim
    Mogavero, Fabio
    Murano, Aniello
    Sorrentino, Loredana
    INFORMATION AND COMPUTATION, 2018, 259 : 390 - 411
  • [3] Ramsey-Based Analysis of Parity Automata
    Friedmann, Oliver
    Lange, Martin
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, TACAS 2012, 2012, 7214 : 64 - 78
  • [4] Model-Checking Linear-Time Properties of Quantum Systems
    Ying, Mingsheng
    Li, Yangjia
    Yu, Nengkun
    Feng, Yuan
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2014, 15 (03)
  • [5] Hanf normal form for first-order logic with unary counting quantifiers
    Heimberg, Lucas
    Kuske, Dietrich
    Schweikardt, Nicole
    PROCEEDINGS OF THE 31ST ANNUAL ACM-IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS 2016), 2016, : 277 - 286
  • [6] Monopoly prices versus Ramsey-Boiteux prices: Are they "Similar" and: Does it matter?
    Höffler F.
    Journal of Industry, Competition and Trade, 2006, 6 (1) : 27 - 43
  • [7] Using linear algebra in decomposition of Farkas interpolants
    Martin Blicha
    Antti E. J. Hyvärinen
    Jan Kofroň
    Natasha Sharygina
    International Journal on Software Tools for Technology Transfer, 2022, 24 : 111 - 125
  • [8] Using linear algebra in decomposition of Farkas interpolants
    Blicha, Martin
    Hyvarinen, Antti E. J.
    Kofron, Jan
    Sharygina, Natasha
    INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2022, 24 (01) : 111 - 125
  • [9] Algebraic Model Checking for Discrete Linear Dynamical Systems
    Luca, Florian
    Ouaknine, Joel
    Worrell, James
    FORMAL MODELING AND ANALYSIS OF TIMED SYSTEMS, FORMATS 2022, 2022, 13465 : 3 - 15
  • [10] Symbolic model checking for linear hybrid systems base on craig interpolation
    Chen, Zu-Xi
    Xu, Zhong-Wei
    Huo, Wei-Wei
    Yu, Gang
    Tien Tzu Hsueh Pao/Acta Electronica Sinica, 2014, 42 (07): : 1338 - 1346