PBLean: Pseudo-Boolean Proof Certificates for Lean 4

📅 2026-02-09
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the challenge of reliably importing VeriPB proof certificates generated by pseudo-Boolean (PB) solvers into Lean 4 and achieving end-to-end trustworthy verification from solver outputs back to the semantics of the original combinatorial problem. To this end, we present the first formalization in Lean 4 of a reflective proof checker that fully supports the VeriPB kernel rules. By integrating native code compilation, verified encoding transformations, and cutting-plane derivation techniques, our approach efficiently handles large-scale proofs comprising tens of thousands of inference steps while avoiding the memory bottlenecks associated with explicit proof-term construction. This method bridges the trust gap between solver output and formal semantics, producing reusable and composable Lean theorems, and demonstrates both effectiveness and scalability across multiple combinatorial problems.

Technology Category

Application Category

📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

Pseudo-Boolean proofs
proof certificates
Lean 4
formal verification
combinatorial problems
Innovation

Methods, ideas, or system contributions that make the work stand out.

reflection
Pseudo-Boolean proofs
proof certificates
formal verification
Lean 4
🔎 Similar Papers
No similar papers found.