Tables far from every repeated-row table have separated rows
ProvedPvsNP.rows_separated_of_far_from_duplicatescombinatoricscomplexity-theory
Suppose a comparison class contains every finite table with two identical rows. If a table has Hamming distance at least D from the comparison class, every pair of distinct row indices has row distance at least D.
Preamble
import Mathlib.InformationTheory.Hamming import Mathlib.Data.Fintype.Prod import Mathlib.Logic.Function.Basic set_option autoImplicit false
Formal statement
theorem PvsNP.rows_separated_of_far_from_duplicates {Block Offset Symbol : Type}
[Fintype Block] [DecidableEq Block] [Fintype Offset] [DecidableEq Symbol]
(labels : Block → Offset → Symbol) (comparison : (Block × Offset → Symbol) → Prop)
(distance : ℕ)
(duplicates : ∀ y : Block × Offset → Symbol, ∀ i j : Block, i ≠ j →
(∀ h, y (i, h) = y (j, h)) → comparison y)
(far : ∀ y, comparison y → distance ≤ hammingDist (fun t => labels t.1 t.2) y)
(i j : Block) (different : i ≠ j) :
distance ≤ hammingDist (labels i) (labels j) := by sorrySource
Soundness of common-offset sampling for the repeated-block fragment of small-slack Gap-MCSP.