Sorting, linear time and the satisfiability problem

Let DLIN denote the class of problems that are computable withinO(n/logn) uniform time on a RAM which can read its input (of lengthn) in blocks and which only uses integersO(n/logn). We prove that the sorting problem belongs to DLIN and formulate the Linear Time Thesis: “Each problem computable by a linear time bounded algorithm (in an intuitive sense) belongs to DLIN”. We also study the subclass DTIMESORT(n) of problems computable within linear time on a Turing machine using in addition a fixed number of sortings, and we show how the reductions of this class, so-called sort-lin reductions, are useful to classify NP problems: e.g. there is a sort-lin reduction from SAT to 3-SAT (using no sorting) and a sort-lin reduction from the NP-complete graph problem KERNEL to SAT (but we do not know of any similar reduction in DTIME(n)). Similarly, problem 2-SAT is linearly equivalent to the problem of Horn renaming (via sort-lin reductions). Finally, SAT is compared with many other combinatorial problems. A problemA is SAT-easy (resp. SAT-hard) if there is a sort-lin reduction fromA to SAT (resp. SAT toA). A SAT-equivalent problem is a problem both SAT-easy and SAT-hard. It is shown that the class of SAT-easy (resp. SAT-equivalent) problems is very large and that its generalization to so-called special clauses or, more generally, regular clauses, does not enlarge it. Moreover, we justify our opinion that problem SAT is, in some sense, a minimal NP-complete problem.

[1]  Neil Immerman Nondeterministic Space is Closed Under Complementation , 1988, SIAM J. Comput..

[2]  Arnold Schönhage Storage Modification Machines , 1980, SIAM J. Comput..

[3]  Jean-Jacques Hébrard A Linear Algorithm for Renaming a Set of Clauses as a Horn Set , 1994, Theor. Comput. Sci..

[4]  Michael C. Loui,et al.  The complexity of on-line simulations between multidimensional turing machines and random access machines , 2005, Mathematical systems theory.

[5]  A. K. Dewdney Linear time transformations between combinatorial problems , 1982 .

[6]  Leslie G. Valiant,et al.  On Time Versus Space , 1977, JACM.

[7]  Alon Itai,et al.  Unification as a Complexity Measure for Logic Programming , 1987, J. Log. Program..

[8]  Robert E. Tarjan,et al.  Depth-First Search and Linear Graph Algorithms , 1972, SIAM J. Comput..

[9]  John Michael Robson Random Access Machines with Multi-Dimensional Memories , 1990, Inf. Process. Lett..

[10]  Etienne Grandjean Invariance properties of RAMS and linear time , 2005, computational complexity.

[11]  Etienne Grandjean,et al.  Linear Time Algorithms and NP-Complete Problems , 1992, SIAM J. Comput..

[12]  Thomas J. Schaefer,et al.  The complexity of satisfiability problems , 1978, STOC.

[13]  Harry B. Hunt,et al.  The Complexity of Very Simple Boolean Formulas with Applications , 1990, SIAM J. Comput..

[14]  John Michael Robson,et al.  An O (T log T) Reduction from RAM Computations to Satisfiability , 1991, Theor. Comput. Sci..

[15]  Alfred V. Aho,et al.  The Design and Analysis of Computer Algorithms , 1974 .

[16]  J. Wrench Table errata: The art of computer programming, Vol. 2: Seminumerical algorithms (Addison-Wesley, Reading, Mass., 1969) by Donald E. Knuth , 1970 .

[17]  A. Slisenko Complexity problems in computational theory , 1981 .

[18]  Frédéric Olive,et al.  Monadic Logical Definability of NP-Complete Problems , 1994, CSL.

[19]  Neil D. Jones,et al.  Space-Bounded Reducibility among Combinatorial Problems , 1975, J. Comput. Syst. Sci..

[20]  Stephen A. Cook,et al.  Time Bounded Random Access Machines , 1973, J. Comput. Syst. Sci..

[21]  Róbert Szelepcsényi,et al.  The method of forced enumeration for nondeterministic automata , 1988, Acta Informatica.

[22]  Jirí Wiedermann Normalizing and Accelerating RAM Computations and the Problem of Reasonable Space Measures , 1990, ICALP.

[23]  Endre Szemerédi,et al.  On determinism versus non-determinism and related problems , 1983, 24th Annual Symposium on Foundations of Computer Science (sfcs 1983).

[24]  Nadia Creignou,et al.  Temps lineaire et problemes np-complets , 1993 .

[25]  Jirí Wiedermann Deterministic and Nondeterministic Simulation of the RAM by the Turing Machine , 1983, IFIP Congress.

[26]  Stephen A. Cook,et al.  The complexity of theorem-proving procedures , 1971, STOC.

[27]  Alfred V. Aho,et al.  Data Structures and Algorithms , 1983 .

[28]  Michel Minoux,et al.  LTUR: A Simplified Linear-Time Unit Resolution Algorithm for Horn Formulae and Computer Implementation , 1988, Inf. Process. Lett..

[29]  Etienne Grandjean,et al.  A Nontrivial Lower Bound for an NP Problem on Automata , 1990, SIAM J. Comput..

