A small set inside a product has a point with many external coordinate changes
ProvedPvsNP.product_exists_many_external_directionscombinatoricscomplexity-theoryformal-verification
In a finite product of possibly different alphabets, let S be nonempty and consider an ambient set with at least w admissible values along each one-coordinate fiber through S, where w > 1. Some point of S can leave S while staying in the ambient set by changing just one coordinate in at least n minus floor(log base w of |S|) distinct coordinates.
Preamble
import Mathlib.Algebra.BigOperators.Fin import Mathlib.Algebra.Order.BigOperators.Group.Finset import Mathlib.Data.Fin.Tuple.Basic import Mathlib.Data.Fintype.Pi import Mathlib.Data.Nat.Log import Lean.Elab.Tactic.Omega set_option autoImplicit false
Formal statement
theorem PvsNP.product_exists_many_external_directions (n width : ℕ) (Alphabet : Fin n → Type)
[∀ i, Fintype (Alphabet i)] [∀ i, DecidableEq (Alphabet i)]
(inside ambient : Finset (∀ i, Alphabet i)) (nonempty : inside.Nonempty)
(widthLower : 1 < width)
(largeFibers : ∀ x ∈ inside, ∀ i : Fin n,
width ≤ (Finset.univ.filter fun value : Alphabet i =>
Function.update x i value ∈ ambient).card) :
∃ x ∈ inside, n - Nat.log width inside.card ≤
(Finset.univ.filter fun i : Fin n => ∃ value : Alphabet i,
value ≠ x i ∧ Function.update x i value ∈ ambient \ inside).card := by sorrySource
Finite-product version of the single-coordinate neighborhood counting used in sensitivity arguments.