OAI/Computability/MaxCut/Encoding/NameCompaction.lean
38 declarations, 0 contain sorry, 0 declared as axioms
An explicit name compaction for finite three-literal CNF formulas. Only the occurring names are scanned: the declared variable count is never enumerated. Both assignment transports preserve every clause evaluation and therefore every finite clause-score gap. The encoding bound is a size theorem; a machine running-time bound and the constant-gap PCP construction remain separate.
- def
OAI.MaxCutGames.Foundations.PCP.NameCompaction.clauseNamesline 19 - def
OAI.MaxCutGames.Foundations.PCP.NameCompaction.sourceNamesline 22 - def
OAI.MaxCutGames.Foundations.PCP.NameCompaction.activeNamesline 25 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.literal_mem_activeline 28 - def
OAI.MaxCutGames.Foundations.PCP.NameCompaction.compactIndexline 37 - def
OAI.MaxCutGames.Foundations.PCP.NameCompaction.decodeNameline 41 - def
OAI.MaxCutGames.Foundations.PCP.NameCompaction.compactLiteralline 44 - def
OAI.MaxCutGames.Foundations.PCP.NameCompaction.compactClauseline 48 - def
OAI.MaxCutGames.Foundations.PCP.NameCompaction.compactClausesline 54 - def
OAI.MaxCutGames.Foundations.PCP.NameCompaction.compactline 57 - def
OAI.MaxCutGames.Foundations.PCP.NameCompaction.restrictAssignmentline 61 - def
OAI.MaxCutGames.Foundations.PCP.NameCompaction.extendAssignmentline 64 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.decode_compactIndexline 68 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.eval_compact_restrictline 72 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.eval_compact_extendline 78 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.map_attach_valline 88 - def
OAI.MaxCutGames.Foundations.PCP.NameCompaction.evaluationListline 92 - def
OAI.MaxCutGames.Foundations.PCP.NameCompaction.satisfiedCountline 95 - def
OAI.MaxCutGames.Foundations.PCP.NameCompaction.failedCountline 98 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.evaluationList_restrictline 101 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.evaluationList_extendline 107 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.satisfiedCount_restrictline 118 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.failedCount_restrictline 122 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.satisfiedCount_extendline 126 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.failedCount_extendline 130 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.clauseNames_flat_lengthline 134 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.compact_clause_countline 143 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.length_eraseDups_leline 147 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.compact_active_boundline 161 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.compact_completenessline 166 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.compact_reflectsline 175 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.compact_satisfiable_iffline 186 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.compact_preserves_gapline 190 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.compact_encoding_boundline 197 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.failureCount_evaluationsline 215 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.evaluations_allIndicesline 225 - theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.verifier_failureCountline 234Source documentation
The semantic score is the checked verifier's actual failed-clause count.
theorem verifier_failureCount (F : Formula) (A : Fin F.«variables» → Bool) : failureCount F A (allIndices F) = failedCount F A := by …Mentions: OAI.MaxCutGames.Foundations.PCP.failureCount, OAI.MaxCutGames.Foundations.PCP.allIndices, OAI.MaxCutGames.Foundations.PCP.NameCompaction.failedCount
- theorem
OAI.MaxCutGames.Foundations.PCP.NameCompaction.compact_verifier_soundnessline 239