Independent replay choices give a product bound on accepted words
ProvedPvsNP.product_replay_patterns_le_acceptedcombinatoricscomplexity-theoryformal-verification
Partition the positions of a word into regions, and prescribe a finite set of allowed patterns on each region. If independently choosing one pattern per region always gives an accepted word, the product of the pattern counts is at most the number of accepted words.
Preamble
import Mathlib.Data.Fintype.BigOperators set_option autoImplicit false
Formal statement
theorem PvsNP.product_replay_patterns_le_accepted {Region Position Symbol : Type*} [Fintype Region]
(owner : Position → Region)
(patterns : (r : Region) → Finset ({i : Position // owner i = r} → Symbol))
(accepted : Finset (Position → Symbol))
(replays : ∀ profile : (r : Region) → ↥(patterns r),
(fun i => (profile (owner i)).val ⟨i, rfl⟩) ∈ accepted) :
(∏ r : Region, (patterns r).card) ≤ accepted.card := by sorrySource
Original finite counting step for exact one-way single-head MCSP replay.