Plinko is perfectly correct given correct inversion
ProvedPlinko.scheme_correctcryptographyprivate-information-retrieval
Suppose the client's inversion algorithm is correct, . Then for every database , every number of regular hints, all block sets , every streaming order that lists each entry exactly once, every sequence of queries and updates, and all client coins, the correctness game never fails: every query that returns a bit returns the current value of the queried entry.
Preamble
import Definitions.Def_Plinko
Formal statement
namespace Plinko
/-- Plinko is perfectly correct whenever the inversion algorithm is correct: for any block sets,
any number of regular hints, any streaming order that lists every entry exactly once, any
sequence of queries and updates, and any client coins, no query outputs a wrong bit. -/
theorem scheme_correct {c w h : ℕ} (O : Offsets c w h) (hO : O.Correct) (nr : ℕ)
(P : Fin h → Finset (Fin c)) (D : DB c w) (order : List (Idx c w)) (hnd : order.Nodup)
(hall : ∀ x, x ∈ order) (ops : List (Op c w h)) :
corGame O D (hintInit O nr P D order) ops = false := by
sorry
end Plinko