A determining probe set bounds independent promise-preserving patches
ProvedPvsNP.PromiseProbeReplay.independent_patch_profiles_lecombinatoricscomplexity-theoryformal-verification
In a family of Boolean words determined by a set of probe coordinates, fix a base word and pairwise disjoint slots. For each slot choose a set of fillings such that replacing only that slot gives a word in the family. The product of the numbers of fillings is at most two to the number of probe coordinates.
Preamble
import Mathlib
Formal statement
theorem PvsNP.PromiseProbeReplay.independent_patch_profiles_le {Index : Type*} [DecidableEq Index] {Slot : Type*}
(allowed : (Index → Bool) → Prop) (base : Index → Bool) (probes : Finset Index)
(slots : Finset Slot) (owned : Slot → Finset Index)
(choices : (slot : Slot) → Finset (owned slot → Bool))
(disjoint : (slots : Set Slot).PairwiseDisjoint owned)
(determined : ∀ a b, allowed a → allowed b →
(∀ i ∈ probes, a i = b i) → a = b)
(valid : ∀ slot ∈ slots, ∀ c ∈ choices slot, allowed (fun i => if member : i ∈ owned slot then c ⟨i, member⟩ else base i)) :
(∏ slot ∈ slots, (choices slot).card) ≤ 2 ^ probes.card := by sorrySource
Local splice capacity for promises determined by an information set.