Polynomial-time RSG recognition gives a -time 3-SAT algorithm
ProvedRSGPaper.rsg_in_P_implies_quartic_root_3satLet be the language of encodings of finite simple graphs admitting a full Riemannian system, that is, vertex and edge witnesses satisfying the Loos law . For a -CNF formula let be the number of its variables plus the number of its clauses.
If is decidable in deterministic polynomial time, then there is a constant and a deterministic algorithm deciding satisfiability of -CNF formulas within
steps on every input word .
This is the mission's goal: polynomial-time recognition of Riemannian symmetric graphs would give a subexponential algorithm for -SAT and refute the Satisfiability Hypothesis. The complexity of unrestricted RSG recognition remains open.
Formalization Note Algorithms are deterministic finite multi-stack Turing machines (Mathlib's TM2) with Boolean input and output alphabets, counted in machine steps. Graphs are encoded as the vertex count in unary, a separator, and the row-major adjacency matrix; 3-CNF formulas use the binary encoding of the published rsg_recognition_core module. Since variable indices can be arbitrarily large, every -SAT bound carries a factor polynomial in the input length , and replaces so that the bounds are positive at .
import Definitions.Def_rsg_paper_complexity open RSGRecognition
namespace RSGPaper
theorem rsg_in_P_implies_quartic_root_3sat :
InP rsgLanguage → ThreeSATInTimeExp (1 / 4) := by sorry
end RSGPaperRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
If the language is in P, then 3-SAT is decidable in time -, in the senses below.
In P. is in P if there is a polynomial-time Boolean function with for every word . A function from words to values of a type with output encoding words is polynomial-time if there exist such a machine and a polynomial with natural-number coefficients such that, for every word (fed in as itself), the machine halts with output within steps. For Boolean-valued functions the output encoding is the one-bit word ; for word-valued functions it is the identity.
Conclusion (time -). There exist a natural , a machine and a Boolean function such that for every word , , and computes on within
steps, with as defined below.
The language consists of the words for and simple graphs on that are RSGs. (For the index set is empty, so the graph is vacuously an RSG and the word belongs to the language.)
RSG. is an RSG if, with (vertices and unordered edges as disjoint indices), there is a map , , such that is a valid witness at for every , and
(the two indices range independently over all vertices and edges). Automorphisms act on vertices by and on unordered edges by . An automorphism is a valid witness at an index if , , and: if is a vertex , then and for every neighbour of ; if is an edge , then and . is the group of permutations of the vertex set with for all (product = composition).
Graph encoding. For a simple graph on , , the unary vertex count, a , then all adjacency bits in row-major order ( iff ). The decidability instance supplied for adjacency does not affect the bits, so the word depends only on .
3-SAT time class. For a real , "3-SAT is decidable in time -" means: there exist a natural , a machine and a function from words to Booleans such that for every word , , and computes the one-bit output on within
steps (real powers). Here is defined for every word: if for some formula, for a formula chosen (by the axiom of choice) among those with ; otherwise .
3-CNF formulas. A literal is a pair of a variable index and a required value ; a clause is an ordered triple of literals; a formula is a finite list of clauses (possibly empty, repetitions allowed). is satisfiable if some assignment has, for every clause, some literal of it with (the empty formula is satisfiable). Its encoding concatenates, over the clauses in order and over the three literals of each clause in order, the bit followed by , where is the little-endian binary expansion of with no trailing zeros ( is empty). The language 3SAT consists of the words with for some satisfiable . The size is the number of distinct variable indices occurring in plus the number of clauses (list length, counting repetitions).
A word is a finite list of bits (Booleans); is its length, denotes copies of the bit (true), and juxtaposition is concatenation. The framing of a word is .
Machine model. "Machine" means a deterministic finite multi-stack machine in Mathlib's TM2 model (finitely many stacks over finite stack alphabets, a finite program), bundled with a designated input stack and output stack whose alphabets are identified with by fixed bijections. computes on within steps means: there is a natural number such that , started with on its input stack, halts after at most steps with exactly the word on its output stack.