Skip to main content
Entropy logoLink to Entropy
. 2020 Feb 23;22(2):253. doi: 10.3390/e22020253

(1,0)-Super Solutions of (k,s)-CNF Formula

Zufeng Fu 1,2, Daoyun Xu 1,*, Yongping Wang 1,3
PMCID: PMC7516700  PMID: 33286027

Abstract

A (1,0)-super solution is a satisfying assignment such that if the value of any one variable is flipped to the opposite value, the new assignment is still a satisfying assignment. Namely, every clause must contain at least two satisfied literals. Because of its robustness, super solutions are concerned in combinatorial optimization problems and decision problems. In this paper, we investigate the existence conditions of the (1,0)-super solution of (k,s)-CNF formula, and give a reduction method that transform from k-SAT to (1,0)-(k+1,s)-SAT if there is a (k+1,s)-CNF formula without a (1,0)-super solution. Here, (k,s)-CNF is a subclass of CNF in which each clause has exactly k distinct literals, and each variable occurs at most s times. (1,0)-(k,s)-SAT is a problem to decide whether a (k,s)-CNF formula has a (1,0)-super solution. We prove that for k>3, if there exists a (k,s)-CNF formula without a (1,0)-super solution, (1,0)-(k,s)-SAT is NP-complete. We show that for k>3, there is a critical function φ(k) such that every (k,s)-CNF formula has a (1,0)-super solution for sφ(k) and (1,0)-(k,s)-SAT is NP-complete for s>φ(k). We further show some properties of the critical function φ(k).

Keywords: (k,s)-CNF; SAT-problem; (1,0)-super solutions

1. Introduction

In combinatorial optimization problems and decision problems, the robustness of solutions is a valuable property. A robust solution is not sensitive to small changes in dynamic and uncertain environments, and guarantees the existence of a small set of repairs when the future changes in a small way. R. Weigel and C. Bliek in [1] introduced the concept of fault tolerant solutions to constraint programming (CP) and presented some methods to find fault tolerant solutions. A. Parkes etc. in [2] introduced Supermodels to measure solution robustness in propositional satisfiability (SAT). Fowler and Brown in [3] focused on finding robust partial solutions to a dynamically changing problem. In [4], the concept of (a,b)-super solution was introduced in order to depicts formally the robustness of a solution. If the values assigned to any a variables by a solution are no longer available, the solution can be repaired by changing values of a variables and at most b other variables. Then the solution is an (a,b)-super solution. For example, the solution <0,1,1> is a (1,1)-super solution of the formula F=(x1x2x3)(¬x1¬x2¬x3). But the solution is not a (1,0)-super solution, because if x1 loses the value 0, we must change at least one of x2 and x3 to repair the solution.

Encoding into a CNF formula is a common way to solve a practical problem. These CNF formulas often have some regular structures. A (a,b)-super solution of a CNF formula with special structure is undoubtedly of realistic significance. Therefore, we focus on some special (1,0)-SAT problems that are some decision problems whether a CNF formula with special structure has a (1,0)-super solution. In this paper, we investigate the existence conditions of the (1,0)-super solution of a CNF formula with special structure and the NP-completeness of (1,0)-(k,s)-SAT. We also show that for k>3, (1,0)-(k,s)-SAT has a SAT-UNSAT transition phenomenon and investigate the characteristics of the transition phenomenon.

2. Related Works

An (a,b)-super solution is a generalization of Supermodels in SAT problems. Some algorithms of finding super solutions were presented in [5,6,7]. A weighted super solution framework in [8] was presented for the lack of expressive of the classical super solutions framework, and has been successfully used to find robust solutions to combinatorial auctions.

Specially, a (1,0)-super solution is a satisfying assignment such that if any one variable is flipped to the opposite value, the new assignment is still a satisfying assignment. In other words, a (1,0)-super solution of a CNF formula must satisfy at least two liters of every clause. The decision problem whether a CNF formulas has a (1,0)-super solution is denoted as (1,0)-SAT. (1,0)-k-SAT is the special version of (1,0)-SAT where each clause has exactly k distinct literals. Zhang P in [9] proved that (1,0)-k-SAT is in P for k3 and in NP-complete for k4. Besides, it was proved that a random (1,0)-3-SAT are satisfiable with high probability for Constrained Density (the clause-to-variable ratio) α<1/3, and not satisfiable with high probability for α>1/3. For k4, the upper bound of the phase transition point is 2kln2/(k+1). By using an enhanced weighting scheme, Zhou G in [10] obtained a better lower bound of the phase transition point.

