Compilation and Fast Model Counting beyond CNF

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: de Colnet, Alexis, Szeider, Stefan, Zhang, Tianwei
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866929694859853824
author de Colnet, Alexis
Szeider, Stefan
Zhang, Tianwei
author_facet de Colnet, Alexis
Szeider, Stefan
Zhang, Tianwei
contents Circuits in deterministic decomposable negation normal form (d-DNNF) are representations of Boolean functions that enable linear-time model counting. This paper strengthens our theoretical knowledge of what classes of functions can be efficiently transformed, or compiled, into d-DNNF. Our main contribution is the fixed-parameter tractable (FPT) compilation of conjunctions of specific constraints parameterized by incidence treewidth. This subsumes the known result for CNF. The constraints in question are all functions representable by constant-width ordered binary decision diagrams (OBDDs) for all variable orderings. For instance, this includes parity constraints and cardinality constraints with constant threshold. The running time of the FPT compilation is singly exponential in the incidence treewidth but hides large constants in the exponent. To balance that, we give a more efficient FPT algorithm for model counting that applies to a sub-family of the constraints and does not require compilation.
format Preprint
id arxiv_https___arxiv_org_abs_2502_00434
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Compilation and Fast Model Counting beyond CNF
de Colnet, Alexis
Szeider, Stefan
Zhang, Tianwei
Computational Complexity
Artificial Intelligence
Logic in Computer Science
Circuits in deterministic decomposable negation normal form (d-DNNF) are representations of Boolean functions that enable linear-time model counting. This paper strengthens our theoretical knowledge of what classes of functions can be efficiently transformed, or compiled, into d-DNNF. Our main contribution is the fixed-parameter tractable (FPT) compilation of conjunctions of specific constraints parameterized by incidence treewidth. This subsumes the known result for CNF. The constraints in question are all functions representable by constant-width ordered binary decision diagrams (OBDDs) for all variable orderings. For instance, this includes parity constraints and cardinality constraints with constant threshold. The running time of the FPT compilation is singly exponential in the incidence treewidth but hides large constants in the exponent. To balance that, we give a more efficient FPT algorithm for model counting that applies to a sub-family of the constraints and does not require compilation.
title Compilation and Fast Model Counting beyond CNF
topic Computational Complexity
Artificial Intelligence
Logic in Computer Science
url https://arxiv.org/abs/2502.00434