VIG recognition is -complete on connected bipartite bounded-degree graphs
ProvedRSGPaper.thm_4_1_vig_np_completeVertex involutive graph recognition is -complete under polynomial-time many-one reductions, even on connected bipartite graphs of bounded maximum degree:
- the VIG language is in ;
- there is a bound such that every language reduces to VIG recognition by a polynomial-time many-one reduction whose outputs always encode connected bipartite graphs of maximum degree at most .
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_1_vig_np_complete :
InNP vigLanguage ∧
∃ Δ : ℕ, NPHardOn (fun w => ∃ (n : ℕ) (G : SimpleGraph (Fin n))
(adj : DecidableRel G.Adj), w = graphWord G adj ∧ G.Connected ∧ G.IsBipartite ∧
∀ v, (G.neighborSet v).ncard ≤ Δ) vigLanguage := 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 vertex involutive.
- is in NP.
- There is a natural number such that is NP-hard on the promise class , where says for some simple graph on that is connected (in particular ), bipartite, and has every vertex degree . NP-hard on means: for every language in NP there is a polynomial-time word-valued function such that holds for every word , and for every . The single is chosen before .
Vertex involutive. is vertex involutive if for every vertex there is with , , , and for every neighbour of . is the group of permutations of the vertex set with for all (product = composition). (Thus a graph with one vertex is not vertex involutive, while the graph with is, vacuously.)
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.