arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.06401cs.AIcs.CEcs.CVcs.LG
收藏

ProofSketcher: 混合LLM + 轻量级证明检查器用于可靠的数学/逻辑推理

ProofSketcher: Hybrid LLM + Lightweight Proof Checker for Reliable Math/Logic Reasoning

Amazon Web Services, Inc(亚马逊云科技)

Kranthi Kommuru, Kunal Khanvilkar, Gaurav Parekh

AI总结:

本文提出混合方法,结合LLM生成类型化证明草图与轻量级可信内核,以提升数学逻辑推理的可靠性。

摘要:

大型语言模型(LLM)可能在数学和逻辑领域生成有说服力的论证,尽管这些论证通常包含一些轻微错误,包括遗漏侧条件、无效推理模式或无法从讨论上下文中逻辑推导出的引理。这些遗漏难以仅通过文本发现,因为即使构造错误仍可能显得大部分准确。相反,交互式定理证明器如Lean和Coq通过确保语法和语义陈述仅接受能通过所有语法和语义步骤的陈述,从而提供严格可靠性。尽管此技术提供强保证,但代价很高:证据必须完全形式化,且证据用户或辅助搜索程序必须提供大量低级信息。本文提出混合流程,其中LLM生成紧凑的DSL类型化证明草图,轻量级可信内核扩展草图为显式证明义务。

英文摘要:

The large language models (LLMs) might produce a persuasive argument within mathematical and logical fields, although such argument often includes some minor missteps, including the entire omission of side conditions, invalid inference patterns, or appeals to a lemma that cannot be derived logically out of the context being discussed. These omissions are infamously hard to notice solely out of the text, as even the misconstrued construction still may seem mostly accurate. Conversely, interactive theorem provers like Lean and Coq have rigorous reliability by ensuring that syntactic and semantic statements only accept statements that can pass all the syntactic and semantic steps in the program which is a small trusted kernel of the language type-checks with. Despite the fact that this technique provides strong guarantees, it comes at quite a heavy price: the evidence must be completely formalized, and the evidence user or a auxiliary search program must provide an avalanche of low-level information. This paper presents a hybrid pipeline where an LLM generates a typed proof sketch in a compact DSL and a lightweight trusted kernel expands the sketch into explicit proof obligations.

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

↑