The role of splitting is different in [LS18] and [BLS19]. In [LS18], the NTT coordinates are used to argue that short nonzero elements cannot vanish in any coordinate, and hence are invertible. In [BLS19], we instead use the fully splitting case to expose the witness coordinates themselves: after the NTT, the ternary condition on is equivalent to the single ring identity . The remaining issue is no longer ring splitting, but how to enforce this identity together with inside an exact proof of knowledge. In our case, is a power-of-2 fully splitting cyclotomic ring by , , and , so .
The starting exact relation is to prove knowledge of a short vector such that
We focus on . For whose NTT representation is , the ternary constraint is equivalent to
| (4.4) |
and the “shortness” check is turned into an algebraic identity over a fully splitting ring. This is how exact shortness is proved without falling back to a coordinate-wise combinatorial argument.
We start from the Commit-and-Open Sigma-Protocol, which originated from [Lyu12], and was explicitly constructed in [BDL+18b] for the approximate argument of knowledge for the commitment opening.
Since we cannot challenge with short invertible ring elements, as is incompatible with the challenge applied through the polynomial product. Going down the path, for the knowledge soundness of the Sigma-Protocol, the challenge has to be from for a sufficiently large challenge set. Yet, given that the new challenge set is , the norm of can be arbitrary, and the masking message has to be uniformly random. Again, this violates the commitment binding in the Commit-and-Open Sigma-Protocol, where as the Ajtai commitment has to bind to pin down the masking against the random oracle.
Looking closely, in previous approximate arguments of knowledge [BBC+18a, BDL+18b], simultaneously takes over the role of the statement, and the binding commitment that binds the masking message and the last opening. The dual roles enforce that the masking and opening have to be short, or otherwise Ajtai will not bind.
In [BLS19], the role of binding commitment is lifted from , and moved to a lattice-based commitment scheme that binds arbitrary messages, such that the canonical representations and are committed and pinned to the random oracle. In this way, is treated as more of a linear system of the relation to be proved, rather than a commitment scheme that instantiates a Commit-and-Open Sigma-Protocol. The lifting of the binding role allows the challenge to be uniformly random over , and the masking for to be uniformly random over .
Ajtai commitment [Ajt96] has been great as a compressing commitment, when the message is short. The binding and extractability hold by the SIS hardness assumption. However in our scenario, the NTT representation is short for the message to be committed, but not the canonical form of the message itself. Hence, we need a commitment that lets us manipulate arbitrary ring messages algebraically and homomorphically, while preserving hiding, binding, and extractability.
Now consider a commitment satisfying the requirements above, though it is not compressing like Ajtai commitment. The vanilla BDLOP commitment [BDL+18b] is constructed as follows. For , write
| (4.5) |
The public parameter is a pair of matrices:
Equivalently, the commitment map is defined by the vertical stack
On message , sample short randomness and output
Thus the message is added only to the lower coordinates, while both coordinates are still linear functions of the same short randomness . The relaxed opening form used in the proof system allows an extracted scalar from the challenge set:
| (4.6) |
where the honest opening has and remains short. This identity-block form is what makes opening proofs compact: the prover can prove knowledge of a short for the top part and recover the message from the lower part.
Given , find a nonzero vector such that
This is exactly the Module-SIS hardness assumption where is in Hermite Normal Form.
Given , distinguish
from for uniform . This is equivalent to the Module-LWE hardness assumption, when the number of samples is limited, namely for a limited number of MLWE samples sharing the same secret.
The hiding reduction is to : if is computationally (or statistically) indistinguishable from uniform, then adding does not reveal . The binding reduction is to for the top block : two different short relaxed openings give a nonzero vector of the form with .
Now back to the [BLS19]. The challenge set is defined by
| (4.7) |
such that . The challenge-difference set is , and every element in is invertible: Since is fully splitting, then
where is the primitive root of unity. Each has for all , and is zeroed out iff . Hence, all of the CRT slots are nonzero, and they are invertible. Differences involving are of form , which are units in and are invertible.
Moreover, for every and , multiplication by increases the coefficient -norm by at most a factor of :
| (4.8) |
One thing to note: the -norm in [BLS19] is the canonical embedding -norm, while the -norm is the coefficient -norm. The canonical embedding -norm is the -norm for the eq. 4.1, which was shown in [LS18]. In our power-of-two cyclotomic ring, we have
where here is the primitive complex root of unity, namely , as was written in eq. 4.2.
An efficient algorithm has advantage in solving if
where and the zero-equation is evaluated in , and is the coefficient -norm.
Fix a distribution over . We write for the distribution over , where a sample is obtained by sampling coefficients independently from , and denotes the corresponding distribution over . In the instantiation of [BLS19], the distribution is over , outputting with probability each, and with probability .
Let . An efficient algorithm has advantage in solving if
The problem is hard if every efficient algorithm has only negligible advantage.
The BDLOP commitment is specialized to commit to , and the public parameter is a matrix of the form
This is the same identity-block idea as vanilla BDLOP, but with one top coordinate and four message coordinates. To commit to , sample short randomness from the error distribution and output
For , let , and . The discrete Gaussian centered at is
| (4.9) |
When , we write .
The relaxed opening relation from extractor is
where is either from the challenge-difference set , or for an honest opening. needs to be short, written as , with .
A short invertible element itself cannot give knowledge with relaxed norm bounds, not even the exact knowledge. Its role is more of, so long as the elements in the challenge-difference are invertible, we can reduce binding to the hardness assumptions like SIS.
After the first definition of binding by definition 4.8.1, we define the property again as follows.
A commitment scheme is -binding if for all efficient ,
For [BDL+18b], the is a relaxed opening proof. Supposing we have a pair of relaxed openings satisfying
with , then cancelling out term, we have
| (4.10) |
separating by the vertical stack
It is that being invertible, ensuring , or otherwise the product with a non-invertible ring element may be 0. Given that , reducing to the SIS hardness of .
For [Ajt96], recall definition 4.8.4, write as the commitment key, as the message and randomness, and as the Ajtai commitment. Deriving from the same Sigma-Protocol in [Lyu12], a relaxed opening proof from extraction must satisfy
where the honest opening has .
If the same commitment is opened with , then for with , we immediately reduce binding to SIS hardness assumption; or otherwise without invertibility the existence of an SIS solution when is hard to reason (say an entry of is 0 while the same entry in is non-zero but annihilated). Again, the preservation of non-zeroness by invertible elements helps with the hardness reduction.
To sum up, the short invertible elements in the relaxed opening ensure the binding reduction, but do not directly give knowledge soundness.
For [BLS19], the relation to prove is , where each entry in is within . In the prior Commit-and-Open Sigma-Protocol attempt based on previous approximate arguments of knowledge, we lifted the role of the binding commitment from . My ill-contrived question is now: if is not a strong Ajtai instance, can we still have zero knowledge for arbitrary , unlike in previous works such as [BBC+18a, BLN+20, BDL+18b]?
I started by considering an extreme case where is an identity matrix. Then , and the random masking is sent in the clear. An honest-but-curious verifier can remove from , which is the third move of the Sigma-Protocol proposed by modifying the original opening protocol in [BDL+18b] (ignoring the BDLOP commitment for now), and derive the witness .
On the other hand, such an accepting transcript is totally simulatable! Still ignoring the BDLOP part,
an accepting transcript contains the first message of the masking through the linear system, the second challenge , which is uniformly random over , and the third response ;
a simulated transcript first samples the third response uniformly at random and then samples the challenge ; the first masking through can be simulated by .
Both the second and third messages are uniformly distributed. The first masking in a real accepting transcript is uniform over (uniformly random over the whole codomain if has full row rank), which is determined by the distribution of , while in the simulated transcript, the distribution of is determined by and , which are both uniformly random, and as HVZK is defined for a valid statement. Then , where , so the first masking is also simulatable as part of the joint transcript distribution. Generalizing from , simulatability holds regardless of .
So what exactly does HVZK really say? Literally, HVZK says that an honestly generated accepting transcript, where the prover holds the witness and the statement is public, is computationally or statistically close to a simulated transcript generated using only the statement. Now let be the honestly generated accepting transcript, be the simulated transcript, be an efficient algorithm attempting to recover the witness from the transcript, and
can be computed efficiently because membership in the NP relation can be checked efficiently and is efficient. If HVZK is computational, then let be an efficient distinguisher, hence
| (4.11) |
If HVZK is statistical, then eq. 4.11 follows from the statistical distance being negligible. Let be an algorithm that samples from the simulator and runs . Since the simulator is efficient, is efficient. Then by eq. 4.11,
or equivalently
In this way, HVZK can be interpreted as, it does not give one more advantage in finding the witness for the statement, with or without an honestly generated accepting transcript. But ZK is irrelevant to being a hard instance or not. If the problem is easy, then the problem is in P, and there is no witness to hide.
Thus, any efficient witness-recovery advantage obtained from the honest verifier’s view could already be obtained from the public statement alone. If the relation is hard, no such non-negligible advantage can exist, and the witness hiding against an honest verifier follows from HVZK and the hardness of the relation 212121This is an honest-verifier analogue of the witness-hiding interpretation introduced by [FS90]. Their formal definition is distributional and applies to potentially malicious verifiers, whereas the present conclusion follows only for the honest verifier from HVZK.. See also [Dam10].
In our particular setting, if is sampled from a hard ISIS instance distribution, then finding from in the transcript for short is at least as hard as solving the ISIS instance; namely, efficient recovery of the masking value would give an efficient solver for the ISIS relation.
Henceforth, we let the statement be sampled from a hard ISIS instance distribution for witness privacy.
Recall the construction of the first Sigma-Protocol attempt without BDLOP:
The prover sends out , where is uniformly random.
The verifier challenges the prover by sending .
The prover replies with .
It is definitely flawed, a malicious prover who does not know can send out the first masking at random, and on verifier replies with , find an arbitrary image such that , where in statement.
Starting from the approximate argument similar to [BDL+18b, Lyu12]. For HVZK, namely the accepting transcript is simulatable, the first message for the masking randomness should be simulatable in the joint distribution of the transcript, or otherwise supposing the accepting transcript whose first message being raw masking randomness is efficiently simulatable, then such efficient simulator can be used to solve the statement, which is a hard ISIS instance, and it does not make sense. By contradiction, the first message to be sent out should be “hiding”.
On the other hand, one could have just sent over the raw masking randomness to the RO, and let the RO decide which challenge to send back. But due to the goal of reaching ZK, one has to use a (cryptographic) object in between the masking randomness and the RO. Intuitively, one should pin the masking randomness against the RO, such that the challenge is decided and fixed after the RO absorbs the first message, and the represented masking randomness.
Since the RO itself cannot guarantee what value the first message represents, we need the “binding” property, which says it is computationally/statistically hard to find different preimages that lead to the same message. With such property, an efficient knowledge extractor can extract (relaxed) knowledge of the witness from a pair of forked transcripts from the first message, or otherwise a malicious prover can provide “branch-dependent” decompositions, say and , so rewinding does not give valid witness. Binding removes the possibility to equivocate, and makes it possible for extraction from rewinding.
With the property of binding and hiding, we introduce the notion of commitment.
In the vanilla approximate arguments such as [BDL+18b, Lyu12], stopping at the third move is sufficient. It has to be either breaking the SIS hardness assumption, with probability at most , or the malicious prover prepares a forged commitment to the masking randomness, and a forged response short , such that the challenge happens to satisfy , with probability at most . That sums up to be the knowledge soundness, and it suffices to stop at the third move as the binding property allows for rewinding for knowledge extraction.
For the current protocol [BLS19], the same argument no longer applies. The masking randomness is not pinned to the RO, even if stands for an Ajtai commitment, it will not bind for a message with unbounded length. Moreover, on the third response, in the previous protocols [BDL+18b, Lyu12], it suffices to use binding of short messages to stop there, while in [BLS19], the norm is arbitrary, so we will resort to proving the linear relation , let alone proving the shortness of .
Quickly recap what we have here, so after the first Sigma-Protocol, we transformed the problem into proving the linear relation , where is in the third move prover response, while is the masking randomness, and is the witness. Finally, we also need to prove the shortness of in the statement.
Deriving from the protocol for linear relation in [BDL+18b], we consider an adaptation here in the and settings to prove the linear relation of the committed elements.
Let be a BDLOP commitment public parameter, and be the message, then
is the commitment to , where .
Let be a linear function of whose total degree is at most 1, be the row of , and . Then is defined for statement
The prover samples , and sends over
The verifier samples , where is the short challenge set, and sends over .
The prover runs reject sampling, and outputs .
The verifier checks being short, and the following equality holds
Moreover, the linear relation scheme can be extended to multiple linear functions.
We now piece and the first Sigma-Protocol attempt together for the construction of the argument system just to prove the reduced statement without the norm check.
Here we let be the masking randomness, which used to be represented by . We use for the BDLOP commitment public parameter, such that we commit to and .
The prover sends out , where is uniformly random. Moreover, the prover samples , commits
and sends over to the verifier.
The verifier challenges the prover by sending .
The prover replies with , and starts by:
The prover samples , let , and sends over
The verifier samples , where is the short challenge set, and sends over .
The prover runs reject sampling, and outputs .
The verifier checks that and that the following equality holds:
and holds.
To adapt the previous NTT shortness check in eq. 4.4 for , we have
To prove the degree-3 evaluation over , the trivial way is to use to prove the commitments to , , and satisfy the linear relation over coefficients , then the public parameter should be .
One optimization in [BLS19] is to reuse the commitment to , such that the linear relation to be done is over , while should be multiplying 0, and
Either way is fine, but this allows for committing to only 4 elements, and the public parameter is decreased to .
We now present the final construction, and we use for the BDLOP public parameter, such that we commit to , , , and .
The prover sends out , where is uniformly at random. Moreover, the prover samples , commits
and sends over to the verifier.
The verifier challenges the prover by sending .
The prover replies with , and starts by:
The prover samples , let
and sends over
The verifier samples , where is the short challenge set, and sends over .
The prover runs reject sampling, and outputs .
The verifier checks being short, the following equality holds
and holds.
We let be the convincing probability of the prover, so the prover generates an accepting transcript in expected steps. The knowledge extraction process is similar to that in [BLN+20], where one needs distinct challenges because there is a degree-2 polynomial over in the shortness check, and the last step is an adaptation of the BDLOP proof of a linear relation, for each , by [BDL+18b], we need 2 distinct for a relaxed opening, and therefore in total we need 6 accepting transcripts forked in 3 by 2.
We begin by bounding the expected runtime of the extractor, where the “heavy-row” argument [Dam10] is used in a similar way as [BBC+18a, BLN+20]. If the probability of convincing is , consider all transcripts indexed by the first challenge and the second challenge , in a 0-1 matrix.
Start with the first pair of accepting transcripts decided by . A “heavy row” indexed by challenge is a row with entries being 1 of fraction at least , then by the “heavy-row” argument in [Dam10], the first accepting transcript is on a heavy row with probability at least . Conditioned that the first accepting transcript is on a heavy row, the second accepting transcript is obtained with probability at least , as . Hence, the expected runtime for the first pair is
The second pair of accepting transcripts is similar: The first of them is obtained with probability at least as , then let the heavy row with entries being 1 of fraction at least , then the first of them lands on a heavy row with probability at least , and conditioned that, the second of them is obtained with probability at least . Hence, the expected runtime for the second pair is
Hence, conditioned on all three pairs being on heavy rows, occurring with probability at least , the expected runtime is at most
and we cap the runtime of the extractor at . By Markov’s inequality, finding 3 pairs of accepting transcripts in steps succeeds with probability at least (conditioned that all are on heavy rows, the probability is at least by Markov’s inequality, then is immediate). Restarting after failure thus gives expected runtime at most 222222[BLS19] states , apparently omitting the factor from the timeout..
For , let , and be the relaxed-opening randomness obtained by taking the difference of the two masked responses. The difference is invertible over by , as are distinct. The two transcripts have the same , , and three masking terms. Subtracting their three verification equations cancels the common masking terms and gives a branch-specific pair of linear functions. Namely, let
with the corresponding rows
The subtraction is then written in the same matrix form as the masked BDLOP opening:
Define the extracted messages by
The first row of this equation and these definitions give the relaxed opening
If two outer branches yield different messages, the two relaxed openings break binding and give an solution. Otherwise, all three branches open to fixed messages that are independent of .
The second row of the matrix equation then gives
| (4.12) |
while the third row gives
Substituting eq. 4.12 into the definition of gives
substituting this expression for , together with the expression for in eq. 4.12, into the third-row equation yields a degree-2 polynomial in whose leading coefficient is
The polynomial vanishes at the three distinct points . The corresponding Vandermonde matrix is invertible over , hence also over , and therefore
Applying the NTT shows that .
Finally, subtracting the outer verification equations for two distinct challenges gives
By eq. 4.12, . Since is invertible in , we conclude that
Therefore, the extractor outputs an exact witness , or it produces an solution.
Following [BG93, Dam10], the knowledge error can be viewed as an upper bound on the acceptance probability that does not yet force extractable knowledge. Informally, it is the best convincing probability that the analysis permits for a prover that does not know a correct witness. If the prover goes beyond this threshold, the extractor can take a witness out of its behavior. This interpretation does not assert that a prover without a witness can actually attain : the bound need not be tight, and a particular prover may do strictly worse.
For comparison, in a flat protocol with a uniform challenge set of size , if any distinct accepting branches from the same prefix suffice for extraction, then at most branches may remain non-extractable, giving . Thus two-branch extraction gives , while three-branch extraction gives . This is only the flat intuition: the extractor above requires a nested -by- challenge tree.
For the current protocol, let
When obtaining the third pair of transcripts, excluding the two previously used outer challenges loses at most of the acceptance probability. On a heavy row, the acceptance probability for the second challenge is therefore at least one half of . Excluding the previously used second challenge then leaves probability at least
for obtaining the required inner fork. Hence makes every denominator in the extraction above positive, and the heavy-row argument of [Dam10] finds the nested challenge tree in expected time .
The extractor then outputs either an exact witness satisfying , or an solution. Under the hardness assumption, the latter event is negligible. This realizes the Bellare-Goldreich interpretation: acceptance beyond by a non-negligible gap yields extractable knowledge, with the inverse gap governing the expected extraction time.
All norms in this paragraph are coefficient -norms. Let , where and . Since defined in eq. 4.7, it does not increase the coefficient norm. Moreover, is a sum of independent Bernoulli trials with success probability . Hence, for ,
by Chernoff’s bound. Choose so that the failure probability is at most , and choose .
For , the uncorrected response is distributed according to , centered at rather than . The prover accepts this response with probability
By the rejection-sampling lemma of [Lyu12, BLS19], acceptance occurs with probability at least . Conditioned on acceptance, the joint distribution of is within statistical distance of independently sampling as above and . Thus the accepted response is statistically close to a zero-centered Gaussian independent of the shift .
Finally, by [Ban93], over , the Gaussian tail bound gives
We therefore set . An accepted response fails the verifier’s norm check with probability at most
Upon rejection, the prover aborts and restarts with fresh randomness, so an honest execution succeeds with probability approximately per attempt.