Lune

ACL2024顶会

Selene: Pioneering Automated Proof in Software Verification

Lichen Zhang, Shuai Lu, Nan Duan

摘要

Ensuring correctness is a pivotal aspect of software engineering. Among the various strategies available, software verification offers a definitive assurance of correctness. Nevertheless, writing verification proofs is resource-intensive and manpower-consuming, and there is a great need to automate this process. We introduce Selene in this paper, which is the first projectlevel automated proof benchmark constructed based on the real-world industrial-level operating system microkernel, seL4. Selene provides a comprehensive framework for end-toend proof generation and a lightweight verification environment. Our experimental results with advanced large language models (LLMs), such as GPT-3.5-turbo and GPT-4, highlight the capabilities of LLMs in the domain of automated proof generation. Additionally, our further proposed augmentations indicate that the challenges presented by Selene can be mitigated in future research endeavors. "Program testing can be used to show the presence of bugs, but never to show their absence." -Dahl et al.'s (1972) This process requires formal proofs to rigorously 040 demonstrate that the program satisfies the required 041 properties, which can be verified by the prover. 042 In general, software verification involves two 043 stages. ❶ The prerequisite specification stage trans-044 lates the required properties and the subject pro-045 gram into the formal language, creating a to-be-046 proved proposition stating that "the program meets 047 the properties", a.k.a., the specification. ❷ The 048 proof stage is supposed to generate proofs that 049 prove the above specification and can be formally 050 checked by the prover. Both stages consume sig-051 nificant resources and manpower, with the second 052 stage being particularly demanding. E.g., the seL4 053 operating system microkernel 2 , which has been 054 formally verified against strong functionality and 055 security properties, requires 7 person-months ded-056 icated to specification stage and 11 person-years 057 to proof stage for correctness verification, and the 058 amount of proof code in seL4 is even ten times 059 more than that of the microkernel implementation 060 itself (Klein et al., 2014). Therefore, in order to 061 promote provable software, automated software 062 verification, particularly automated proof, is highly 063 desirable. As an early exploratory effort, in this 064 paper, we explore to automate the major overhead. 065 Typically, automated proof in software verifica-066 tion is a conditional generation task from the speci-067 fication to the proof, involving reasoning capabil-068 ities. Fortunately, large language models (LLMs) 069 offer an opportunity, as they have demonstrated 070

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Towards Language Model Guided TLA+ Proof Automation 引用了 Proving Theorems Recursively
  • Towards Language Model Guided TLA+ Proof Automation 引用了 Baldur: Whole-Proof Generation and Repair with Large Language Models
  • Teaching Large Language Models to Self-Debug 引用了 Language Models are Few-Shot Learners
  • Neuro-Symbolic Proof Generation for Scaling Systems Software Verification 引用了 Baldur: Whole-Proof Generation and Repair with Large Language Models
  • Proving Theorems Recursively 引用了 Baldur: Whole-Proof Generation and Repair with Large Language Models
  • Baldur: Whole-Proof Generation and Repair with Large Language Models 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Proving Theorems RecursivelyHaiming Wang, Huajian Xin, Zhengying Liu, Wenda Li 等NeurIPS 2024 · 34 次引用
  2. OSVBench: Benchmarking LLMs on Specification Generation Tasks for Operating System VerificationShangyu Li, Juyong Jiang, Tiancheng Zhao, Jiasi ShenAAAI 2026 · 10 次引用
  3. Towards Language Model Guided TLA+ Proof AutomationYuhao Zhou, Stavros TripakisFM 2026 · 1 次引用
  4. Neuro-Symbolic Proof Generation for Scaling Systems Software VerificationBaoding He, Zenan Li, Wei Sun, Yuan Yao 等OSDI 2026
  5. SL-VC: A Benchmark and Automated Framework for Separation Logic Verification Condition ProvingHanyang Wang, Xiwei Wu, Qinxiang CaoICML 2026

它引用的 Paper5

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Self-RAG: Learning to Retrieve, Generate, and Critique through Self-ReflectionAkari Asai, Zeqiu Wu, Yizhong Wang, Avirup Sil 等ICLR 2024 · 1,798 次引用
  3. Teaching Large Language Models to Self-DebugXinyun Chen, Maxwell Lin, Nathanael Schärli, Denny ZhouICLR 2024 · 1,085 次引用
  4. Language GANs Falling ShortMassimo Caccia, Lucas Caccia, William Fedus, Hugo Larochelle 等ICLR 2020 · 236 次引用
  5. Baldur: Whole-Proof Generation and Repair with Large Language ModelsEmily First, Markus N. Rabe, Talia Ringer, Yuriy BrunFSE 2023 · 89 次引用

相关 Paper

  1. Automated Proof Generation for Rust Code via Self-EvolutionTianyu Chen, Shuai Lu, Shan Lu, Yeyun Gong 等ICLR 2025
  2. VERINA: Benchmarking Verifiable Code GenerationZhe Ye, Zhengxu Yan, Jingxuan He, Timothe Kasriel 等ICLR 2026 · 34 次引用
  3. APOLLO: Automated LLM and Lean Collaboration for Advanced Formal ReasoningAzim Ospanov, Farzan Farnia, Roozbeh MohitNeurIPS 2025 · 49 次引用
  4. Neural Theorem Proving for Verification Conditions: A Real-World BenchmarkQiyuan Xu, Xiaokun Luan, Renxi Wang, Joshua Ong Jun Leang 等ICLR 2026 · 6 次引用
  5. AutoVerus: Automated Proof Generation for Rust CodeChenyuan Yang, Xuheng Li, Md Rakib Hossain Misu, Jianan Yao 等OOPSLA 2025 · 11 次引用
黄昏的海面,两侧是细线勾勒的悬崖