LLM Reasoning 相关度: 7/10

PBLean: Pseudo-Boolean Proof Certificates for Lean 4

Stefan Szeider
arXiv: 2602.08692v1 发布: 2026-02-09 更新: 2026-02-09

AI 摘要

PBLean将VeriPB的伪布尔证明导入Lean 4,通过反射实现验证和定理推导。

主要贡献

  • 实现了VeriPB证明到Lean 4的导入
  • 提出了基于反射的证明检查器,并验证其正确性
  • 支持验证编码,弥合求解器输出和问题语义之间的信任差距

方法论

使用Lean 4的形式化方法,通过反射实现伪布尔证明的验证,并支持编码验证。

原文摘要

We present PBLean, a method for importing VeriPB pseudo-Boolean (PB) proof certificates into Lean 4. Key to our approach is reflection: a Boolean checker function whose soundness is fully proved in Lean and executed as compiled native code. Our method scales to proofs with tens of thousands of steps that would exhaust memory under explicit proof-term construction. Our checker supports all VeriPB kernel rules, including cutting-plane derivations and proof-by-contradiction subproofs. In contrast to external verified checkers that produce verdicts, our integration yields Lean theorems that can serve as composable lemmas in larger formal developments. To derive theorems about the original combinatorial problems rather than about PB constraints alone, we support verified encodings. This closes the trust gap between solver output and problem semantics since the constraint translation and its correctness proof are both formalized in Lean. We demonstrate the approach on various combinatorial problems.

标签

Lean 4 伪布尔证明 形式化验证 SAT/SMT

arXiv 分类

cs.LO cs.AI