Pseudorandom generators from one-way functions #
A general uniform one-way function gives a samplable pseudoentropy pair. Its inverse-polynomial gap admits a polynomial entropy grid, and the pseudoentropy construction gives a deterministic polynomial-time generator expanding every input by one bit. All security reductions are uniform strict PPT, and no entropy estimate or nonuniform advice is an additional hypothesis.
Main results #
Cslib.Crypto.OneWay.exists_pseudorandomGenerator: every uniform OWF implies a uniform PRG expanding every input by exactly one bit.Cslib.Crypto.NonuniformOneWay.exists_nonuniformPRG: every nonuniform OWF implies a nonuniform PRG expanding every input by one bit.Cslib.Crypto.NonuniformOneWay.exists_nonuniformPRG_three_mul: every nonuniform OWF implies a length-tripling (3 * n + 1) nonuniform PRG.
References #
- J. Håstad, R. Impagliazzo, L. Levin, M. Luby, A Pseudorandom Generator from Any One-Way Function: the original theorem.
- T. Holenstein, Pseudorandom Generators from One-Way Functions, Sections 4–5: the construction followed here.
The matrix extractor and uniform length conversion preserve the polynomial guarantees; we do not assert the paper's optimized seed-length exponent or practical efficiency.
Adapted from Crypto/Computational/OneWayToPRG.lean
on the cslib crypto branch at
5ff69ca93402e7c947208dc56396d6d86203ccd8, using typed machine certificates and the
nonnegative game API.
Every nonuniform one-way function implies a nonuniform pseudorandom generator with one bit of stretch at every seed length.
Every nonuniform one-way function implies a length-tripling nonuniform pseudorandom generator
at positive seed lengths (3 * n + 1 at every seed length n).