Repeated extraction with public side information #
Sample a list of observation-label pairs, hash its labels, and retain the observations and the complete independent hash seed. Labels may be arbitrary finite values, including observations or saved sampler seeds. Boolean labels retain their ordinary word-based PPT interface.
The exact product law and conditional-entropy extraction bound are shared by all three parts of the pseudoentropy construction. The ideal experiment preserves the original public marginal.
The statistical statements quantify over every randomized finite-output test of the complete output, including every Boolean test, with no computational restriction. This uses the existing finite-PMF metric without requiring a metric on the infinite ambient type of lists.
Main definitions #
extractLabels: hash sampled labels under a fresh seed, keeping observations and the seed.extractLabelsReal,extractLabelsIdeal: the repeated real experiment and its ideal public-marginal counterpart.
Main results #
eval_replicate_extractLabels: exact agreement with the finite product experiment.eval_replicate_extractLabels_map_pair: transport the complete experiment from a sampling law.extractLabels_dist_bind_le: conditional entropy bounds every randomized finite-output test.extractLabels_indistinguishable: statistical security for the common repetition schedule.isPPTOn_extractLabels,isPPTOn_extractLabels_list: strict PPT with raw or framed labels.
References #
- Thomas Holenstein, Pseudorandom Generators from One-Way Functions: A Simple Construction for
Any Hardness, TCC 2006, Section 3.3 and Section 5, Games 0--2.
[Hol06].
The statistical bound uses the seed-information concentration variant documented in
CslibFrontier.Probability.EntropyExtraction.
Adapted from the cslib crypto branch at
5ff69ca93402e7c947208dc56396d6d86203ccd8, using the shared nonnegative game API.
The real extraction experiment: draw count independent observation-label pairs from
source, then hash their labels under a fresh seed. extractLabelsIdeal is its ideal
counterpart.
Preserve the sampled observations and public seed, replacing the extracted labels by an independent uniform output. The ambient observation and seed types need not be finite.
A sampling law for re-encoded observations transports the ideal extraction experiment.
Re-encoding both fields changes only the hash's input representation and public output.
A sampling law for re-encoded observations and hash inputs transports the full repeated experiment. Only the output distribution matters; the sampler need not be a syntactic map.
Arbitrary encoded labels use the same extractor, with list encoding charged to the hash.
Label extraction composes ordinary sampling, list projections, and an efficient hash.
Repeated program sampling and list-based extraction have the finite product experiment's exact law. Only the representation of the observation tuple changes.
Extraction error for the supplied test is the only loss when converting its distinguishing advantage into a gap between original and comparison sample sequences. The hash seed is public.
The list-based extractor inherits the conditional Shannon-entropy bound for repeated samples against every randomized finite-output test. The test receives all observations and the independent seed. It has no efficiency restriction.
Extracting into a singleton is exactly ideal, including its public observations and seed. This handles a zero-bit component without requiring a positive entropy budget.
A shared repetition schedule makes conditional extraction statistically uniform. A zero-bit output is always permitted; positive lengths reserve two slacks below conditional entropy. Every randomized Boolean test is admissible, with no computability assumption on entropy or its numerical bound.
Unconditional extraction is the constant-observation specialization. It hashes ordinary lists and reveals the entire seed; zero-bit outputs need no entropy.