Toward Neural-Network-Guided Program Synthesis and Verification
Toward Neural-Network-Guided Program Synthesis and Verification
复制标题
DOI:
10.1007/978-3-030-88806-0_12
复制
发表时间:
2021-03
期刊:
影响因子:
--
通讯作者:
N. Kobayashi;Taro Sekiyama;Issei Sato;Hiroshi Unno
中科院分区:
文献类型:
--
作者:
N. Kobayashi;Taro Sekiyama;Issei Sato;Hiroshi Unno
We propose a novel framework of program and invariant synthesis called neural network-guided synthesis (NeuGuS). We first show that, by suitably designing and training neural networks, we can extract logical formulas over integers from the weights and biases of the trained neural networks. Based on the idea, we have implemented a tool to synthesize formulas from positive/negative examples and implication constraints, and obtained promising experimental results. We also discuss two applications of our synthesis method. One is the use of our tool for qualifier discovery in the framework of ICE-learning-based CHC solving, which can in turn be applied to program verification and inductive invariant synthesis. Another application is to a new program development framework called oracle-based programming, which is a neural-network-guided variation of Solar-Lezama’s program synthesis by sketching.