NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hard 3-CNF-SAT problems are in $P$ -- A first step in proving $NP=P$

Marcel Rémon, Johan Barthélemy · DOI

Abstract

The relationship between the complexity classes $P$ and $NP$ remains one of the most significant open questions in theoretical computer science. This paper proposes a novel lattice framework to address 3-CNF-SAT problems, which are known to be $NP$-complete. We define a multi-linear descriptor function ${\cal H}_\varphi: \{0,1\}^n \rightarrow \{0,1\}^n$ for any 3-CNF-SAT problem $\varphi$ of size $n$, such that the image of ${\cal H}_\varphi$ is the set of all solutions to $\varphi$. By introducing a new merge operation and analyzing the relation between ${\cal H}_\varphi$ and the indicator function $\mathbb{1}_{{\cal S}_\varphi}$, we demonstrate that the complexity of computing the solution set is polynomial for "hard" 3-CNF-SAT problems—those with few ($\leq 2^k$) or no solutions. This suggests a greedy polynomial algorithm can solve these instances, marking a significant step toward proving $NP=P$.

Introduction

The 3-CNF-SAT problem is a cornerstone of computational complexity theory. While traditionally viewed through the lens of search-based algorithms, this research shifts the focus to a functional and algebraic representation. The authors redefine "hard" problems not by the time they take to solve via standard methods, but by the sparsity of their solution sets. In instances with very few or no satisfying solutions, random searches are least effective. This paper introduces a deterministic, polynomial-time method to decide if such sparse solution sets exist.

The Lattice Framework and Descriptor Function

The core innovation of this work is the Multi-linear Descriptor Function ($H_\phi$). For any formula $\phi$, the function $H_\phi$ is constructed such that its image corresponds exactly to the set of satisfying assignments. This is achieved by treating the set of possible solutions as a lattice and defining "join" ($\vee$) and "meet" ($\wedge$) operations to combine solution sets from individual clauses.

Figure 1: Matrix representation of the descriptor function mapping inputs to the solution space.

As shown in the figure above, the descriptor function maps a set of inputs (represented by $\alpha$) to a set of outputs ($x$). The iterative merging process starts with a single clause and progressively incorporates additional clauses using a specific "meet" operation. If the resulting mathematical object is an empty matrix, the problem is proven unsatisfiable.

Complexity and the "Cluster Effect"

The authors observe a counter-intuitive phenomenon: sparsity is a computational strength. If the number of solutions is bounded by $2^k$, the complexity of the merge operation remains manageable at $O(n^k)$. For a fixed $k$, this complexity is polynomial.

During the iterative addition of clauses, the authors identified the "Cluster Effect." As constraints are added to the variables, the complexity (measured by the number of terms in the descriptor function) follows a bell-shaped curve. It peaks when the variables are first constrained but drops sharply as the problem becomes "over-constrained" and solutions are eliminated. This effect was validated using SATLIB benchmarks, specifically the uuf50-02.cnf instance, an unsatisfiable problem with 50 variables and 218 clauses.

Key Results

  1. Polynomial Complexity for Sparse Sets: The paper proves that for a 3-CNF-SAT problem with $n$ variables and $m$ clauses, if the number of solutions is limited to $\le 2^k$, the problem is in $P$.
  2. Greedy Algorithm: By deriving an indicator function $\mathbb{1}_{S_\phi}$ from the descriptor function, the authors developed a greedy polynomial algorithm to check for the existence of solutions by evaluating multi-linear polynomial coefficients.
  3. Numerical Verification: Theoretical results were confirmed through a "descriptor-solver" implementation, which successfully handled small-to-medium scale problems.

Limitations and Future Work

While this research provides a path toward $NP=P$, it is presented as a "first step." The current proof relies on the assumption that the number of solutions is small. Future work is required to prove that "easy" problems—those with a potentially exponential number of solutions—can also be solved in polynomial time using this framework. Additionally, practical implementation requires a method to identify whether a given SAT instance is sparse ("hard") or dense ("easy") before the solving process begins.

Summary updated

BibTeX
@misc{remon2020hard,
  author = {Marcel Rémon and Johan Barthélemy},
  title = {{Hard 3-CNF-SAT problems are in $P$ -- A first step in proving $NP=P$}},
  year = {2020},
  eprint = {2001.00760},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.00760},
}
Figure