English

Tree dimension in verification of constrained Horn clauses

Logic in Computer Science 2018-03-07 v2

Abstract

In this paper, we show how the notion of tree dimension can be used in the verification of constrained Horn clauses (CHCs). The dimension of a tree is a numerical measure of its branching complexity and the concept here applies to Horn clause derivation trees. Derivation trees of dimension zero correspond to derivations using linear CHCs, while trees of higher dimension arise from derivations using non-linear CHCs. We show how to instrument CHCs predicates with an extra argument for the dimension, allowing a CHC verifier to reason about bounds on the dimension of derivations. Given a set of CHCs PP, we define a transformation of PP yielding a dimension bounded set of CHCs PkP^{\leq{k}}. The set of derivations for PkP^{\leq{k}} consists of the derivations for PP that have dimension at most kk. We also show how to construct a set of clauses denoted P>kP^{>{k}} whose derivations have dimension exceeding kk. We then present algorithms using these constructions to decompose a CHC verification problem. One variation of this decomposition considers derivations of successively increasing dimension. The paper includes descriptions of implementations and experimental results. Under consideration for publication in Theory and Practice of Logic Programming (TPLP).

Keywords

Cite

@article{arxiv.1803.01448,
  title  = {Tree dimension in verification of constrained Horn clauses},
  author = {Bishoksan Kafle and John P. Gallagher and Pierre Ganty},
  journal= {arXiv preprint arXiv:1803.01448},
  year   = {2018}
}

Comments

Under consideration for publication in Theory and Practice of Logic Programming (TPLP)