Finite statistical tests for binary generators #
This module formalizes the first finite step in Hirahara's 2018 Nisan--Wigderson reconstruction argument. A dense set of strings that are random for a time-bounded Kolmogorov threshold is a statistical test against any generator whose outputs all lie strictly below that threshold.
In particular, if the machine directly produces each generated output from its seed within the clock and the seed length is strictly below the randomness threshold, the test has zero acceptance probability on generated outputs. Its distinguishing advantage therefore equals its uniform density exactly.
Every finite test also has a canonical total Boolean oracle: fixed-length queries receive their membership bit and malformed lengths are rejected.
Being a time-bounded random-string test is exactly finite-set inclusion in the canonical set of strings at or above the chosen complexity threshold.
The full canonical set of threshold-random strings is a random-string test.
The full random-string test has the quantitative uniform density supplied by strict finite incompressibility.
If the machine produces every generated output directly from its seed and the seed is shorter than the threshold, every output has complexity below the threshold. This is the finite description step used for efficiently computable short-seed generators.
A low-complexity generator output cannot belong to a test containing only strings at or above the same complexity threshold.
The test accepts no seed of a low-complexity generator.
A random-string test has exactly zero acceptance probability under any generator whose outputs are all below its complexity threshold.
For a random-string test against a low-complexity generator, the absolute distinguishing advantage is exactly the test's uniform acceptance probability.
A density-dense random-string test distinguishes every low-complexity
generator with advantage at least density.
Hirahara's finite statistical-test step: a dense random-string test has advantage at least its density against a generator whose short seeds directly describe its outputs within the chosen clock.
The canonical random-string test distinguishes every generator whose outputs are below the threshold by the full strict-incompressibility lower bound. No computability property of the test is asserted here.
A directly seed-described generator is distinguished by the canonical random-string test with the explicit strict-incompressibility advantage.