1 Introduction
The satisfiability (SAT) problem is an essential building block at the core of automated reasoning, symbolic AI, and formal verification [
1]. However, the SAT problem is NP-complete (non-deterministic polynomial-time complete) [
2]. Hence, studying the SAT problem has both practical and theoretical significance.
A conjunctive normal form (CNF) formula is a
-CNF formula if every clause contains
literals. The
-SAT problem is a subproblem of the SAT problem limited to processing
-CNF formulas. The
-SAT problem has a linear-time algorithm when
[
3], but is NP-complete when
[
2]. The criticality enables the 3-SAT problem to attract the attention of many scholars (for example, the scholars of papers [
4–
6]).
Mitchell et al. [
4] presented the random 3-SAT model. A formula generated by the random 3-SAT model is called a random 3-CNF formula. The random 3-SAT problem is also a subproblem of the SAT problem, limited to processing random 3-CNF formulas. The random 3-SAT problem exhibits a SAT-UNSAT (satisfiable-unsatisfiable) phase transition. For a random 3-CNF formula with
variables and
clauses, there exists a function
such that the formula is satisfiable with high probability when
and
is large enough, and that the formula is unsatisfiable with high probability when
and
is large enough [
7]. From experimental observations, the function
is supposed to converge to around
when
is large enough [
4,
8]. However, existing studies only show
[
5,
6], and a non-strict method suggests that
is supposed to converge to
when
is large enough [
9]. In other words, whether the function
converges to a fixed value when
is large enough is an open problem.
Use the random 3-SAT model to generate some formulas with
variables and
clauses, and compute the ratio of the satisfiable formulas in the generated formulas. If the ratio is close to
, one has
when
is sufficiently large, owing to the proof by contradiction, and similarly, if the ratio is close to
, one has
. The predetermined values of
and
cause the above method for observing the SAT-UNSAT phase transition of the random 3-SAT problem (as used in paper [
4] etc.) to be limited by the flexibility of the
value.
Each clause of a random 3-CNF formula with
variables is generated by randomly choosing a set of 3 variables from the set of
variables and negating each with probability
[
4]. Hence, repeating the above process of generating clauses
times produces a random 3-CNF formula with
variables and
clauses. For every integer
, let
be the formula obtained after the
th above repetition (In this paper, the symbol
represents such a formula). If
is large enough, there may be an integer
such that
is satisfiable and
is unsatisfiable. Fortunately, we have experimentally confirmed this possibility. Since
is satisfiable and
is unsatisfiable, for every integer
and every integer
,
is satisfiable, and
is unsatisfiable. Because of the possible relation between this fact and the SAT-UNSAT phase transition of the random 3-SAT problem, we generate random 3-CNF formulas with the same feature as
to experimentally observe the SAT-UNSAT phase transition of the random 3-SAT problem (The rationality of this method refers to Section 3).
2 Method
Let be an unsatisfiable random 3-CNF formula. Since a CNF formula with one clause is satisfiable, there is an integer such that is satisfiable and that is unsatisfiable. Hence, we use Algorithm 1 to generate the formulas we look forward to.
For every
(Our experiments are very time-consuming when
equals
) and every
(Our tentative experiments show that
affects the experimental results and that Algorithm 1 may not output formula
when
is less than
), we ran Algorithm 1
times (Our tentative experiments show that the number is sufficient) to conduct our experiments. We use the Kissat solver [
10] to determine whether a CNF formula is satisfiable in the experiments.
3 Results and discussion
Let be the formula generated by Algorithm 1. Suppose that has clauses so that has clauses. Since our experiments show that generating is a high-probability event, one has when is sufficiently large, owing to the proof by contradiction. Hence, we present the experimental results in the manner shown in Table 1.
Fit from the data in Table 1 to get , where the goodness of the fit equals (Due to limited data volume, it is not ideal to fit with a degree higher than one). So, should converge to 4.249732 when is large enough. Our observation method eliminates the restriction on the flexibility of the parameter value in the existing observation method.
4 Conclusions
This paper generated a novel class of random 3-CNF formulas to experimentally observe the SAT-UNSAT phase transition of the random 3-SAT problem. The observation method differs from the existing one and eliminates the restriction on the flexibility of the parameter value in the existing one. Thus, our work should be a novel attempt to study the SAT-UNSAT phase transition of the random 3-SAT problem.
It is necessary to increase the number of variables for further experimental observation in the next step. Of course, exploring the structural characteristics of such formulas to support algorithm design for the random 3-SAT problem should also be worth trying.
The Author(s) 2025. This article is published with open access at link.springer.com and journal.hep.com.cn