跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2507.04857 (cs)
[提交于 2025年7月7日]

标题:Supporting Software Formal Verification with Large Language Models: An Experimental Study

作者:Weiqi Wang, Marie Farrell, Lucas C. Cordeiro, Liping Zhao
查看论文《Supporting Software Formal Verification with Large Language Models: An Experimental Study》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Formal methods have been employed for requirements verification for a long time. However, it is difficult to automatically derive properties from natural language requirements. SpecVerify addresses this challenge by integrating large language models (LLMs) with formal verification tools, providing a more flexible mechanism for expressing requirements. This framework combines Claude 3.5 Sonnet with the ESBMC verifier to form an automated workflow. Evaluated on nine cyber-physical systems from Lockheed Martin, SpecVerify achieves 46.5% verification accuracy, comparable to NASA's CoCoSim, but with lower false positives. Our framework formulates assertions that extend beyond the expressive power of LTL and identifies falsifiable cases that are missed by more traditional methods. Counterexample analysis reveals CoCoSim's limitations stemming from model connection errors and numerical approximation issues. While SpecVerify advances verification automation, our comparative study of Claude, ChatGPT, and Llama shows that high-quality requirements documentation and human monitoring remain critical, as models occasionally misinterpret specifications. Our results demonstrate that LLMs can significantly reduce the barriers to formal verification, while highlighting the continued importance of human-machine collaboration in achieving optimal results.
评论: Accepted for publication in 2025 IEEE 33rd International Requirements Engineering Conference (RE)
主题: 软件工程 (cs.SE)
引用方式: arXiv:2507.04857 [cs.SE]
  (或者 arXiv:2507.04857v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2507.04857

提交历史

来自:Weiqi Wang
[v1] 2025年7月7日 星期一 10:30:05 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-07
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站