4.14 Lattice Proofs for Exact Euclidean Norm Bounds and Quadratic Relations

One of the motivations of [LNP22] is that, the prior works [BLS19, ENS20] for A⁢𝐬^=𝐮‾ restrict each entry of 𝐬^ being over {−1,0,1}, and thus committing the 𝐦=𝖭𝖳𝖳−1⁢(𝐬^), 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, Rq is not necessarily fully splitting.

Challenge Set.

There are many ways to construct challenge sets for the Rq:

  • •

    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 [BLS19], the eq. 4.7 suffices;

  • •

    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 Rq that is invertible.

Lemma 4.14.1.

By corollary 4.12.2, let p≡5(mod8) be a prime, then any nonzero 𝐜∈Rp such that σ−1⁢(𝐜)=𝐜 is invertible.

Proof.

By corollary 4.12.2, if p≡5mod8 is a prime, then

Rp=ℤp⁢[X]/(Xd+1)≅ℤp⁢[X]/(Xd/2−r)×ℤp⁢[X]/(Xd/2+r),

r being the 4th primitive root of unity, splitting 2 irreducible factors. Since σ−1⁢(𝐜)=𝐜, then satisfying elements are

𝐜=c0+∑i∈[1,d/2−1]ci⁢(Xi−Xd−i)=c0+∑i∈[1,d/2−1]ci⁢Xi−∑i∈[1,d/2−1]ci⁢Xd−i,

as any Xi−Xd−i satisfies σ−1⁢(Xi−Xd−i)=Xi−Xd−i. Hence, for each factor (Xd/2±r), we have

𝐜≡c0+∑i∈[1,d/2−1](ci±r⁢cd/2−i)⁢Ximod(Xd/2±r).

We claim at least one of ci−r⁢cd/2−i and cd/2−i−r⁢ci is nonzero, given that at least one of ci,cd/2−i is nonzero: Supposing ci=r⁢cd/2−i, then (1−r2)⁢cd/2−i≠0. The case for ci+r⁢cd/2−i and cd/2−i+r⁢ci is the same idea.

Hence, a nonzero 𝐜 is nonzero at both factors if σ−1⁢(𝐜)=𝐜. ∎

The lemma 4.14.1 can be applied to the Rq, where q=∏qi, and q1<⋯<qk, with all qi≡5(mod8) are primes, then Rq=∏Rqi, and thus each Rqi splits into 2 irreducible factors. Hence, any nonzero 𝐜∈Rq satisfying σ−1⁢(𝐜)=𝐜 and 0<‖𝐜‖∞<q1, 𝐜 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 σ−1⁢(𝐜)=𝐜 that applies to any Rqi splitting into 2 irreducible factors in the above setting, then any nonzero 𝐜∈Rq such that σ−1⁢(𝐜)=𝐜, that is shorter than q1 in ℓ∞-norm is invertible, as the coefficient representations within [−q1+1,q1−1] can remain the same for all [−qi+1,qi−1] where qi≥q1.

  • •

    The [LS18] one is, considering Rq≅∏ℤq⁢[X]/(fi⁢(X)), then for the ideal lattice Λ={𝐱∈Rm:𝐱≡0mod(fi,q)}, if nonzero 𝐱∈Rq is shorter than λ1⁢(Λ) in ℓ2-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 ‖𝐜⁢𝐫‾‖2. The main idea of the next lemma is to upper bound the operator norm of 𝗋𝗈𝗍⁢(𝐜)∈ℤd×d, such that

‖𝐜⁢𝐫‾‖≤(max‖𝐱‖2=1⁡‖𝐜𝐱‖2)⁢‖𝐫‾‖2=‖𝗋𝗈𝗍⁢(𝐜)‖2⁢‖𝐫‾‖2.
Lemma 4.14.2.

Let 𝐫‾∈Rℓ and 𝐜∈R, then for any power-of-two κ, we have

‖𝐜⁢𝐫‾‖2≤‖σ−1⁢(𝐜κ)⁢𝐜κ‖11/(2⁢κ)⋅‖𝐫‾‖2.
Proof.

We first write 𝐂=𝗋𝗈𝗍⁢(𝐜)∈ℤd×d, then

‖𝐂‖22=max‖x‾‖2=1⁡‖𝐂⁢x‾‖22=max‖x‾‖2=1⁡x‾𝖳⁢𝐂𝖳⁢𝐂⁢x‾, (4.49)

where the last equality holds by squaring up and summing up all entries in 𝐂⁢x‾, then by eq. 4.49, 𝐂𝖳⁢𝐂 is positive semidefinite. By the spectral theorem, 𝐂𝖳⁢𝐂 has an orthonormal eigenbasis, that eigenvectors {v‾i}i∈[1,d] are mutually perpendicular and of ℓ2-norm being 1. Hence, for x‾ with ‖x‾‖2=1,

𝐂𝖳⁢𝐂⁢x‾=𝐂𝖳⁢𝐂⁢∑i∈[1,d]αi⁢v‾i=∑i∈[1,d]αi⁢λi⁢v‾i, (4.50)

and by the ‖x‾‖2=1,

1=‖∑i∈[1,d]αi⁢v‾i‖22=∑i∈[1,d]αi2+∑i≠j∈[1,d]αi⁢αj⁢⟨v‾i,v‾j⟩=∑i∈[1,d]αi2. (4.51)

Therefore, conditioned that eq. 4.51, we have

‖𝐂𝖳𝐂‖2=max‖x‾‖=1‖𝐂𝖳𝐂x‾‖2=max{αi}i∈[1,d]‖∑i∈[1,d]αiλiv‾i‖2=max{αi}i∈[1,d](∑i∈[1,d]αi2λi2)1/2=maxi∈[1,d]|λi|,

where the third equality holds by eq. 4.51. Moreover, continuing from eq. 4.50, we finish eq. 4.49 by

‖𝐂‖22=max{αi}i∈[1,d]⁢∑i∈[1,d]αi2⁢λi=maxi∈[1,d]⁡λi=‖𝐂𝖳⁢𝐂‖2,

where the last equality holds by the positive semidefiniteness of 𝐂𝖳⁢𝐂, such that each λi is nonnegative. Continuing on, since 𝐀=𝐂𝖳⁢𝐂 is positive semidefinite, then 𝐀𝖳⁢𝐀=𝐀2 as 𝐀 is diagonal symmetric, then

‖𝐂‖22⁢κ=‖𝐂𝖳⁢𝐂‖2κ=‖(𝐂𝖳⁢𝐂)κ‖2.

For 𝐮,𝐯∈R, another observation for 𝐮𝐯=𝗋𝗈𝗍⁢(𝐮)⁢v‾ is,

𝗋𝗈𝗍⁢(𝐮)⁢v‾=∑i∈[0,d−1]ui⁢𝗋𝗈𝗍⁢(Xi)⁢v‾,

and therefore by triangle inequality,

‖𝗋𝗈𝗍⁢(𝐮)⁢v‾‖2≤∑i∈[0,d−1]|ui|⁢‖𝗋𝗈𝗍⁢(Xi)⁢v‾‖2=‖𝐮‖1⋅‖𝐯‖2. (4.52)

Hence, for 𝐯 with ‖𝐯‖2=1 and coefficients over ℝ, by operator norm eq. 4.49, ‖𝗋𝗈𝗍⁢(𝐮)‖2≤‖𝐮‖1. The rest is immediate by the fact that 𝐂𝖳=𝗋𝗈𝗍⁢(σ−1⁢(𝐜)), then

(𝐂𝖳⁢𝐂)2=𝗋𝗈𝗍⁢(σ−1⁢(σ−1⁢(𝐜)⁢𝐜))⁢𝗋𝗈𝗍⁢(σ−1⁢(𝐜)⁢𝐜)=𝗋𝗈𝗍⁢(σ−1⁢(𝐜)2⁢𝐜2)=𝗋𝗈𝗍⁢(σ−1⁢(𝐜2)⁢𝐜2),

