The queries of the Nisan–Wigderson reconstruction #
With its random choices fixed, the guess of the Nisan–Wigderson reconstruction
(Cslib.Crypto.PRG.NisanWigderson.trialGuess) reads the hard function f only through the
output bits at the positions before t.pos. With the seed bits outside the t.pos-th block
fixed, output bit j is f at the bits of the seed in the j-th block. Only the at most a
of these bits that lie in the t.pos-th block vary with the input, so output bit j takes the
values of f at at most 2 ^ a points. These are the queries of the trial
(Cslib.Crypto.PRG.NisanWigderson.trialPoints): at most m 2 ^ a points
(Cslib.Crypto.PRG.NisanWigderson.length_trialPoints_le), determined by the trial and the design
alone, at which f determines the whole guess
(Cslib.Crypto.PRG.NisanWigderson.trialGuess_congr). A learner with membership queries can
therefore run the reconstruction by querying these points; this is step 4 of the reconstruction
algorithm of Carmosino, Impagliazzo, Kabanets and Kolokolova, Section
2.4.
Main definitions #
Cslib.Crypto.PRG.NisanWigderson.trialPoints: the queries of a trial.
Main results #
Cslib.Crypto.PRG.NisanWigderson.length_trialPoints_le: a trial makes at mostm 2 ^ aqueries.Cslib.Crypto.PRG.NisanWigderson.restrict_extend_mem_trialPoints: the inputs of the earlier output bits are queries.Cslib.Crypto.PRG.NisanWigderson.trialGuess_congr: the guess of a trial depends only on the values offat its queries.
References #
The queries of the trial t: for each position j before t.pos and each assignment to
the input bits in D.overlap t.pos j, the input D.restrict j (D.extend t.pos x t.seed) of output
bit j, where x carries the assignment on the overlap and false elsewhere. An assignment is
listed as the set of overlap positions where it is true, a sublist of the sorted overlap.
Query count. A trial makes at most m 2 ^ a queries: at most 2 ^ a for each of the at
most m earlier positions.
The earlier output bits read only queries. For every input x and every position j
before t.pos, the input of output bit j on the seed D.extend t.pos x t.seed is a query of
the trial t.
The guess reads f only at the queries. Two hard functions that agree at the queries of
the trial t give the same guess.