Hybrid distributions for finite binary generators #
This module gives the exact finite hybrid argument used at the start of the Nisan--Wigderson reconstruction. The zero hybrid is uniform, the final hybrid is the generator distribution, and the adjacent gaps telescope. Consequently, any positive absolute distinguishing advantage can be oriented by optionally complementing the test, after which one adjacent hybrid gap is at least the advantage divided by the output length.
Accepted seeds for the complementary test are exactly the complement of the accepted-seed event.
Complementing a test complements its uniform acceptance probability.
Complementing a test complements its generated acceptance probability.
One polarity of a test realizes its absolute distinguishing advantage as an oriented generated-minus-uniform gap.
The zero hybrid is exactly the independent uniform-output block.
The final hybrid is exactly the generator output.
Test acceptance on the zero hybrid is its uniform acceptance probability.
Test acceptance on the final hybrid is its generated acceptance probability.
Adjacent hybrid gaps telescope exactly to the oriented distinguishing gap between generated and uniform outputs.
If the oriented distinguishing gap is at least advantage, one adjacent
hybrid gap is at least advantage / outputLength.
Finite Yao hybrid step: every absolute distinguishing advantage admits a polarity and an adjacent hybrid whose gap is at least the average advantage.