One contribution of [ALS20], building on [LS18], is the observation that polynomial ring elements cannot split into many factors for a short invertible challenge set. More specifically, consider the particular setting of a power-of-two ring from theorem 4.10.1 and theorem 4.10.6.
Let be both power of two, and , then , namely the cyclic subgroup generated by has order .
The case is trivial, as . Henceforth assume .
Since , we write where is odd. As a result,
Since is a power of two, is odd, and hence so is . By , we have
and moreover, . Therefore, has order . ∎
Then theorem 4.10.1 can be updated as follows.
Let and both be powers of two, with . If is prime with , then for distinct primitive roots of unity ,
and each factor is irreducible over .
We also update theorem 4.10.6 as follows.
For pairwise difference of distinct challenges being invertible (to reduce binding to the openings to SIS hardness), we need , and eventually . The following table shows that the polynomial ring cannot split into many irreducible factors without making the modulus too large for computational efficiency.
| Number of factors | Required modulus |
|---|---|
| 4 | |
| 8 | |
| 16 | |
| 32 | |
| 64 |
This gives rise to the question behind [ALS20]: what if the challenge set is not globally invertible, but the probability that a pairwise difference is noninvertible is low, such as ? The goal is a good challenge set even when the ring splits into a large number of irreducible factors.
To describe the splitting in corollary 4.12.2 better, we point out that has a group of automorphisms that is isomorphic to . We write for the cyclotomic automorphism subgroup consisting of the maps for . This group is isomorphic to :
where
| (4.13) | ||||
The group acts transitively on prime ideals in , and every factors through field isomorphisms
Concretely, by automorphism, we have
in , then for ,
The multiplicative subgroup has order by corollary 4.12.2, and any stabilizes the prime ideal , namely
as is a primitive root of unity, then has . The quotient group has order , and since elements in stabilize the prime ideal, we can index the prime ideals by
| (4.14) |
Moreover, for with , has order , and thus has order . Then
| (4.15) |
and therefore
Another way of showing it is, let , since gives , then
| (4.16) |
By , then
where the prime ideals are indexed by .
Consider the distribution for the coefficients in , where each coefficient is over , has probability , and has probability each. Such distribution is the distribution for the challenge set.
Let where the coefficients are i.i.d. Then is identically distributed as for all .
First, for any automorphism , if , then is identically distributed as , as the coefficients of are also i.i.d. over with the same distribution as .
Suppose is a prime ideal in , then as previously discussed,
as has an order , and each NTT component is isomorphic to each other under an automorphism in , then
if induces the isomorphism. Thus, the prime-ideal case for distributional invariance across NTT factors is concluded.
If is not irreducible, then neither is , and both split into the same number of irreducible factors. By the existence of an automorphism inducing an isomorphism from one irreducible factor to the other, we conclude the proof. ∎
Let . We reorder the coefficients of as follows:
Hence, the coefficients of are i.i.d., which can be shown as
| (4.17) |
where each row, namely each coefficient of , is represented by the random variable
and the are i.i.d. according to the distribution. We now present the lemma for the distribution of .
For all ,
Let be the probability mass function. It is a convolution of the following distributions:
for , as . Hence, by Fourier analysis,
By convolution,
By inverse Fourier transform,
∎
By taking advantage of symmetry, we can reduce the number of terms needed to compute the probability upper bound by a factor of .
For all ,
| (4.18) |
Since has order , then . Supposing has order that generates , and , then the cosets of can be represented by . Hence, multiplying any to permutes these elements up to sign. Since cosine is even, then . ∎
Each row can be represented in Horner’s polynomial evaluation form
which can be transformed into a Markov chain: , where follows the distribution.
We recall the assumptions underlying the binding and hiding properties of the commitment scheme in [ALS20].
Let and . An efficient has advantage in solving if
where , the equation is over , and the norm is the coefficient -norm of the whole vector, using centered representatives.
Fix a coefficient distribution over . As before, denotes independent sampling of all coefficients in .
Let . A PPT algorithm has advantage in solving if
All samples within each experiment are independent, and the arithmetic is over .
Following [ALS20], we omit and write and . The BDLOP commitment matrix follows, where and denote the module ranks for MSIS and MLWE, respectively.
For committed ring elements, put . The block structure used in [BLS19] generalizes to
| (4.19) |
where , , and . The instance in [BLS19] has and , and for the instance in [ALS20], the binding and hiding relies on and .
In [ALS20], the public matrix is sampled uniformly with the same dimensions by (for readability). For the hiding property, supposing the first columns form an invertible , such that
then multiplying with yields a MLWE sample , and multiplying with invertible makes the result computationally indistinguishable to a uniform sample, so as to mask the message . The formal argument is the knapsack-MLWE duality, see [EZS+19, Appendix C]. The binding is still reduced to in the same reduction.
Another way of seeing is
where is uniform over invertible , then hiding and binding are still reduced to and .
To commit to , sample and output
An immediate application of the result on the NTT slot coefficient distribution is a distribution over under which the coefficients are sampled i.i.d. over . 232323 A bit flawed construction, elaborate later. Hence, a difference of independently sampled distinct elements is non-invertible with probability at most by union bound.
It is helpful to start from the BDLOP construction, as [ALS20] improves on [BDL+18b] with a challenge set without the property of globally invertible pairwise differences. Regarding the commitment
in the proof of opening, the prover commits to a short masking vector from a discrete Gaussian distribution, sends , the verifier challenges with , the prover replies with , and rejection sampling is used to make statistically close to a discrete Gaussian sample centered at . The verifier checks and .
If has this property, the best [BDL+18b] can extract from the proof of opening is the relaxed opening eq. 4.6.
On one hand, one cannot guarantee that is short after cancelling out from , which can be arbitrarily long.
On the other hand, the binding property should prevent a single commitment from admitting relaxed openings to distinct messages; otherwise, the opening proof would be meaningless.
The binding reduction to the SIS is achieved by the pairwise difference being invertible, see eq. 4.10.
Hence, the best [BDL+18b] can do is the relaxed opening, and uniquely interpolating and out of a pair of forked accepting transcripts. But the scheme cannot guarantee the shortness of and .
In [ALS20], the challenge set is not pairwise difference invertible, so an extractor can obtain a “relaxed opening” from a pair of forked accepting transcripts, but binding is not immediately reducible to SIS, and we cannot uniquely interpolate the prover’s replies and to obtain and , from only a pair of forked accepting transcripts
| (4.20) |
But we can restore the interpolation for and , by piecing together local interpolations over each prime ideal splitting . More specifically, though is not invertible, not all of the CRT slots are zeroed out. Suppose that
where are irreducible polynomial factors, and supposing , then interpolation over the CRT slot gives
and by piecing together the interpolated and over each CRT slot , we have a pair .
Moreover, we will show in the following, for this pair of global interpolations pieced out CRT slot-wise, on every accepting transcript prefixed by , the prover must reply in the degree-1 affine form in eq. 4.20.
If we have, for , a pair of accepting transcripts and for the same commitment, with , then every accepting transcript for that commitment with the same must have that where are fixed independently of , or otherwise we have a solution for , where is a bound for the -norm of the challenges. Moreover, and .
Let be such that . Then fix an arbitrary ,
Cross-multiplying and , then subtracting them, should yield either a solution for , where the norm bound follows from
or it yields
Since , then
namely . Hence, . If it holds for all , then .
The statement for and is immediate by CRT slot-wise local interpolation. ∎
Lemma 4.12.9 is helpful, as it explains that the prover has to reply in the degree-1 form w.r.t. the challenge, and it gives rise to the following augmentation of the relaxed opening, allowing for binding reduction to SIS even if we don’t rely on the pairwise difference invertibility property.
A weak opening for the commitment consists of , and such that for each , , , , and
The key point is to supply pairwise differences of challenges, such that each CRT slot is nonzero, and eventually this allows for binding reduction to SIS, which shows as follows.
The commitment scheme is binding w.r.t. the weak openings if is hard, namely, valid weak openings
with give an solution for .
If , then , and there must be at least one such that . Then
| (4.21) |
which gives a solution for . The derives from and in definition 4.12.10. ∎
Looking back, we can reverse engineer the motivation from [BDL+18b] as follows. Starting from a challenge set that is not globally pairwise difference invertible, then to obtain an augmentation of the relaxed opening, we should collect pairs of forked accepting transcripts starting from the commitment to the masking vector, such that each CRT slot is once nonzero, and we piece out a global interpolation over by local interpolations over . What is different from [BDL+18b] in [ALS20] is that we need to interpolate many times, while in [BDL+18b] one interpolation is sufficient, as in [BDL+18b] is globally pairwise difference invertible. To ensure that the linearity of the prover reply against the short challenge set elements is still preserved, the lemma 4.12.9 shows that the affine form is respected for all accepting transcripts beginning with for the commitment. A good trick in lemma 4.12.9 is, on a reply that does not have the affine form, move all the eccentric parts down to the degree 0 constant , breaking SIS.
With lemma 4.12.9, the form of definition 4.12.10 makes sense, as lemma 4.12.9 rules out the non-linearity in each “relaxed opening” in the weak opening, so is always cancelled out. Finally, the lemma 4.12.11 concludes that the weak opening binds against the commitment by SIS hardness.
All of this effort is necessary because is not pairwise difference invertible, so extraction cannot be done by one pair of forked accepting transcripts, but rather interpolations over multiple pairs. The weak opening enables binding reduction to SIS by providing whose CRT slot is non-zero, and lemma 4.12.9 rules out all other forms of extracted openings by showing the uniqueness of the line.
The analysis in [ALS20] has some interesting reasoning for a larger challenge set: Suppose the challenge set is globally pairwise difference invertible, and is full splitting. Fix a CRT slot, there are distinct values on that CRT slot, and for the challenge set , by the pigeonhole principle, there are at most challenges in , or otherwise there exists collision on the CRT slot, then the pairwise difference is not always invertible. Hence, the soundness is at best . Even when splits into a few low-degree factors, we cannot quantify the exact size of such globally pairwise difference invertible .
Now I should explain why footnote 23 does not work out of the box. Indeed, if , then the coefficients of are i.i.d. with and . Yet it does not mean the anti-concentration bound in eq. 4.18 can be immediately applied here, whose coefficient probability is , such that the knowledge soundness is . Looking closely, let be the random variables for the coefficient in the CRT slot of , then
The last equality holds from eq. 4.18, where the inequality is equality when for the distribution of . Hence
and hence the knowledge soundness induced by the challenge set over is no longer but rather , as the maximum point probability of a coefficient in the CRT slot of is at most the square root of the anti-concentration bound formed for the symmetric distribution.
Now we construct a BDLOP in the ring automorphism settings. By changing the challenge set distribution, say [LS18], to the distribution defined previously over , where distribution for each coefficient is i.i.d., and , then let be the maximum probability in eq. 4.18, then the knowledge soundness should be . More specifically, if the prover convinces the verifier with probability , we obtain the first accepting transcript on challenge in expected time, then for another challenge ,
the convincing probability on is at least , and the extractor runs in expected polynomial time if is .
If is not negligible, we can run copies of the protocol in parallel, and reduce the soundness down to . To achieve this in a 3-move Sigma protocol, they challenge with and its automorphisms. I suppose the observation stems from: for a sampled over , a coefficient in a coarse ideal takes on a value with probability at most by eq. 4.18 242424 Here the is not defined for but for . . Recall that stabilizes the ideal , such that
| (4.22) |
by eqs. 4.15 and 4.16, such that if , then any of , and any of the CRT slot under the coarse CRT factor is at least once non-zero in the automorphisms.
The construction is then immediate. Sample random masking elements and commit to them, then the verifier replies with the challenge , and the prover replies with under rejection sampling. If the prover runs in unit time and convinces the verifier with probability , then the extraction takes
expected time, as sampling
The first accepting transcript with challenge takes expected time.
An accepting transcript with challenge with takes expected time.
We begin with a rudimentary product proof using random masking elements. For
| (4.23) |
the relation to be proved is . The strawman solution in [ALS20] is by
| (4.24) |
that is committing to random masking polynomials and garbage terms. The invariant is the masked relation
| (4.25) |
after a challenge from the verifier. More specifically, for the masked openings
we can prove that commits to . The verifier can then check eq. 4.25 by seeing if commits to
such that the quadratic relation is checked linearly over committed elements, and the desired product relation is the vanishing of its degree-2 coefficient. Essentially, the masking technique is used in [BLS19, YAZ+19], where a product proof appears inside a shortness proof.
We now put things together conceptually as follows. Suppose the prover knows an opening for the commitment in eq. 4.23:
The prover commits to the masked terms and garbage terms in eq. 4.24.
The verifier replies with a uniformly random challenge .
The prover replies with masked openings .
Moreover, it commits to the masking randomness and by
and sends over , and 252525 Recall the proving linear relation over elements in BDLOP abstracted in note for [ALS20]. .
The verifier replies with a short challenge .
The prover runs rejection sampling, and replies
The verifier checks and are short,
and checks the quadratic masked relation eq. 4.25 by ensuring commits to 0 by
Regardless of the proof size, there is a catch regarding the knowledge soundness: should be pairwise difference invertible, which falls back the prior discussion of the challenge set construction 262626 Suppose the polynomial ring splits completely. The knowledge soundness will be at best by the pigeonhole principle. , and reusing the same masks for different breaks zero knowledge.
An observation to the prior product proof from masked opening is, the values provide unconditional statistical hiding. We have
such that is the computationally indistinguishable mask, and the masked relation in eq. 4.25 converts to
| (4.26) |
With one garbage term to commit to (and sending out claim ), the new construction can be more efficient. Hence, the masked openings are inherent in the -protocol.
The protocol so far works as follows:
The prover commits to the masking randomness , the message and the garbage term
and derives the claim .
The verifier challenges with .
The prover runs rejection sampling and replies with .
The verifier checks that is short and that
where is the new computationally indistinguishable masked opening.
After the strawman construction of the product proof, we pointed out the knowledge soundness issue from uniformly random , and the same issue remains in the computationally indistinguishable masked opening, which is challenged by .
The prior structured parallel repetition using automorphisms becomes handy, and it is a good time to recap here. Before the “automorphism repetition”, the malicious prover can cheat by, say, if is correct except at the CRT slot, then there must exist and satisfying
for , and is non-zero only at the CRT slot, such that for , and hence .
Supposing the prover guessed the challenge’s CRT lane is , let be the lifted element of such that it is only non-zero at the CRT lane, and the forging follows:
The prover samples the masking randomness, and sends out .
The verifier challenges with an element such that .
The prover runs rejection sampling and replies with .
The forged proof still goes through by
The trick is to compensate by the right amount of if the prover guesses the relevant part of correctly, as has a deficit of relative to .
Moving to the “automorphism repetition”, for a CRT slot determined by , instead of being tested by a single challenge , it is tested by challenges deriving from
| (4.27) |
Suppose any one of the small CRT slots under 272727See eq. 4.22. is incorrect in , the malicious prover needs to guess , and forge across the repetitions at the corresponding slots with the same algorithm. The guessing probability is at most the knowledge-soundness bound .
We can view the proof of as proving
for each , simultaneously for CRT slots. With the same motivation, the vanilla product proof testing eq. 4.26 only suffices for non-negligible soundness, as a CRT slot of the message is tested with a single CRT slot of the challenge, instead of being tested times by eq. 4.27.
To build up the intuition, consider the vanilla product proof for eq. 4.26, and suppose is nonzero only at the CRT slot. For simplicity, we write , and the malicious prover guesses by adding an element to the claim , such that is only nonzero at the CRT slot, then
| (4.28) |
has at most 2 roots for the CRT slot, and thus the guessing probability is at most by a union bound.
Now the genuine question is how to implement “automorphism repetition” for the product proof using eq. 4.26. Consider a product proof utilizing the “automorphism parallelism” that uses the challenge and its automorphisms but separates the claims and commitments to the garbage terms as follows:
The prover commits to the masking randomness for , the message commitment
and the garbage terms and the claims for by
The verifier challenges with .
The prover runs rejection sampling and replies with .
The verifier checks that is short and that
where, for ,
Again, let be nonzero only at one of the fine CRT slots under . By eq. 4.28, for one forgery of the claim , the quadratic constraint admits at most 2 roots modulo the fine CRT slot, then by eq. 4.27, forging the claims for the nonzero CRT slot gives at most roots modulo , namely, in each repetition, a forgery on the CRT slot admits 2 roots for . Hence, at most values of can make the CRT slots across repetitions vanish simultaneously.
Note that in the degree-2 setting, the malicious prover can take advantage of the higher degree: it does not have to guess the exact , but instead can guess among values. The resulting guessing probability is at most .
The repetition over automorphisms provides a concrete benefit. In fact, for the prior construction utilizing the automorphism repetition, where commits to the garbage terms, and are the claims, using a set of independent challenges still suffices, and the independence makes it easier to reason about the soundness.
This is surely better than the strawman construction regarding the concrete proof size, yet the structural nature of the automorphism is absent. Recalling the automorphism in eq. 4.13, consider an inverse such that
then for eq. 4.28 and eq. 4.26, we can “inverse rotate” from
to
such that for , the automorphisms are aligned back to the original . This structure allows us to combine claims and garbage commitments into one through a random linear combination.
Let be sampled uniformly over . Then the garbage-term commitment and the claim are
| (4.29) |
for the combined statement
| (4.30) |
The final protocol follows:
The prover commits to the masking randomness for , the message commitment
The verifier replies with the uniform randomness .
The prover derives and in eq. 4.29 and replies.
The verifier challenges with .
The prover runs rejection sampling and replies with .
The verifier checks that is short, that , and
where .
Now supposing a CRT slot is nonzero for , then the automorphisms
are all nonzero. For the combined statement eq. 4.30, we analyze the number of CRT slots under
are nonzero, and analyze the guessing probability of a malicious prover.
If the CRT slots are all nonzero, then it follows exactly from my version of the product proof without utilizing automorphism well, namely the guessing probability is at most , as takes on at most values.
If of the CRT slots are zero, then on a set of slots being zeroed out by the randomness, takes on at most values.
Hence, the guessing probability is at most
| (4.31) |
Moreover, to batch multiple product relations, it suffices to have
namely, to take a random linear combination with over .
The observation is, if there exists nonzero , under the chosen coarse slot containing nonzero error, for each of the CRT slots, random linear combination over independent vanishes with probability at most by Schwartz-Zippel, and the randomness of each slot is independent, so the soundness in eq. 4.31 does not change.