One of the motivations of [LNP22] is that, the prior works [BLS19, ENS20] for restrict each entry of being over , and thus committing the , which can be arbitrarily long, can be expensive with [BDL+18b]. If we want to work with with larger -norm, then more garbage terms are needed in the commitment.
The question they asked was: Is NTT packing all that necessary, as both concrete efficiency and communication complexity can be improved if no NTT packing is involved. In [LNP22], the encoding over CRT slots [BLS19, ALS20, ENS20] is not used, messages are committed in coefficient form. In this case, is not necessarily fully splitting.
There are many ways to construct challenge sets for the :
In [LS18], the corollary 4.12.3 gives a short challenge set, such that all nonzero pairwise differences are invertible, but by corollaries 4.12.2 and 4.12.3, the modulus grows with the number of splitting factors and the norm bound of the set of short elements, and some computation is in table 4.12.1;
In [ALS20], the anti-concentration lemma 4.12.5 gives the max point probability of a CRT slot, and the probability for pairwise difference being non-invertible is upper bounded by a union bound. The extractor can extract CRT slot by slot, so it is not required to be globally pairwise difference invertible.
In [LNP22], they found another set of elements in that is invertible.
By corollary 4.12.2, let be a prime, then any nonzero such that is invertible.
By corollary 4.12.2, if is a prime, then
being the primitive root of unity, splitting 2 irreducible factors. Since , then satisfying elements are
as any satisfies . Hence, for each factor , we have
We claim at least one of and is nonzero, given that at least one of is nonzero: Supposing , then . The case for and is the same idea.
Hence, a nonzero is nonzero at both factors if . ∎
The lemma 4.14.1 can be applied to the , where , and , with all are primes, then , and thus each splits into 2 irreducible factors. Hence, any nonzero satisfying and , is invertible.
The short invertible set of elements from lemma 4.14.1 shares a similar vibe to [LS18]. The similarity is generally “If it is just too short, it will not wrap around in any of the CRT slots”.
The current one finds a pattern of invertibility that applies to any splitting into 2 irreducible factors in the above setting, then any nonzero such that , that is shorter than in -norm is invertible, as the coefficient representations within can remain the same for all where .
The [LS18] one is, considering , then for the ideal lattice , if nonzero is shorter than in -norm, then cannot belong to the CRT kernel lattice .
Now we move on and consider the norm growth when multiplying with challenge set elements, namely we want to bound . The main idea of the next lemma is to upper bound the operator norm of , such that
Let and , then for any power-of-two , we have
We first write , then
| (4.49) |
where the last equality holds by squaring up and summing up all entries in , then by eq. 4.49, is positive semidefinite. By the spectral theorem, has an orthonormal eigenbasis, that eigenvectors are mutually perpendicular and of -norm being 1. Hence, for with ,
| (4.50) |
and by the ,
| (4.51) |
Therefore, conditioned that eq. 4.51, we have
where the third equality holds by eq. 4.51. Moreover, continuing from eq. 4.50, we finish eq. 4.49 by
where the last equality holds by the positive semidefiniteness of , such that each is nonnegative. Continuing on, since is positive semidefinite, then as is diagonal symmetric, then
For , another observation for is,
and therefore by triangle inequality,
| (4.52) |
Hence, for with and coefficients over , by operator norm eq. 4.49, . The rest is immediate by the fact that , then
and by induction,
∎
Moreover, by eq. 4.52, we have , then is monotonically nonincreasing by
On the other hand, by Cauchy-Schwartz, , then
where the second inequality holds by letting the rotational matrix multiplying against .
Therefore,
and the upper bound by lemma 4.14.2 is monotonically nonincreasing, and is approaching the operator norm .
Given lemma 4.14.2 as an estimation for the operator norm of , we construct the challenge set defined over the elements specified by lemma 4.14.1, that for a power-of-two ,
| (4.53) |
where for , and is defined in eq. 4.5, that . Eventually, the goal is to make the -norm of challenges to be bounded by , and estimate , such that .
We haven’t get to the extended MLWE from [LNS21], so we use the vanilla rejection sampling from [Lyu12] throughout this note. In [LNP22], the masking randomness for [BDL+18b] and [Ajt96] is sampled over a Gaussian distribution, and the next lemma help describe the concentration property of a sample.
Let , then for ,
In [LNP22], the lemma 4.14.3 is parameterized with , then
We continue on describing the rejection sampling from the same algorithm in [Lyu12], but parameterized differently from [BLS19]. The key idea is using the outputting probability threshold by [Lyu12] for where
| (4.54) |
where is defined in eq. 4.9, and since we are working over Gaussian distributions, the equality holds. Moreover, over ,
| (4.55) |
then the threshold eq. 4.54 uses the left term with overwhelming probability: The is chosen by , then
| (4.56) |
(if , then ), and the second inequality holds with overwhelming probability by Lemma 4.3 of [Lyu12]:
thus eq. 4.55 holds, the accepting probability is at least , and conditioned on the sample’s acceptance, the statistical distance of the real distribution is within against the simulated distribution.
Consider combining Ajtai [Ajt96] and BDLOP [BDL+18b] together, then we have ABDLOP commitment [LNP22]. Recall eq. 4.19, where the commitment key is over :
Binding is reduced to .
Hiding is reduced to , where commitment randomness is drawn from distribution .
Onwards, we use to denote the length of the Ajtai message, and to denote the length of the BDLOP randomness. The combination is done by stacking an Ajtai commitment to the SIS part in the BDLOP commitment:
such that binding is reduced to , while hiding is reduced to .
Assume and . By from lemma 4.14.2, the -norm bound for the centering shifts are and . Choose , and thus and in eq. 4.56.
Combining the proof of opening for Ajtai [Ajt96] and [BDL+18b], a three move ABDLOP proof of opening follows:
The prover samples and , and sends over .
The verifier challenges by defined in eq. 4.53.
The prover runs rejection sampling, and replies and .
The verifier checks shortness , , and
For MSIS hardness reduction for binding, the concrete parameter instantiated is . Similar to eqs. 4.10 and 4.21, supposing we have a pair of accepting and , then let , , and , an extracted relaxed opening has , such that
| (4.57) |
where the term . Given relaxed openings and , that at least one of and is true, then
which gives a solution to the MSIS instance in either case. Since for ,
and by lemma 4.14.2, for a , thus , which concludes the proof for derivation.
Now consider a linear relation proof over . Consider instantiating from just Ajtai commitment for .
The prover samples and sends over and .
The verifier challenges by defined in eq. 4.53.
The prover runs rejection sampling, and replies .
The verifier checks shortness and
Continuing on, consider the BDLOP commitment for , which is basically .
The prover samples and sends over and .
The verifier challenges by defined in eq. 4.53.
The prover runs rejection sampling, and replies .
The verifier checks shortness and
Hence, we can somehow merge them together for the statement by
The prover samples , and sends over and .
The verifier challenges by defined in eq. 4.53.
The prover runs rejection sampling, and replies and .
The verifier checks shortness , , and
Hence, a relaxed opening satisfies eq. 4.57, , , and
Now from the linear relation proof over , consider the linear relation proof over . Consider the inner product performed over the coefficients of polynomial ring via automorphism , that the constant coefficient of is the inner product of coefficients in and , allowing for encoding the linear relation over the coefficients: . Augmenting the BDLOP message for maskings like [ENS20] by
where are the masking terms. Start by proving with the for in ABDLOP, with a single repetition:
The prover commits by , and sends over.
The verifier challenges by sampling .
The prover replies , and starts the with ABDLOP for by
The prover samples , and replies
The verifier challenges by defined in eq. 4.53.
The prover runs rejection sampling, and replies and .
The verifier checks shortness , ,
and the constant term satisfies .
For multiple linear relations, apply random linear combination over under the same mask , with soundness , say any CRT slot under the split by is wrong, the uniformly random challenges that are independently sampled can fix up that slot with probability at most by Schwartz-Zippel. The random linear combination over multiple linear relations is similar to the style in [ALS20] for multiple product relations.
When repetitions are greater than once, a straightforward way is to make exactly the number of repetitions. But a closer observation would be, given that at least has 2 automorphisms, we can use the automorphism filtering from [ENS20], such that a masking can hold 2 repetitions by .
We show by 1 linear relation with 2 challenges setting:
The prover commits by , and sends over.
The verifier challenges by sampling .
The verifier checks shortness , , automorphism filtering checks for :
holds for each , and the constant term satisfies .
Now also consider for quadratic relation proof over ABDLOP, extending from [ALS20]. Considering the quadratic relation proof over BDLOP by the computationally indistinguishable masking in eq. 4.26, the quadratic relation can be extended to arbitrary pair of subset sums of the BDLOP messages by
| (4.58) |
where the computationally indistinguishible masked opening, and . Continuing on, consider the linear terms and the constant terms, we have the relation
| (4.59) |
the corresponding masked opening should give
| (4.60) |
such that the degree-1 term is the additional garbage term to commit.
Now we consider the Ajtai part. Instead of the computationally indistinguishable opening , we have statistically indistinguishable opening . Hence, the computation structure in eqs. 4.60 and 4.58 remains if we combine the masks by
| (4.61) |
and , then eq. 4.60 becomes
such that the degree-1 term is the additional garbage term to commit.
Hence, a prototype for quadratic relation over ABDLOP commitment scheme follows:
The prover samples , , commits to by , and replies
The verifier challenges by defined in eq. 4.53.
The prover runs rejection sampling, and replies and .
The verifier checks shortness , , derives and
and checks by
Addtionally, noticing the challenges from has , then the quadratic relation can be extended over all ’s automorphisms, that the message got expanded to
| (4.62) |
as each opening has by self-automorphism , which is similar to the technique for automorphism filtering in eq. 4.40. Then eq. 4.61 can be changed to
| (4.63) |
If the prover is honest, the convincing probabilty is approximately
by eq. 4.55, as we are just using [Lyu12] rejection sampling.
The knowledge soundness analysis is similar to the heavy row argument lemma 4.8.8, but the extractor behavior is described and developed in [ACK21a]. We begin by the expected draws for negative hypergeometric distribution.
Given a bin with balls of which are marked. Then the attempts to draw uniformly at random from the bin without replacement until marked balls are drawn is distributed according to the negative hypergeometric distribution. The expected number of draws is .
The sequence of draws without replacement can be viewed as a permutation of balls, and we are interested in the number of draws up to the first marked ones. For an unmarked ball, it can be in one of the positions separated by marked ones, and there are of them before the marked one. By the linearity of expectation, the expected number of draws is
∎
An immediate application is, let be the binary matrix for rows indexed by the prover’s randomness, and the columns indexed by verifier challenges, then let the row has accepting dencity , supposing the first draw over the row is accepting, then drawing for the next 2 acceptance is expected to be by lemma 4.14.4. Supposing the extractor aborts if the first draw is rejected, or otherwise it samples uniformly at random the remaining entries of the row without replacement until three acceptances or the row is exhausted, and supposing there are at least 3 acceptance on the row, then
and supposing there are less than 3 acceptence on the row, then
Averaging over the prover randomness, we thus have
| (4.64) |
where the success probability is
| (4.65) |
where is the fraction of rows that have acceptances, is the fraction of acceptance in , and eq. 4.65 is at least by a coarse analysis, and by a finer one. Hence, if checks on an entry of takes , and , then extracting three accepting transcripts by restarting over fresh prover randomness, is at most expected .
Now, in expected time, we have 3 accepting transcripts forked from the same prover randomenss, hence the same first prover message, by for .
Continuing on, we can have , , and under the same interpolation,
Applying the derived , , and , against and , we have either and being the masking randomness, or we find a solution for , where was defined near eq. 4.57, that for ,
solves by .
Onwards assuming the MSIS is respected, then derive eq. 4.63, , such that
must hold for the extracted variables. Since pairwise challenge differences are invertible, the Vandermonde matrix is invertible; hence every coefficient is zero, including the claimed quadratic relation.
To instantiate the proof for multiple quadratc relations, we sample uniformly random and apply linear combination over quadratic relations defined by eq. 4.59.
For soundness analysis, it is similar to the linear combination for multiple linear relations. Recall the soundness error derived by , it was due to , then the random linear combination over a CRT slot being fixed to 0 has probability at most . Now consider random linear combination over , over some fixed that are not all zero, then by
supposing makes , then fixing a nonzero CRT slot has probability at most .
Hence, starting from the extractor that extracts for a single quadratic relation, the knowledge soundness here is , where the additional term is from some relation is not satisfying.
Consider using the extractor for one quadratic relation. After the first extraction, we have an opening satisfying
Yet, we cannot rule out the case that some subordinate quadratic relation is not satisfying.
Again, we design an extractor for multiple quadratic relations, utilizing the extractor for one quadratic relation, under the trick by [ACK21a] utilizing lemma 4.14.4. For a fixed opening violating some underlying quadratic relations, it may succeed with probability at most over random linear combination by prior discussion, without breaking MSIS.
Here, the opening is fixed independently of the sampled for random linear combination, and a malicious prover capable of producing different openings for the same commitment may instead, choose an opening according to . Hence, in this case, does not directly bound the probability of obtaining some invalid opening in one extraction.
We therefore seek a second successful extraction for the same commitment, forked from independently sampled . If the two extracted relaxed openings differ, the binding reduction yields an MSIS solution; otherwise, the same openings may still violate some underlying quadratic relations. Hence, a second extraction tells malicious prover being lucky from the case of finding an MSIS solution.
The new extractor invokes the extractor for one quadratic relation, if the first extraction failed, abort immediately; otherwise, restart extraction over independently sampled until a success. Let be the probability of a successful extraction for one quadratic relation, be the event that the first extraction is successful, and be the number of invocations for the extractor for one quadratic relation, then the expected number of invocations is
Hence, by eq. 4.64, the expected runtime of the extractor for one quadratic relation is at most , then the expected runtime of the extractor for multiple quadratic relations is at most .
For the success probability of such extractor for multiple quadratic relations, there are three disjoint events:
: Both openings are the same, and all underlying quadratic relations are satisfied.
: Both openings are the same, but some underlying quadratic relations are violated.
: The openings are distinct, or an MSIS solution on either extraction.
A prover capable of breaking binding may choose an invalid opening by in the first extraction, yet return the same opening in the second extraction. Such an execution does not give an MSIS solution and belongs to . We therefore need to bound even for such provers. By the construction of the extractor for multiple quadratic relations,
| (4.66) |
where is the prover’s convincing probability, and eq. 4.66 holds by, on the first successful extration, the second extraction keeps rebooting up to another successful extraction. Hence,
Let be the random variables for the output of the first and second extraction, and be the probability of an extraction gives relaxed opening , then , and
Therefore, summing overall openings that violates some underlynig quadratic relations, we have
the third inequality holds by for a fixed invalid opening , and the last inequality holds by the successful extraction probability, and therefore
We denote the protocol for proving multiple quadratic relations by . We consider proving multiple quadratic relations, whose evaluations
| (4.67) |
over defined in eq. 4.62, for , have constant coefficients being 0. Write for eq. 4.67, and extend the BDLOP commitment key by. The protocol proceeds as follows:
The prover samples , commits , and sends to the verifier
The verifier replies .
The prover computes
and sends .
Invoke to prove
for .
The verifier accepts if accepts and for .
Additional quadratic relations over over the original committed witness can be included in the same invocation of , which combines them with the above well-formedness equations.
Similar to the analysis for the multiple quadratic relation proof, the knowledge soundness here is . The extractor rewinds at the challenge, and invokes the extractor for multiple quadratic relations. By the [ACK21a] trick, the expected number of invocations to the extractor for multiple quadratic relations is 2, and thus the expected runtime is at most . With the same analysis, splitting into 3 disjoint events, the probability of 2 openings being distinct is at most , completing the soundness analysis.
We begin by a lemmas from [BL17, LNS21] as a motivation. Recall the binomial distribution from fair coin, where is a distribution from
where and are fair coins over . We begin with the prototype in [BL17].
For all , , and , over the randomness of ,
Let , and , then let has bit flipped, and
and hence . By triangle inequality, for all ,
such that at least one of and is at least , completing the proof. ∎
With lemma 4.14.5, the following result is immediate.
For all and , over the randomness of ,
By lemma 4.14.5, we have the claim for the fixed version of claim. By ,
where , and the inequality holds by lemma 4.14.5, as any probability in the expectation is at most . ∎
The range by lemma 4.14.6 gives a probability bound for the -norm in , and by lemma 1.4.8, we can show without that
and given a concretely sufficiently large , we can use a large constant . The form of is useful for the sigma protocol, yet the range of the -norm has a factor of , which is too large.
Johnson-Lindenstrauss Lemma [JL84], conceptually shows the existence of a linear map sampled over continuous Gaussian distribution, such that for distinct points in -dimensional vector space be linearly embedded into -dimensional space, where , and their distances over -norm are preserved approximately.
Let with , and . There exists and a linear map such that, for all ,
In [JL84], the lemma 4.14.7 shows the existence of such linear map, and in [IM98] we have a randomized algorithm over Gaussian matrix, such that with high probability, the linear map satisfies the conditions in lemma 4.14.7.
Let with , and let . There exists a constant such that the following holds.
Choose a positive integer
and sample by independently drawing each entry from .
Then, with probability at least over , simultaneously for all ,
Achlioptas [Ach03] shows that the same asymptotic dimension bound and distance-preservation guarantee can be obtained using independent random signs.
The conclusion of lemma 4.14.8 remains valid for entries , where the are sampled independently and uniformly over .
In our scenario, we don’t need to handle points in this case, but we do need to preserve the pairwise difference in Euclidean space. More specifically, we want the distance between a fixed vector and zero preserved approximately. The fixed vector is the witness in the Sigma protocol. We therefore study how closely its projected norm follows its original norm, with high probability.
Gentry et al. [GHL22] use an integer projection from to reduce the dimension of the vector whose shortness is to be proved. To obtain concrete norm estimates, they compare this projection with a Gaussian matrix whose entries are sampled independently from , matching the variance of .
For a fixed nonzero vector ,
To see this, consider the output of row :
A fixed linear combination of independent Gaussian variables is Gaussian. Since and ,
Moreover, the are independent, since they use independently sampled rows of .
Thus, normalizing each output by its standard deviation gives independent standard normal variables
In particular,
The factor therefore cancels:
Here, the degrees of freedom count the independent standard normal variables being squared.
Let . Numerically evaluating its tails gives
Consequently, the normalization above yields the Gaussian bounds in [GHL22, Fact 3.1]:
| (4.68) |
The constants and arise by dividing the chi-square thresholds and by .
Gentry et al. [GHL22, Corollary 3.2] then heuristically apply these same bounds to the projection over binomial distribution , whose entries have the same variance as those of . The Gaussian bounds in eq. 4.68 are exact probability statements; their transfer to the binomial projection is heuristic.
More generally, replacing the Gaussian variance by gives
Under the same Gaussian substitution heuristic, for and , LNP [LNP22, Lemma 2.8] obtains
Here, denotes the heuristic comparison. The smaller lower-tail threshold gives the stronger estimate needed in the subsequent argument.
Fix and a bound . Let satisfy , and is arbitrary. Norms of residue vectors use centered representatives.
For with independent entries, over the randomness of ,
We begin by separating out the case where . By the given bound condition,
By lemma 4.14.6, for any row , over the randomness of row ,
All rows must satisfy such event to have the -norm of the projected vector be at most , of at most probability.
Now consider the complementary case . Consider all the computation over rather than , and let , then we have , and thus each has .
With a centered representation, a long has wrapped representation , yet we have , and thus with ,
as the settings with rows of large -norm wrapping into are not counted anyways.
Continuing on, we use the MGF trick in Chernoff’s bound, by
for any . We observe that, for a binomial random variable ,
With this result, we can introduce the linear shift such that
Another fact we are using is, let and any , we have . Taking independent of , we substitute into the preceding inequality and average over . Since cosine is bounded, we can exchange the order of expectations and obtain
Hence, the shift is removed from the upper bound.
Substituting this into the Chernoff bound, and using that the have the same distribution, gives
| (4.69) |
for every . It remains to bound the expectation for a single row and then choose .
The next goal is to upper bound such that the can be taken out, and it only matters with . We began by the Taylor expansion for over , that is
| (4.70) |
By the linearity of expectation, we have
As was discussed in remark 1.6.39, we can derive the second and fourth moment of by
| (4.71) |
By in lemma, we have . Writing
| (4.72) |
the loose upper bound is .
To derive a tigher bound from eq. 4.70, we consider coefficients such that
holds for all , and the degree-2 series expansion upper bounds tigher.
Averaging both sides by ,
By earlier requirement, , then the upper bound is closest when when , and it is they are not intersecting at . Hence,
| (4.73) |
We therefore obtain
We first verify . Put . Then
| (4.74) |
The numerator vanishes at , and its derivative is
since . Thus .
To verify the upper bound throughout the domain, let
Our construction gives
If , then and is identically zero. Otherwise, , so is strictly convex.
Since , Rolle’s theorem gives some with . Together with , strict convexity implies that is negative between and , and positive outside this interval. Therefore, increases from to , decreases back to , and increases thereafter. Consequently, for all .
Again let , and we are at for an upper bound.
To further improve the bound, we use a degree- polynomial and moments up to order . For ,
| (4.75) |
where
For all , we have
Averaging both sides with and using the moments up to order ,
Using , we upper bound by . A construction with touching points derived from the moments, including its coefficient derivation and binomial correction analysis, is given in appendix A. This is mainly AI’s work, I cannot pull it off myself. ∎
TODO: Stuffs for [LNP22].
TODO: Write a short note on rigorous replacements for the projection bounds in [LNP22, Lemmas 2.8–2.9]. Use the exact representation of as a sum of independent signs scaled by and [Ach03, Eq. (13)] to write up the upper-tail bound replacing by , with error below . Combine it with the shifted modular lower-tail bound in lemma 4.14.10 and its moment analysis in appendix A, then track the resulting completeness and soundness parameters in Section 5 of [LNP22].