Lemma 5.2: every one-way function is regular on a dense subdomain
ProvedLiuPass.exists_regular_dense_domainLemma 5.2 of the paper. Let be a one-way function. Then there are an integer-valued function and sets with
such that is a one-way function over (hard to invert when the input is drawn uniformly from ) and has regularity on , i.e. for all sufficiently large and all ,
The proof is an averaging argument: the -bit inputs are partitioned into the classes , one of which must carry probability at least ; taking to be that class makes regular on , and density preserves one-wayness up to a factor . This is the step that lets the regular-OWF pseudorandom generator construction be applied to an arbitrary one-way function, and hence the starting point of the conditionally secure entropy-preserving generator of Theorem 5.5.
import Definitions.Def_LiuPass_crypto open Finset open scoped Classical
namespace LiuPass
open Finset
open scoped Classical
theorem exists_regular_dense_domain (U : UMachine) (f : BitStr → BitStr) (hf : IsOWF U f) :
∃ (r : ℕ → ℕ) (S : ℕ → BitStr → Prop),
(∀ (n : ℕ) (x : BitStr), S n x → x.length = n) ∧
(∀ n : ℕ, 0 < n →
(2 : ℝ) ^ n / (n : ℝ) ≤
((univ.filter fun v : Fin n → Bool => S n (List.ofFn v)).card : ℝ)) ∧
IsOWFOver U S f ∧ IsRegularOver S f r := 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 and let be a function on bit strings which is a one-way function relative to : it is computable within a polynomial time bound, and for every probabilistic polynomial-time algorithm there is a negligible with
for every .
The conclusion asserts the existence of a function and a family of predicates on bit strings such that all four of the following hold.
- Every string satisfying has length exactly .
- For every , , where counts the -bit vectors satisfying and both sides are compared as real numbers.
- is a one-way function over : is polynomial-time computable and for every probabilistic polynomial-time there is a negligible such that, for every ,
a ratio of two uniform counting probabilities, i.e. the success probability conditioned on the input landing in . 4. has regularity over : there is an such that for every and every string of length satisfying ,
where is truncated subtraction on natural numbers, so for the left bound reads . The fibre is counted inside , not inside all of .
Nothing constrains beyond these conditions, and clauses 2 and 4 hold in different ranges: the density bound for all , the regularity only eventually.