Skip to main content
Log in

On renamable Horn and generalized Horn functions

  • Published:
Annals of Mathematics and Artificial Intelligence Aims and scope Submit manuscript

Abstract

A Boolean function in disjunctive normal form (DNF) is aHorn function if each of its elementary conjunctions involves at most one complemented variable. Ageneralized Horn function is constructed from a Horn function by disjuncting a nested set of complemented variables to it. The satisfiability problem is solvable in polynomial time for both Horn and generalized Horn functions. A Boolean function in DNF is said to berenamable Horn if it is Horn after complementation of some variables. Succinct mathematical characterizations and linear-time algorithms for recognizing renamable Horn and generalized Horn functions are given in this paper. The algorithm for recognizing renamable Horn functions gives a new method to test 2-SAT. Some computational results are also given.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. V. Arvind and S. Biswas, AnO(n 2) algorithm for the satisfiability problem of a subset of prepositional sentences in CNF that includes all Horn sentences, Infor. Proc. Lett. 24 (1) (1987) 66–69.

    MathSciNet  Google Scholar 

  2. B. Aspvall, Recognizing disguised NR(1) instance of the satisfiability problem, J. Algorithms 1 (1980) 97–103.

    Article  MathSciNet  MATH  Google Scholar 

  3. B. Aspvall, M.F. Plass and R.E. Tarjan, A linear-time algorithm for testing the truth of certain quantified Boolean formula, Infor. Proc. Lett. 8 (1979) 121–123.

    Article  MathSciNet  MATH  Google Scholar 

  4. C.E. Blair, R.G. Jeroslow and J.K. Lowe, Some results and experiments in programming techniques for prepositional logic, Comp. Oper. Res. 13 (1986) 633–645.

    Article  MathSciNet  MATH  Google Scholar 

  5. J.A. Bondy and U.S.R. Murty,Graph Theory with Applications (North-Holland, New York, 1976).

    MATH  Google Scholar 

  6. C. Chang and R. Lee,Symbolic Logic and Mechanical Theorem-Proving (Academic Press, New York, 1973).

    MATH  Google Scholar 

  7. S.A. Cook, The complexity of theorem proving procedures,Proc. 3rd Annual ACM Symp. on Theory of Computing, ACM, New York (1971) pp. 151–158.

    Google Scholar 

  8. D. Dobkin, R.J. Lipton and S. Reiss, Linear programming is log-space hard forP, Infor. Proc. Lett. 8 (1979) 96–97.

    Article  MathSciNet  MATH  Google Scholar 

  9. W.F. Dowling and J.H. Gallier, Linear-time algorithms for testing the satisfiability of prepositional Horn formulae, J. Logic Programming 1 (1984) 267–284.

    Article  MathSciNet  MATH  Google Scholar 

  10. J. Edmonds, Paths, trees, and flowers, Can. J. Math. 17 (1965) 449–467.

    Article  MathSciNet  MATH  Google Scholar 

  11. L. Fariñas del Cerro and M. Penttonen, A note on the complexity of the satisfiability of modal Horn clauses, J. Logic Programming 4 (1987) 1–10.

    Article  MathSciNet  MATH  Google Scholar 

  12. J.H. Gallier and S.T. Raatz, HORNLOG: A graph-based interpreter for general Horn clauses, J. Logic Programming 4 (1987) 119–115.

    Article  MathSciNet  MATH  Google Scholar 

  13. L. Henschen and L. Wos, Unit refutations and Horn sets, J. ACM 21 (1974) 590–605.

    Article  MathSciNet  MATH  Google Scholar 

  14. G. Lindhorst and F. Shahrokhi, On renaming a set of clauses as a Horn set, Infor. Proc. Lett. 30 (1989) 289–293.

    Article  MathSciNet  MATH  Google Scholar 

  15. H.R. Lewis, Renaming a set of clauses as a Horn set, J. ACM 25 (1978) 134–135.

    Article  MATH  Google Scholar 

  16. F.M. Liang, Comprehensive examinations in computer science 1972–1978, Technical Report STAN-CS-78-677, Department of Computer Science, Stanford University (1978) pp. 93–94.

  17. H. Mannila and K. Mehlhorn, A fast algorithm for renaming a set of clauses as a Horn set, Infor. Proc. Lett. 21 (1985) 269–272.

    Article  Google Scholar 

  18. R.E. Tarjan, Depth first search and linear graph algorithms, SIAM J. Comput. 1 (1972) 146–160.

    Article  MathSciNet  MATH  Google Scholar 

  19. G.S. Tseitin, On the complexity of derivation in the prepositional calculus,Structures in Constructive Mathematics and Mathematical Logic, part 2 (translated from Russian) ed. A.O. Slisenko (Consultants Bureau, New York, 1968) pp. 115–125.

    Google Scholar 

  20. S. Yamasaki and S. Doshita, The satisfiability problem for the class consisting of Horn sentences and some non-Horn sentences in propositional logic, Infor. Control 59 (1983) 1–12.

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

The authors were supported in part by the Office of Naval Research under University Research Initiative grant number N00014-86-K-0689. Chandru was also supported by NSF grant number DMC 88-07550.

The authors gratefully acknowledge the partial support of NSF (Grant DMS 89-06870) and AFOSR (Grant 89-0066 and 89-0512).

Rights and permissions

Reprints and permissions

About this article

Cite this article

Chandru, V., Coullard, C.R., Hammer, P.L. et al. On renamable Horn and generalized Horn functions. Ann Math Artif Intell 1, 33–47 (1990). https://doi.org/10.1007/BF01531069

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01531069

Keywords

Navigation