Nisan--Wigderson set systems and generators -- definitions #
An NWDesign m ell d is an ordered family of m injectively enumerated
ell-coordinate subsets of a d-bit seed. Injective enumerations avoid
cardinality casts when restricting a seed and retain the coordinate order used
by the hard Boolean function.
The exact weak-design resource is recorded as a natural-number overlap cost.
At output coordinate i, it is the sum of 2^|S_i ∩ S_j| over predecessors
j < i, plus one unit for every later output coordinate. A separate predicate
bounds this cost uniformly, allowing later analytic estimates to choose their
own integer upper bound.
An ordered family of injectively enumerated coordinate subsets for the Nisan--Wigderson generator.
The
inputLengthdistinct seed coordinates used by each output bit.
Instances For
The underlying coordinate set of one design block.
Equations
- design.support output = Finset.map (design.coordinates output) Finset.univ
Instances For
Cardinality of the intersection of two design blocks.
Instances For
Exact predecessor-overlap resource at one output coordinate, including one unit for each later output coordinate as in Hirahara's weak-design bound.
Equations
Instances For
Every coordinate's exact overlap cost is at most budget.
Equations
- design.HasOverlapBudget budget = ∀ (output : Fin outputLength), design.overlapCostAt output ≤ budget
Instances For
Restrict a seed to the ordered coordinates of one design block.
Equations
- design.restrictSeed output seed input = seed ((design.coordinates output) input)
Instances For
The Nisan--Wigderson generator associated to a design and a Boolean function on one design block.
Equations
- design.generator hardFunction seed output = hardFunction (design.restrictSeed output seed)