Prefixes of the emitted PRG stream #
forwardIterate appends a reversed final seed after its emitted bits. Under the global one-bit
expansion promise, taking exactly the number of rounds discards that seed. These emitted prefixes
have exact length and agree across different stopping times. The complete forwardIterate output
is not claimed to be prefix-consistent.
Main results #
PRGStretch.length_take_forwardIterate: exactly one emitted bit per round.PRGStretch.take_forwardIterate_prefix: increasing the round count preserves emitted prefixes.PRGStretch.polyTime_take_forwardIterate: native computation on a seed and unary round count.PRGStretch.indistinguishable_take_forwardIterate: any native polynomial-length emitted prefix is computationally indistinguishable from a uniform word of that length.PRGStretch.take_forwardIterate_eq_flatten_emitBit: the emitted prefix is the sequence of last bitsσ₁ ⋯ σ_countof Goldreich's Construction 8.7.PRGStretch.pseudorandomGenerator_take_forwardIterate: that construction is a pseudorandom generator of every efficiently computed stretch ([Gol07c], Proposition 8.8).
References #
These are consequences of the existing stretch construction and security theorem. The emitted prefix is the pad used by the stream-cipher construction in [BS23], Section 3.2, Theorem 3.1, printed pp. 48–51. This module supplies the prefix prerequisite, not a cipher-security theorem or a message-domain extension.
- O. Goldreich, Computational Complexity: A Conceptual Perspective, March 2007 draft
r4.pdf, Construction 8.7 and Proposition 8.8 (printed p. 328, PDF p. 64).
The emitted prefix is the output σ₁ σ₂ ⋯ σ_count of [Gol07c], Construction 8.7
(Eq. (8.8)): starting from x₀ = seed, σᵢ₊₁ is the last bit of generator xᵢ (emitBit) and
xᵢ₊₁ is the rest of that output (seedStep, so xᵢ = seedAt generator seed i).
Only the emitted prefix is consistent across stopping times; the final seed is excluded.
The number of rounds is supplied in unary independently of the seed width.
Polynomially many emitted bits are pseudorandom at the original seed/security parameter. The length schedule is uniform and may be zero; no new generator-security notion is used.
Stretch amplification by emitted last bits ([Gol07c], Proposition 8.8):
for a pseudorandom generator generator of stretch k + 1 and a stretch function ℓ
(n < ℓ n) computable in polynomial time in unary, the generator of Construction 8.7, which
outputs the last bits σ₁ ⋯ σ_ℓ(|s|) of ℓ(|s|) successive expansions of the seed s
(take_forwardIterate_eq_flatten_emitBit), is a pseudorandom generator of stretch ℓ.
PseudorandomGenerator asks for one deterministic polynomial-time machine, exact output length
ℓ(|s|), and indistinguishability from uniform for uniform probabilistic polynomial-time tests.
Its tests (prgRealGame, prgIdealGame) also receive the seed length n in unary, while the
tests of Definition 8.1 (Eq. (8.2)) see only the challenge word. This does not change the
implication: on the premise, a challenge-only test recovers n = |word| - 1 from the one-bit
stretch and can simulate a test that receives n; on the conclusion, a test that receives n
may ignore it. So the source implication follows even when ℓ does not determine the seed
length. The source's "polynomially bounded" stretch follows from computing ℓ in unary in
polynomial time.