arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.14495cs.LO
收藏

基于提示的SMT证明重建

Hint-Based SMT Proof Reconstruction

Carnegie Mellon University(卡内基梅隆大学);Universidade Federal de Minas Gerais(米纳斯吉拉斯联邦大学)

Joshua Clune, Haniel Barbosa, Jeremy Avigad

AI总结:

本文提出一种基于提示的SMT证明重建方法,利用cvc5求解器生成的提示提升Lean自动化性能。

摘要:

在将交互式和自动定理证明器相结合的几种范式中,结合了强大自动化带来的便利与强声学保证。我们介绍了一种新的方法,用于重建SMT求解器发现的证明,旨在与现有技术互补。而不是验证或重放SMT求解器生成的完整证明,或在极端情况下仅从求解器使用的前提集重新发现证明,我们探索了一种方法,通过在求解过程中利用推导出的事实来指导交互式定理证明器的内部自动化,这种方法称为提示。这使得可以从SMT求解器的证明中提取更多信息,而无需承担依赖SMT求解器本身的代价。我们在Lean证明助手中实现了一个名为QuerySMT的战术,利用cvc5 SMT求解器的提示来改进现有的Lean自动化。我们评估了QuerySMT在相关Lean基准测试中的性能,将其与其他Lean中与SMT求解相关的工具进行比较,并展示cvc5生成的提示在现有自动化性能提升方面的明显改进。

英文摘要:

There are several paradigms for integrating interactive and automated theorem provers, combining the convenience of powerful automation with strong soundness guarantees. We introduce a new approach for reconstructing proofs found by SMT solvers which we intend to be complementary with existing techniques. Rather than verifying or replaying a full proof produced by the SMT solver, or at the other extreme, rediscovering the solver's proof from just the set of premises it uses, we explore an approach which helps guide an interactive theorem prover's internal automation by leveraging derived facts during solving, which we call hints. This makes it possible to extract more information from the SMT solver's proof without the cost of retaining a dependency on the SMT solver itself. We implement a tactic in the Lean proof assistant, called QuerySMT, which leverages hints from the cvc5 SMT solver to improve existing Lean automation. We evaluate QuerySMT's performance on relevant Lean benchmarks, compare it to other tools available in Lean relating to SMT solving, and show that the hints generated by cvc5 produce a clear improvement in existing automation's performance.

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

↑