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
基金
欧洲研究理事会;
关键词
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] Ramsey sentences and the meaning of quantifiers
    Hintikka, J
    PHILOSOPHY OF SCIENCE, 1998, 65 (02) : 289 - 305
  • [2] A Dichotomy Result for Ramsey Quantifiers
    de Haan, Ronald
    Szymanik, Jakub
    LOGIC, LANGUAGE, INFORMATION, AND COMPUTATION, WOLLIC 2015, 2015, 9160 : 69 - 80
  • [3] Characterizing polynomial Ramsey quantifiers
    de Haan, Ronald
    Szymanik, Jakub
    MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2019, 29 (06) : 896 - 908
  • [4] On Classical Decidable Logics Extended with Percentage Quantifiers and Arithmetics
    Bednarczyk, Bartosz
    Orlowska, Maja
    Pacanowska, Anna
    Tan, Tony
    Leibniz International Proceedings in Informatics, LIPIcs, 2021, 213
  • [5] RAMSEY QUANTIFIERS AND THE FINITE COVER PROPERTY
    BALDWIN, JT
    KUEKER, DW
    PACIFIC JOURNAL OF MATHEMATICS, 1980, 90 (01) : 11 - 19
  • [7] DECIDABILITY OF THEORY OF ABELIAN-GROUPS WITH RAMSEY QUANTIFIERS
    BAUDISCH, A
    BULLETIN DE L ACADEMIE POLONAISE DES SCIENCES-SERIE DES SCIENCES MATHEMATIQUES ASTRONOMIQUES ET PHYSIQUES, 1977, 25 (08): : 733 - 739
  • [8] ORDERED STRUCTURES AND LOGICS WITH RAMSEY QUANTIFIERS - PRELIMINARY-REPORT
    COWLES, JR
    NOTICES OF THE AMERICAN MATHEMATICAL SOCIETY, 1976, 23 (04): : A450 - A450
  • [9] ON THE ROLE OF RAMSEY QUANTIFIERS IN 1ST ORDER ARITHMETIC
    SCHMERL, JH
    SIMPSON, SG
    JOURNAL OF SYMBOLIC LOGIC, 1982, 47 (02) : 423 - 435
  • [10] MODEL FOR DESCRIPTION OF LINEAR NUMERICAL ARITHMETICS
    LORTZ, B
    ZEITSCHRIFT FUR ANGEWANDTE MATHEMATIK UND MECHANIK, 1973, 53 (04): : T217 - T218