Daily Tech Briefing
AI 科技速览
每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。
arXiv AI · 2026/7/30 16:21:58
LeanCSP: A Framework for Certifying Constraint Reformulation and Solving in Lean
AI 中文解读
今天要介绍的这项研究,给“电脑解难题”这件事加了一道双重保险。过去,我们让程序去求解复杂的调度、规划问题,但程序在解答前可能会偷偷“变题”,而它给出的答案也不一定靠谱。现在,科学家在Lean证明助手这个“数学实验室”里搭起了一套框架,既能证明程序在变题时没改变原意,也能验证最终答案是否正确,彻底不用再盲目相信外部求解器了。
更妙的是,这种验证并不是每个题目做一次,而是对整个问题家族做一次“参数化证明”,以后不管题目规模怎么变大,都能直接套用。实验里,这个技巧把求解器的搜索工作量削减了高达两千万倍,而验证本身在几分钟内就能完成。
普通人不一定懂约束编程,但能想象这样的场景:航空公司排航班、工厂排产线、甚至你的手机自动规划路线,背后都有这类技术。有了这套框架,这些系统给出的方案就有据可查,出错时能追溯,信任成本大大降低,未来智能决策的可靠性也能上一个台阶。
Constraint programming is a core technology for solving complex combinatorial problems in scheduling, planning, configuration, and verification. Trusting its results therefore demands guarantees at two levels: that reformulations applied beforehand are semantics-preserving, and that solvers produce correct answers. In this work, we introduce a framework that addresses both verification levels in the Lean theorem prover: it can be used to prove formulation-level properties, such as equivalence, equisatisfiability, and the correctness of symmetry-breaking constraints, parametrically for entire problem families; and to check solver-produced certificates for individual instances via translation backends to external formats such as MiniZinc, SMT-LIB, and OPB. Combining both levels yields an end-to-end workflow that establishes the satisfiability or unsatisfiability of a constraint problem without trusting the external solver. Experimental results show that our framework's verified symmetry breaking also pays off in practice: a single parametric proof per problem family, reused across all instance sizes, reduces solver search effort by a factor of up to 2x10^7, while the entire in-Lean certification stays affordable, taking at most a few minutes for our largest instances.
分享
阅读原文 ↗