(1,0)-3-SAT problem is in P. This shows that there is a polynomial time algorithm to decide whether a 3-CNF formula has a (1,0)-super solution. For k4, (1,0)-k-SAT is NP-complete. It implies that for k4, (1,0)-k-SAT can not be solved in polynomial time. What happens if the number of occurrences of each variable is limited? So we expand (1,0)-k-SAT to (1,0)-(k,s)-SAT, (1,0)-regular (k,s)-SAT and (1,0)-d-regular (k,s)-SAT. They correspond to (k,s)-CNF formula, regular (k,s)-CNF formula and d-regular (k,s)-CNF formula, respectively. Here a (k,s)-CNF formula is a CNF formula with exactly k distinct literals per clause and at most s occurrences of each variable. A regular (k,s)-CNF formula is a k-CNF formula, in which each variable occurs exactly in s clauses. A d-regular (k,s)-CNF formula also requires that the absolute value of the difference between positive and negative occurrences of each variable is no more than nonnegative d. The NP-completeness of the special SAT problems worth further study.

Kratochvíl in [11] pointed out that for k3, there exists a critical function f(k) such that

(i) for sf(k), every formula in (k,s)-CNF is satisfiable;

(ii) for sf(k)+1, (k,s)-SAT is already NP-complete.

f(k) represents also the maximum s such that all (k,s)-CNF formulas are satisfiable. The critical function f(k) has been studied extensively. The exact values of f(k) are only known for k=3 and k=4, because f(3)=3 and f(4)=4 were shown in [11]. In [12,13,14,15], it was showed that the best known upper and lower bounds of f(k) are described as follows

5f(5)7,7f(6)11,13f(7)17,24f(8)29,41f(9)51.

In this study, we give a polynomial time reduction that transforms k-SAT to (1,0)-(k+1,s)-SAT if an unsatisfiable instance of (1,0)-(k+1,s)-SAT exists. We prove that for k>3, if there exists a (k,s)-CNF formula without a (1,0)-super solution, then (1,0)-(k,s)-SAT is NP-complete. This study shows that for k>3, there is a critical function φ(k) such that

(i) every (k,s)-CNF formula has a (1,0)-super solution for sφ(k) and

(ii) (1,0)-(k,s)-SAT is NP-complete for s>φ(k).

That is to say, for k>3, (1,0)-(k,s)-SAT has the SAT-UNSAT transition phenomenon. We find that the critical function φ(k) is an increasing function and for k>3, φ(k)2 and φ(k+1)2φ(k)+1.

3. Notations

A literal is a propositional variable x or a negated propositional variable ¬x. x is called a positive literal, and ¬x is called a negative literal. A pure literal is a literal whose complement does not occur in a formula. A clause C is a disjunction of literals, C=L1L2Lk or C=L1,L2,,Lk. A CNF formula F is a conjunction of clauses, F=C1C2Cm or F=[C1,C2,,Cm]. var(F) is denoted as the set of variables occurring in a formula F, and #var(F) refers to the number of variables. #cl(F) is denoted as the number of clauses of F. Occ(F,x) refers to the number of occurrences of a variable x in F.

If the formulas Φ and Ψ are either satisfiable at the same time or not, they are called SAT-equivalents. A formula F is called the disjoint copy of a CNF formula F, if F is a copy of F but their variable sets are disjoint. We divide variables into forced variables or unforced variables. A forced variable is a variable forced a same value by all satisfying assignments of a formula.

A satisfying assignment is also called a solution. The set of solutions of a CNF formula F is denoted by SAT(F). The Hamming distance H(τ1,τ2) between two assignments τ1 and τ2 is the Hamming distance between the two corresponding vectors in {0,1}n, i.e.,

H(τ1,τ2)=|{1in:τ1(xi)τ2(xi)}|.

The d-Hamming neighbourhood Nd(τ1) of an assignment τ1 is defined as

Nd(τ1)={τ{0,1}n:H(τ1,τ)d}.

