Small exact affine images cannot collapse all sparse yes inputs
ProvedPvsNP.AffineSparseCapacity.exact_affine_sparse_capacitycomplexity-theoryformal-verification
Consider an exact affine reduction over the two-element field between Boolean vector languages. Suppose the source yes set has at most 2^B words, the target yes set has at most 2^C words and the source accepts every vector of support size at most h. If the source dimension is at least B+h, then h is at most C. The affine map may identify different accepted inputs.
Preamble
import Mathlib
set_option autoImplicit false
variable {X Y : Type} [Fintype X] [Fintype Y]
Formal statement
theorem PvsNP.AffineSparseCapacity.exact_affine_sparse_capacity {yes : (X → ZMod 2) → Prop} {accept : (Y → ZMod 2) → Prop}
(L : (X → ZMod 2) →ₗ[ZMod 2] (Y → ZMod 2)) (offset : (Y → ZMod 2)) (B C h : ℕ)
(equiv : ∀ u, yes u ↔ accept (L u + offset))
(sourceCapacity : Nat.card {u // yes u} ≤ 2^B)
(targetCapacity : Nat.card {v // accept v} ≤ 2^C)
(sparse : ∀ (u : (X → ZMod 2)) (points : List X), points.length ≤ h →
(∀ p, u p ≠ 0 → p ∈ points) → yes u)
(room : B+h ≤ Fintype.card X) :
h ≤ C := by sorrySource
Finite rank-nullity and a sparse family chosen from independent standard columns.