Common successful seeds impose a lower bound on total local certificate size
ProvedPvsNP.randomized_local_encoding_certificate_boundcomplexity-theoryformal-verification
For each output bit and seed, a certificate specifies source coordinates that determine the baseline output. If each single source-bit flip must change many output bits on seeds successful for both source words, the total certificate size is at least the product of the source coordinate count, the guaranteed common seed count, and the required output distance.
Preamble
import Mathlib.Algebra.Order.BigOperators.Group.Finset import Mathlib.Algebra.BigOperators.Ring.Finset import Mathlib.Data.Fintype.BigOperators import Mathlib.Logic.Function.Basic import Lean.Elab.Tactic.Omega set_option autoImplicit false
Formal statement
theorem PvsNP.randomized_local_encoding_certificate_bound {Input Seed Output : Type}
[Fintype Input] [Fintype Seed] [Fintype Output] [DecidableEq Input] [DecidableEq Seed]
(encode : (Input → Bool) → Seed → Output → Bool) (baseline : Input → Bool)
(reads : Seed → Output → Finset Input)
(baseSuccess : Finset Seed) (flipSuccess : Input → Finset Seed)
(baseLower flipLower distance : ℕ)
(baseCount : baseLower ≤ baseSuccess.card)
(flipCount : ∀ i, flipLower ≤ (flipSuccess i).card)
(determines : ∀ seed j other, (∀ i ∈ reads seed j, baseline i = other i) →
encode baseline seed j = encode other seed j)
(separated : ∀ i seed, seed ∈ baseSuccess → seed ∈ flipSuccess i →
distance ≤ (Finset.univ.filter fun j : Output =>
encode baseline seed j ≠ encode (Function.update baseline i (!(baseline i))) seed j).card) :
Fintype.card Input * ((baseLower + flipLower - Fintype.card Seed) * distance) ≤
∑ seed : Seed, ∑ j : Output, (reads seed j).card := by sorrySource
Finite randomized transcript accounting for one-pass circuit fitting.