An (a,b)-super solution τ of a SAT instance F is a satisfying assignment such that for any σ with H(τ,σ)=a, we have Nb(σ)SAT(F).

Definition 1.

A CNF formula is called a regular (k,s)-CNF, if each clause of the formula has exactly k distinct literals and each variable occurs exactly in s clauses. A d-regular (k,s)-CNF formula is a regular (k,s)-CNF formula, in which the absolute value of the difference between positive and negative occurrences of every variable is at most a nonnegative integer d.

Definition 2.

For each k3, f(k) is defined as the maximum s such that all (k,s)-CNF formulas are satisfiable, and φ(k) is defined as the maximum s such that all (k,s)-CNF formulas must have a (1,0)-super solution.

Definition 3.

A (k,s)-CNF formula Ψ is a forced-(k,s)-CNF formula if

(i) there exist two variables x,y that Occ(Ψ,x)=1 and Occ(Ψ,y)<s;

(ii) Ψ has a (1,0)-super solution and for any (1,0)-super solution τ of Ψ, it holds that τ(x)=τ(y)=true.

Definition 4.

The projection π(C) of a k-clause C=l1l2lk is defined as π(C)=i=1k(jilj). The projection of a CNF formula F=C1Cm is defined as π(F)=i=1m(π(Ci)).

Lemma 1

([9]). An assignment is a (1,0)-super solution of F if and only if it satisfies π(F).

Lemma 2

([11]). If k3 and s are such that an unsatisfiable (k,s)-CNF formula exists, then (k,s)-SAT is NP-complete.

Lemma 3

([11]). The critical function f(k) is strictly increasing.

Lemma 4

([16]). An instance of SAT is satisfiable if:

(i) all of its clauses contain more than one variable, and

(ii) each variable appears exactly once complemented and once uncomplemented.

Lemma 5.

If the representation matrix of a formula F is

x1x2xn1xn++++,

then the formula is satisfiable and every satisfying assignment forces all variables to a same value.

Here, if an element aij of the matrix is +, the ith variable occurs positively in the jth clause; if aij=, the ith variable occurs negatively in the jth clause; if aij=0, otherwise. The formula F expresses a cyclic of implication

x1x2xn1xnx1.

Therefore, it is easy to obtain Lemma 5.

4. The Existence of (1,0)-Super Solution of (k,s)-CNF Formula

A (1,0)-super solution has certain robustness, but some CNF formula with special structures may not have a (1,0)-super solution.

Theorem 1.

Every regular (3,2)-CNF Formula without pure literals does not have a (1,0)-super solution.

Proof. 

If a CNF formula F is a regular (3,2)-CNF without pure literals, then each clause has exactly 3 distinct literals and each variable occurs exactly 2 times (one negative occurrence and another positive occurrence). Suppose, F has 3n variables, so it has 2n clauses and 6n literals. Because every assignment only satisfies half of occurrence of each variable, it only satisfies 3n literals of F. However, a (1,0)-super solution must satisfy at least two literals of every clause. That is to say, a (1,0)-super solution must satisfy at least 4n literals of the formula F. Clearly, there is not a (1,0)-super solution. Therefore, no regular (3,2)-CNF Formula without pure literals has a (1,0)-super solution. □

By bounding the difference between positive and negative occurrences of every variable, we find other CNF formulas without a (1,0)-super solution.

Corollary 1.

For s4, every 1-regular (3,s)-CNF formula does not have a (1,0)-super solution.

Proof. 

Let F is a 1-regular (3,s)-CNF formula. By definition, each clause has exactly 3 distinct literals, and each variable occurs exactly s times, and the absolute value of the difference between positive and negative occurrences of each variable is at most 1. Suppose F has 3n variables, so it must have sn clauses and 3sn literals. Every assignment only satisfies 3ns/2 literals of F, but every (1,0)-super solution must satisfy at least 2sn literals of F. For s4, we obtain 2sn>3ns/2. Therefore, for s4, no 1-regular (3,s)-CNF Formula has a (1,0)-super solution. □

