Polynomial-time recognition or NP-hardness for RSG
OpenRSGRecognition.recognition_complexityFor the class of all finite simple graphs with the full Loos conjugation law, decide RSG in deterministic polynomial time or prove that its recognition language is NP-hard under polynomial-time many-one reductions.
import Definitions.Def_rsg_recognition_core
namespace RSGRecognition
theorem recognition_complexity :
InP rsgLanguage ∨ NPHard rsgLanguage := by sorry
end RSGRecognitionRead-back
What the Lean code literally says, in plain math · Codex GPT-6 independent auditor
Let be the language of words consisting of true bits, one false bit and the complete row-major adjacency matrix of a finite simple graph on that admits the following system. Each vertex or unordered edge is assigned a graph automorphism of exact order two, fixing the indexed vertex and moving its neighbors or exchanging the edge endpoints, and for all indices. Either a polynomial-time Boolean machine decides on every word, or every word predicate with a polynomial-time Boolean verifier and a natural-coefficient polynomial certificate-length bound admits a polynomial-time word map preserving membership in both directions into . Verifiers read a unary-length-framed input followed by its certificate. The machines are deterministic finite multi-stack Turing machines. The disjunction is inclusive, and is allowed. Input words are identity-encoded. Boolean outputs use the fixed Boolean-to-word encoding and reduction outputs use identity encoding.