Native polynomial-time verification of a selected advice row
ProvedFPTCross.selected_record_native_verifierLet a composition pipeline supply a polynomial-time equivalence tester, a cross-composition algorithm and a polynomial kernel. Fix a query word and a row already selected from an encoded advice table. The certificate contains two Boolean masks over words in that row. The selected-row predicate checks the masks and the designated query, tests the necessary equivalences, and compares the exact compression outputs of the two canonically ordered sublists.
There is a single well-formed multitape Turing machine, depending only on the supplied pipeline, that implements this predicate on every prepared selected-row configuration. If is the total encoded length of the query/advice pair and the certificate, then there are fixed integers such that the machine halts after transitions with
and puts the exact predicate value on its designated verdict tape.
The initial-configuration conditions are explicit: the ordinary serialized query, advice and certificate inputs are present, the auxiliary tapes start fresh, and the selected-row layout describes the state after positioning the cursor. This result is the selected-row branch, not a claim about parsing arbitrary raw bytes or the whole verifier. It can be combined with a separate checked parser and row selector without changing the composition or kernel program.
import Definitions.Def_CrossNativeSelectedRecordABI
namespace FPTCross
open CookLevin PermutationKernel.LowerBound
theorem selected_record_native_verifier (L : Language) (Q : ParameterizedProblem) (P : CrossCompressorPipeline L Q) :
∃ (a G c e : Nat) (V : Machine) (ha : 30 ≤ a),
4 ≤ G ∧ TuringMachine (NativeLinearPairEntry.width a) G V ∧
NativeLinearPreparedLayout.VerifiedSelected ha V c e P.equiv P.compress := by sorry
end FPTCross