English

Nonlinear Craig Interpolant Generation

Formal Languages and Automata Theory 2020-05-12 v3

Abstract

Interpolation-based techniques have become popularized in recent years because of their inherently modular and local reasoning, which can scale up existing formal verification techniques like theorem proving, model-checking, abstraction interpretation, and so on, while the scalability is the bottleneck of these techniques. Craig interpolant generation plays a central role in interpolation-based techniques, and therefore has drawn increasing attentions. In the literature, there are various works done on how to automatically synthesize interpolants for decidable fragments of first-order logic, linear arithmetic, array logic, equality logic with uninterpreted functions (EUF), etc., and their combinations. But Craig interpolant generation for non-linear theory and its combination with the aforementioned theories are still in infancy, although some attempts have been done. In this paper, we first prove that a polynomial interpolant of the form h(x)>0h(\mathbf{x})>0 exists for two mutually contradictory polynomial formulas ϕ(x,y)\phi(\mathbf{x},\mathbf{y}) and ψ(x,z)\psi(\mathbf{x},\mathbf{z}), with the form f10fn0f_1\ge0\wedge\cdots\wedge f_n\ge0, where fif_i are polynomials in x,y\mathbf{x},\mathbf{y} or x,z\mathbf{x},\mathbf{z}, and the quadratic module generated by fif_i is Archimedean. Then, we show that synthesizing such interpolant can be reduced to solving a semi-definite programming problem (SDP{\rm SDP}). In addition, we propose a verification approach to assure the validity of the synthesized interpolant and consequently avoid the unsoundness caused by numerical error in SDP{\rm SDP} solving. Finally, we discuss how to generalize our approach to general semi-algebraic formulas.

Keywords

Cite

@article{arxiv.1903.01297,
  title  = {Nonlinear Craig Interpolant Generation},
  author = {Ting Gan and Bican Xia and Bai Xue and Naijun Zhan and Liyun Dai},
  journal= {arXiv preprint arXiv:1903.01297},
  year   = {2020}
}

Comments

32 pages, 4 figures

R2 v1 2026-06-23T07:57:36.499Z