The Good Old Davis-Putnam Procedure Helps Counting Models

06/01/2011
by   E. Birnbaum, et al.
0

As was shown recently, many important AI problems require counting the number of models of propositional formulas. The problem of counting models of such formulas is, according to present knowledge, computationally intractable in a worst case. Based on the Davis-Putnam procedure, we present an algorithm, CDP, that computes the exact number of models of a propositional CNF or DNF formula F. Let m and n be the number of clauses and variables of F, respectively, and let p denote the probability that a literal l of F occurs in a clause C of F, then the average running time of CDP is shown to be O(nm^d), where d=-1/log(1-p). The practical performance of CDP has been estimated in a series of experiments on a wide variety of CNF formulas.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/28/2022

Some Remarks on Counting Propositional Logic

Counting propositional logic was recently introduced in relation to rand...
research
05/18/2018

Approximate Model Counting by Partial Knowledge Compilation

Model counting is the problem of computing the number of satisfying assi...
research
12/28/2020

Counting the Number of Solutions to Constraints

Compared with constraint satisfaction problems, counting problems have r...
research
01/24/2014

Hypergraph Acyclicity and Propositional Model Counting

We show that the propositional model counting problem #SAT for CNF- form...
research
05/11/2002

Computing stable models: worst-case performance estimates

We study algorithms for computing stable models of propositional logic p...
research
07/05/2012

Generalizing Redundancy in Propositional Logic: Foundations and Hitting Sets Duality

Detection and elimination of redundant clauses from propositional formul...
research
10/19/2021

Pre and Post Counting for Scalable Statistical-Relational Model Discovery

Statistical-Relational Model Discovery aims to find statistically releva...

Please sign up or login with your details

Forgot password? Click here to reset