Introducing w-Horn and z-Horn: A generalization of Horn and q-Horn formulae

被引:0
作者
Kusper, Gabor [1 ]
Biro, Csaba [1 ,2 ]
Adamko, Attila [3 ]
Bajak, Imre [4 ]
机构
[1] Eszterhazy Karoly Univ, Eger, Hungary
[2] Eotvos Lorand Univ, Budapest, Hungary
[3] Univ Debrecen, Debrecen, Hungary
[4] Budapest Business Sch, Budapest, Hungary
来源
ANNALES MATHEMATICAE ET INFORMATICAE | 2021年 / 54卷
关键词
SAT; Horn; q-Horn; z-Horn; w-Horn; ALGORITHM;
D O I
10.33039/ami.2021.03.009
中图分类号
O1 [数学];
学科分类号
0701 ; 070101 ;
摘要
In this paper we generalize the well-known notions of Horn and q-Horn formulae. A Horn clause, by definition, contains at most one positive literal. A Horn formula contains only Horn clauses. We generalize these notions as follows. A clause is a w-Horn clause if and only if it contains at least one negative literal or it is a unit or it is the empty clause. A formula is a w-Horn formula if it contains only w-Horn clauses after exhaustive unit propagation, i.e., after a Boolean Constraint Propagation (BCP) step. We show that the set of w-Horn formulae properly includes the set of Horn formulae. A function beta(x) is a valuation function if beta (x) + beta(-x) = 1 and beta(x) is an element of {0, 0.5, 1}, where x is a Boolean variable. A formula F is a q-Horn formula if and only if there is a valuation function beta(x) such that for each clause C in F we have that Sigma(x is an element of C) beta(x) <= 1. In this case we call beta(x) a q-feasible valuation for F. In other words, a formula is q-Horn if and only if each clause in it contains at most one "positive" literal (where beta(x) = 1) or at most two half ones (where beta(x) = 0.5). We generalize these notions as follows. A formula F is a z-Horn formula if and only if F '= BCP(F) and either F ' is trivially satisfiable or trivially unsatisfiable or there is a valuation function gamma(x)such that for each clause C in F ' we have that Sigma(x is an element of C boolean AND gamma(x)not equal 0.5)gamma(Gamma x) >= 1 or Sigma(x is an element of C boolean AND gamma(x)not equal 0.5)gamma((x)=0.5) gamma(x) = 1. In this case we call gamma(x) to be a z-feasible valuation for F '. In other words, a formula is z-Horn if and only if each clause in it after a BCP step contains at least one "negative" literal (where gamma(x) = 0) or exactly two half ones (where gamma(x) = 0.5). We show that the set of z-Horn formulae properly includes the set of q-Horn formulae. We also show that the w-Horn SAT problem can be decided in polynomial time. We also show that each satisfiable formula is z-Horn.
引用
收藏
页码:33 / 43
页数:11
相关论文
共 33 条
  • [1] [Anonymous], 1993, Cliques, Coloring, and Satisfiability, DOI [10.1090/dimacs/026/26, DOI 10.1090/DIMACS/026/26]
  • [2] LINEAR-TIME ALGORITHM FOR TESTING THE TRUTH OF CERTAIN QUANTIFIED BOOLEAN FORMULAS
    ASPVALL, B
    PLASS, MF
    TARJAN, RE
    [J]. INFORMATION PROCESSING LETTERS, 1979, 8 (03) : 121 - 123
  • [3] Aspvall B., 1980, Journal of Algorithms, V1, P97
  • [4] Biró C, 2018, INT SYMP COMP INTELL, P137, DOI 10.1109/CINTI.2018.8928191
  • [5] EQUIVALENCE OF STRONGLY CONNECTED GRAPHS AND BLACK-AND-WHITE 2-SAT PROBLEMS
    Biro, Csaba
    Kusper, Gabor
    [J]. MISKOLC MATHEMATICAL NOTES, 2018, 19 (02) : 755 - 768
  • [6] RECOGNITION IN Q-HORN FORMULAS IN LINEAR-TIME
    BOROS, E
    HAMMER, PL
    SUN, XR
    [J]. DISCRETE APPLIED MATHEMATICS, 1994, 55 (01) : 1 - 13
  • [7] A COMPLEXITY INDEX FOR SATISFIABILITY PROBLEMS
    BOROS, E
    CRAMA, Y
    HAMMER, PL
    SAKS, M
    [J]. SIAM JOURNAL ON COMPUTING, 1994, 23 (01) : 45 - 49
  • [8] EXTENDED HORN SETS IN PROPOSITIONAL LOGIC
    CHANDRU, V
    HOOKER, JN
    [J]. JOURNAL OF THE ACM, 1991, 38 (01) : 205 - 221
  • [9] Cook S. A., 1971, Proceedings of the 3rd annual ACM symposium on theory of computing, P151
  • [10] A HIERARCHY OF TRACTABLE SATISFIABILITY PROBLEMS
    DALAL, M
    ETHERINGTON, DW
    [J]. INFORMATION PROCESSING LETTERS, 1992, 44 (04) : 173 - 180