Theorem 5.5: conditionally secure entropy-preserving PRGs from one-way functions
DisprovedLiuPass.condEPPRG_of_owfTheorem 5.5 of the paper. Assume one-way functions exist. Then there is a polynomial such that for all and there exists a -condEP-PRG
whose running time on inputs of length is bounded by .
That is, conditioned on a sequence of events , the output of on a uniform seed is -indistinguishable from uniform and still carries Shannon entropy . The construction starts from Lemma 5.2 (any one-way function is regular on a -dense subdomain), applies the hash-based pseudorandom generator for regular one-way functions of Lemma 5.1, and takes the conditioning event to be "the guessed regularity is correct and the seed lies in the dense set". Crucially the entropy notion is Shannon entropy: the known PRG constructions from arbitrary one-way functions are not entropy preserving, and the conditional variant is what makes an arbitrary one-way function suffice.
import Definitions.Def_LiuPass_crypto open Finset open scoped Classical
namespace LiuPass
open Finset
open scoped Classical
theorem condEPPRG_of_owf (U : UMachine) (hf : ∃ f : BitStr → BitStr, IsOWF U f) :
∃ t₀ : ℕ → ℕ, IsPoly t₀ ∧ ∀ gamma delta : ℕ, 1 < gamma → 1 < delta →
∃ G : BitStr → BitStr,
IsCondEPPRG U gamma (fun n => 1 / (n : ℝ) ^ delta) G ∧
ComputesInTime U (fun n => (gamma + delta) * t₀ n) G := by sorry
end LiuPass
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the statement author, not independent
Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statements in this proposal, at the explicit instruction of the proposal owner; no independent blind auditor was involved. Its author knew what the code was intended to say, so it cannot serve the usual purpose of an independent read-back and no reviewer should treat it as such. It is offered only as a careful, literal rendering of the code, and should be re-done blind by an independent auditor before the proposal is relied upon for audit.
Let be an arbitrary universal-machine structure. The single hypothesis is that there exists a function on bit strings that is a one-way function relative to (polynomial-time computable, and inverted by every probabilistic polynomial-time adversary — which receives and a uniform random tape — with probability at most a negligible , for every , success meaning that the output is some -preimage of ).
The conclusion asserts the existence of a polynomially bounded such that for all natural numbers and with and there is a function on bit strings with two properties.
First, is a conditionally secure entropy-preserving pseudorandom generator with expansion and indistinguishability gap . Unfolded, this means: is computable on within a polynomial time bound; every string of length is mapped to a string of length exactly (base-2 integer logarithm, so the expansion is for and ); and there exist a family of predicates and a natural number such that
- for every ;
- for every probabilistic polynomial-time distinguisher there is an with
where in the first term is uniform on conditioned on (a ratio of counting probabilities), in the second is uniform on strings of length , receives the pairing of with its sample together with a uniform tape of bits, and "outputs 1" means its output string reads as the numeral ;
- for all sufficiently large ,
the base-2 Shannon entropy of the conditioned output distribution, the sum ranging over the image of on (here is the real logarithm).
Second, is computable on within the specific time bound : some program computes on every input within steps. The polynomial is chosen before, and independently of, and .