大引理挖掘器:LLMs能否为硬件生成归纳证明?
Large Lemma Miners: Can LLMs do Induction Proofs for Hardware?
AI总结:
本文探讨LLMs在硬件验证中生成归纳证明的能力,提出神经符号方法,通过两个提示框架生成候选不变量并验证,成功生成正确证明。
摘要:
大型语言模型(LLMs)在解决数学任务方面展现出了潜力。我们展示LLMs可以被用于生成硬件验证中的归纳证明,并因此替代部分由形式验证工程师手动完成的工作,从而带来工业价值。我们提出了一种神经符号方法,其中包括两个提示框架来生成候选不变量,这些不变量通过正式的符号工具进行检查。我们的结果表明,通过足够的再提示,LLMs能够为中等规模的开源RTL设计生成归纳论证。对于我们的问题集中的84%,至少有一个提示设置成功地生成了可证明正确的归纳论证。
英文摘要:
Large Language Models (LLMs) have shown potential for solving mathematical tasks. We show that LLMs can be utilized to generate proofs by induction for hardware verification and thereby replace some of the manual work done by Formal Verification engineers and deliver industrial value. We present a neurosymbolic approach that includes two prompting frameworks to generate candidate invariants, which are checked using a formal, symbolic tool. Our results indicate that with sufficient reprompting, LLMs are able to generate inductive arguments for mid-size open-source RTL designs. For 84% of our problem set, at least one of the prompt setups succeeded in producing a provably correct inductive argument.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。