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

从LLM生成的猜想到Lean形式化:通过求和平方证书实现自动多项式不等式证明

From LLM-Generated Conjectures to Lean Formalizations: Automated Polynomial Inequality Proving via Sum-of-Squares Certificates

School of Software Engineering, East China Normal University, Shanghai, China(东华大学软件工程学院);College of Computer Science and Technology, National University of Defense Technology, Changsha, China(国防科技大学计算机科学与技术学院);School of Computer and Information Engineering, Henan University, Kaifeng, China(河南大学计算机与信息工程学院)

Ruobing Zuo, Hanrui Zhao, Gaolei He, Zhengfeng Yang, Jianlin Wang

AI总结:

本文提出NSPI框架,结合LLM和符号计算,通过求和平方证书实现多项式不等式证明,展示其在10变量多项式上的有效性与可扩展性。

摘要:

自动证明多项式不等式是自动化数学推理中的基本挑战,其中丰富的代数结构和快速增长的证书搜索空间阻碍了可扩展性。纯粹的符号方法提供强保证,但随着变量数或次数的增加,其扩展性较差,因为代数操作昂贵且中间表达式迅速增长。同时,LLM引导的方法在竞赛风格的不等式上取得了显著进展,特别是在变量数较少的情况下。为了解决剩余的可扩展性挑战,我们提出NSPI,一种结合LLM和符号计算优势的神经符号框架。具体而言,LLM提出一个近似多项式求和平方(SOS)分解的猜想;我们通过符号计算对其进行细化,得到精确的多项式SOS表示,这直接证明目标不等式,并进一步在Lean中验证证明,从而实现从启发式发现到机器检查证明的端到端流程。在涉及最多10个变量的多项式挑战基准上的实验展示了所提方法的有效性和可扩展性。

英文摘要:

Automated proving of polynomial inequalities is a fundamental challenge in automated mathematical reasoning, where rich algebraic structure and a rapidly growing certificate search space hinder scalability. Purely symbolic approaches provide strong guarantees but often scale poorly as the number of variables or the degree increases, due to expensive algebraic manipulations and rapidly growing intermediate expressions. In parallel, LLM-guided methods have made notable progress, particularly on competition-style inequalities with a small number of variables. To address the remaining scalability challenges, we propose NSPI, a neuro-symbolic framework that combines the complementary strengths of LLMs and symbolic computation for polynomial-inequality proving. Concretely, an LLM proposes a conjecture in the form of an approximate polynomial Sum-Of-Squares (SOS) decomposition; we refine it via symbolic computation to obtain an exact polynomial SOS representation, which directly proves the target inequality, and we further certify the proof in Lean, yielding an end-to-end pipeline from heuristic discovery to machine-checked proof. Experiments on challenging benchmarks involving polynomials with up to 10 variables demonstrate the effectiveness and scalability of the proposed method.

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

↑