Now we consider an arbitrary 1-regular (3,3)-CNF formula F. Suppose F has 3n variables, so it must have 3n clauses and 3n literals. Every variable occur exactly in three clauses of F (one negative occurrence and two positive occurrence, or two negative occurrence and one positive occurrence). Because every (1,0)-super solution must satisfy at least 6n literals of F, only an assignment τ that satisfy every literal with maximum number of occurrences can satisfy at least 6n literals of F. In other words, if τ is not a (1,0)-super solution, the formula F does not have a (1,0)-super solution. That is, if the formula has a (1,0)-super solution, the (1,0)-super solution must be τ. For example, F={x¬y¬z,¬x¬yz,xyz}. Only one assignment <1,0,1> is a (1,0)-super solution.

Moreover, we also find some (k,s)-CNF formulas with other special structures that must have a (1,0)-super solution.

Theorem 2.

Every regular (4,2)-CNF formula must have a (1,0)-super solution.

Proof. 

Suppose Ψ is a regular (4,2)-CNF formula with m clauses. By definition, each clause has exactly 4 distinct literals, and each variable occurs exactly in 2 clauses (one negative occurrence and another positive occurrence). We divide each clauses ci,1im of Ψ into two equal segments ci1 and ci2, and construct a CNF formula Φ by using all divided segments. The dividing processes does not change the number of occurrences of every variable. Clearly, Φ is a regular (2,2)-CNF formula. As a nice application of Hall’s Marriage Theorem, it is proved that any one of regular (2,2)-CNF formulas is satisfiable in [16]. Suppose, an assignment τ satisfies the formula Φ. It means that τ must satisfy each pair of ci1 and ci2, for 1im. In other words, both ci1 and ci2 have at least one literal satisfied. Therefore, there are at least two literals satisfied by the assignment τ in each clause ci of Ψ. That is to say, the assignment τ is a (1,0)-super solution of Ψ. □

Theorem 2 can be considered as an extension of Hall’s Marriage Theorem. Suppose we have a finite set of single men and women. If each man is attracted by two women and each woman is attracted by four man, then there must be a way that each woman could be married with two men at the same time.

Using Lemma 4, it is easy to obtain the following corollaries by using the proof method of Theorem 2.

Corollary 2.

For k4, each (k,2)-CNF formula must have a (1,0)-super solution.

Corollary 3.

A CNF formula must have a (1,0)-super solution if:

(i) each clause has at least 4 distinct variables and

(ii) each variable occurs exactly in two clauses(one negative occurrence and another positive occurrence).

For the formula in Corollary 3, all clauses may not have the same number of variables.

Theorem 3.

All (9,3)-CNF formulas and (10,4)-CNF formulas must have a (1,0)-super solution.

Proof. 

Suppose Ψ is a (9,3)-CNF formula. Define Φ=π(Ψ)=CΨ(π(C)). Because π(C)=i=19(jilj), the formula Φ is a 8-CNF formula and the number of occurrences of every variable was enlarged by 8 times in π(C). That is to say, every variable of Φ occurs in at most 24 clauses. Because 24f(8)29 in [15], all (8,24)-CNF formulas are satisfiable. Therefore, the formula Φ is satisfiable. Lemma 1 entails that the formula Ψ must have a (1,0)-super solution. It means that all (9,3)-CNF formulas must have a (1,0)-super solution.

Similarly, we get that all (10,4)-CNF formulas must have a (1,0)-super solution by 41f(9)51 in [15]. □

In [11], it has been shown that for sf(x), all (k,s)-CNF formulas must be satisfiable. By Theorem 3, we get for s3, all (9,s)-CNF formulas must have a (1,0)-super solution. Similarly, for s4, all (10,s)-CNF formulas must have a (1,0)-super solution.

5. The NP-Completeness of (1,0)-(k,s)-SAT

In this section we study in what conditions (1,0)-(k,s)-SAT is NP-complete. Here, (1,0)-(k,s)-SAT refers to a decision problem whether a (k,s)-CNF formula has a (1,0)-super solution.

Theorem 4.

For k3, if (k,s)-SAT is NP-complete, then (1,0)-(k+1,s)-SAT is NP-complete.

Proof. 

We will present a polynomial time reduction method from (k,s)-SAT to (1,0)-(k+1,s)-SAT. Let Ψ is a (k,s)-CNF formula. Without loss of generality, we suppose that Ψ has m>0 clauses. The reduction method has three steps, which are described as follows.

Step 1 Let f=C1C2. Here

C1=x1x2¬x3¬x4x5xk+1,C2=¬x1¬x2x3x4¬x5¬xk+1,

