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 条
  • [31] Robustness of transitions in switched linear systems
    Jönsson, UT
    INTERNATIONAL JOURNAL OF ROBUST AND NONLINEAR CONTROL, 2005, 15 (07) : 293 - 314
  • [32] Functional synthesis for linear arithmetic and sets
    Kuncak V.
    Mayer M.
    Piskac R.
    Suter P.
    Kuncak, V. (viktor.kuncak@epfl.ch), 1600, Springer Verlag (15): : 455 - 474
  • [33] A general approach to heteroscedastic linear regression
    Leslie, David S.
    Kohn, Robert
    Nott, David J.
    STATISTICS AND COMPUTING, 2007, 17 (02) : 131 - 146
  • [34] Finite Bisimulations for Switched Linear Systems
    Gol, Ebru Aydin
    Ding, Xuchu
    Lazar, Mircea
    Belta, Calin
    2012 IEEE 51ST ANNUAL CONFERENCE ON DECISION AND CONTROL (CDC), 2012, : 7632 - 7637
  • [35] Termination proofs for linear simple loops
    Chen, Hong Yi
    Flur, Shaked
    Mukhopadhyay, Supratik
    INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2015, 17 (01) : 47 - 57
  • [36] Linear control of live marked graphs
    Darondeau, P
    Xie, X
    AUTOMATICA, 2003, 39 (03) : 429 - 440
  • [37] Linear Sized Types in the Calculus of Constructions
    Sacchini, Jorge Luis
    FUNCTIONAL AND LOGIC PROGRAMMING, FLOPS 2014, 2014, 8475 : 169 - 185
  • [38] The Density of Linear-Time Properties
    Finkbeiner, Bernd
    Torfah, Hazem
    AUTOMATED TECHNOLOGY FOR VERIFICATION AND ANALYSIS (ATVA 2017), 2017, 10482 : 139 - 155
  • [39] On ACTL formulas having linear counterexamples
    Buccafurri, F
    Eiter, T
    Gottlob, G
    Leone, N
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2001, 62 (03) : 463 - 515
  • [40] Realization Theory for Linear Hybrid Systems
    Petreczky, Mihaly
    van Schuppen, Jan H.
    IEEE TRANSACTIONS ON AUTOMATIC CONTROL, 2010, 55 (10) : 2282 - 2297