OAI/Computability/MaxCut/Games/CloneTable.lean
27 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.MaxCutGames.Reduction.CloneTable.cloneNameline 15Source documentation
A total bounded-name helper. Every index used by the table is below 48, and
cloneName_valueremoves the remainder operation on those indices.def cloneName (v : Fin n) (i : Nat) : Fin (n * 48) := …
- theorem
OAI.MaxCutGames.Reduction.CloneTable.cloneName_valueline 21 - def
OAI.MaxCutGames.Reduction.CloneTable.cloneEquationline 25 - def
OAI.MaxCutGames.Reduction.CloneTable.clonedEquationsline 30 - theorem
OAI.MaxCutGames.Reduction.CloneTable.length_flatMap_map_inline_CloneTableline 33 - theorem
OAI.MaxCutGames.Reduction.CloneTable.clonedEquations_lengthline 43 - theorem
OAI.MaxCutGames.Reduction.CloneTable.clonedEquations_nonemptyline 47 - theorem
OAI.MaxCutGames.Reduction.CloneTable.cloned_sourceListline 54Source documentation
Exact equality of typed ordered lists, not just permutation or equal counts.
theorem cloned_sourceList (S : Source) : (FiniteSource.cloned S).sourceList = clonedEquations S.sourceList := by …Mentions: OAI.MaxCutGames.Reduction.FiniteSource.cloned, OAI.MaxCutGames.Reduction.CloneTable.clonedEquations
- theorem
OAI.MaxCutGames.Reduction.CloneTable.cloned_ofList_sourceListline 68 - theorem
OAI.MaxCutGames.Reduction.CloneTable.source_reconstructedline 73 - theorem
OAI.MaxCutGames.Reduction.CloneTable.ofList_congr_inline_CloneTableline 84 - def
OAI.MaxCutGames.Reduction.CloneTable.eraseEquationline 90 - def
OAI.MaxCutGames.Reduction.CloneTable.natCloneEquationline 95Source documentation
Numeric machine target: no remainder, bounded-name proofs, or function lookup is needed in the three generated variable names.
def natCloneEquation (e : Equation Nat) (t : Nat × Nat × Nat) : Equation Nat := …
- def
OAI.MaxCutGames.Reduction.CloneTable.natClonedEquationsline 98 - theorem
OAI.MaxCutGames.Reduction.CloneTable.erase_cloneEquationline 101 - theorem
OAI.MaxCutGames.Reduction.CloneTable.erase_clonedEquationsline 108 - def
OAI.MaxCutGames.Reduction.CloneTable.cloneEquationWordsline 118 - def
OAI.MaxCutGames.Reduction.CloneTable.clonedBodyWordsline 122 - theorem
OAI.MaxCutGames.Reduction.CloneTable.cloneEquation_wordsline 125 - theorem
OAI.MaxCutGames.Reduction.CloneTable.clonedEquations_wordsline 132 - def
OAI.MaxCutGames.Reduction.CloneTable.clonedInputline 141 - def
OAI.MaxCutGames.Reduction.CloneTable.clonedInputWordsline 146 - theorem
OAI.MaxCutGames.Reduction.CloneTable.clonedInput_equationsline 150 - theorem
OAI.MaxCutGames.Reduction.CloneTable.clonedInput_sourceline 155 - theorem
OAI.MaxCutGames.Reduction.CloneTable.clonedInput_wordsline 163 - theorem
OAI.MaxCutGames.Reduction.CloneTable.clonedInput_decodesline 168 - theorem
OAI.MaxCutGames.Reduction.CloneTable.clonedInput_bits_length_leline 175Source documentation
A size bound for the actual serialized intermediate table. This is not a machine-time bound.
theorem clonedInput_bits_length_le (input : SourceEncoding.Input) : (SourceEncoding.inputBits (clonedInput input)).length ≤ 48 * input.«variables» + distinctTriples.length * input.equations.length + 2 + distinctTriples.length * input.equations.length * (144 * input.«variables» + 2) := by …Mentions: OAI.MaxCutGames.Reduction.SourceEncoding.Input, OAI.MaxCutGames.Reduction.SourceEncoding.inputBits, OAI.MaxCutGames.Reduction.CloneTable.clonedInput