EIG recognition is -complete on vertex-transitive bipartite graphs without modules
ProvedRSGPaper.thm_4_2_eig_np_completeEdge involutive graph recognition is -complete under polynomial-time many-one reductions, even on connected vertex-transitive bipartite graphs without nontrivial modules:
- the EIG language is in ;
- every language reduces to EIG recognition by a polynomial-time many-one reduction whose every output encodes a connected, vertex-transitive, bipartite graph without nontrivial modules in which every edge has an automorphism exchanging and with .
A module is a vertex set such that every vertex outside is adjacent to all of or to none of it; it is nontrivial when .
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 thm_4_2_eig_np_complete :
InNP eigLanguage ∧
NPHardOn (fun w => ∃ (n : ℕ) (G : SimpleGraph (Fin n)) (adj : DecidableRel G.Adj),
w = graphWord G adj ∧ G.Connected ∧ IsVertexTransitive G ∧ G.IsBipartite ∧
NoNontrivialModule G ∧
∀ u v, G.Adj u v → ∃ f : GraphAut G, f.val u = v ∧ f.val v = u ∧ f ^ 4 = 1)
eigLanguage := by sorry
end RSGPaperRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
The statement is a conjunction of two claims about the language of words with a simple graph on (some ) that is edge involutive.
- is in NP.
- is NP-hard on the promise class : for every language in NP there is a polynomial-time word-valued function such that holds for every word and for every . Here says for some simple graph on such that:
- is connected (in particular ), bipartite, and vertex-transitive (for all some automorphism maps to );
- has no nontrivial module: every set of vertices such that each vertex outside is adjacent to all of or to none of has or ;
- for every ordered adjacent pair there is with , and (not required to be an involution).
Edge involutive. is edge involutive if for every edge there is with , , and . is the group of permutations of the vertex set with for all (product = composition). (A graph with no edges is vacuously edge involutive.)
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 .
NP. A language (a predicate on words) is in NP if there are a polynomial and a polynomial-time Boolean function such that for every word :
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 . 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.
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.