x1,x2,,xk+1 are some new variables which do not occur in Ψ. Clearly, an assignment forcing x1,x2,x3,x4 to true is a (1,0)-super solution of the formula f.

Step 2 Let fi,1im be disjoint copies of the formula f with the variables xj,1jk+1 of f being renamed as xi,j in fi. Let X={xi,j,1im,1jk+1} and Ψ1=CiΨ(Cixi,1).

Step 3 We construct the formula Φ=Ψ1f1f2fm.

Obviously, every clause of Φ has exactly k+1 distinct literals and every variable of Φ occurs in at most s clauses. So Φ is a (k+1,s)-CNF formula. Next, we will prove that Ψ is satisfiable if and only if Φ has a (1,0)-super solution.

It is supposed that Ψ is satisfiable. Let τ is a satisfying assignment of Ψ. A truth assignment τ is defined by

τ(v)=τ(v),ifvvar(Ψ)true,ifvvar(fi),1im

Obviously, the truth assignment τ satisfies at least two literals of every clause of Φ. That is to say, τ is a (1,0)-super solution of Φ.

It is supposed that τ is a (1,0)-super solution of Φ. That is, τ satisfies at least two literals of every clause of Ψ1. Because Ψ1=CiΨ(Cixi,1), every clause Cixi,1 must have two satisfied literals. It is clear that τ satisfies at least one literal of CiΨ. In other words, τ is a satisfying assignment of Ψ, and Ψ is satisfiable.

For k3, if (k,s)-SAT problem is NP-complete, it can be obtained that (1,0)-(k+1,s)-SAT is NP-complete. □

The critical function f(k) of (k,s)-SAT indicate that if (k,s)-SAT is an NP-complete problem, then for any m0, (k,s+m)-SAT is NP-complete. By Theorem 4, if (k,s)-SAT is an NP-complete problem, then for any m0, (1,0)-(k+1,s+m)-SAT is NP-complete.

Corollary 4.

If k3 and s are such that an unsatisfiable (k,s)-CNF formula exists, (1,0)-(k+1,s)-SAT is NP-complete.

Proof. 

The statement follows directly from Lemma 2 and Theorem 4. □

By Hall’s Marriage Theorem, (4,4)-CNF and (5,5)-CNF are satisfiable. But (1,0)-(4,4)-SAT and (1,0)-(5,5)-SAT are NP-complete because (3,4)-SAT and (4,5)-SAT are NP-complete.

Next, we make some modifications of the reduction method in the proof of Theorem 4. We introduce a sufficient number of new variables, add some new clauses to make up the gap of the occurrence number of every variable, and guarantee that every new clause have at least a positive occurrence of two new variables (so, the new clauses must have a (1,0)-super solution). Because s>k3 (for an unsatisfiable (k,s)-CNF formula exists), the method is feasible. So the reduction method is modified to transform (k,s)-SAT to (1,0)-regular (k+1,s)-SAT. Therefore we get Corollary 5.

Corollary 5.

If k3 and s are such that an unsatisfiable (k,s)-CNF formula exists, (1,0)-regular (k+1,s)-SAT is NP-complete.

Here, (1,0)-regular (k,s)-SAT refers to a decision problem whether a regular (k,s)-CNF formula has a (1,0)-super solution. Because an unsatisfiable (3,4)-CNF formula exists, (1,0)-regular (4,4)-SAT is NP-complete.

Lemma 6.

If k3 and s are such that a satisfiable (k,s)-CNF formula does not have a (1,0)-super solution, then a forced-(k,s)-CNF formula exists.

Proof. 

We will show a way to construct a forced-(k,s)-CNF formula.

It is supposed that a (k,s)-CNF formula Ψ is satisfiable but does not have a (1,0)-super solution. Let τ is a satisfying assignment of Ψ. Clearly, τ is not a (1,0)-super solution of Ψ. That is, there must have some clauses in which only one literal is satisfied by τ. Next, we will seek for a key-literal. A key-literal refers to a literal which is flipped to make the formula without a (1,0)-super solution have a (1,0)-super solution. First we flip a unsatisfied literal of any one clause with only one satisfied literal. If the formula still does not have a (1,0)-super solution, then we flip a unsatisfied literal of other clause with only one satisfied literal, until the formula has a (1,0)-super solution. When the formula has a (1,0)-super solution, the flipped literal is a key-literal.

