Certified Knowledge Compilation with Application to Formally Verified Model Counting
Randal E. Bryant, Wojciech Nawrocki, Jeremy Avigad, and Marijn J. H., Heule

TL;DR
This paper introduces a formally verified framework for knowledge compilation that guarantees correctness in model counting, enabling reliable computation of properties of Boolean formulas through new proof and verification tools.
Contribution
It presents Partitioned-Operation Graphs (POGs) and a proof framework that certifies equivalence to CNF formulas, along with a verified toolchain for model counting.
Findings
The toolchain scales to large graphs from recent competitions.
The framework provides formal guarantees of correctness.
First fully verified toolchain for model counting in Lean 4.
Abstract
Computing many useful properties of Boolean formulas, such as their weighted or unweighted model count, is intractable on general representations. It can become tractable when formulas are expressed in a special form, such as the decision decomposable negation normal form (decision-DNNF). Knowledge compilation is the process of converting a formula into such a form. Unfortunately existing knowledge compilers provide no guarantee that their output correctly represents the original formula, and therefore they cannot validate a model count, or any other computed value. We present Partitioned-Operation Graphs (POGs), a form that can encode all of the representations used by existing knowledge compilers. We have designed CPOG, a framework that can express proofs of equivalence between a POG and a Boolean formula in conjunctive normal form (CNF). We have developed a program that generates…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Database Systems and Queries · Semantic Web and Ontologies · Bayesian Modeling and Causal Inference
