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]],

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.62)

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,

where the sucess probability is

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

where δk is the fraction of rows that have k acceptances, ε is the fraction of acceptance in 𝐇, and eq. 4.63 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.62, 𝐠0′=−(𝐲‾𝖳⁢𝐑⁢𝐬‾+𝐬‾𝖳⁢𝐑⁢𝐲‾+𝐫‾1𝖳⁢𝐲‾), such that

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

should 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.

TODO: soundness proof for multiple quad relation.

Proving Norm Bounds.

Johnson-Lindenstrauss stuffs

TODO: Stuffs for [LNP22].