Lemma 6.5 as an unconditional reduction
OpenHILL.PRG.lemma_6_5_reductionLet be any P-time function ensemble (not assumed one-way) whose approximate degeneracy satisfies for all and all large . Let be a P-time parameter, and let , be universal hash families with the lengths of (6.2) and (6.7). Let and be the law of (6.8) and its comparison law, and let , , , , , be as in Lemma 6.1. If a PPT adversary , given advice , distinguishes from with non-negligible advantage , then there is a PPT machine , with polynomially bounded integer advice, that distinguishes
with non-negligible advantage. In the paper the advantage is at least .
This is the reduction content of Lemma 6.5. It does not assume one-wayness, so its hypotheses are satisfiable; for example, = identity gives a non-negligible distinguisher. One-wayness enters only through Lemma 6.1. The degeneracy bound supplies , which the proof of fact (b) uses.
Formalization Note Identical to HILL.PRG.lemma_6_5, except that IsOWF F is replaced by F.PTime 0 and the degeneracy bound, which HILL.PRG.owf_degeneracy_bound derives from one-wayness.
import Mathlib import Definitions.Def_HILL_PRG_Model import Definitions.Def_HILL_PRG_Constructions
namespace HILL.PRG
/-- Lemma 6.5 as a genuine reduction (no one-wayness assumed): for any P-time f with
eventually non-full degeneracy, a non-negligible distinguisher for 𝒟 and ℰ yields a
distinguisher, with polynomial advice, for the hidden bit of Lemma 6.1. -/
theorem lemma_6_5_reduction (F : FunEns) (hf : ∀ n, F.t n = n)
(hF : F.PTime (fun _ => 0))
(hdeg : ∃ N : ℕ, ∀ n ≥ N, ∀ x ∈ cube n,
Dtilde (cube n) (F.f 0 n) (F.f 0 n x) ≤ n - 1)
(k : ℕ → ℕ) (hkpt : PTimeParam k)
(hk : ∀ n, 1 ≤ n → 125 * n ^ 3 ≤ k n)
(h hp : HashFamily) (hh : h.IsUniversal) (hhp : hp.IsUniversal)
(hin : ∀ n, 1 ≤ n → h.inLen n = n)
(hout : ∀ n, 1 ≤ n → h.outLen n = n + Nat.clog 2 (2 * n))
(hpin : ∀ n, 1 ≤ n → hp.inLen n = k n)
(hpout : ∀ n, 1 ≤ n → hp.outLen n = m64 F k n)
(A : Adv)
(hA : ¬ Negligible (fun n => advantage A n (m64 F k) (outLen64 F h hp n (k n))
(binaryLawD64 F h hp n (k n)) (binaryLawE64 F h hp n (k n) (m64 F k n)))) :
∃ a : ℕ → ℕ, IsPoly a ∧ ¬ CompIndist a (fun n => F.ℓ n + h.outLen n + n + h.keyLen n + 1 + n)
(fun n => lawOn ((T64 F n ×ˢ cube (h.keyLen n)) ×ˢ cube n)
(fun z => padTo (F.f 0 n z.1.1.1) (F.ℓ n) ++
padTo ((h.eval n z.1.2 z.1.1.1).take (z.1.1.2.val + Nat.clog 2 (2 * n)))
(h.outLen n) ++
indexBits z.1.1.2 ++ z.1.2 ++ ip z.1.1.1 z.2 :: z.2))
(fun n => lawOn (((T64 F n ×ˢ cube (h.keyLen n)) ×ˢ cube n) ×ˢ
(Finset.univ : Finset Bool))
(fun z => padTo (F.f 0 n z.1.1.1.1) (F.ℓ n) ++
padTo ((h.eval n z.1.1.2 z.1.1.1.1).take (z.1.1.1.2.val + Nat.clog 2 (2 * n)))
(h.outLen n) ++
indexBits z.1.1.1.2 ++ z.1.1.2 ++ z.2 :: z.1.2)) := by sorry
end HILL.PRG