[30]  Ronald L. Rivest,et al.  Introduction to Algorithms , 1990 .

[31]  Harry B. Hunt,et al.  Power indices and easier hard problems , 2005, Mathematical systems theory.

[32]  Claude Berge,et al.  Graphs and Hypergraphs , 2021, Clustering.

[33]  Peter van Emde Boas,et al.  Machine Models and Simulation , 1990, Handbook of Theoretical Computer Science, Volume A: Algorithms and Complexity.

[34]  Stephen A. Cook,et al.  Short Propositional Formulas Represent Nondeterministic Computations , 1988, Inf. Process. Lett..

[35]  Harry R. Lewis,et al.  Renaming a Set of Clauses as a Horn Set , 1978, JACM.

[36]  Erich Grädel On the Notion of Linear Time Computability , 1990, Int. J. Found. Comput. Sci..

[37]  P. Boas Machine models and simulations , 1991 .

[38]  Burkhard Monien About the Derivation Languages of Grammars and Machines , 1977, ICALP.

[39]  Kurt Mehlhorn Multidimensional Data Structures , 1984 .

[40]  Claus-Peter Schnorr Satisfiability Is Quasilinear Complete in NQL , 1978, JACM.

[41]  Bengt Aspvall,et al.  Recognizing Disguised NR(1) Instances of the Satisfiability Problem , 1980, J. Algorithms.

[42]  R. K. Shyamasundar,et al.  Introduction to algorithms , 1996 .

[43]  Nadia Creignou The Class of Problems that are Linear Equivalent to Satisfiability or a Uniform Method for Proving NP-Completeness , 1992, CSL.

[44]  Jan van Leeuwen,et al.  Graph Algorithms , 1991, Handbook of Theoretical Computer Science, Volume A: Algorithms and Complexity.

[45]  Zvi Galil,et al.  On pointers versus addresses , 1992, JACM.

[46]  Jeffrey D. Ullman,et al.  Introduction to Automata Theory, Languages and Computation , 1979 .

[47]  Giancarlo Mauri,et al.  Simulations Among Classes of Random Access Machines and Equivalence Among Numbers Succinctly Represented11A preliminary version of the first part of this paper has been published in the Proceedings of the ACM Symp. on theory of Computation, Milwaukee, 1991. , 1985 .

[48]  Nadia Creignou Exact complexity of problems of incompletely specified automata , 2005, Annals of Mathematics and Artificial Intelligence.

[49]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[50]  John S. Schlipf,et al.  Unique Satisfiability of Horn Sets Can Be Solved in Nearly Linear Time , 1995, Discret. Appl. Math..

[51]  Jean-Jacques Hébrard,et al.  Unique Horn Renaming an Unique 2-Satisfiability , 1995, Inf. Process. Lett..

[52]  John Michael Robson,et al.  RAM with Compact Memory: A Realistic and Robust Model of Computation , 1990, CSL.

[53]  Solomampionona Ranaivoson Nontrivial Lower Bounds for some NP-Problems on Directed Graphs , 1990, CSL.

[54]  守屋 悦朗,et al.  J.E.Hopcroft, J.D. Ullman 著, "Introduction to Automata Theory, Languages, and Computation", Addison-Wesley, A5変形版, X+418, \6,670, 1979 , 1980 .

[55]  C. Ward Henson,et al.  A Uniform Method for Proving Lower Bounds on the Computational Complexity of Logical Theories , 1990, Ann. Pure Appl. Log..

[56]  Leslie G. Valiant,et al.  Fast probabilistic algorithms for hamiltonian circuits and matchings , 1977, STOC '77.

[57]  Robert Sedgewick,et al.  Algorithms in C , 1990 .

[58]  Neil D. Jones,et al.  New problems complete for nondeterministic log space , 1976, Mathematical systems theory.

[59]  Nadia Creignou,et al.  The Class of Problems That are Linearly Equivalent to Satisfiability or a Uniform Method for Proving NP-Completeness , 1995, Theor. Comput. Sci..

[60]  Arnold Schönhage A nonlinear lower bound for random-access machines under logarithmic cost , 1988, JACM.

[61]  Neil D. Jones,et al.  Complete problems for deterministic polynomial time , 1974, Symposium on the Theory of Computing.

[62]  Etienne Grandjean A Natural NP-Complete Problem with a Nontrivial Lower Nound , 1988, SIAM J. Comput..

[63]  Juris Hartmanis,et al.  On the Power of Multiplication in Random Access Machines , 1974, SWAT.

[64]  Leslie G. Valiant,et al.  On time versus space and related problems , 1975, 16th Annual Symposium on Foundations of Computer Science (sfcs 1975).

[65]  Jean H. Gallier,et al.  Linear-Time Algorithms for Testing the Satisfiability of Propositional Horn Formulae , 1984, J. Log. Program..

[66]  Saharon Shelah,et al.  Nearly Linear Time , 1989, Logic at Botik.

[67]  Peter van Emde Boas,et al.  The Problem of Space Invariance for Sequential Machines , 1988, Inf. Comput..

[68]  Jan van Leeuwen,et al.  Fast Simulation of Turing Machines by Random Access Machines , 1988, SIAM J. Comput..