The refuter's final search finds a counterexample #
findCounterexample C f d S searches the candidates candidates d S: 2^d points of Φ(Z(P))
built from the free parameters of S. When S is a valid terminal state for the function of C
(no refuter step applies) with d < S.a, the output of S is constant on the enumerated
d-dimensional affine subspace, so a d-affine disperser f disagrees with C at one of the
enumerated points.
Main results #
Cslib.Circuits.Boolean.AffineDisperser4n.findReader_spec: a gate found byfindReader S Gis another gate ofSreadingG.Cslib.Circuits.Boolean.AffineDisperser4n.length_candidates_le: at most2^dcandidates.Cslib.Circuits.Boolean.AffineDisperser4n.exists_mem_candidates_ne: on a valid terminal state withd < S.a, some candidate is a counterexample.Cslib.Circuits.Boolean.AffineDisperser4n.findCounterexample_eq_find?: the search returns the first candidate that is a counterexample.Cslib.Circuits.Boolean.AffineDisperser4n.findCounterexample_spec: every returned point is a counterexample.Cslib.Circuits.Boolean.AffineDisperser4n.findCounterexample_isSome: on a valid terminal state withd < S.a, the search returns a point.
List utilities #
findPair and terminalVal #
On a valid state, findPair S x finds a pair whenever x belongs to one.
The free parameters #
The generic search #
fixArg g w fixes the argument w of a non-affine gate to a value making it constant.
Inversion of findAndOnPair S = some (G, p).
On a valid terminal state of the refuter for the function of C with d < S.a, the final
search of findCounterexample succeeds.
A terminal state has at most 2^d candidates.
The search returns the first candidate on which C and f disagree.
Every input returned by findCounterexample is a counterexample.
On a valid terminal state of the refuter for the function of C with d < S.a, some candidate
is an input on which C and the d-affine disperser f disagree.