Inversion from a predictor with partially uniform leakage #
The inverter guesses the public hash value, fixes the predictor's other public and private randomness, and runs the shared Goldreich--Levin decoder. A short hash prefix is close to uniform on a fiber; guessing the remaining suffix loses only its cardinality. The unknown preimage and the split point occur only in the proof, never in the inverter.
These are finite reduction bounds. The hashed parity pair additionally needs a choice of split points, averaging over hash lengths and images, and a uniform PPT implementation.
Main definitions #
Cslib.Crypto.Pseudoentropy.guessInverter: guess the digest and run Goldreich–Levin.
Main results #
Cslib.Crypto.Pseudoentropy.correlation_le_guessInverter: prediction-to-inversion bound.Cslib.Probability.IsTwoUniversal.fiber_correlation_le_guessInverter: specialize to a uniform fiber without regularity assumptions.
References #
- T. Holenstein, Pseudorandom Generators from One-Way Functions: A Simple Construction for Any Hardness, Section 4, Lemma 4. We use decoder success as the nonnegative game score in Games 2--5, instead of maximizing signed prediction advantage over all preimages. This gives the same kind of polynomial loss.
Adapted from Crypto/Computational/Pseudoentropy/Reduction.lean on the cslib crypto branch at
5ff69ca93402e7c947208dc56396d6d86203ccd8, reusing the pinned finite-PMF distance
and shared decoder.
Guess the entire leakage and run the Goldreich–Levin decoder. Its behavior is independent of
the prefix/suffix split used to analyze it. seed may include saved predictor coins.
Instances For
Re-encoding the guessed digest by an equivalence preserves the inverter exactly.
Guessing the leakage converts parity correlation into inversion success. Only its prefix must be statistically close to uniform; its suffix costs the number of possible guesses.
Universal hashing supplies the prefix error in the prediction-to-inversion bound.
On a uniform fiber, the extraction error depends on its size. No regularity assumption is made about the other fibers of the function.