Horn minimization by iterative decomposition

Given a Horn CNF representing a Boolean function f, the problem of Horn minimization consists in constructing a CNF representation off which has a minimum possible number of clauses. This problem is the formalization of the problem of knowledge compression for speeding up queries to propositional Horn expert systems, and it is known to be NP-hard. In this paper we present a linear time algorithm which takes a Horn CNF as an input, and through a series of decompositions reduces the minimization of the input CNF to the minimization problem on a“shorter” CNF. The correctness of this decomposition algorithm rests on several interesting properties of Horn functions which, as we prove here, turn out to be independent of the particular CNF representations.

[1]  Philip A. Bernstein,et al.  Comment on "Decomposition of a Data Base and the Theory of Boolean Switching Functions" , 1977, IBM J. Res. Dev..

[2]  David Maier Minimum Covers in Relational Database Model , 1980, JACM.

[3]  Peter L. Hammer,et al.  Quasi-Acyclic Propositional Horn Knowledge Bases: Optimal Compression , 1995, IEEE Trans. Knowl. Data Eng..

[4]  Robert E. Tarjan,et al.  Depth-First Search and Linear Graph Algorithms , 1972, SIAM J. Comput..

[5]  Donald E. Knuth,et al.  The art of computer programming: V.1.: Fundamental algorithms , 1997 .

[6]  Alon Itai,et al.  Unification as a Complexity Measure for Logic Programming , 1987, J. Log. Program..

[7]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[8]  Peter L. Hammer,et al.  Horn Functions and Their DNFs , 1992, Inf. Process. Lett..

[9]  Michel Minoux,et al.  LTUR: A Simplified Linear-Time Unit Resolution Algorithm for Horn Formulae and Computer Implementation , 1988, Inf. Process. Lett..

[10]  Jean H. Gallier,et al.  Linear-Time Algorithms for Testing the Satisfiability of Propositional Horn Formulae , 1984, J. Log. Program..

[11]  Rina Dechter,et al.  Structure Identification in Relational Data , 1992, Artif. Intell..

[12]  Giorgio Ausiello,et al.  Minimal Representation of Directed Hypergraphs , 1986, SIAM J. Comput..

[13]  David Thomas,et al.  The Art in Computer Programming , 2001 .

[14]  Peter L. Hammer,et al.  Optimal Compression of Propositional Horn Knowledge Bases: Complexity and Approximation , 1993, Artif. Intell..