Without loss of generality, it is supposed that ¬y in a clause c is a key-literal. Because ¬y in the clause c of Ψ is a key-literal, it means that any one of assignments satisfies only one literal of the clause c of Ψ, and flipping the literal ¬y (only in the clause c) can make Ψ have a (1,0)-super solution. Clearly, every (1,0)-super solution satisfies only one literal of the original clause c and only two literals of the flipped clause. This also indicates that all (1,0)-super solutions satisfy the literal y (the complement of the literal ¬y).

The clause set of Ψ is denoted C. Let C1=(Cc)c1, c1=(c¬y)x. Here, x is a new variable which does not occur in Ψ. Define Φ=cC1(c). Obviously, Φ must have a (1,0)-super solution and every (1,0)-super solution of Φ must force x,y to true (if an assignment forces xfalse, then the assignment can not satisfy at least two literals of c1). Therefore, Φ is a forced-(k,s)-CNF formula. □

Theorem 5.

If k3 and s are such that an unsatisfiable instance of (1,0)-(k+1,s)-SAT exists, then (1,0)-(k+1,s)-SAT is NP-complete.

Proof. 

It is supposed that a (k+1,s)-CNF formula F does not have a (1,0)-super solution. There are two cases to consider.

Case 1: the formula F is unsatisfiable. This illustrates that f(k+1)<s. By Lemma 3, f(k)<s. That is to say, there exists an unsatisfiable instance of (k,s)-SAT. Corollary 5 entails that (1,0)-(k+1,s)-SAT is NP-complete.

Case 2: the formula F is satisfiable but does not have a (1,0)-super solution. Lemma 6 entails that we can construct a forced-(k+1,s)-CNF formula Φ. Next we present a polynomial time reduction method from an instance of k-SAT to an instance of (1,0)-(k+1,s)-SAT.

Let Ψ is a k-CNF formula with m clauses. Obviously, Ψ has mk literals. The reduction method has four steps, which are described as follows.

Step 1 Let Φij,1imk,1jk2 be disjoint copies of the formula Φ with the variables x,y of Φ being renamed as xi,j,yi,j in Φij. These formulas and the formula Ψ have pairwise disjoint sets of variables. Let Ψ1=1imk1jk2Φij and X={xi,j}(1imk,1jk2).

Step 2 We introduce a new variable set Z={zi,j}(1im,1jk) to replace mk literals in Ψ in order to construct a new formula Ψ2.

Ψ2=1im(yi,1(1jkLi,j)),Li,j=zi,j,ifLi,j=z¬zi,j,ifLi,j=¬z,zvar(Ψ).

Here, Li,j is the jth literal of the ith clause of Ψ.

Step 3 Let Ψ3=1imkdi, and di=zi¬zj¬xi,1¬xi,2¬xi,k2xj,1. Here zi,zjZ and the variables of Z are sorted by their subscripts. In addition, zi replaces a variable v in Ψ and zj be the next variable of Z which replaces v (if zi is the last variable in the variable set Z which replaces the variable v, zj is set to be the first).

Step 4 We construct the formula Ψ={Ψ1,Ψ2,Ψ3}.

Using Corollary 2, if k3 and s are such that an unsatisfiable instance of (1,0)-(k+1,s)-SAT exists, then s3. In Ψ, every variable of Z occurs in three clauses and every variable of X occurs in two clauses. Obviously, the formula Ψ is a (k+1,s)-CNF formula and can be constructed in polynomial time. Next, we will prove that Ψ has a (1,0)-super solution if and only if Ψ is satisfiable.

It is assumed that an assignment τ is a (1,0)-super solution of Ψ. This suggests that τ satisfies at least two literals of every clause of Ψ. Because every Φij is a forced-(k+1,s)-CNF formula, we get τ(xi,j)=true,τ(yi,j)=true,¬τ(xi,j)=false,1imk,1jk2. We substitute τ(xi,j) into Ψ3, and simplify Ψ3. Using Lemma 5, it can be obtained that any one (1,0)-super solution enable the simplified Ψ3 to express n cyclic of implication. That is, if zi and zj replace the same variable of Ψ, τ(zi)=τ(zj). Therefore, we define a truth assignment τ by

