arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.19833cs.CC
收藏

布尔可满足性问题的多项式时间算法

Polynomial Time Algorithm for Boolean Satisfiability Problem

Stepan G. Margaryan

AI总结:

本文证明集合特殊覆盖相关算法过程具有多项式时间复杂度,并提出一个判定 CNF 布尔函数可满足性的多项式时间算法,其复杂度以输入长度立方为上界,且在 Python 实现中通过了数万变量和从句规模的测试。

摘要:

本文是旨在探讨 P 与 NP 复杂度类之间关系的一系列文章中的最新一篇。在之前的论文中,我们已经证明 sat CNF 问题可以在多项式时间内归约到在集合的特殊分解下为该集合寻找特殊覆盖的问题,反之亦然。也就是说,这些问题在多项式意义下是等价的。这意味着,在集合的特殊分解下为该集合寻找特殊覆盖的问题是一个 NP 完全问题。我们还描述了用于确定在集合的特殊分解下是否存在特殊覆盖的算法过程。在本文中,我们证明所有这些算法过程相对于输入数据长度都具有多项式时间复杂度。此外,我们将描述一个算法,该算法给定任意合取范式(CNF)的布尔函数,能够在多项式时间内确定该函数是否可满足。我们将证明该算法的时间复杂度以输入数据长度的立方为上界。同时,如果该函数不可满足,该算法会推导出这一结果并指出其原因。我们已经在 Python 中实现了该算法,并在具有数万个变量和数万个从句的 CNF 布尔函数上成功进行了测试。

英文摘要:

This is the latest in a series of articles aimed at exploring the relationship between the complexity classes of P and NP. In the previous papers, we have proved that the sat CNF problem is polynomially reduced to the problem of finding a special covering for a set under the special decomposition of this set and vice versa. That is, these problems are polinomially equivalent. This means that the problem of finding a special covering for a set under a special decomposition of this set, is an NP-complete problem. We also described algorithmic procedures that determine whether there is a special covering for a set under a special decomposition of this set. In this article we prove that all these algorithmic procedures have polynomial time complexity with respect to the length of input data. In addition, we will describe an algorithm that, given any Boolean function in conjunctive normal form (CNF), determines in polynomial time whether this function is satisfiable. We will prove that the time complexity of this algorithm is bounded by the cube of the length of the input data. Also, if the function is not satisfiable, the algorithm deduces this result noting the reason for this result. We have implemented an algorithm in Python, and successfully tested it on Boolean functions represented in CNF with tens of thousands of variables and tens of thousands of clauses.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