Succinct Minimum Circuit Size Problem #
This module exposes sampled circuit minimization. A typed instance contains an
arity, a list of input/output samples, and a circuit-size threshold. Repeated
inputs are retained, including contradictory constraints. Positive arities use
the library's exact Basis.andOr2 convention; zero arity uses an explicit
constant bit of size zero.
The binary codec is exact and total. In particular, malformed pairing, noncanonical natural fields, wrong-width sample inputs, non-singleton outputs, and any mismatch between the stored sample count and payload are rejected. Its raw-circuit verifier checks every sample and is exact for the typed semantics; threshold normalization supplies a polynomially balanced witness relation and the class wrapper records the remaining machine-level premises for NP.
A sample built from f is satisfied by f.
A canonical right-nested sample list decodes at its exact count.
Successful sample-list decoding characterizes both the exact count and canonical payload.
The function used to label an input list satisfies every resulting sample, including repeated inputs.
The canonical sampled-instance encoding is injective.
Exact instance-code length, separating the linear sample payload from binary metadata.
At arity zero, a sampled instance is feasible exactly when one constant bit satisfies every listed constraint.
At positive arity, feasibility has exactly the advertised sampled-circuit witness semantics.
Increasing the size threshold preserves sampled yes-instances.
A canonical sampled-instance code belongs to SuccinctMCSP exactly when
its typed instance has a matching circuit within the threshold.
Every malformed sampled-instance code is rejected.
Membership exposes the unique decoded sampled instance and its exact typed feasibility predicate.