Skip to main content
QUICK REVIEW

[Paper Review] Disjunctive Interpolants for Horn-Clause Verification (Extended Technical Report)

Philipp Rümmer, Hossein Hojjat|arXiv (Cornell University)|Jan 21, 2013
Formal Methods in VerificationComputer Science15 references3 citations
TL;DR

This paper introduces disjunctive interpolation, a new form of Craig interpolation that generalizes tree interpolants and inductive sequences by allowing disjunctive branching in interpolation trees. It presents algorithms for constructing disjunctive interpolants, proves tight complexity bounds for recursion-free Horn clauses (co-NEXPTIME for integer linear arithmetic), and demonstrates in experiments that disjunctive interpolation reduces abstraction refinement steps compared to tree interpolation, though with a trade-off in predicate generation time.

ABSTRACT

One of the main challenges in software verification is efficient and precise compositional analysis of programs with procedures and loops. Interpolation methods remain one of the most promising techniques for such verification, and are closely related to solving Horn clause constraints. We introduce a new notion of interpolation, disjunctive interpolation, which solve a more general class of problems in one step compared to previous notions of interpolants, such as tree interpolants or inductive sequences of interpolants. We present algorithms and complexity for construction of disjunctive interpolants, as well as their use within an abstraction-refinement loop. We have implemented Horn clause verification algorithms that use disjunctive interpolants and evaluate them on benchmarks expressed as Horn clauses over the theory of integer linear arithmetic.

Motivation & Objective

  • Address the challenge of efficient and precise compositional verification of programs with loops and procedures using interpolation-based abstraction-refinement.
  • Overcome limitations of prior interpolation forms—such as tree interpolants and inductive sequences—by introducing a more expressive, disjunctive form that handles multiple counterexamples simultaneously.
  • Develop efficient algorithms for constructing disjunctive interpolants and establish their computational complexity relative to recursion-free Horn clause solving.
  • Demonstrate the practical benefits of disjunctive interpolation in reducing refinement steps in model checking, using benchmarks from the NTS library and comparisons with HSF and tree interpolation.
  • Enable verification of recursive Horn clauses via counterexample-driven predicate abstraction using disjunctive interpolants.

Proposed method

  • Define disjunctive interpolation as a generalization of tree interpolation where interpolation trees may contain both conjunctions and disjunctions at branching nodes.
  • Reduce the disjunctive interpolation problem to solving a subclass of recursion-free Horn clauses, enabling use of existing Horn clause solvers.
  • Prove that solving recursion-free Horn clauses over propositional logic is PSPACE-complete and over integer linear arithmetic is co-NEXPTIME-complete.
  • Show that the disjunctive interpolation problem remains in co-NP for these logics, offering a complexity advantage over full Horn clause solving.
  • Integrate disjunctive interpolation into an abstraction-refinement loop for recursive Horn clauses, using counterexample extraction and predicate generation.
  • Implement the approach in a prototype and evaluate it on benchmarks from the NTS library, including recursive algorithms, linked lists, VHDL circuits, and array programs.

Experimental results

Research questions

  • RQ1Can a new form of interpolation be defined that generalizes tree interpolants and inductive sequences by allowing disjunctive branching in interpolation trees?
  • RQ2What is the computational complexity of solving disjunctive interpolation problems and recursion-free Horn clauses over integer linear arithmetic?
  • RQ3Can disjunctive interpolation reduce the number of abstraction refinement steps compared to tree interpolation in model checking?
  • RQ4How does the performance of disjunctive interpolation compare to state-of-the-art tools like HSF on standard Horn clause benchmarks?
  • RQ5Is there a practical trade-off between the time spent generating interpolants and the quality of the resulting predicates in terms of refinement efficiency?

Key findings

  • Disjunctive interpolation subsumes tree interpolants and inductive sequences of interpolants and is strictly more expressive, enabling simultaneous handling of multiple counterexamples.
  • The disjunctive interpolation problem is in co-NP for propositional logic and co-NEXPTIME for integer linear arithmetic, while solving recursion-free Horn clauses is PSPACE-complete and co-NEXPTIME-complete, respectively.
  • In experiments, disjunctive interpolation consistently reduced the number of abstraction refinement steps compared to tree interpolation, indicating better predicate quality.
  • Despite fewer refinement steps, disjunctive interpolation used 42% of verification time on average for predicate generation, compared to 31% for tree interpolation, leading to slower overall performance on some benchmarks.
  • The approach successfully verified benchmarks with modular arithmetic that HSF could not process, demonstrating broader applicability.
  • On large benchmarks, HSF remained faster than the prototype, but the performance gap narrowed, suggesting potential for improvement with further optimization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.