License: Creative Commons Attribution 4.0 International license (CC BY 4.0)
When quoting this document, please refer to the following
DOI: 10.4230/LIPIcs.SAT.2023.6
URN: urn:nbn:de:0030-drops-184685
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2023/18468/
Bryant, Randal E. ;
Nawrocki, Wojciech ;
Avigad, Jeremy ;
Heule, Marijn J. H.
Certified Knowledge Compilation with Application to Verified Model Counting
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 (dec-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 POG representations from dec-DNNF graphs produced by the state-of-the-art knowledge compiler D4, as well as checkable CPOG proofs certifying that the output POGs are equivalent to the input CNF formulas. Our toolchain for generating and verifying POGs scales to all but the largest graphs produced by D4 for formulas from a recent model counting competition. Additionally, we have developed a formally verified CPOG checker and model counter for POGs in the Lean 4 proof assistant. In doing so, we proved the soundness of our proof framework. These programs comprise the first formally verified toolchain for weighted and unweighted model counting.
BibTeX - Entry
@InProceedings{bryant_et_al:LIPIcs.SAT.2023.6,
author = {Bryant, Randal E. and Nawrocki, Wojciech and Avigad, Jeremy and Heule, Marijn J. H.},
title = {{Certified Knowledge Compilation with Application to Verified Model Counting}},
booktitle = {26th International Conference on Theory and Applications of Satisfiability Testing (SAT 2023)},
pages = {6:1--6:20},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-286-0},
ISSN = {1868-8969},
year = {2023},
volume = {271},
editor = {Mahajan, Meena and Slivovsky, Friedrich},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/opus/volltexte/2023/18468},
URN = {urn:nbn:de:0030-drops-184685},
doi = {10.4230/LIPIcs.SAT.2023.6},
annote = {Keywords: Propositional model counting, Proof checking}
}
Keywords: |
|
Propositional model counting, Proof checking |
Collection: |
|
26th International Conference on Theory and Applications of Satisfiability Testing (SAT 2023) |
Issue Date: |
|
2023 |
Date of publication: |
|
09.08.2023 |
Supplementary Material: |
|
DataPaper (Paper Supplement): https://doi.org/10.5281/zenodo.7966174 |