OAI/Computability/UniqueGames/Machines/MachineBinaryRenameWords.lean
22 declarations, 0 contain sorry, 0 declared as axioms
The word-level correspondence used by the ordinary-binary renaming machine. Literal occurrences stay in clause order, and equality is tested on canonical binary payloads. The output body consists of the first occurrence index and the sign of every literal, in the inherited dense formula codec.
- def
OAI.UniqueGamesTheorem.BinaryRenameWords.clauseLiteralsline 21 - def
OAI.UniqueGamesTheorem.BinaryRenameWords.literalsline 23 - def
OAI.UniqueGamesTheorem.BinaryRenameWords.tokenline 25 - def
OAI.UniqueGamesTheorem.BinaryRenameWords.tokensline 28 - theorem
OAI.UniqueGamesTheorem.BinaryRenameWords.literals_nilline 31 - theorem
OAI.UniqueGamesTheorem.BinaryRenameWords.literals_consline 33 - theorem
OAI.UniqueGamesTheorem.BinaryRenameWords.literals_lengthline 36 - theorem
OAI.UniqueGamesTheorem.BinaryRenameWords.tokens_lengthline 42 - theorem
OAI.UniqueGamesTheorem.BinaryRenameWords.literals_namesline 45 - theorem
OAI.UniqueGamesTheorem.BinaryRenameWords.tokens_payloadsline 50 - theorem
OAI.UniqueGamesTheorem.BinaryRenameWords.token_bitsline 55 - theorem
OAI.UniqueGamesTheorem.BinaryRenameWords.tokens_streamline 61Source documentation
The marker-removal machine's actual output is the search machine's stream.
theorem tokens_stream (cs : List Clause) : BinaryNameSearch.stream (tokens cs) = BinaryTokenMachine.tokens cs := by …Mentions: OAI.UniqueGamesTheorem.BinaryNameSearch.stream, OAI.UniqueGamesTheorem.BinaryRenameWords.tokens, OAI.UniqueGamesTheorem.BinaryTokenMachine.tokens
- theorem
OAI.UniqueGamesTheorem.BinaryRenameWords.tokens_canonicalline 72 - theorem
OAI.UniqueGamesTheorem.BinaryRenameWords.payload_indexline 78 - theorem
OAI.UniqueGamesTheorem.BinaryRenameWords.token_payload_memline 83 - theorem
OAI.UniqueGamesTheorem.BinaryRenameWords.payloadSize_tokensline 90 - def
OAI.UniqueGamesTheorem.BinaryRenameWords.outputLiteralline 103 - def
OAI.UniqueGamesTheorem.BinaryRenameWords.bodyline 107 - theorem
OAI.UniqueGamesTheorem.BinaryRenameWords.encoded_clauseline 110 - theorem
OAI.UniqueGamesTheorem.BinaryRenameWords.encodeWords_flatMapline 118 - theorem
OAI.UniqueGamesTheorem.BinaryRenameWords.encoded_bodyline 126Source documentation
The output contains every literal occurrence, including repetitions.
theorem encoded_body (F : Formula) : Complexity.encodeWords ((BinaryOccurrenceRename.renamed F).clauses.flatMap Complexity.clauseWords) = body F := by …Mentions: OAI.UniqueGamesTheorem.BinaryOccurrenceRename.renamed, OAI.UniqueGamesTheorem.BinaryRenameWords.body
- theorem
OAI.UniqueGamesTheorem.BinaryRenameWords.encoded_renamedline 140Source documentation
Exact ordinary-binary-machine target, including its two count headers.
theorem encoded_renamed (F : Formula) : Complexity.formulaBits (BinaryOccurrenceRename.renamed F) = Complexity.encodeWord (3 * F.clauses.length) ++ Complexity.encodeWord F.clauses.length ++ body F := by …Mentions: OAI.UniqueGamesTheorem.BinaryOccurrenceRename.renamed, OAI.UniqueGamesTheorem.BinaryRenameWords.body