τ(v)=τ(z),ifavariablevofΨisreplacedwithavariablezinZ.

Because the (1,0)-super solution τ satisfies at least two literals of every clause of Ψ2, the assignment τ satisfies at least one literal of every clause of Ψ. Thus, Ψ is satisfiable.

It is assumed that Ψ is satisfied by a truth assignment τ over var(Ψ) and a truth assignment τi,j is a (1,0)-super solution of Φi,j,1imk,1jk2. A truth assignment τ is defined by

τ(v)=τ(x),ifvZandavariablexofvar(Ψ)isreplacedwithvτi,j(v),ifvvar(Φij)

Because τi,j is a (1,0)-super solution, τi,j satisfies at lest two literals of every clause of Φi,j. Therefore, τ satisfies at least two literals of every clause of Ψ1. Because each Φi,j is a forced-(k+1,s)-CNF formula, we get τ(xi,j)=true,τ(yi,j)=true,¬τ(xi,j)=false,1imk,1jk2. Because τ satisfies at least one literal of every clause of Ψ, τ satisfies at least two literals of every clause of Ψ2 and Ψ3. Thus, τ is a (1,0)-super solution of Ψ.

For k3, Because k-SAT is NP-complete, (1,0)-(k+1,s)-SAT is NP-complete. □

6. The Transition Phenomenon of (1,0)-(k,s)-SAT

In [11], it is proved that for k3, there is a transition phenomenon of (k,s)-SAT. We will show a transition phenomenon of (1,0)-(k,s)-SAT.

Theorem 6.

For k>3, there is a critical function φ(k) such that

(i) every (k,s)-CNF formula has a (1,0)-super solution for sφ(k) and

(ii) (1,0)-(k,s)-SAT is NP-complete for s>φ(k).

Proof. 

The statement follows directly from Corollary 3 and Theorem 5. □

The critical function φ(k) represents also the maximum s such that all (k,s)-CNF formulas have a (1,0)-super solution. Although we don’t know whether φ(k) is computable, it is easy to obtain that the following two corollary by Corollary 2 and Theorem 3.

Corollary 6.

For k>3, φ(k)2.

Corollary 7.

φ(9)3, φ(10)4.

In [11], it is showed that f(k) is a strictly increasing function. Next, we will prove that φ(k) is a an increasing function.

Theorem 7.

φ(k+1)φ(k).

Proof. 

Let Φ is a (k+1,φ(k+1)+1)-CNF formula without a (1,0)-super solution. Obviously, every formula obtained from Φ by deleting some variables from some clauses (while retaining the occurrences in other clauses) still does not have a (1,0)-super solution. Now we let Ψ be a formula obtained from Φ by deleting a arbitrary variable from every clause. Consequently, Ψ is a (k,φ(k+1)+1)-CNF formula without a (1,0)-super solution and φ(k+1)φ(k) follows. □

Theorem 8.

φ(k+1)2φ(k)+1.

Proof. 

It is assumed that Φ is a (k,φ(k)+1)-CNF formula without a (1,0)-super solution and has m clauses. We introduce a new variable set Z={zi}(1im). Let

Ψ=1im((ziCi)(¬ziCi)),CiΦ.

Obviously, Ψ is a (k+1,2(φ(k)+1))-CNF formula without a (1,0)-super solution. Consequently, φ(k+1)2φ(k)+1. □

7. Conclusions

We study the decision problems of (1,0)-super satisfiability of (k,s)-CNF, and prove that the problem has a sudden jump from triviality to NP-completeness for every k>3. In other words, there is a critical function φ(k) such that every (k,s)-CNF formula has a (1,0)-super solution for sφ(k) and (1,0)-(k,s)-SAT is NP-complete for s>φ(k). The research on the nature of (1,0)-SAT with regular structure has direct meaning to design the best search algorithm for finding a super solution.

Although we obtain some results about φ(k), we are still left with some questions. For example, it is not known whether φ(k) is computable. Since typical formulas arising in practice have clauses of small width, it is interesting to know the exact values of φ(k) for small k. Besides, for larger values of k, the upper and lower bounds of φ(k) should be concerned.

Author Contributions

Formal analysis, Z.F.; Investigation, Z.F. and D.X.; Methodology, Z.F. and D.X.; Writing-original draft, Z.F.; Writing-review & editing, Z.F., D.X. and Y.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China under grant numbers Nos.61762019, 6182051.

