Anti-checkers counted by circuit certificates #
The description-counting step of the anti-checker construction must count circuit descriptions, including distinct descriptions of the same function. Counting their semantic image instead does not give the witness count needed by approximate counting.
This module instantiates the ordered-tuple variant of the good-string argument in
[OliveiraPichSanthanam2019, Lemma 4.7] with the library's fixed-length MCSP
certificates. Their validity and evaluation use the existing polynomial-time verifier in
MCSP.NP. The existing unary-field encoding uses
certLength n s = s + (n + s) + s * (3 + 2 * (n + s)) bits. No compact description-length bound
or injectivity of certificate evaluation is assumed.
The resulting statements give a good input for every nonempty subfamily of valid certificates,
a geometric bound on the number surviving any prescribed number of greedy rounds, and an
anti-checker with at most 16 * (certLength n s + 1) inputs. These are existence and counting
results. The efficient generator of [OliveiraPichSanthanam2019, Lemma 4.1] still
requires approximate-counting circuits, search, and circuit-size accounting.
Main definitions #
Cslib.MCSP.validCertificates: all valid certificates of the prescribed fixed length.Cslib.MCSP.certificateFunction: the function computed by a fixed-length certificate.
Main results #
Cslib.MCSP.card_validCertificates_le: at most2 ^ certLength n sdescriptions.Cslib.MCSP.image_validCertificates: their semantic image is exactly the functions computable with at mostsgates.Cslib.MCSP.filter_validCertificates_eq_filter_checkCertificateOn: the surviving descriptions are exactly the witnesses accepted by the existing sample verifier.Cslib.MCSP.exists_card_le_sixteen_mul_validCertificates: a good input refutes a sixteenth of any nonempty subfamily, counting descriptions with their multiplicities.Cslib.MCSP.exists_card_filter_validCertificates_le: geometric shrinkage of the number of consistent descriptions.Cslib.MCSP.exists_isAntiChecker_le_certLength: an anti-checker with an explicit bound in the certificate length.
References #
All valid descriptions of circuits on n inputs with at most s gates, at the fixed
certificate length. Different descriptions computing the same function remain distinct.
Evaluation of a fixed-length MCSP certificate as a Boolean function.
Membership in the description family is exactly certificate validity.
The number of valid descriptions is at most the number of strings of the certificate length.
Every valid fixed-length certificate computes a function with at most s gates.
The semantic image of valid fixed-length certificates is exactly the family of functions
computable with at most s gates. This identifies the image, without identifying descriptions.
Descriptions consistent with the labeled sample set are exactly the fixed-length witnesses
accepted by checkCertificateOn. Labels are supplied as sample data; the verifier's acceptance
test only compares its output with the supplied label.
The good-string bound for every nonempty subfamily of valid circuit descriptions. The refuted fraction is measured before quotienting descriptions by the function they compute.
After k good-input choices, at most a (15 / 16) ^ k fraction of valid circuit
descriptions survives. This retains the exact initial description count.
Small anti-checkers against all size-s circuits, with a bound in the fixed description
length. This does not give an efficient algorithm for finding the anti-checker.