A unique accepting continuation determines omitted payload coordinates
ProvedPvsNP.FunctionalContinuation.record_and_outside_determine_payloadcombinatoricscomplexity-theoryformal-verification
An observed record identifies the suffix positions available for local replay. Suppose each omitted payload bit occurs at some such position. If a donor with the same record and the same unmasked payload can always replace the available suffix positions while preserving acceptance, and the fixed source prefix has exactly its own accepting continuation, then the record together with the unmasked payload determines the entire payload. The omitted coordinates may depend on the observed record.
Preamble
import Mathlib set_option autoImplicit false
Formal statement
theorem PvsNP.FunctionalContinuation.record_and_outside_determine_payload {Label Index Record : Type} [DecidableEq Label] {bits : ℕ}
(record : (Label → Fin bits → Bool) → Record)
(omitted : Record → Finset Label) (owned : Record → Index → Bool)
(label : Index → Label) (column : Index → Fin bits)
(accepted : (Label → Fin bits → Bool) → (Index → Bool) → Prop)
(unique : ∀ source suffix, accepted source suffix →
suffix = fun i => source (label i) (column i))
(visible : ∀ r p, p ∈ omitted r → ∀ c, ∃ i,
owned r i = true ∧ label i = p ∧ column i = c)
(replay : ∀ source donor, record source = record donor →
(fun p c => if p ∈ omitted (record source) then false else source p c) =
(fun p c => if p ∈ omitted (record donor) then false else donor p c) →
accepted source (fun i =>
if owned (record source) i then donor (label i) (column i)
else source (label i) (column i))) :
Function.Injective (fun payload => (record payload,
fun p c => if p ∈ omitted (record payload) then false else payload p c)) := by sorrySource
Local replay for a circuit truth-table verifier with a supplied diagnostic prefix.