and by induction,

‖𝐂‖22⁢κ=‖𝐂𝖳⁢𝐂‖2κ=‖(𝐂𝖳⁢𝐂)κ‖2=‖𝗋𝗈𝗍⁢(σ−1⁢(𝐜κ)⁢𝐜κ)‖2≤‖σ−1⁢(𝐜κ)⁢𝐜κ‖1.

∎

Moreover, by eq. 4.52, we have ‖𝐮𝐯‖1≤‖𝐮‖1⁢‖𝐯‖1, then ‖σ−1⁢(𝐜κ)⁢𝐜κ‖11/(2⁢κ) is monotonically nonincreasing by

‖σ−1⁢(𝐜2⁢κ)⁢𝐜2⁢κ‖11/(4⁢κ)=‖(σ−1⁢(𝐜κ)⁢𝐜κ)2‖11/(4⁢κ)≤‖σ−1⁢(𝐜κ)⁢𝐜κ‖11/(2⁢κ).

On the other hand, by Cauchy-Schwartz, ‖𝐯‖1≤d⁢‖𝐯‖2, then

‖σ−1⁢(𝐜κ)⁢𝐜κ‖11/(2⁢κ)≤d1/(4⁢κ)⁢‖σ−1⁢(𝐜κ)⁢𝐜κ‖21/(2⁢κ)≤d1/(4⁢κ)⁢‖(𝐂𝖳⁢𝐂)κ‖21/(2⁢κ)=d1/(4⁢κ)⁢‖𝐂‖2,

where the second inequality holds by letting the rotational matrix multiplying against e‾0=[1,0,…,0]𝖳.

Therefore,

‖𝐂‖2≤‖σ−1⁢(𝐜2⁢κ)⁢𝐜2⁢κ‖11/(4⁢κ)≤‖σ−1⁢(𝐜κ)⁢𝐜κ‖11/(2⁢κ)≤d1/(4⁢κ)⁢‖𝐂‖2,

and the upper bound by lemma 4.14.2 is monotonically nonincreasing, and is approaching the operator norm ‖𝐂‖2.

Given lemma 4.14.2 as an estimation for the ℓ2 operator norm of 𝐜∈R, we construct the challenge set 𝒞 defined over the elements specified by lemma 4.14.1, that for a power-of-two k,

𝒞:={𝐜∈Sκσ:‖σ−1⁢(𝐜k)⁢𝐜k‖11/(2⁢k)≤η}, (4.53)

where Sκσ={𝐜∈Sκ:σ⁢(𝐜)=𝐜} for σ∈𝖠𝗎𝗍⁢(Rq), and Sκ is defined in eq. 4.5, that κ≤(q1−1)/2. Eventually, the goal is to make the ℓ∞-norm of challenges to be bounded by (q1−1)/2, and estimate ‖𝗋𝗈𝗍⁢(𝐜)‖2≤η, such that ‖𝐜⁢𝐫‾‖2≤η⁢‖𝐫‾‖2.

Rejection Sampling and Parameters.

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.

Lemma 4.14.3 (Gaussian Tail Bound [Ban93]).

Let 𝐳‾←Dsm⁢d, then for t>1,

Pr⁡[‖𝐳‾‖2>t⋅s⁢m⁢d]<(t⁢exp⁡(1−t22))m⁢d.

In [LNP22], the lemma 4.14.3 is parameterized with t=2, then

Pr⁡[‖𝐳‾‖2>s⁢2⁢m⁢d]<(2/e)m⁢d/2.

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 𝐲‾←Dsm⁢d

min⁡(1M⋅Dsm⁢d⁢(𝐳‾)D𝐯‾,sm⁢d⁢(𝐳‾),1)=min⁡(1M⋅ρs⁢(𝐳‾)ρs⁢(𝐳‾−𝐯‾),1), (4.54)

where ρs is defined in eq. 4.9, and since we are working over Gaussian distributions, the equality holds. Moreover, over 𝐳‾←Dsm⁢d,

Pr⁡[Dsm⁢d⁢(𝐳‾)≤M⋅D𝐯‾,sm⁢d⁢(𝐳‾)]≥1−2−128, (4.55)

then the threshold eq. 4.54 uses the left term with overwhelming probability: The M is chosen by s:=γ⁢‖𝐯‾‖2, then

ρs⁢(𝐳‾)ρs⁢(𝐳‾−𝐯‾)=exp⁡(−2⁢⟨𝐳‾,𝐯‾⟩+‖𝐯‾‖222⁢s2)≤exp⁡(28⁢s⁢‖𝐯‾‖2+‖𝐯‾‖222⁢s2)=exp⁡(14γ+12⁢γ2)=M, (4.56)

(if ‖𝐯‾‖2≤T, then s:=γ⁢T), and the second inequality holds with overwhelming probability by Lemma 4.3 of [Lyu12]:

Pr⁡[|⟨𝐳‾,𝐯‾⟩|≥14⁢s⁢‖𝐯‾‖2]≤2⁢exp⁡(−98)≤2−128,

thus eq. 4.55 holds, the accepting probability is at least (1−2−128)/M, and conditioned on the sample’s acceptance, the statistical distance of the real distribution is within 2−128 against the simulated distribution.

ABDLOP Commitment Scheme.

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 Rq(μ+L)×N:

  • •

    Binding is reduced to 𝖬𝖲𝖨𝖲μ,N,B.

  • •

    Hiding is reduced to 𝖬𝖫𝖶𝖤λ,μ+L,χ, where commitment randomness is drawn from distribution χN⁢d.

Onwards, we use m1 to denote the length of the Ajtai message, and m2 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:

[𝐭‾A𝐭‾B]=[𝐀1𝟎]⁢𝐬‾1+[𝐀2𝐁]⁢𝐬‾2+[𝟎‾𝐦‾]∈Rqμ+L,

such that binding is reduced to 𝖬𝖲𝖨𝖲μ,m1+m2,B, while hiding is reduced to 𝖬𝖫𝖶𝖤λ,μ+L,χ.

Assume ‖𝐬‾1‖2≤α and ‖𝐬‾2‖∞≤ν. By ‖𝗋𝗈𝗍⁢(𝐜)‖2≤η from lemma 4.14.2, the ℓ2-norm bound for the centering shifts are T1:=η⁢α and T2:=η⁢ν⁢m2⁢d. Choose γ1,γ2>0, and thus si:=γi⁢Ti and Mi:=exp⁡(14/γi+1/(2⁢γi2)) 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 𝐲‾1←Ds1m1⁢d and 𝐲‾2←Ds2m2⁢d, and sends over 𝐰‾←𝐀1⁢𝐲‾1+𝐀2⁢𝐲‾2.

  • •

    The verifier challenges by 𝐜←𝒞 defined in eq. 4.53.

  • •

    The prover runs rejection sampling, and replies 𝐳‾1←𝐲‾1+𝐜⋅𝐬‾1 and 𝐳‾1←𝐲‾2+𝐜⋅𝐬‾2.

  • •

    The verifier checks shortness ‖𝐳‾1‖2≤s1⁢2⁢m1⁢d, ‖𝐳‾2‖2≤s2⁢2⁢m2⁢d, and

    𝐰‾+𝐜⋅𝐭‾A=𝐀1⁢𝐳‾1+𝐀2⁢𝐳‾2.

For MSIS hardness reduction for binding, the concrete parameter instantiated is B=8⁢η⁢s12⁢(2⁢m1⁢d)+s22⁢(2⁢m2⁢d). Similar to eqs. 4.10 and 4.21, supposing we have a pair of accepting (𝐰‾,𝐯‾,𝐜,𝐳‾1,𝐳‾2) and (𝐰‾,𝐯‾,𝐜′,𝐳‾1′,𝐳‾2′), then let Δ⁢𝐜:=𝐜−𝐜′, Δ⁢𝐳‾1:=𝐳‾1−𝐳‾1′, and Δ⁢𝐳‾1:=𝐳‾2−𝐳‾2′, an extracted relaxed opening has (Δ⁢𝐜,Δ⁢𝐳‾1,Δ⁢𝐳‾2,𝐦‾), such that

