Succinctness of Kilian's protocol #
Kilian's protocol is succinct: the honest transcript has a number of bits polynomial in the
security parameter and polylogarithmic in the encoded statement length ([Kil92];
[BG01], Construction 3.4). This module counts it, in terms
of the PCP verifier's parameters, kept separate from them: r = V.coins x random bits and at most
q queries per random string.
- The committed table. The compact table has
|V.queryTable x| ≤ 2 ^ r * qentries (length_queryTable_le), so the tree has depthkilianDepth V x ≤ r + ⌈log₂ q⌉(kilianDepth_le). - Communication.
kilianCommunicationcounts the payload bits of a transcript after the statement: the key, the root, the random strings, and for each opening its bit and its path labels. Message framing (theencPair/encListseparators) and the statementxare not counted. For a hash withn-bit digests, an honest transcript at security parameternhas at most2 * n + n * r + n * (q * (1 + (r + ⌈log₂ q⌉) * n))bits (kilianCommunication_honest_le). With logarithmically many random bits and a constant number of queries, as for the verifier of the PCP theorem, this isO(n² · (log₂ |enc x| + 1))(kilianCommunication_honest_le_log).
Verifier time is certified by computableInPolyTime_kilianVerify, assuming a polynomial-time
hash with key-length digests, V.PolyTime enc and logarithmically many random bits. On honest
transcripts, the encoded verifier input has length linear in |enc x| and polynomial in n and
the PCP parameters (length_kilianVerifierInput_honest_le); combining the two under a constant
(or polynomial) query bound yields a single binary multi-tape Turing machine computing
kilianVerify whose step and space counts on every honest transcript are polynomially bounded in
n + |enc x| (computableInTimeAndSpace_kilianVerify_honest_le). The verifier does not truncate
oversized raw messages, so on arbitrary malformed inputs its time is polynomial in the received
encoded input length.
Main definitions #
Cslib.Crypto.kilianOpeningBits,Cslib.Crypto.kilianResponseBits,Cslib.Crypto.kilianCommunication: payload bits of an opening, a response and a transcript.
Main results #
Cslib.Crypto.length_queryTable_le,Cslib.Crypto.kilianDepth_le: size and depth of the committed table.Cslib.Crypto.kilianResponseBits_kilianRespond_le: the honest response.Cslib.Crypto.kilianCommunication_honest_le: honest communication in the PCP parameters.Cslib.Crypto.kilianCommunication_honest_le_log:O(n² · (log₂ |enc x| + 1))bits for logarithmic randomness and constant query complexity.Cslib.Crypto.length_kilianVerifierInput_honest_le: the encoded verifier input of an honest transcript is linear in the statement and polynomial innand the PCP parameters.Cslib.Crypto.computableInTimeAndSpace_kilianVerify_honest_le: machine-level time and space bounds polynomial inn + |enc x|on every honest transcript.
References #
Counting bits #
The payload bits of an opening: its bit and the bits of its path labels.
The payload bits of a response: the bits of all its openings.
The payload bits of a transcript after the statement: the key, the root, the random strings and the response.
The committed table #
The compact table has at most 2 ^ r * q entries for a verifier using r random bits and at
most q queries per random string.
Honest communication #
The honest response is short: for a hash with k.length-bit digests, each of the
ρs.length repetitions sends at most q openings, each of one bit and kilianDepth V x labels of
at most k.length bits.
Honest communication in the PCP parameters: at security parameter n, with an n-bit key,
n random strings of r = V.coins x bits and a hash with n-bit digests, the honest transcript
after the statement has at most 2 * n + n * r + n * (q * (1 + (r + ⌈log₂ q⌉) * n)) bits.
Polylogarithmic communication: for a verifier with at most c * (log₂ |enc x| + 1)
random bits and at most q queries per random string (as the verifier of the PCP theorem has, with
q constant), the honest transcript after the statement has at most
(2 + c + q + q * c + q * ⌈log₂ q⌉) * (n + 1) ^ 2 * (log₂ |enc x| + 1) bits.
The verifier's input #
The honest verifier input is short: on an honest transcript at security parameter n, the
encoded input of kilianVerify (the input of computableInPolyTime_kilianVerify) has length at
most 4 * |enc x| + 6 * n + 6 + 2 * n * (2 * r + 1) + n * (2 * q * B + 1) with
B = 2 * (3 + (r + ⌈log₂ q⌉) * (2 * n + 1)) + 1, linear in the statement and polynomial in n
and the PCP parameters. This is an input-length bound, not a runtime certificate. Combined with
computableInPolyTime_kilianVerify under its polynomial-time hash, digest-length, V.PolyTime
and logarithmic-randomness hypotheses, and a polynomial query bound (constant for the
PCP-theorem verifier), it gives polynomial time in n + |enc x| on honest transcripts.
Honest-transcript verifier runtime and space: under a polynomial-time hash with
key-length digests and a polynomial-time PCP verifier V using O(log |enc x|) coins and at most
q queries per random string, there is a fixed binary multi-tape Turing machine computing
kilianVerify on every KilianView α in polynomial time and space in the encoded view, whose step
and space bounds on every honest transcript at security parameter n are bounded by polynomially
bounded functions of n + |enc x|.