Statistical privacy and bounded-error recovery #
PIR.Basic states privacy and correctness as exact equalities of laws. Lower bounds for private
information retrieval and locally decodable codes
Goldreich, Karloff, Schulman and Trevisan, Section 7 also
use the relaxations of both notions:
δ-statistical privacy (Scheme.IsStatPrivate δ). For every server, the query laws for any two indices are within statistical distanceδ(Probability.CloseTo). Atδ = 0this is perfect privacy (Scheme.IsPrivate.isStatPrivate_zero).- Closeness to a reference index (
Scheme.IsStatPrivateAt i₀ δ). For every server, the query law for each index is withinδof the law fori₀. The GKST decoder only uses this weaker form, andδ-statistical privacy gives it at every reference index (Scheme.IsStatPrivate.isStatPrivateAt). - Recovery with advantage
ε(Scheme.Recovers ε). On every database and index, a scheme for bits outputs the right bit with probability at least1 / 2 + ε. A perfectly correct scheme recovers with advantage1 / 2(Scheme.IsCorrect.recovers).
Main definitions #
Cslib.Crypto.Protocols.PIR.Scheme.IsStatPrivate:δ-statistical privacy.Cslib.Crypto.Protocols.PIR.Scheme.IsStatPrivateAt: query lawsδ-close to those ati₀.Cslib.Crypto.Protocols.PIR.Scheme.Recovers: recovery with advantageε.
Main results #
Cslib.Crypto.Protocols.PIR.Scheme.IsPrivate.isStatPrivate_zero: perfect privacy is0-statistical privacy.Cslib.Crypto.Protocols.PIR.Scheme.IsStatPrivate.isStatPrivateAt: pairwise closeness gives closeness to every reference index.Cslib.Crypto.Protocols.PIR.Scheme.IsCorrect.recovers: perfect correctness is recovery with advantage1 / 2.
References #
theorem Cslib.Crypto.Protocols.PIR.Scheme.IsStatPrivate.isStatPrivateAt {ι S R Q A β : Type} {P : Scheme ι S R Q A β} {δ : ℝ} (h : P.IsStatPrivate δ) (i₀ : ι) :
P.IsStatPrivateAt i₀ δ
δ-statistical privacy gives closeness to every reference index.
theorem Cslib.Crypto.Protocols.PIR.Scheme.IsPrivate.isStatPrivate_zero {ι S R Q A β : Type} {P : Scheme ι S R Q A β} (h : P.IsPrivate) :
P.IsStatPrivate 0
Perfect privacy is 0-statistical privacy.