Δ⁢𝐜⁢[𝐭‾A𝐭‾B]=[𝐀1𝟎]⁢Δ⁢𝐳‾1+[𝐀2𝐁]⁢Δ⁢𝐳‾2+Δ⁢𝐜⁢[𝟎‾𝐦‾], (4.57)

where the term Δ⁢𝐜⋅𝐦‾=Δ⁢𝐜⋅𝐭‾B−𝐁⁢Δ⁢𝐳‾2. Given relaxed openings (Δ⁢𝐜,Δ⁢𝐳‾1,Δ⁢𝐳‾2,𝐦‾) and (Δ⁢𝐜′,Δ⁢𝐳‾1′,Δ⁢𝐳‾2′,𝐦‾′), that at least one of Δ⁢𝐜′⁢Δ⁢𝐳‾1≠Δ⁢𝐜⁢Δ⁢𝐳‾1′ and 𝐦‾≠𝐦‾′ is true, then

𝟎‾=[𝐀1𝐀2𝟎𝐁]⁢(Δ⁢𝐜′⋅[Δ⁢𝐳‾1Δ⁢𝐳‾2]−Δ⁢𝐜⋅[Δ⁢𝐳‾1′Δ⁢𝐳‾2′])+Δ⁢𝐜⁢Δ⁢𝐜′⁢[𝟎‾𝐦‾−𝐦‾′],

which gives a solution to the MSIS instance [𝐀1∣𝐀2]∈Rqμ×(m1+m2) in either case. Since for 𝜷‾:=[Δ⁢𝐳‾1𝖳|Δ⁢𝐳‾2𝖳]𝖳,

‖𝜷‾‖2≤2⁢s12⁢(2⁢m1⁢d)+s22⁢(2⁢m2⁢d),

and by lemma 4.14.2, ‖𝗋𝗈𝗍⁢(𝐜)‖2≤η for a 𝐜∈𝒞, thus ‖𝗋𝗈𝗍⁢(Δ⁢𝐜)‖2≤2⁢η, which concludes the proof for B derivation.

Now consider a linear relation proof over Rq. Consider instantiating from just Ajtai commitment for 𝐑⁢𝐬‾1=𝐮‾.

  • •

    The prover samples 𝐲‾1←Ds1m1⁢d and sends over 𝐰‾←𝐀1⁢𝐲‾1 and 𝐯‾←𝐑⁢𝐲‾1.

  • •

    The verifier challenges by 𝐜←𝒞 defined in eq. 4.53.

  • •

    The prover runs rejection sampling, and replies 𝐳‾1←𝐲‾1+𝐜⋅𝐬‾1.

  • •

    The verifier checks shortness ‖𝐳‾1‖2≤s1⁢2⁢m1⁢d and

    𝐰‾+𝐜⋅𝐭‾ =𝐀1⁢𝐳‾1,
    𝐯‾+𝐜⋅𝐮‾ =𝐑⁢𝐳‾1.

Continuing on, consider the BDLOP commitment for 𝐑⁢𝐦‾=𝐮‾, which is basically Π𝗅𝗂𝗇.

  • •

    The prover samples 𝐲‾2←Ds2m2⁢d and sends over 𝐰‾←𝐀2⁢𝐲‾2 and 𝐯‾←𝐑𝐁⁢𝐲‾2.

  • •

    The verifier challenges by 𝐜←𝒞 defined in eq. 4.53.

  • •

    The prover runs rejection sampling, and replies 𝐳‾2←𝐲‾2+𝐜⋅𝐬‾2.

  • •

    The verifier checks shortness ‖𝐳‾2‖2≤s2⁢2⁢m2⁢d and

    [𝐰‾𝐯‾]+𝐜⋅[𝐭‾A𝐑⁢𝐭‾B]=[𝐀2𝐑𝐁]⁢𝐳‾2+𝐜⋅[𝟎‾𝐮].

Hence, we can somehow merge them together for the statement 𝐑1⁢𝐬‾1+𝐑2⁢𝐦‾=𝐮‾ by

  • •

    The prover samples 𝐲‾1←Ds1m1⁢d, 𝐲‾2←Ds2m2⁢d and sends over 𝐰‾←𝐀1⁢𝐲‾1+𝐀2⁢𝐲‾2 and 𝐯‾←𝐑2⁢𝐁⁢𝐲‾2−𝐑1⁢𝐲‾1.

  • •

    The verifier challenges by 𝐜←𝒞 defined in eq. 4.53.

  • •

    The prover runs rejection sampling, and replies 𝐳‾1←𝐲‾1+𝐜⋅𝐬‾1 and 𝐳‾2←𝐲‾2+𝐜⋅𝐬‾2.

  • •

    The verifier checks shortness ‖𝐳‾1‖2≤s1⁢2⁢m1⁢d, ‖𝐳‾2‖2≤s2⁢2⁢m2⁢d, and

    [𝐰‾𝐯‾]+𝐜⋅[𝐭‾A𝐑2⁢𝐭‾B]+[𝟎‾𝐑1⁢𝐳‾1]=[𝐀1𝟎]⁢𝐳‾1+[𝐀2𝐑2⁢𝐁]⁢𝐳‾2+𝐜⋅[𝟎‾𝐮].

Hence, a relaxed opening (Δ⁢𝐜,Δ⁢𝐳‾1,Δ⁢𝐳‾2,𝐦‾) satisfies eq. 4.57, ‖Δ⁢𝐳‾1‖2≤2⁢s1⁢2⁢m1⁢d, ‖Δ⁢𝐳‾2‖2≤2⁢s2⁢2⁢m2⁢d, and

𝐑1⁢Δ⁢𝐳‾1+𝐑2⁢(Δ⁢𝐜⋅𝐦‾)=Δ⁢𝐜⋅𝐮‾.

Now from the linear relation proof over Rq, consider the linear relation proof over ℤq. Consider the inner product performed over the coefficients of polynomial ring via automorphism σ−1, that the constant coefficient of σ−1⁢(𝐚)⁢𝐛 is the inner product ⟨a‾,b‾⟩ of coefficients in 𝐚=∑ai⁢Xi and 𝐛=∑bi⁢Xi, allowing for encoding the Zq linear relation over the coefficients: ⟨σ−1⁢(𝐫‾1),𝐬‾1⟩+⟨σ−1⁢(𝐫‾2),𝐦‾⟩=𝐮. Augmenting the BDLOP message for maskings like [ENS20] by

[𝐭‾A𝐭‾B𝐭‾g]=[𝐀1𝟎𝟎]⁢𝐬‾1+[𝐀2𝐁𝐁g]⁢𝐬‾2+[𝟎‾𝐦‾𝐠‾]∈Rqμ+L+ρ,