Conflicts of Interest

The authors declare no conflict of interest.

References

  • 1.Weigel R., Bliek C. On reformulation of constraint satisfaction problems; Proceedings of the 13th European Conference on Artificial Intelligence (ECAI98); Brighton, UK. 23–28 January 1998; pp. 254–258. [Google Scholar]
  • 2.Ginsberg M., Parkes A., Roy A. Supermodels and robustness; Proceedings of the 15th National Conference on Artificial Intelligence (AAAI 98); Madison, WI, USA. 26–30 July 1998; pp. 334–339. [Google Scholar]
  • 3.Fowler D.W., Brown K.N. Branching constraint satisfaction problems for solutions robust under likely changes. Princ. Pract. Constr. Program. 2000;1894:500–504. doi: 10.1007/3-540-45349-0_38. [DOI] [Google Scholar]
  • 4.Hebrard E., Hnich B., Walsh T. Super solutions in constraint programming. Integr. AI OR Tech. Constr. Program. Comb. Optim. Probl. 2004;3011:157–172. doi: 10.1007/978-3-540-24664-0_11. [DOI] [Google Scholar]
  • 5.Hebrard E., Hnich B., Walsh T. Robust solutions for constraint satisfaction and optimization; Proceedings of the 16th European Conference on Artificial Intelligence; Valencia, Spain. 22–27 August 2004. [Google Scholar]
  • 6.Holland A., O‘Sullivan B. Super Solutions for Combinatorial Auctions. Recent Adv. Constr. 2004;3419:187–200. doi: 10.1007/11402763_14. [DOI] [Google Scholar]
  • 7.Hebrard E., Wslsh T. Improved algorithm for finding (a,b)-super solutions. Princ. Pract. Constr. Program. 2005;3709:848. doi: 10.1007/11564751_86. [DOI] [Google Scholar]
  • 8.Holland A., O‘Sullivan B. Weighted Super Solutions for Constraint Programs; Proceedings of the Twentieth National Conference on Artificial Intelligence & the Seventeenth Innovative Applications of Artificial Intelligence Conference; Pittsburgh, PA, USA. 9–13 July 2005. [Google Scholar]
  • 9.Zhang P., Gao Y. A probabilistic study of generalized solution concepts in satisfiability testing and constraint programming. Theor. Comput. Sci. 2016;657:98–110. doi: 10.1016/j.tcs.2016.04.041. [DOI] [Google Scholar]
  • 10.Zhou G., Kang R. On the Lower Bounds of (1,0)-Super Solutions for Random k-SAT. Int. J. Found. Comput. Sci. 2019;30:247–254. doi: 10.1142/S0129054119500035. [DOI] [Google Scholar]
  • 11.Kratochvíl J., Savický P., Tuza Z. One more occurrence of variables makes satisfiability jump from trivial to NP-complete. Acta Inf. 1993;22:203–210. doi: 10.1137/0222015. [DOI] [Google Scholar]
  • 12.Hoory S., Szeider S. Computing unsatisfiable k-SAT instances with few occurrences per variable. Theor. Comput. Sci. 2005;337:347–359. doi: 10.1016/j.tcs.2005.02.004. [DOI] [Google Scholar]
  • 13.Savický P., Sgall J. DNF tautologies with a limited number of occurrences of every variable. Theor. Comput. Sci. 2000;238:495–498. doi: 10.1016/S0304-3975(00)00036-0. [DOI] [Google Scholar]
  • 14.Gebauer H., Szabo T., Tardos G. The Local Lemma is asymptotically tight for SAT. J. ACM. 2016;63:664–674. doi: 10.1145/2975386. [DOI] [Google Scholar]
  • 15.Hoory S., Szeider S. A Note on Unsatisfiable k-CNF Formulas with Few Occurrences per Variable. Soc. Ind. Appl. Math. 2006;20:523–528. doi: 10.1137/S0895480104445745. [DOI] [Google Scholar]
  • 16.Tovey C.A. A simplified NP-complete satisfiability problem. Discrete Appl. Math. 1984;8:85–89. doi: 10.1016/0166-218X(84)90081-7. [DOI] [Google Scholar]

Articles from Entropy are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES