Bounded verifier computations yield encoded tableaux
OpenPvsNP.checker_tableau_encodingFor every polynomial-time checker and fixed witness exponent, construct a polynomial-time encoded specification with a fixed alphabet, structural well-formedness, and an exact equivalence between valid tableaux and accepted bounded certificates. The connection to machine transitions is an unproved theorem obligation.
Status: Known mathematics / implementation obligation awaiting formal proof.
import Definitions.Def_PvsNPFrontier
namespace PvsNP
theorem checker_tableau_encoding (R : Str × Str → Bool) (k : ℕ)
(hR : PolyTimeChecker R) :
∃ spec : Str → TableauSpec,
PolyTimeComputable (fun w => encodeTableauSpec (spec w)) ∧
(∀ w, MachineTableauSpec (spec w)) ∧
(∃ a : ℕ, ∀ w, (spec w).symbols = a) ∧
(∀ w, (∃ T, ValidTableau (spec w) T) ↔
∃ y : Str, y.length ≤ w.length ^ k ∧ R (w,y) = true) := by sorry
end PvsNPRead-back
What the Lean code literally says, in plain math · gpt-6-astra
For every checker , every , and the hypothesis , there exists a function , where is the set of all six-field specifications described here, such that: ; every satisfies the additional specification condition; there exists a single such that for every the symbols field of equals ; and for every , existence of a total function satisfying the validity condition for is equivalent to . The function, polynomial-time witness, and constant may depend on and its supplied hypothesis; is independent of . No separate polynomial bound on steps plus interior appears in this statement. Empty input is included, with and for . Here , is the set of all finite Boolean lists, including the empty list, and is list length. Write for existence of such a machine and a polynomial that, for all , compute in at most steps from the list obtained by tagging every bit of with the left injection into , tagging every bit of with the right injection, and concatenating those two lists. Write for existence of such a machine and a polynomial that, for every , compute output list from input list in at most steps. Different existential computation witnesses may use different machines and polynomials. A machine in these assertions is a Mathlib TM2 stack machine with finitely many stack indices, instruction labels, and control states, a finite input-stack alphabet, designated input and output stacks, a program, and initial label and control state; its other stack alphabets need not be finite. Input and output alphabet bijections transport the specified encoded lists to the corresponding stack alphabets. Computation starts with only the input stack populated, and reaches a halted configuration with the specified output on the output stack, all other stacks empty, and the control state reset to its initial value. Time counts executions of whole TM2 statements, each of which may contain several stack operations. Here has , a list of lists of natural numbers, a list of natural numbers, and a list of lists of natural numbers, with no validity restrictions on these fields. Put , , and . The list is the zero-based th list of , or the empty list when that entry is missing. The additional specification condition is exactly , , , , every entry of every list in is below , every entry of is below , and every list in has length exactly six and every one of its entries is below . It imposes no nonemptiness condition on an individual list in , on , or on , and allows ; in that case and the accepting list must be empty. The specification encoding is , where is the following clause list: first a clause of copies of , then a clause of copies, then a clause of copies, then a clause of copies; next, for each list in in order, the clause ; next one clause formed in the same way from ; finally one such clause for each list in in order. These are raw formula encodings: no satisfiability condition is part of . Empty lists and zero replication counts give empty clauses, which still have their clause delimiters. Write for this Boolean-list encoding of a formula : for each literal , take followed by the little-endian canonical binary digits of (the digits of form the empty list), replace each bit by , and append ; concatenate these literal encodings within each clause and append ; then concatenate the clause encodings in formula order. In particular . A formula is a finite list of clauses, each clause a finite list of literals . Under an assignment , the literal is true exactly when , a clause is true exactly when some literal in it is true, and a formula is true exactly when every clause is true. Thus an empty clause is false and an empty formula is true. The validity condition for is the conjunction of: ; ; ; ; and . Values outside the rectangle are unrestricted; the last condition is vacuous for or , and a missing required or an empty makes the condition unsatisfiable. The supplied body is admitted with sorry; no proof of this assertion is supplied there.