where 𝐠‾∈Rqρ are the masking terms. Start by proving with the Π𝗅𝗂𝗇 for Rq in ABDLOP, with a single repetition:

  • •

    The prover commits 𝐠←r{Rq:g0=0} by 𝐭g←⟨𝐛‾g,𝐬‾2⟩+𝐠, and sends 𝐭g over.

  • •

    The verifier challenges by sampling γ←rℤq.

  • •

    The prover replies 𝐮′←𝐠+γ⋅𝐮, and starts the Π𝗅𝗂𝗇 with ABDLOP for ⟨γ⁢σ−1⁢(𝐫‾1),𝐬‾1⟩+⟨γ⁢σ−1⁢(𝐫‾2),𝐦‾⟩+𝐠=𝐮′ by

    • –

      The prover samples 𝐲‾1←Ds1m1⁢d, 𝐲‾2←Ds2m2⁢d and replies

      𝐰‾ ←𝐀1⁢𝐲‾1+𝐀2⁢𝐲‾2,
      𝐯 ←(γ⁢σ−1⁢(𝐫‾2)𝖳⁢𝐁+𝐛‾g𝖳)⁢𝐲‾2−γ⁢σ−1⁢(𝐫‾1)𝖳⁢𝐲‾1.
    • –

      The verifier challenges by 𝐜←𝒞 defined in eq. 4.53.

    • –

      The prover runs rejection sampling, and replies 𝐳‾1←𝐲‾1+𝐜⋅𝐬‾1 and 𝐳‾2←𝐲‾2+𝐜⋅𝐬‾2.

  • •

    The verifier checks shortness ‖𝐳‾1‖2≤s1⁢2⁢m1⁢d, ‖𝐳‾2‖2≤s2⁢2⁢m2⁢d,

    [𝐰‾𝐯]+𝐜⋅[𝐭‾Aγ⁢σ−1⁢(𝐫‾2)𝖳⁢𝐭‾B+𝐭g]+[𝟎‾γ⁢σ−1⁢(𝐫‾1)𝖳⁢𝐳‾1]=[𝐀1𝟎]⁢𝐳‾1+[𝐀2γ⁢σ−1⁢(𝐫‾2)𝖳⁢𝐁+𝐛‾g𝖳]⁢𝐳‾2+𝐜⋅[𝟎‾𝐮′],

    and the constant term satisfies u0′=γ⁢u0.

For multiple linear relations, apply random linear combination over ℤq under the same mask 𝐠, with soundness q1−1, say any CRT slot under the split by ℤq=∏ℤqi is wrong, the uniformly random challenges that are independently sampled can fix up that slot with probability at most q1−1 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 Rq at least has 2 automorphisms, we can use the automorphism filtering from [ENS20], such that a masking can hold 2 repetitions by 𝐠←r{Rq:g0=g1=0}.

We show by 1 linear relation with 2 γ challenges setting:

  • •

    The prover commits 𝐠←r{Rq:g0=g1=0} by 𝐭g←⟨𝐛‾g,𝐬‾2⟩+𝐠, and sends 𝐭g over.

  • •

    The verifier challenges by sampling γ0,γ1←rℤq.

  • •

    The prover replies

    𝐮′←𝐠+γ0+γ1⁢X2⋅F2⁢(𝐮),

    and starts the Π𝗅𝗂𝗇 with ABDLOP for

    𝐠+γ0+γ1⁢X2⋅F2⁢(⟨σ−1⁢(𝐫‾1),𝐬‾1⟩+⟨σ−1⁢(𝐫‾2),𝐦‾⟩),

    where F2 is defined in eq. 4.36, by

    • –

      The prover samples 𝐲‾1,0,𝐲‾1,1←Ds1m1⁢d, 𝐲‾2,0,𝐲‾2,1←Ds2m2⁢d, computes

      𝜶←2−1⁢∑i∈[0,1]σd+1−i⁢(σ−1⁢(𝐫‾2)𝖳⁢𝐁⁢𝐲‾2,i−σ−1⁢(𝐫‾1)𝖳⁢𝐲‾1,i),

      and replies

      𝐰‾i ←𝐀1⁢𝐲‾1,i+𝐀2⁢𝐲‾2,i,
      𝐯i ←(γ0+γ1⁢X)⁢σd+1i⁢(𝜶)+𝐛‾g𝖳⁢𝐲‾2,i,

      where σd+1 is due to lemma 4.14.1 on Rq splitting.

    • –

      The verifier challenges by 𝐜←𝒞 defined in eq. 4.53.

    • –

      The prover runs rejection sampling, and replies 𝐳‾1,i←𝐲‾1,i+σd+1i⁢(𝐜)⋅𝐬‾1 and 𝐳‾2,i←𝐲‾2,i+σd+1i⁢(𝐜)⋅𝐬‾2.

  • •

    The verifier checks shortness ‖𝐳‾1,i‖2≤s1⁢2⁢m1⁢d, ‖𝐳‾2,i‖2≤s2⁢2⁢m2⁢d, automorphism filtering checks for Π𝗅𝗂𝗇:

    [𝐀1𝟎−γ0+γ1⁢X2⁢σ−1⁢(𝐫‾1)𝖳]⁢𝐳‾1,i+[𝐀2𝟎γ0+γ1⁢X2⁢σ−1⁢(𝐫‾2)𝖳⁢𝐁+𝐛‾g𝖳]⁢𝐳‾2,i+[𝟎σd+1−1⁢(𝐀1)−γ0+γ1⁢X2⁢σd+1−1⁢(σ−1⁢(𝐫‾1)𝖳)]⁢σd+1−1⁢(𝐳‾1,1−i)+[𝟎σd+1−1⁢(𝐀2)γ0+γ1⁢X2⁢σd+1−1⁢(σ−1⁢(𝐫‾2)𝖳⁢𝐁)]⁢σd+1−1⁢(𝐳‾2,1−i)+σd+1i⁢(𝐜)⋅[𝟎𝟎𝐮′]=[𝐰‾iσd+1−1⁢(𝐰‾1−i)𝐯i]+σd+1i⁢(𝐜)⁢[𝐭‾Aσd+1−1⁢(𝐭‾A)γ0+γ1⁢X2⁢F2⁢(σ−1⁢(𝐫‾2)𝖳⁢𝐭‾B)+𝐭g]

    holds for each i∈[0,1], and the constant term satisfies ui′=γi⁢u0.

Quadratic Relation Proof.

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

𝐟‾𝖳⁢𝐑⁢𝐟‾=(𝐜⁢𝐦‾−𝐁⁢𝐲‾2)𝖳⁢𝐑⁢(𝐜⁢𝐦‾−𝐁⁢𝐲‾2)=𝐜2⁢𝐦‾𝖳⁢𝐑⁢𝐦‾−𝐜⁢(𝐲‾𝖳⁢𝐑⁢𝐦‾+𝐦‾𝖳⁢𝐑⁢𝐲‾)+𝐲‾𝖳⁢𝐑⁢𝐲‾, (4.58)

where 𝐟‾=𝐜⁢𝐦‾−𝐁⁢𝐲‾2 the computationally indistinguishible masked opening, and 𝐲‾=𝐁⁢𝐲‾2. Continuing on, consider the linear terms and the constant terms, we have the relation

𝐦‾𝖳⁢𝐑⁢𝐦‾+𝐫‾1𝖳⁢𝐦‾+𝐫0=𝟎, (4.59)

the corresponding masked opening should give

𝐟‾𝖳⁢𝐑⁢𝐟‾+𝐜⁢𝐫‾1𝖳⁢𝐟‾+𝐜2⁢𝐫0=(𝐜⁢𝐦‾−𝐁⁢𝐲‾2)𝖳⁢𝐑⁢(𝐜⁢𝐦‾−𝐁⁢𝐲‾2)+𝐜⁢𝐫‾1𝖳⁢(𝐜⁢𝐦‾−𝐁⁢𝐲‾2)+𝐜2⁢𝐫0=𝐜2⁢(𝐦‾𝖳⁢𝐑⁢𝐦‾+𝐫‾1𝖳⁢𝐦‾+𝐫0)−𝐜⁢(𝐲‾𝖳⁢𝐑⁢𝐦‾+𝐦‾𝖳⁢𝐑⁢𝐲‾+𝐫‾1𝖳⁢𝐲‾)+𝐲‾𝖳⁢𝐑⁢𝐲‾, (4.60)

such that the degree-1 term 𝐠0=−(𝐲‾𝖳⁢𝐑⁢𝐦‾+𝐦‾𝖳⁢𝐑⁢𝐲‾+𝐫‾1𝖳⁢𝐲‾) is the additional garbage term to commit.

Now we consider the Ajtai part. Instead of the computationally indistinguishable opening 𝐟‾=𝐜⁢𝐦‾−𝐲‾, we have statistically indistinguishable opening 𝐳‾=𝐲1+𝐜⁢𝐬‾1. Hence, the computation structure in eqs. 4.60 and 4.58 remains if we combine the masks by

