Seed count for a collision on some fixed-size subset of rows
ProvedPvsNP.some_row_subset_collision_seed_countcoding-theorycombinatoricsformal-verification
For a fixed pool of rows, suppose simultaneous collision on any specified k-row subset happens on at most c seeds. Then simultaneous collision on some k-row subset happens on at most the binomial number of such subsets times c seeds.
Preamble
import Mathlib
Formal statement
theorem PvsNP.some_row_subset_collision_seed_count {Row Seed : Type*}
[DecidableEq Row] [DecidableEq Seed]
(rows : Finset Row) (seeds : Finset Seed) (collision : Row → Seed → Bool)
(k cap : ℕ)
(fixedSubset : ∀ s ⊆ rows, s.card = k →
(seeds.filter (fun z => ∀ i ∈ s, collision i z = true)).card ≤ cap) :
(seeds.filter (fun z =>
∃ s : Finset Row, s ⊆ rows ∧ s.card = k ∧ ∀ i ∈ s, collision i z = true)).card ≤
rows.card.choose k * cap := by sorrySource
Simultaneous soundness for source-centered patches in separated row signature languages.