Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Tables far from every repeated-row table have separated rows

Proved
PvsNP.rows_separated_of_far_from_duplicates

by Jie Luo · Nov 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricscomplexity-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 sorry
Source
Soundness of common-offset sampling for the repeated-block fragment of small-slack Gap-MCSP.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me