Input distance forces a total output-certificate budget
ProvedPvsNP.AdaptiveEncodingDistance.source_card_mul_distance_le_total_certificatescombinatoricscomplexity-theoryformal-verification
Fix an input word to a Boolean encoding and an input-coordinate certificate for every output bit at that word. If flipping any one input coordinate changes at least distance output positions, then the sum of the certificate sizes is at least the number of input coordinates times distance.
Preamble
import Mathlib
Formal statement
theorem PvsNP.AdaptiveEncodingDistance.source_card_mul_distance_le_total_certificates
{Input Output : Type*} [Fintype Input] [Fintype Output] [DecidableEq Input]
(encode : (Input → Bool) → Output → Bool) (base : Input → Bool)
(reads : Output → Finset Input) (distance : ℕ)
(determines : ∀ j other, (∀ i ∈ reads j, base i = other i) → encode base j = encode other j)
(separated : ∀ i : Input,
distance ≤ (Finset.univ.filter fun j =>
encode base j ≠ encode (Function.update base i (!base i)) j).card) :
Fintype.card Input * distance ≤ ∑ j : Output, (reads j).card := by sorrySource
Distance overhead of local encoders into degree-bounded evaluation codes.