𝐲‾=[−𝐲‾1𝐁⁢𝐲‾2],𝐬‾=[𝐬‾1𝐦], (4.61)

and 𝐟‾=𝐜⋅𝐬‾−𝐲‾, then eq. 4.60 becomes

𝐟‾𝖳⁢𝐑⁢𝐟‾+𝐜⁢𝐫‾1𝖳⁢𝐟‾+𝐜2⁢𝐫0=𝐜2⁢(𝐬‾𝖳⁢𝐑⁢𝐬‾+𝐫‾1𝖳⁢𝐬‾+𝐫0)−𝐜⁢(𝐲‾𝖳⁢𝐑⁢𝐬‾+𝐬‾𝖳⁢𝐑⁢𝐲‾+𝐫‾1𝖳⁢𝐲‾)+𝐲‾𝖳⁢𝐑⁢𝐲‾,

such that the degree-1 term 𝐠0=−(𝐲‾𝖳⁢𝐑⁢𝐬‾+𝐬‾𝖳⁢𝐑⁢𝐲‾+𝐫‾1𝖳⁢𝐲‾) is the additional garbage term to commit.

Hence, a prototype for quadratic relation over ABDLOP commitment scheme follows:

  • •

    The prover samples 𝐲‾1←Ds1m1⁢d, 𝐲‾2←Ds2m2⁢d, commits to 𝐠0 by 𝐭g←𝐛‾g𝖳⁢𝐬‾2+𝐠0, and replies

    𝐰‾ ←𝐀1⁢𝐲‾1+𝐀2⁢𝐲‾2,
    𝐯 ←𝐲‾𝖳⁢𝐑⁢𝐲‾+𝐛‾g𝖳⁢𝐲‾2.
  • •

    The verifier challenges by 𝐜←𝒞 defined in eq. 4.53.

  • •

    The prover runs rejection sampling, and replies 𝐳‾1←𝐲‾1+𝐜⋅𝐬‾1 and 𝐳‾2←𝐲‾2+𝐜⋅𝐬‾2.

  • •

    The verifier checks shortness ‖𝐳‾1‖2≤s1⁢2⁢m1⁢d, ‖𝐳‾2‖2≤s2⁢2⁢m2⁢d, derives 𝐟g←𝐛‾g𝖳⁢𝐳‾2−𝐜𝐭g and

    𝐟‾←[𝐳‾1𝐜⁢𝐭‾B−𝐁⁢𝐳‾2],

    and checks by

    𝐀1⁢𝐳‾1+𝐀2⁢𝐳‾2 =𝐰‾+𝐜⁢𝐭‾A
    𝐟‾𝖳⁢𝐑⁢𝐟‾+𝐜⁢𝐫‾1𝖳⁢𝐟‾+𝐜2⁢𝐫0+𝐟g =𝐯.

Addtionally, noticing the challenges from 𝒞 has σ⁢(𝐜)=𝐜, then the quadratic relation can be extended over all 𝐬‾’s automorphisms, that the message got expanded to

𝐬‾=[{σi⁢(𝐬‾1)}i∈[0,k−1]{σi⁢(𝐦‾)}i∈[0,k−1]], (4.62)

as each opening has σj⁢(𝐳‾i)=σj⁢(𝐲‾i)+𝐜⋅σj⁢(𝐬‾i) by self-automorphism 𝐜=σ⁢(𝐜), which is similar to the technique for automorphism filtering in eq. 4.40. Then eq. 4.61 can be changed to

𝐲‾=[{σi⁢(−𝐲‾1)}i∈[0,k−1]{σi⁢(𝐁⁢𝐲‾2)}i∈[0,k−1]],𝐬‾=[{σi⁢(𝐬‾1)}i∈[0,k−1]{σi⁢(𝐦‾)}i∈[0,k−1]]. (4.63)

If the prover is honest, the convincing probabilty is approximately

1M1⁢M2=exp(14γ1+14γ2+12⁢γ12+12⁢γ22)−1

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.

Lemma 4.14.4.

Given a bin with N balls of which M are marked. Then the attempts to draw uniformly at random from the bin without replacement until k≤M marked balls are drawn is distributed according to the negative hypergeometric distribution. The expected number of draws is k⁢(N+1)/(M+1).

Proof.

The sequence of draws without replacement can be viewed as a permutation of N balls, and we are interested in the number of draws up to the first k marked ones. For an unmarked ball, it can be in one of the M+1 positions separated by M marked ones, and there are k of them before the kth marked one. By the linearity of expectation, the expected number of draws is

k+(N−M)⋅kM+1=k⁢(N+1)M+1.

∎

An immediate application is, let 𝐇∈{0,1}R×N be the binary matrix for R rows indexed by the prover’s randomness, and the N columns indexed by verifier challenges, then let the ith row has accepting dencity εi, supposing the first draw over the row is accepting, then drawing for the next 2 acceptance is expected to be 2/εi 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

𝔼[Q∣ith⁢ row]=1⋅(1−εi)+(1+2/εi)⋅εi=3,

and supposing there are less than 3 acceptence on the row, then

𝔼[Q∣ith⁢ row]=1⋅(1−εi)+N⋅εi≤3.

Averaging over the prover randomness, we thus have

𝔼[Q]=𝔼[𝔼[Q∣ith⁢ row]]≤3, (4.64)

where the success probability is

∑k∈[3,N]kN⋅δk=∑k∈[1,N]kN⋅δk−δ1N−2⁢δ2N=ε−δ1+2⁢δ2N, (4.65)

where δk is the fraction of rows that have k acceptances, ε is the fraction of acceptance in 𝐇, and eq. 4.65 is at least ε−3/N by a coarse analysis, and ε−2/N by a finer one. Hence, if checks on an entry of 𝐇 takes T, and ε>2/N, then extracting three accepting transcripts by restarting over fresh prover randomness, is at most expected 3⁢T/(ε−2/N).

Now, in expected 3⁢T/(ε−2/N) time, we have 3 accepting transcripts forked from the same prover randomenss, hence the same first prover message, by (𝐰‾,𝐯,𝐭g,𝐜i,𝐳‾1,i,𝐳‾2,i) for i∈[0,2].

Let Δ⁢𝐜←𝐜0−𝐜1, Δ⁢𝐳‾1←𝐳‾1,0−𝐳‾1,1, Δ⁢𝐳‾2←𝐳‾2,0−𝐳‾2,1, and 𝐬‾1←Δ⁢𝐳‾1⋅(Δ⁢𝐜)−1, 𝐬‾2←Δ⁢𝐳‾2⋅(Δ⁢𝐜)−1. Further, we have 𝐦‾←𝐭‾B−𝐁⁢𝐬‾2 and 𝐠0←𝐭g−𝐛‾g𝖳⁢𝐬‾2, then

[𝐭‾A𝐭‾B𝐭‾g]=[𝐀1𝟎𝟎]⁢𝐬‾1+[𝐀2𝐁𝐛‾g𝖳]⁢𝐬‾2+[𝟎‾𝐦‾𝐠0],

and ‖Δ⁢𝐜‖∞≤2⁢κ by eq. 4.53, ‖Δ⁢𝐳‾i‖2≤2⁢si⁢2⁢mi⁢d for i∈[1,2].

Continuing on, we can have 𝐲‾1←𝐳‾1,0−𝐜0⋅𝐬‾1, 𝐲‾2←𝐳‾2,0−𝐜0⋅𝐬‾2, and under the same interpolation,

𝐳‾1,0−𝐜0⋅𝐬‾1 =𝐳‾1,1−𝐜1⋅𝐬‾1,
𝐳‾2,0−𝐜0⋅𝐬‾2 =𝐳‾2,1−𝐜1⋅𝐬‾2.

Applying the derived 𝐬‾1, 𝐬‾2, and 𝐜2, against 𝐳‾1,2 and 𝐳‾2,2, we have either 𝐲‾1 and 𝐲‾2 being the masking randomness, or we find a 𝖬𝖲𝖨𝖲n,m1+m2,B solution for [𝐀1⁢𝐀2], where B was defined near eq. 4.57, that for i∈[1,2],

