Quantifiers on Demand

Arie Gurfinkel, Sharon Shoham, Yakir Vizel
6/1/2021
cs.LOcs.PL

Official code: chc-comp/quic3 (0 stars, SMT, last commit 2018-07-30).

Abstract

Automated program verification is a difficult problem. It is undecidable even for transition systems over Linear Integer Arithmetic (LIA).

Show full abstract

Extending the transition system with theory of Arrays, further complicates the problem by requiring inference and reasoning with universally quantified formulas. In this paper, we present a new algorithm, Quic3, that extends IC3 to infer universally quantified invariants over the combined theory of LIA and Arrays. Unlike other approaches that use either IC3 or an SMT solver as a black box, Quic3 carefully manages quantified generalization (to construct quantified invariants) and quantifier instantiation (to detect convergence in the presence of quantifiers). While Quic3 is not guaranteed to converge, it is guaranteed to make progress by exploring longer and longer executions. We have implemented Quic3 within the Constrained Horn Clause solver engine of Z3 and experimented with it by applying Quic3 to verifying a variety of public benchmarks of array manipulating C programs.

View on arXivView PDF

Code Implementations(1)

chc-comp/quic3Official100%

Quic3 experiments

00SMTJul 30, 20188 years ago

Similar Papers

Cite this paper

@article{gurfinkel2021quantifiers,
  title  = {Quantifiers on Demand},
  author = {Arie Gurfinkel and Sharon Shoham and Yakir Vizel},
  year   = {2021},
  eprint = {2106.00664},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.00664}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.00664.svg)](https://codeofpaper.com/paper/2106.00664)

Discussion