Documentation

CslibFrontier.Computability.Complexity.FineGrained.WordRAM

Subexponential k-SAT on the word RAM #

Cslib.Complexity.CountingNativeEndpoint.decidableInSubexpTime_KSAT decides k-SAT on multi-tape machines in time 2 ^ (δ * n) times a polynomial, for every δ > 0. Its consequence not_ETH passes through Cslib.Complexity.DecidableInTimeO, which forgets the work space of the decider. Here the decider is rebuilt from the native model counter Cslib.Complexity.CountingNativeEndpoint.exists_modelCounter, whose ComputableInO contract keeps the polynomial work space, composed with the polynomial-time width check and the test 0 < count. Because the work space is polynomial, Cslib.WordRAM.uniformDecidableInTimeLogWord_of_decidableInTimeAndSpace carries the decider to one fixed word-RAM program at logarithmic word size, although its running time is not polynomially bounded, so Cslib.WordRAM.DTIME_subset_RAMTIME_additive does not apply.

The word RAM reads the bits of encCNF φ, one bit per word, as in Cslib.WordRAM.RAMTIME. For k = 3, Cslib.WordRAM.uniformDecidableInTimeLogWord_KSAT says that the exponential time hypothesis Cslib.Complexity.ETH, read on the word RAM over Basis.additive with words of O(log L) bits, fails as well.

Main results #

k-SAT with its work space. One binary multi-tape machine decides KSAT k on encCNF φ within time c * (⌈2 ^ (A * interpolationScale n)⌉ * (L + 1) ^ E) and work space c * (L + 1) ^ E, where n = φ.numVars and L = |encCNF φ|.

theorem Cslib.WordRAM.uniformDecidableInTimeLogWord_KSAT (k : ℕ) {δ : ℝ} (hδ : 0 < δ) :
∃ (c : ℕ) (e : ℕ), UniformDecidableInTimeLogWord Basis.additive (Complexity.KSAT k) (fun (x : ℕ) (φ : Logic.PL.CNF ℕ) => List.map Bool.toNat (Complexity.encCNF φ)) (fun (φ : Logic.PL.CNF ℕ) => (Complexity.encCNF φ).length) fun (φ : Logic.PL.CNF ℕ) (x : ℕ) => c * (⌈2 ^ (δ * ↑φ.numVars)⌉₊ * ((Complexity.encCNF φ).length + 1) ^ e) + c

Subexponential k-SAT on the word RAM. For every δ > 0, one fixed program over Basis.additive, run on the bits of encCNF φ, decides KSAT k within c * (⌈2 ^ (δ * n)⌉ * (L + 1) ^ e) + c instructions, where n = φ.numVars and L = |encCNF φ|, at every word size w ≥ logWidth k' L for a constant k' > 0.