Horn Extensions of a Partially Defined Boolean Function

Given a partially defined Boolean function (pdBf) (T,F), we investigate in this paper how to find a Horn extension $f: \{0,1\}^n \mapsto \{0,1\}$, which is consistent with (T,F), where $T \subseteq \{0,1\}^n$ denotes a set of true Boolean vectors (or positive examples) and $F \subseteq \{0,1\}^n$ denotes a set of false Boolean vectors (or negative examples). Given a pdBf (T,F), it is known that the existence of a Horn extension can be checked in polynomial time. As there are many Horn extensions, however, we consider those extensions f which have maximal and minimal sets T(f) of the true vectors of f, respectively. For a pdBf (T,F), there always exists the unique maximal (i.e., maximum) Horn extension, but there are in general many minimal Horn extensions. We first show that a polynomial time membership oracle can be constructed for the maximum extension, even if its disjunctive normal form (DNF) can be very long. Our main contribution is to show that checking if a given Horn DNF represents a minimal extension and generating a Horn DNF of a minimal Horn extension can both be done in polynomial time. We also can check in polynomial time if a pdBf (T,F) has the unique minimal Horn extension. However, the problems of finding a Horn extension f with the smallest |T(f)| and of obtaining a Horn DNF, whose number of literals is smallest, are both NP-hard.

[1]  Y. Crama,et al.  Cause-effect relationships and partially defined Boolean functions , 1988 .

[2]  Alfred Horn,et al.  On sentences which are true of direct unions of algebras , 1951, Journal of Symbolic Logic.

[3]  Christos H. Papadimitriou,et al.  On Horn Envelopes and Hypergraph Transversals , 1993, ISAAC.

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

[5]  Bart Selman,et al.  Knowledge Compilation using Horn Approximations , 1991, AAAI.

[6]  Toshihide Ibaraki,et al.  Complexity of Identification and Dualization of Positive Boolean Functions , 1995, Inf. Comput..

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

[8]  R. Lyndon Review: Alfred Horn, On Sentences Which are True of Direct Unions of Algebras , 1951 .

[9]  Willard Van Orman Quine,et al.  A Way to Simplify Truth Functions , 1955 .

[10]  Bart Selman,et al.  Horn Approximations of Empirical Data , 1995, Artif. Intell..

[11]  J. C. C. McKinsey,et al.  The decision problem for some classes of sentences without quantifiers , 1943, Journal of Symbolic Logic.

[12]  Letizia Tanca,et al.  Logic Programming and Databases , 1990, Surveys in Computer Science.

[13]  David S. Johnson,et al.  Computers and In stractability: A Guide to the Theory of NP-Completeness. W. H Freeman, San Fran , 1979 .

[14]  Toshihide Ibaraki,et al.  Positive and Horn Decomposability of Partially Defined Boolean Functions , 1997, Discret. Appl. Math..

[15]  Leonid Khachiyan,et al.  On the Complexity of Dualization of Monotone Disjunctive Normal Forms , 1996, J. Algorithms.

[16]  Toshihide Ibaraki,et al.  Error-Free and Best-Fit Extensions of Partially Defined Boolean Functions , 1998, Inf. Comput..

[17]  Vladimir Gurvich,et al.  Decomposability of Partially Defined Boolean Functions , 1995, Discret. Appl. Math..

[18]  Mihalis Yannakakis,et al.  On Generating All Maximal Independent Sets , 1988, Inf. Process. Lett..

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

[20]  Daniele Pretolani,et al.  A Linear Time Algorithm for Unique Horn Satisfiability , 1993, Inf. Process. Lett..

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

[22]  Georg Gottlob,et al.  Identifying the Minimal Transversals of a Hypergraph and Related Problems , 1995, SIAM J. Comput..

[23]  Roni Khardon Translating between Horn Representations and their Characteristic Models , 1995, J. Artif. Intell. Res..