𝐮‾i←Δ⁢𝐜⁢(𝐳‾i,2−𝐜2⁢𝐬‾i−𝐲‾i)=Δ⁢𝐜⁢(𝐳‾i,2−𝐳‾i,0)+(𝐜0−𝐜2)⁢Δ⁢𝐳‾i

solves [𝐀1⁢𝐀2] by 𝐀1⁢𝐮‾1+𝐀2⁢𝐮‾2=𝟎‾.

Onwards assuming the MSIS is respected, then derive eq. 4.63, 𝐠0′=−(𝐲‾𝖳⁢𝐑⁢𝐬‾+𝐬‾𝖳⁢𝐑⁢𝐲‾+𝐫‾1𝖳⁢𝐲‾), such that

[1𝐜0𝐜021𝐜1𝐜121𝐜2𝐜22]⁢[𝐲‾𝖳⁢𝐑⁢𝐲‾+𝐛‾g𝖳⁢𝐲‾2−𝐯𝐠0′−𝐠0𝐬‾𝖳⁢𝐑⁢𝐬‾+𝐫‾1𝖳⁢𝐬‾+𝐫0]=[𝟎𝟎𝟎]

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.

Many Quadratic Relations Proof.

To instantiate the proof for multiple quadratc relations, we sample uniformly random 𝝁1,…,𝝁N←rRq 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 q1−1 derived by γ1,…,γℓ←rℤq, it was due to ℤq≅∏ℤqi, then the random linear combination over a CRT slot being fixed to 0 has probability at most q1−1. Now consider random linear combination over 𝝁1,…,𝝁N←rRq, over some fixed 𝐞1,…,𝐞N∈Rq that are not all zero, then by

Rq≅∏(𝔽qid/2×𝔽qid/2),

supposing qi≡5mod8 makes Rqi≅𝔽qid/2×𝔽qid/2, then fixing a nonzero CRT slot has probability at most q1−d/2.

Hence, starting from the extractor that extracts for a single quadratic relation, the knowledge soundness here is 2/N+q1−d/2, 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

𝐬‾𝖳⁢(∑𝝁i⁢𝐑i)⁢𝐬‾+(∑𝝁i⁢𝐫‾1,i𝖳)⁢𝐬‾+∑𝝁i⁢𝐫0,i=𝟎.

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 q1−d/2 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, q1−d/2 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 p be the probability of a successful extraction for one quadratic relation, E be the event that the first extraction is successful, and X be the number of invocations for the extractor for one quadratic relation, then the expected number of invocations is

𝔼[X]=𝔼[X∣E]⁡Pr⁡[E]+𝔼[X∣¬E]⁡Pr⁡[¬E]=(1+1p)⋅p+1⋅(1−p)=2.

Hence, by eq. 4.64, the expected runtime of the extractor for one quadratic relation is at most 3⁢T, then the expected runtime of the extractor for multiple quadratic relations is at most 6⁢T.

For the success probability of such extractor for multiple quadratic relations, there are three disjoint events:

  • •

    E0: Both openings are the same, and all underlying quadratic relations are satisfied.

  • •

    E1: Both openings are the same, but some underlying quadratic relations are violated.

  • •

    E2: 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 E1. We therefore need to bound Pr⁡[E1] even for such provers. By the construction of the extractor for multiple quadratic relations,

