Polynomial circuit simulation of a verifier

Lax429075.CircuitMachine · concepts/Lax429075/CircuitMachine.lean · lax-429075

proven

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Natural Language Statement

    Lemma

    For a fixed polynomial time verifier and polynomial certificate bound, construct a circuit whose free inputs represent the certificate. The circuit is satisfiable exactly when some bounded certificate is accepted. Its encoded gate clauses are produced in polynomial time. The machine simulation and time bound follow from a finite stack program that emits the initial layer, the transition layers, and the final acceptance constraint.

    Concept map
    8 concepts
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    Each proof establishes this claim relative to its assumptions.

    In the paper

    • page 3 of this submission's paper

    Lean source view on GitHub

    1import Lax429075.Tseitin
    2import Lax429075.Encoding
    3import Lax434930.NondeterministicPolynomialTime
    4
    5/-!
    6---
    7title: Polynomial circuit simulation of a verifier
    8type: lemma
    9---
    10For a fixed polynomial time verifier and polynomial certificate bound,
    11construct a circuit whose free inputs represent the certificate. The circuit
    12is satisfiable exactly when some bounded certificate is accepted. Its encoded
    13gate clauses are produced in polynomial time. The machine simulation and
    14time bound follow from a finite stack program that emits the initial layer,
    15the transition layers, and the final acceptance constraint.
    16-/
    17
    18namespace Lax429075.CircuitMachine
    19
    20open Lax434930.PolynomialTime Lax434930.Certificates Circuits Encoding
    21
    22axiom compile (V : Language) (hV : V ∈ P) (p : Polynomial ℕ) :
    23 ∃ circuits : WordCircuit,
    24 Nonempty (Turing.TM2ComputableInPolyTime id id
    25 (fun x => encodeCNF (Tseitin.encode (circuits x)))) ∧
    26 ∀ x, Satisfiable (circuits x) ↔
    27 ∃ y : Word, y.length ≤ p.eval x.length ∧ pair x y ∈ V
    28
    29end Lax429075.CircuitMachine
    30
    Show Proof

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…