Rango: Adaptive Retrieval-Augmented Proving for Automated Software Verification
University of California San Diego(加利福尼亚大学圣迭戈分校);INESC-ID(INESC-ID(里斯本计算机与系统工程研究所));IST, University of Lisbon(里斯本大学高等技术学院);Imperial College London(伦敦帝国学院);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)
Kyle Thompson, Nuno Saavedra, Pedro Carrott, Kevin Fisher, Alex Sanchez-Stern, Yuriy Brun, João F. Ferreira, Sorin Lerner, Emily First
备注:
In Proceedings of the 47th International Conference on Software Engineering (ICSE), Ottawa, ON, Canada, April 2025
Formal verification using proof assistants, such as Coq, enables the creation of high-quality software. However, the verification process requires significant expertise and manual effort to write proofs. Recent work has explored automating proof synthesis using machine learning and large language models (LLMs). This work has shown that identifying relevant premises, such as lemmas and definitions, can aid synthesis. We present Rango, a fully automated proof synthesis tool for Coq that automatically identifies relevant premises and also similar proofs from the current project and uses them during synthesis. Rango uses retrieval augmentation at every step of the proof to automatically determine which proofs and premises to include in the context of its fine-tuned LLM. In this way, Rango adapts to the project and to the evolving state of the proof. We create a new dataset, CoqStoq, of 2,226 open-source Coq projects and 196,929 theorems from GitHub, which includes both training data and a curated evaluation benchmark of well-maintained projects. On this benchmark, Rango synthesizes proofs for 32.0% of the theorems, which is 29% more theorems than the prior state-of-the-art tool Tactician. Our evaluation also shows that Rango adding relevant proofs to its context leads to a 47% increase in the number of theorems proven.
Neural Theorem Proving for Verification Conditions: A Real-World Benchmark
Nanyang Technological University(南洋理工大学);Peking University(北京大学);MBZUAI;Imperial College London(帝国理工学院);East China Normal University(华东师范大学);University of Edinburgh(爱丁堡大学)
Can Large Language Models Model Programs Formally?
State Key Laboratory for Novel Software Technology, Nanjing University(南京大学);The Hong Kong University of Science and Technology(香港科技大学);Guangzhou HKUST Fok Ying Tung Research Institute(广州港科技霍英东研究院)
Michael John Caldwell Gordon (FRS 1994), 28 February 1948 -- 22 August 2017
Michael Gordon是交互式定理证明和硬件验证领域的先驱。在20世纪70年代,他的愿景是正式验证系统设计,使用数学和逻辑证明其正确性。他在现实世界的计算机设计中展示了他的想法。他的学生将工作扩展到不同的领域,如浮点算法的验证,概率算法的验证和源代码的验证翻译,以纠正机器码。他当选为英国皇家学会于1994年,他继续生产杰出的研究,直到退休。他的成就包括他在爱丁堡大学的工作,帮助创建爱丁堡LCF,第一个交互式定理证明器,以及ML家族的函数式程序设计语言。他采用高阶逻辑作为验证的一般形式,表明它可以指定从门级到处理器级的硬件设计。它被证明是计算机科学和数学中许多问题的理想形式。他的工具和技术在形式化验证领域产生了巨大的影响。
AutoINV: Automated Invariant Generation Framework for Formal Verification on High-Level Synthesis Designs
The Hong Kong University of Science and Technology(香港科技大学);Indian Institute of Technology Goa(印度理工学院果阿分校);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
Nanyang Technological University Singapore(南洋理工大学新加坡分校);Imperial College London London, UK(伦敦帝国理工学院伦敦分校);University of Edinburgh Edinburgh, UK(爱丁堡大学爱丁堡分校)