Pr⁡[E0∨E1∨E2]=p≥ε−2N, (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,

Pr⁡[E0∨E2]=p−Pr⁡[E1]≥ε−2N−Pr⁡[E1].

Let X0,X1 be the random variables for the output of the first and second extraction, and hx be the probability of an extraction gives relaxed opening x, then h⊥=1−p≤1−ε+2/N, and

Pr⁡[X1=x∣X0=x]=∑r≥0(1−p)r⁢hx=hxp.

Therefore, summing overall openings that violates some underlynig quadratic relations, we have

Pr⁡[E1]=∑xPr⁡[X1=x∣X0=x]⁢Pr⁡[X0=x]=∑xhxp⋅hx≤q1−d/2p⁢∑xhx≤q1−d/2,

the third inequality holds by hx≤q1−d/2 for a fixed invalid opening x, and the last inequality holds by the successful extraction probability, and therefore

Pr⁡[E0∨E2]≥ε−2N−q1−d/2.

Vanishing Constant Coefficient Proof.

We denote the protocol for proving multiple quadratic relations by Π𝗆𝖺𝗇𝗒2. We consider proving multiple quadratic relations, whose evaluations

𝐬‾𝖳⁢𝐑i⁢𝐬‾+𝐫‾1,i𝖳⁢𝐬‾+𝐫0,i (4.67)

over 𝐬‾ defined in eq. 4.62, for i∈[1,M], have constant coefficients being 0. Write Fi⁢(𝐬‾) for eq. 4.67, and extend the BDLOP commitment key by𝐁g∈Rqλ×m2. The protocol proceeds as follows:

  • •

    The prover samples 𝐠‾←r{𝐚∈Rq:a0=0}λ, commits 𝐭‾g←𝐁g⁢𝐬‾2+𝐠‾, and sends 𝐭‾g to the verifier

  • •

    The verifier replies 𝚪←rℤqλ×M.

  • •

    The prover computes

    [𝐡1⋮𝐡λ]←[𝐠1⋮𝐠λ]+𝚪⁢[F1⁢(𝐬‾)⋮FM⁢(𝐬‾)],

    and sends 𝐡1,…,𝐡λ.

  • •

    Invoke Π𝗆𝖺𝗇𝗒2 to prove

    𝐠j+∑i=1Mγj,i⁢Fi⁢(𝐬‾)−𝐡j=𝟎

    for j∈[1,λ].

  • •

    The verifier accepts if Π𝗆𝖺𝗇𝗒2 accepts and hj,0=0 for j∈[1,λ].

Additional quadratic relations over Rq over the original committed witness can be included in the same invocation of Π𝗆𝖺𝗇𝗒2, which combines them with the above well-formedness equations.

Similar to the analysis for the multiple quadratic relation proof, the knowledge soundness here is 2/N+q1−d/2+q1−λ. 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 12⁢T. With the same analysis, splitting into 3 disjoint events, the probability of 2 openings being distinct is at most q1−λ, completing the soundness analysis.

Proving Norm Bounds.

We begin by a lemmas from [BL17, LNS21] as a motivation. Recall the binomial distribution from fair coin, where 𝖡𝗂𝗇κ is a distribution from

∑i∈[1,κ](Xi−Yi),

where Xi and Yi are fair coins over {0,1}. We begin with the prototype in [BL17].

Lemma 4.14.5 (ℓ∞ Lower-Tail Bound for Binary Compression [BL17]).

For all s‾∈ℤpk, c‾′∈{0,1}k, and y∈ℤp, over the randomness of c‾←r{0,1}k,

Pr⁡[‖⟨s‾,c‾−c‾′⟩+y‖∞⁢<12∥⁢s‾∥∞]≤12.
Proof.

Let F⁢(c‾):=⟨s‾,c‾−c‾′⟩+y, and ‖s‾‖∞=|si|, then let c‾′′ has ci bit flipped, and

F⁢(c‾)−F⁢(c‾′′)=(2⁢ci−1)⁢si,

and hence ‖F⁢(c‾)−F⁢(c‾′′)‖∞=‖s‾‖∞. By triangle inequality, for all c‾∈{0,1}k,

‖s‾‖∞≤‖F⁢(c‾)‖∞+‖F⁢(c‾′′)‖∞,

such that at least one of ‖F⁢(c‾)‖∞ and ‖F⁢(c‾′′)‖∞ is at least ‖s‾‖∞/2, completing the proof. ∎

With lemma 4.14.5, the following result is immediate.

Lemma 4.14.6 (ℓ∞ Lower-Tail Bound for Binomial Compression [BL17, LNS21]).

For all s‾∈ℤpk and y∈ℤp, over the randomness of c‾←r𝖡𝗂𝗇1k,

Pr⁡[‖⟨s‾,c‾⟩+y‖∞⁢<12∥⁢s‾∥∞]≤12.
Proof.

By lemma 4.14.5, we have the claim for the fixed c‾′ version of claim. By c‾′←r{0,1}k,

Pr⁡[‖⟨s‾,c‾′′⟩+y‖∞⁢<12∥⁢s‾∥∞]=𝔼[Pr⁡[‖⟨s‾,c‾−c‾′⟩+y‖∞⁢<12∥⁢s‾∥∞|c‾′]]≤12,

where c‾′′←𝖡𝗂𝗇1k, and the inequality holds by lemma 4.14.5, as any probability in the expectation is at most 1/2. ∎

The range by lemma 4.14.6 gives a probability bound for the ℓ∞-norm in [‖s‾‖∞/2,k⁢‖s‾‖∞], and by lemma 1.4.8, we can show without y that

Pr⁡[|⟨c‾,s‾⟩|≥C⁢k⁢‖s‾‖∞]≤2⁢exp⁡(−C2/2),

and given a concretely sufficiently large k, we can use a large constant C. The form of y+⟨s‾,c‾⟩ is useful for the sigma protocol, yet the range of the ℓ∞-norm has a factor of O⁢(k), which is too large.

Johnson-Lindenstrauss Lemma [JL84], conceptually shows the existence of a linear map 𝐕∈ℝℓ×m sampled over continuous Gaussian distribution, such that for k distinct points in m-dimensional vector space be linearly embedded into ℓ-dimensional space, where ℓ=O⁢(log⁡k), and their distances over ℓ2-norm are preserved approximately.

Lemma 4.14.7 (Johnson–Lindenstrauss [JL84]).

Let S⊆ℝm with |S|=k≥2, and 0<ε<1. There exists ℓ=O⁢(ε−2⁢log⁡k) and a linear map 𝐕∈ℝℓ×m such that, for all x‾,y‾∈S,

(1−ε)⁢‖x‾−y‾‖22≤‖𝐕⁢x‾−𝐕⁢y‾‖22≤(1+ε)⁢‖x‾−y‾‖22.

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.

Lemma 4.14.8 (Gaussian Randomized Johnson–Lindenstrauss [IM98]).

Let S⊆ℝm with |S|=k≥2, and let ε,δ∈(0,1). There exists a constant C>0 such that the following holds.

Choose a positive integer

ℓ≥C⁢ε−2⁢log⁡(k/δ),

and sample 𝐕∈ℝℓ×m by independently drawing each entry from 𝒩⁢(0,1/ℓ).

Then, with probability at least 1−δ over 𝐕, simultaneously for all x‾,y‾∈S,

(1−ε)⁢‖x‾−y‾‖22≤‖𝐕⁢x‾−𝐕⁢y‾‖22≤(1+ε)⁢‖x‾−y‾‖22.

Achlioptas [Ach03] shows that the same asymptotic dimension bound and distance-preservation guarantee can be obtained using independent random signs.

Lemma 4.14.9 (Sign Randomized Johnson–Lindenstrauss [Ach03]).

The conclusion of lemma 4.14.8 remains valid for entries Vi,j=Xi,j/ℓ, where the Xi,j are sampled independently and uniformly over ±1.

In our scenario, we don’t need to handle k 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 𝐑←𝖡𝗂𝗇1256×m 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 𝐆∈ℝ256×m whose entries are sampled independently from 𝒩⁢(0,1/2), matching the variance of 𝖡𝗂𝗇1.

For a fixed nonzero vector w‾∈ℤm,

2⁢‖𝐆⁢w‾‖22‖w‾‖22∼χ2562.

To see this, consider the output of row i:

Yi:=(𝐆⁢w‾)i=∑j=1mGi,j⁢wj.

A fixed linear combination of independent Gaussian variables is Gaussian. Since 𝔼[Gi,j]=0 and Var⁢[Gi,j]=1/2,

Yi∼𝒩⁢(0,12⁢∑j∈[1,m]wj2)=𝒩⁢(0,‖w‾‖222).

Moreover, the Yi are independent, since they use independently sampled rows of 𝐆.

Thus, normalizing each output by its standard deviation gives independent standard normal variables

Zi:=2‖w‾‖2⁢Yi∼𝒩⁢(0,1).

In particular,

‖𝐆⁢w‾‖22=∑i∈[1,256]Yi2=‖w‾‖222⁢∑i∈[1,256]Zi2.

The factor ‖w‾‖22 therefore cancels:

2⁢‖𝐆⁢w‾‖22‖w‾‖22=∑i=1256Zi2∼χ2562.

Here, the 256 degrees of freedom count the independent standard normal variables being squared.

Let X∼χ2562. Numerically evaluating its tails gives

Pr⁡[X<60]≈2−130.98<2−128,Pr⁡[X>674]≈2−128.30<2−128.

Consequently, the normalization above yields the Gaussian bounds in [GHL22, Fact 3.1]:

Pr𝐆⁡[‖𝐆⁢w‾‖22⁢<30∥⁢w‾∥22]=Pr⁡[X<60]<2−128,Pr𝐆⁡[‖𝐆⁢w‾‖22>337⁢‖w‾‖22]=Pr⁡[X>674]<2−128. (4.68)

The constants 30 and 337 arise by dividing the chi-square thresholds 60 and 674 by 2.

Gentry et al. [GHL22, Corollary 3.2] then heuristically apply these same bounds to the projection over binomial distribution 𝐑←𝖡𝗂𝗇1256×m, 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 1/2 by κ/2 gives

2⁢‖𝐆⁢w‾‖22κ⁢‖w‾‖22∼χ2562.

Under the same Gaussian substitution heuristic, for 𝐑←𝖡𝗂𝗇κ256×m and X∼χ2562, LNP [LNP22, Lemma 2.8] obtains

Pr𝐑⁡[‖𝐑⁢w‾‖22⁢<13⁢κ∥⁢w‾∥22] ≈Pr⁡[X<26]≤2−256,
Pr𝐑⁡[‖𝐑⁢w‾‖22>337⁢κ⁢‖w‾‖22] ≈Pr⁡[X>674]≤2−128.

Here, ≈ denotes the heuristic comparison. The smaller lower-tail threshold gives the stronger 2−256 estimate needed in the subsequent argument.

Lemma 4.14.10 (ℓ2 Lower-Tail Bound for Binomial Compression [LNP22]).

Fix m,p∈ℤ+ and a bound 0<b≤p/(41⁢m). Let w‾∈ℤpm satisfy ‖w‾‖2≥b, and y‾∈ℤp256 is arbitrary. Norms of residue vectors use centered representatives.

For 𝐑←𝖡𝗂𝗇1256×m with independent entries, over the randomness of 𝐑,

Pr⁡[‖𝐑⁢w‾+y‾modp‖2<4⁢b]<2−128.
Proof.

We begin by separating out the case where ‖w‾‖∞≥p/(4⁢m). By the given bound condition,

4⁢b≤4⁢p41⁢m≤p8⁢m.

By lemma 4.14.6, for any row i∈[1,256], over the randomness of ith row r‾i𝖳,

Pr⁡[|⟨r‾i,w‾⟩+yi|⁢<12∥⁢w‾∥∞]≤12.

All rows must satisfy such event to have the ℓ2-norm of the projected vector be at most 4⁢b, of at most 2−256 probability.

Now consider the complementary case ‖w‾‖∞<p/(4⁢m). Consider all the computation over ℤ rather than ℤp, and let Xi=⟨r‾i,w‾⟩, then we have |Xi|≤‖w‾‖1<p/4, and thus each Xi+yi has |Xi+yi|<3⁢p/4.

With a centered representation, a long |Xi+yi|>p/2 has wrapped representation p/4<|Xi+yimodp|<p/2, yet we have 4⁢b≤p/(8⁢m)<p/4, and thus with ‖w‾‖∞<p/(4⁢m),

Pr⁡[‖𝐑⁢w‾+y‾modp‖2<4⁢b]=Pr⁡[‖𝐑⁢w‾+y‾‖2<4⁢b],

as the settings with rows of large ℓ∞-norm wrapping into (p/4,p/2) are not counted anyways.

Continuing on, we use the MGF trick in Chernoff’s bound, by

Pr⁡[‖𝐑⁢w‾+y‾‖2<4⁢b] =Pr⁡[∑i∈[1,256](Xi+yi)2<16⁢b2]≤exp⁡(16⁢s⁢b2)⁢𝔼[∏i∈[1,256]exp⁡(−s⁢(Xi+yi)2)]
=exp⁡(16⁢s⁢b2)⁢∏i∈[1,256]𝔼[exp⁡(−s⁢(Xi+yi)2)]

for any s≥0. We observe that, for a binomial random variable B∼𝖡𝗂𝗇1,

𝔼[exp⁡(i⁢u⁢B)]=14⁢(exp⁡(−i⁢u)+exp⁡(i⁢u))+12=12⁢(cos⁡(u)+1)=cos2⁡(u/2).

With this result, we can introduce the linear shift y such that

𝔼[cos⁡(u⁢(Xi+yi))] =12⁢(𝔼[exp⁡(u⁢i⁢(Xi+yi))]+𝔼[exp⁡(−u⁢i⁢(Xi+yi))])=cos⁡(u⁢yi)⁢∏j∈[1,m]cos2⁡(u⁢wj/2)
≤∏j∈[1,m]cos2⁡(u⁢wj/2)=𝔼[cos⁡(u⁢Xi)].

Another fact we are using is, let G∼𝒩⁢(0,1) and any t∈ℝ, we have 𝔼[cos⁡(t⁢G)]=exp⁡(−t2/2). Taking independent G of Xi, we substitute u=2⁢s⁢G into the preceding inequality and average over G. Since cosine is bounded, we can exchange the order of expectations and obtain

𝔼Xi[exp⁡(−s⁢(Xi+yi)2)] =𝔼G𝔼Xi[cos⁡(2⁢s⁢G⁢(Xi+yi))]
≤𝔼G𝔼Xi[cos⁡(2⁢s⁢G⁢Xi)]=𝔼Xi[exp⁡(−s⁢Xi2)].

Hence, the shift yi is removed from the upper bound.

Substituting this into the Chernoff bound, and using that the Xi have the same distribution, gives

Pr⁡[‖𝐑⁢w‾+y‾‖2<4⁢b]≤exp⁡(16⁢s⁢b2)⁢∏i∈[1,256]𝔼[exp⁡(−s⁢Xi2)] (4.69)

for every s≥0. It remains to bound the expectation for a single row and then choose s.

The next goal is to upper bound 𝔼[exp⁡(−s⁢Xi2)] such that the Xi can be taken out, and it only matters with ‖w‾‖2. We began by the Taylor expansion for exp⁡(−s⁢a) over a, that is

exp⁡(−s⁢a)≤1−s⁢a+s2⁢a22. (4.70)

By the linearity of expectation, we have

𝔼[exp⁡(−s⁢Xi2)]≤1−s⁢𝔼[Xi2]+s22⁢𝔼[Xi4].

As was discussed in remark 1.6.39, we can derive the second and fourth moment of Xi by

𝔼[Xi2]=12⁢‖w‾‖22,𝔼[Xi4]=12⁢∑j∈[1,m]wj4+3⋅14⁢∑j≠kwj2⁢wk2=34⁢‖w‾‖24−14⁢∑j∈[1,m]wj4≤34⁢‖w‾‖24. (4.71)

By b≤‖w‾‖2 in lemma, we have exp⁡(16⁢s⁢b2)≤exp⁡(16⁢s⁢‖w‾‖22). Writing

t=s⁢‖w‾‖22≥0, (4.72)

the loose upper bound is 2−52.

To derive a tigher bound from eq. 4.70, we consider coefficients s≥A≥0,B≥0 such that

exp⁡(−s⁢a)≤1−A⁢a+B⁢a2=F⁢(a),

holds for all a≥0, and the degree-2 series expansion upper bounds 𝔼[exp⁡(−s⁢a)] tigher.

Averaging both sides by a=Xi2,

𝔼[exp⁡(−s⁢Xi2)] ≤1−A⁢𝔼[Xi2]+B⁢𝔼[Xi4]≤1−A⁢‖w‾‖222+B⁢3⁢‖w‾‖244
=1−A3⋅3⁢‖w‾‖222+B3⁢(3⁢‖w‾‖222)2=23+13⁢F⁢(3⁢‖w‾‖222).

By earlier requirement, F⁢(a)≥exp⁡(−s⁢a), then the upper bound is closest when F⁢(c)=exp⁡(−s⁢c) when c=3⁢‖w‾‖22/2, and it is they are not intersecting at c. Hence,

{1−A⁢c+B⁢c2=exp⁡(−s⁢c),−A+2⁢B⁢c=−s⁢exp⁡(−s⁢c). (4.73)

We therefore obtain

B=1−(1+s⁢c)⁢exp⁡(−s⁢c)c2,A=2−(2+s⁢c)⁢exp⁡(−s⁢c)c.

We first verify s−A≥0. Put x=s⁢c≥0. Then

s−A=x−2+(x+2)⁢exp⁡(−x)c. (4.74)

The numerator vanishes at x=0, and its derivative is

1−(1+x)⁢exp⁡(−x)≥0,

since exp⁡(x)≥1+x. Thus A≤s.

To verify the upper bound throughout the domain, let

H⁢(a)=F⁢(a)−exp⁡(−s⁢a).

Our construction gives

H⁢(0)=H⁢(c)=H′⁢(c)=0.

If s=0, then A=B=0 and H is identically zero. Otherwise, H′′′⁢(a)=s3⁢exp⁡(−s⁢a)>0, so H′ is strictly convex.

Since H⁢(0)=H⁢(c), Rolle’s theorem gives some r∈(0,c) with H′⁢(r)=0. Together with H′⁢(c)=0, strict convexity implies that H′ is negative between r and c, and positive outside this interval. Therefore, H increases from H⁢(0)=0 to H⁢(r), decreases back to H⁢(c)=0, and increases thereafter. Consequently, H⁢(a)≥0 for all a≥0.

Again let t=s⁢‖w‾‖22, and we are at 2−96 for an upper bound.

To further improve the bound, we use a degree-4 polynomial and moments up to order 8. For t=s⁢‖w‾‖22≥0,

F4⁢(a)=1−A4⁢a+B4⁢a2−C4⁢a3+D4⁢a4, (4.75)

where

A4 =1‖w‾‖22⁢(52−(6427+16⁢t9)⁢exp⁡(−t)−(754+t9)⁢exp⁡(−4⁢t)),
B4 =1‖w‾‖24⁢(3316−(169+8⁢t3)⁢exp⁡(−t)−(41144+t4)⁢exp⁡(−4⁢t)),
C4 =1‖w‾‖26⁢(58−(49+t)⁢exp⁡(−t)−(1372+t6)⁢exp⁡(−4⁢t)),
D4 =1‖w‾‖28⁢(116−(127+t9)⁢exp⁡(−t)−(11432+t36)⁢exp⁡(−4⁢t)).

For all a≥0, we have

exp⁡(−s⁢a)≤F4⁢(a).

Averaging both sides with a=Xi2 and using the moments up to order 8,

𝔼[exp⁡(−s⁢Xi2)]≤𝔼[F4⁢(Xi2)]≤137256+(191432+5⁢t144)⁢exp⁡(−t)+(1576912−t576)⁢exp⁡(−4⁢t).

Using b≤‖w‾‖2, we upper bound by 2−144. 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 1/2 and [Ach03, Eq. (13)] to write up the upper-tail bound replacing 337 by 343, with error below 2−128. 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].