Abstract
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.
Similar content being viewed by others
References
G. Ausiello, A. D’Atri and D. Sacca, Minimal representation of directed hypergraphs, SIAM Journal on Computing 15 (1986) 418–431.
E. Boros and O. Čepek, On the complexity of Horn minimization, RUTCOR Research Report RRR 1-94, Rutgers University, New Brunswick, NJ (January 1994).
O. Čepek, Structural properties and minimization of Horn Boolean functions, Doctoral dissertation, Rutgers University, New Brunswick, NJ (October 1995).
R. Dechter and J. Pearl, Structure identification in relational data, Artificial Intelligence 58 (1992) 237–270.
C. Delobel and R.G. Casey, Decomposition of a data base and the theory of Boolean switching functions, IBM Journal of Research and Development 17 (1973) 374–386.
W.F. Dowling and J.H. Gallier, Linear time algorithms for testing the satisfiability of propositional Horn formulae, Journal of Logic Programming 3 (1984) 267–284.
M.R. Garey and D.S. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness (W.H. Freeman, San Francisco, 1979).
P.L. Hammer and A. Kogan, Horn functions and their DNFs, Information Processing Letters 44 (1992) 23–29.
P.L. Hammer and A. Kogan, Optimal compression of propositional Horn knowledge bases: Complexity and approximation, Artificial Intelligence 64 (1993) 131–145.
P.L. Hammer and A. Kogan, Knowledge compression–logic minimization for expert systems, in: Computers as Our Better Partners, Proceedings of the IISF/ACM Japan International Symposium (World Scientific, Singapore, 1994) pp. 306–312.
P.L. Hammer and A. Kogan, Quasi-acyclic propositional Horn knowledge bases: Optimal compression, IEEE Transactions on Knowledge and Data Engineering 7(5) (1995) 751–762.
A. Itai and J.A. Makowsky, Unification as a complexity measure for logic programming, Journal of Logic Programming 4 (1987) 105–117.
D.E. Knuth, The Art of Computer Programming, Vol. 1, Fundamental Algorithms(Addison-Wesley, Reading, MA, 1968) (second edition 1973).
D. Maier, Minimal covers in the relational database model, Journal of the ACM 27 (1980) 664–674.
M. Minoux, LTUR: A simplified linear time unit resolution algorithm for Horn formulae and computer implementation, Information Processing Letters 29 (1988) 1–12.
R.E. Tarjan, Depth first search and linear graph algorithms, SIAM Journal on Computing 2 (1972) 146–160.
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Boros, E., Čepek, O. & Kogan, A. Horn minimization by iterative decomposition. Annals of Mathematics and Artificial Intelligence 23, 321–343 (1998). https://doi.org/10.1023/A:1018932728409
Issue Date:
DOI: https://doi.org/10.1023/A:1018932728409