Direct-product decoding #
The direct-product decoder of Impagliazzo, Jaiswal, Kabanets and
Wigderson (preprint of 2009-10-19, Theorem 1.2 and
Algorithm 2; Carmosino, Impagliazzo, Kabanets and Kolokolova cite it as their Theorem 4.1) turns a
map C' : (Fin k → U) → Fin k → V that agrees with the direct product f ^ k on a δ fraction
of tuples into a hypothesis for f. It is stated here as a pure function: no circuits and no
running time.
Library formulation. Inputs are uniform k-tuples with a random position subset P, in place
of IJKW's k-sets. This avoids their collision term; it does not prove the k-set version. A seed
is a set P of positions, a tuple b₀ and m trials (j, r). On input x, a trial queries
trialTuple P b₀ x (j, r): b₀ on P, x at j and r elsewhere. It is accepted when j ∉ P
and C' gives it the values that C' b₀ has on P. dpDecode outputs the value of C' at j
for the first accepted trial, or a default.
Per-seed analysis. card_filter_dpDecode_err_le_ge fixes P and b₀ and shows that at
least half of the trial vectors give a hypothesis with error at most ε #U. It assumes that the
tuples consistent with the seed have density at least δ / 2 and that at most an ε / 64
fraction of them disagree with f in ε k / 64 or more positions. The module
CslibFrontier.Computability.Circuit.Boolean.HardnessAmplification.DirectProduct.Density
discharges these hypotheses for a δ / 4 fraction of seeds and proves the counting headline, and
DirectProduct.Complexity bounds the decoder's circuit size. The analysis follows the shape of
IJKW's Lemmas 3.8–3.10. Its constants (ε / 64, (64 / ε) log (4 / δ),
(16 / δ) log (8 / ε)) are ours, derived for the tuple formulation; they are not IJKW's. The
parameter roles are swapped relative to IJKW's Theorem 1.2: ε here is their output error δ,
and δ here is their agreement ε. The tuple form also omits their Algorithm 1 lookup that
answers x = aᵢ with the corresponding output.
Main definitions #
trialTuple,accepts,dpDecode: the decoder. Other modules unfold them withtrialTuple_eq,accepts_eq,dpDecode_zeroanddpDecode_cons.consistent,acceptedPairs,badPairs,disagreements: the counting objects.
Main results #
card_filter_trialTuple: trials are counted by the tuples they produce.card_filter_dpDecode_ne_le: the error at one input.card_filter_acceptedPairs_lt_mul_le: few inputs are rarely accepted.sum_card_filter_dpDecode_ne_le: the total error of a good seed.card_filter_dpDecode_err_le_ge: a good seed decodes well for half of the trial vectors.
References #
A trial: a free position j and a filler tuple r.
Counting trials: the trials with free position outside P whose tuple satisfies q
(which may depend on the free position) number #U ^ (#P + 1) for each pair (y, j) with
y = b₀ on P, y j = x, j ∉ P and q j y.
A trial is accepted at x when its free position lies outside P and C' gives its
tuple the same values on P as it gives b₀.
The direct-product decoder: on input x, the value of C' at the free position of the
first accepted trial, or dflt if no trial is accepted.
The decoder answers from the first trial if it is accepted, and otherwise from the rest.
The pairs (j, y) that account for the trials accepted at x: j ∉ P, y = b₀ on P,
y j = x and C' y = C' b₀ on P.
The accepted pairs at which C' disagrees with f.
The trials accepted at x number #U ^ (#P + 1) per accepted pair.
Error at one input: weighted by the number a of accepted pairs at x, the trial vectors
on which the decoder errs at x are at most the bad pairs times N ^ m, plus a times the
vectors rejecting every trial. Here N is the number of trials.
The tuples consistent with the seed: equal to b₀ on P, with the same C' values there.
The accepted pairs are the free positions of the consistent tuples that carry x.
The bad pairs are the free disagreement positions of the consistent tuples that carry x.
Accepted pairs by input: weighting the accepted pairs at x by g x and summing over
x is summing g (y j) over the free positions j of the consistent tuples y.
Bad pairs by tuple: the bad pairs, summed over inputs, are the free positions at which a
consistent tuple disagrees with f.
Few inputs are rarely accepted: if the consistent tuples have density at least μ among
the tuples agreeing with b₀ on P, the inputs with fewer than #S w / (4 #U) accepted pairs,
where S is the consistent set and w = #Pᶜ, number at most 8 #U log (2 / μ) / w. This is the
tuple-formulation analogue of IJKW's Lemma 3.9, proved, as there, from the weight bound of their
Lemma 2.13 (Cslib.Probability.sub_mul_le_two_mul_sum_sum).
Error at one input, real form: if at least θ > 0 pairs are accepted at x, the decoder
errs at x on at most #bad N ^ m / θ + N ^ m exp (-m #U ^ (#P + 1) θ / N) trial vectors, where
N is the number of trials.
Total error of a good seed. Suppose the consistent tuples have density at least δ / 2
on the slice of b₀ and at most an ε / 64 fraction of them have ε k / 64 or more
disagreements. If k ≤ 2 #Pᶜ, #Pᶜ ≥ (64 / ε) log (4 / δ) and m ≥ (16 / δ) log (8 / ε), then the
errors of the decoder, summed over inputs and trial vectors, are at most ε #U N ^ m / 2.
These constants are ours (derived for the tuple formulation), not IJKW's. The two seed hypotheses
are discharged for a δ / 4 fraction of seeds in the module DirectProduct.Density.
A good seed decodes well for half of the trial vectors. Under the hypotheses of
sum_card_filter_dpDecode_ne_le, at least half of the trial vectors v give a hypothesis
dpDecode C' dflt P b₀ v that differs from f on at most ε #U inputs. The two seed hypotheses
are discharged for a δ / 4 fraction of seeds in the module DirectProduct.Density.