Plinko: invertible PRF and hint-table correctness
ProvedPlinko.maincryptographyprivate-information-retrieval
For the Plinko iPRF from hint slots to offsets ():
- for every key and , ;
- if is an exact binomial sampler over a nonempty finite , then with a uniform permutation and a uniformly random from tree nodes to , is a uniformly random function ;
- Plinko with offsets and inversion for arbitrary per-block keys never fails the correctness game, for every database, hint layout, streaming order covering each entry once, sequence of queries and updates, and client coins.
Preamble
import Definitions.Def_Plinko
Formal statement
namespace Plinko
/-- Plinko's information-theoretic core. For the iPRF from hint slots `[h]` to offsets `[w]`:
(1) inversion is exact for every key; (2) with ideal randomness it is exactly a uniformly random
function; (3) Plinko with per-block iPRF keys is perfectly correct for every choice of keys. -/
theorem main {c w h : ℕ} [NeZero w] {R : Type*} [Fintype R] [Nonempty R]
(binom : ℕ → ℕ → ℕ → R → ℕ) :
(∀ (σ : Equiv.Perm (Fin h)) (κ : Splits) (y : Fin w),
iFinv σ κ y = Finset.univ.filter (fun x => iF σ κ x = y)) ∧
(ExactBinomial R binom h w → ∀ f : Fin h → Fin w,
prob (fun p : Equiv.Perm (Fin h) × (NodeIdx h w → R) =>
iF p.1 (idealSplits binom p.2) = f) = 1 / (w : ℝ) ^ h) ∧
(∀ (K : Fin c → Equiv.Perm (Fin h) × Splits) (nr : ℕ) (P : Fin h → Finset (Fin c))
(D : DB c w) (order : List (Idx c w)), order.Nodup → (∀ x, x ∈ order) →
∀ ops : List (Op c w h), corGame (iprfOffsets K) D (hintInit (iprfOffsets K) nr P D order) ops = false) := by
sorry
end Plinko