A puncturing bound for partial records over a finite seed set
ProvedPvsNP.seed_puncturing_boundcombinatoricscomplexity-theoryformal-verification
Assign a possibly absent record to each input at each seed. Suppose distinct inputs agree on present records on fewer than d seeds. Sum, over inputs, the number of d-element subsets of seeds where the record is present. The sum is at most the number of d-element seed subsets times the record alphabet size to the power d.
Preamble
import Mathlib.Algebra.BigOperators.Group.Finset.Basic import Mathlib.Algebra.Order.BigOperators.Group.Finset import Mathlib.Data.Finset.Powerset import Mathlib.Data.Fintype.BigOperators set_option autoImplicit false
Formal statement
theorem PvsNP.seed_puncturing_bound {Input Seed Record : Type}
[DecidableEq Seed] [DecidableEq Record] [Fintype Record]
(inputs : Finset Input) (seeds : Finset Seed)
(record : Input → Seed → Option Record) (d : ℕ)
(few : ∀ x ∈ inputs, ∀ y ∈ inputs, x ≠ y →
(seeds.filter fun s => (record x s).isSome = true ∧ record x s = record y s).card < d) :
(∑ x ∈ inputs, ((seeds.filter fun s => (record x s).isSome = true).card).choose d) ≤
seeds.card.choose d * Fintype.card Record ^ d := by sorrySource
Counting short accepting transcripts for a single-tape comparator with a bounded number of random bits.