NP-hardness of the encoded -SAT benchmark
ProvedRSGRecognition.three_sat_hardEvery language in polynomial-time many-one reduces to the language of satisfiable three-literal CNF formulas under the stated binary encoding.
import Definitions.Def_rsg_recognition_core
namespace RSGRecognition theorem three_sat_hard : NPHard threeSAT := by sorry end RSGRecognition
Read-back
What the Lean code literally says, in plain math · Codex GPT-6 independent auditor
For every predicate on Boolean words with a polynomial-time Boolean verifier and a natural-coefficient polynomial certificate-length bound, where the verifier reads the unary-length-framed instance followed by the certificate, there exists a polynomial-time word function. A word satisfies the predicate exactly when its image encodes a finite list of triple-literal clauses satisfied by some total Boolean assignment on the natural numbers. Each literal is encoded by its required Boolean value followed by its variable's framed binary index. Polynomial time uses deterministic finite multi-stack Turing machines. The empty formula is satisfiable and encodes as the empty word. Input words are identity-encoded. Boolean verifier outputs use the fixed Boolean-to-word encoding and reduction outputs use identity encoding.