Formal synthesis of neural Craig interpolant via Counterexample Guided Deep Learning

Information & Software Technology(2023)

引用 0|浏览1
暂无评分
摘要
Craig interpolation is a significant and efficient application to formal verification and synthesis. However, there still remains a challenge in the synthesis of Craig interpolation for nonlinear theory. For quantifier-free theories of nonlinear arithmetic, this paper proposes a new approach to generate nonlinear Craig interpolants represented as deep neural networks. The approach exploits a CEGIS framework where a learner yields a neural candidate interpolant satisfying the interpolant conditions against training data sets, and a verifier adopts computer algebra methods to confirm the correctness of the candidate or to generate counterexamples for further refining the candidate. We implement the tool SyntheNI based on our CEGIS procedure, and assess the performance against a collection of benchmark examples. The tool SyntheNI performs better than existing methods in the aspect of the iteration number and the computational time. As an application, the tool SyntheNI is used to synthesize loop invariants. The SyntheNI can generate nonlinear Craig interpolants for quantifier free nonlinear real arithmetic. The experimental evaluation confirms the high performance of our synthesis method.
更多
查看译文
关键词
neural craig,formal synthesis,deep learning
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要