Private information retrieval from perfectly smooth codes #
A non-adaptive q-query decoder for a code C : (ι → Bool) → P → Γ draws coins r, reads the
positions Q i r k for k < q, and outputs output i r of the symbols read
(Code.nonadaptive). Give each read its own server holding the codeword C x: the user sends the
position Q i r k to the server k, the server answers with the symbol C x (Q i r k), and the
user runs the decoder's output function on the answers. This is PIR.ofDecoder
Yekhanin, Lemma 6.2.
- The user's output has the decoder's law on the codeword
C x(PIR.eval_run_ofDecoder), so the scheme is perfectly correct exactly when the decoder decodes codewords with probability one (PIR.isCorrect_ofDecoder_iff). - The server
ksees the positionQ i r k, so the scheme is perfectly private exactly when the law of each read does not depend on the index (PIR.isPrivate_ofDecoder_iff). This holds when the code is perfectly smooth, that is, each read is a uniform position (PIR.isPrivate_ofDecoder); the same hypothesis makes the decoder smooth in the sense ofCode.IsSmoothDecoder(Code.isSmoothDecoder_nonadaptive_of_uniform). - The scheme communicates
q (⌈log₂ N⌉ + ⌈log₂ |Γ|⌉)bits for codewords of lengthN = |P|(PIR.communication_ofDecoder), the bound of the source.
The source states the lemma for a perfectly smooth locally decodable code; its proof uses only that
the decoder recovers x i from uncorrupted codewords, which is the hypothesis here. Decoding
corrupted words is not needed. The source's databases and messages are q-ary; here they are
Boolean, as in Scheme, while the code alphabet Γ is arbitrary. The decoder is non-adaptive, as
in the source's proof, which sends all the queries at once.
Main definitions #
Cslib.Crypto.Protocols.PIR.ofDecoder: the scheme of a non-adaptive decoder.
Main results #
Cslib.Crypto.Protocols.PIR.isCorrect_ofDecoder_iff,Cslib.Crypto.Protocols.PIR.isPrivate_ofDecoder_iff: correctness and privacy of the scheme.Cslib.Crypto.Protocols.PIR.hasScheme_ofDecoder: a perfectly smoothq-query decoder that decodes codewords exactly gives aq-server scheme withq (⌈log₂ N⌉ + ⌈log₂ |Γ|⌉)bits.
References #
- S. Yekhanin, Locally decodable codes, Section 6.1.1, Lemma 6.2; numbering of the author's draft of the monograph
The q-server scheme of a non-adaptive q-query decoder for the code C
Yekhanin, Lemma 6.2: the servers hold the codeword C x, the server k receives
the k-th position read by the decoder and answers with the symbol there, and the user runs the
decoder's output function on the answers.
The user's output has the law of the decoder on the codeword.
The scheme of a decoder is perfectly correct exactly when the decoder decodes every codeword with probability one.
The scheme of a decoder is perfectly private exactly when the law of each position read does not depend on the index.
The scheme of a perfectly smooth decoder is private Yekhanin, Lemma 6.2: when each position read is uniform, each server receives a uniform position.
The scheme of a q-query decoder for codewords of length N over Γ communicates
q (⌈log₂ N⌉ + ⌈log₂ |Γ|⌉) bits Yekhanin, Lemma 6.2.
Private information retrieval from a perfectly smooth code
Yekhanin, Lemma 6.2: a non-adaptive q-query decoder for a code of length N
over Γ, each of whose reads is a uniform position and which decodes every codeword with
probability one, gives a perfectly correct and perfectly private q-server scheme communicating
q (⌈log₂ N⌉ + ⌈log₂ |Γ|⌉) bits.