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 条
  • [21] RANKING TEMPLATES FOR LINEAR LOOPS
    Leike, Jan
    Heizmann, Matthias
    LOGICAL METHODS IN COMPUTER SCIENCE, 2015, 11 (01)
  • [22] On a nonparametric test for linear relationships
    Dette, H
    STATISTICS & PROBABILITY LETTERS, 2000, 46 (03) : 307 - 316
  • [23] Reflections on Termination of Linear Loops
    Zhu, Shaowei
    Kincaid, Zachary
    COMPUTER AIDED VERIFICATION, PT II, CAV 2021, 2021, 12760 : 51 - 74
  • [24] Parametric Linear Dynamic Logic
    Faymonville, Peter
    Zimmermann, Martin
    INFORMATION AND COMPUTATION, 2017, 253 : 237 - 256
  • [25] TERMINATION ANALYSIS OF LINEAR LOOPS
    Xu, Ming
    Chen, Liangyu
    Zeng, Zhenbing
    Li, Zhi-Bin
    INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2010, 21 (06) : 1005 - 1019
  • [26] On monitoring linear temporal properties
    Havelund, Klaus
    Peled, Doron
    FORMAL METHODS IN SYSTEM DESIGN, 2022, 60 (03) : 405 - 425
  • [27] Fully automated verification of linear time-invariant systems against signal temporal logic specifications via reachability analysis
    Kochdumper, Niklas
    Bak, Stanley
    NONLINEAR ANALYSIS-HYBRID SYSTEMS, 2024, 53
  • [28] The L-depth Eventual Linear Ranking Functions for Single-path Linear Constraint Loops
    Li, Yi
    Zhu, Guang
    Feng, Yong
    2016 10TH INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING (TASE), 2016, : 30 - 37
  • [29] Semi-linear VASR for Over-Approximate Semi-linear Transition System Reachability
    Pimpalkhare, Nikhil
    Kincaid, Zachary
    REACHABILITY PROBLEMS, RP 2024, 2024, 15050 : 154 - 166
  • [30] Scaling up Probabilistic Inference in Linear and Non-linear Hybrid Domains by Leveraging Knowledge Compilation
    Fuxjaeger, Anton R.
    Belle, Vaishak
    ICAART: PROCEEDINGS OF THE 12TH INTERNATIONAL CONFERENCE ON AGENTS AND ARTIFICIAL INTELLIGENCE, VOL 2, 2020, : 347 - 355