SAT: Boolean satisfiability #
This module formalizes the language SAT and the semantic/encoding infrastructure used by the polynomial-time verifier.
Submodules #
Semantics—Lit,Clause,CNF,Assignment, and the pure-recursiveCNF.eval. This is the audit surface: whatever the verifier actually computes will be proved equal toCNF.eval α φ.Encoding—CNF.encode : CNF → List Bool, the bit-level format the verifier parses.Language—language, the witness relationWitness, and the proofsmem_language_iff_witness/polyBalanced_witness.Verifier— executable decoding and checking forpair(z, α).VerifierTM— deterministic TM components for the machine-level verifier.GuessVerify— the proved SAT-specialized NTM composition for counter setup, bounded guessing, pair construction, and verifier simulation.Headline/CookLevin.Assembly—SAT ∈ NPand the final NP-completeness theorem.