arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.01346cs.PLcs.CLcs.SE
收藏

Roosterize: Suggesting Lemma Names for Coq Verification Projects Using Deep Learning

The University of Texas at Austin(德克萨斯大学奥斯汀分校);KTH Royal Institute of Technology(瑞典皇家理工学院)

Pengyu Nie, Karl Palmskog, Junyi Jessy Li, Milos Gligoric

英文摘要:

Naming conventions are an important concern in large verification projects using proof assistants, such as Coq. In particular, lemma names are used by proof engineers to effectively understand and modify Coq code. However, providing accurate and informative lemma names is a complex task, which is currently often carried out manually. Even when lemma naming is automated using rule-based tools, generated names may fail to adhere to important conventions not specified explicitly. We demonstrate a toolchain, dubbed Roosterize, which automatically suggests lemma names in Coq projects. Roosterize leverages a neural network model trained on existing Coq code, thus avoiding manual specification of naming conventions. To allow proof engineers to conveniently access suggestions from Roosterize during Coq project development, we integrated the toolchain into the popular Visual Studio Code editor. Our evaluation shows that Roosterize substantially outperforms strong baselines for suggesting lemma names and is useful in practice. The demo video for Roosterize can be viewed at: https://youtu.be/HZ5ac7Q14rc.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