Documentation

CslibFrontier.Computability.Circuit.Boolean.SuccinctVerifier.Encoding

Succinct witness verification from bounded circuit certificates #

certificateCircuit D s w constructs a circuit detecting a violated clause of the succinct formula decoded by D, using the circuit described by the certificate w as its assignment. The certificate format is the existing Boolean.readCertificate, with r inputs and at most s gates. Malformed certificates produce the constant-true circuit: an unsatisfiability test therefore rejects them. No promise on the guessed bit string is needed.

The uniform constructor is certified on the native multitape model by computableInPolyTime_certificateCircuit. It takes polynomial-time computations of the unary widths and gate budget and of the decoder code; it does not enumerate clauses or assignments.

The clause-index input width stays unchanged, and the output circuit has at most D.size + 3 * s + 17 gates. There exists a certificate of exactly Boolean.certLength r s bits producing an unsatisfiable output exactly when a size-at-most-s circuit supplies a satisfying assignment of toCNF D.

This is the bounded-certificate implementation of the violated-clause verification in [Wil10], the proof of Theorem 3.2. It does not by itself establish a time-hierarchy contradiction or the easy-witness theorem.

Main definitions #

Main results #

References #

Read the existing bounded circuit-certificate format, and reject invalid wire references.

Every successfully decoded certificate describes a circuit of at most the gate budget.

A canonical certificate recovers its circuit, ignoring any trailing bits.

The violated-clause circuit of a certificate; invalid certificates produce constant true, so they cannot pass an unsatisfiability test.

A valid certificate produces its witness circuit's violated-clause circuit.

A malformed certificate always produces a satisfiable circuit.

Compiling any bit string costs the decoder plus three budgeted witness copies and seventeen Boolean gates; malformed certificates cost only one gate.

A compiled certificate is unsatisfiable exactly when it decodes to a witness circuit whose truth table satisfies every decoded clause.

Guessing exactly certLength r s bits and testing the compiled circuit for unsatisfiability finds a witness precisely when the succinct formula has a satisfying circuit of at most s gates. The certificate is a circuit description, not the exponential truth table.

Uniform construction on circuit codes #

The code-level bad-clause constructor. It rewires the witness code three times after the shared decoder, then appends the fixed seventeen-gate violation test. All wire indices use the existing binary encoding of circuit codes.

The raw construction agrees exactly with the typed bad-clause circuit.

The existing certificate parser accepts exactly the codes whose gates and output wire pass the existing circuit-code validity checks.

The complete certificate-to-checker compiler on raw data, including the invalid-certificate branch. The constant-true output uses the first gate wire, numbered by the input count q.

The total raw compiler is the code of the total typed compiler.

The raw bad-clause constructor is polynomial-time, uniformly in both widths. The variable address width is unary because the constructor writes that many input-wire references.

The raw certificate compiler is polynomial-time in the decoder code, certificate, and the unary widths and gate budget, including checking all malformed descriptions.

Uniform native construction of the checker. Supply polynomial-time computations of the input count, variable-address width, gate budget, decoder code and guessed certificate. The output uses the standard Boolean.encCircuit encoding, with a unary input count and binary wire indices. Neither the expanded CNF nor the witness truth table is constructed.