Lattice cryptography is full of randomness: secrets, errors and signature masks are all sampled. This page lists the notation for that randomness as it appears on this site. Each row says how to read the symbol, what it means here, and which chapters use it. Two things trip up most readers: the arrow ←\leftarrow means two different things, and Gaussian widths are quoted in two different units. Both are covered below.

Sampling and assignment

SymbolRead asMeaning on this siteExampleUsed in
x←Sx \leftarrow S
x \leftarrow S
“x is sampled uniformly from S”When the right side is a finite set, draw an element uniformly at random.a←Zqna \leftarrow \mathbb{Z}_q^n: a uniformly random vector mod qq2.3
x←χx \leftarrow \chi“x is drawn from χ”When the right side is a distribution, draw from that distribution.e←χe \leftarrow \chi: an error sampled from the error distribution2.3, 2.5
x←x+1x \leftarrow x + 1“x becomes x + 1”In pseudocode the same arrow is plain assignment, with no randomness.k←k+1k \leftarrow k + 1 in the LLL loop4.1, 4.2, 2.2
x∼Dx \sim \mathcal{D}“x is distributed as D”A statement about the distribution of xx, often used in place of the sampling arrow.(s1,s2)∼DΛ+H(m),σ(s_1, s_2) \sim D_{\Lambda + H(m), \sigma}4.5

Many papers write x←$Sx \xleftarrow{\$} S or x←U(S)x \leftarrow U(S) to make uniform sampling explicit. This site does not use either form; read a plain arrow into a set as uniform sampling. Also note that ∼\sim sometimes means “roughly”, as in ∼229\sim 2^{29} on the lattice reduction page; the context tells you which.

Distributions

SymbolRead asMeaning on this siteExampleUsed in
χ\chi
\chi
“chi”The error distribution of an LWE instance: any distribution of small integers mod qq.parameters (n,q,χ)(n, q, \chi)2.3
As,χA_{s,\chi}
A_{s,\chi}
“the LWE distribution for s and chi”Pairs (a,b)(a, b) with aa uniform and b=⟨a,s⟩+e mod qb = \langle a, s\rangle + e \bmod q, e←χe \leftarrow \chi.(ai,bi)←As,χ(a_i, b_i) \leftarrow A_{s,\chi}2.3
DZ,σD_{\mathbb{Z},\sigma}
D_{\mathbb{Z},\sigma}
“discrete Gaussian over the integers with parameter sigma”Each integer xx gets probability proportional to e−x2/(2σ2)e^{-x^2/(2\sigma^2)}. Here σ\sigma is the standard deviation.χ=DZ,σ\chi = D_{\mathbb{Z},\sigma} with σ≪q\sigma \ll q2.3, 2.5
DΛ,sD_{\Lambda,s}, DΛ,s,cD_{\Lambda,s,c}“discrete Gaussian over Λ with width s (and centre c)”Each lattice point vv gets probability proportional to ρs,c(v)\rho_{s,c}(v). Here ss is a width, not a standard deviation.DZ,sD_{\mathbb{Z},s} is the case Λ=Z\Lambda = \mathbb{Z}1.4, 6.3, 4.5
BηB_\eta
B_\eta
“centred binomial with parameter eta”Sample 2η2\eta random bits and return (sum of the first η\eta) − (sum of the last η\eta). Values lie in {−η,…,η}\{-\eta,\dots,\eta\}, variance η/2\eta/2. The ML-KEM standard calls it CBDη\mathrm{CBD}_\eta.B2B_2: P(0)=6/16P(0) = 6/16, P(±1)=4/16P(\pm1) = 4/16, P(±2)=1/16P(\pm2) = 1/163.1, 2.3, 3.4
{−η,…,η}\{-\eta,\dots,\eta\}“integers from minus eta to eta”A range of small integers. In ML-DSA the secret coefficients are uniform on it; in ML-KEM the same range is the support of BηB_\eta, which is not uniform.η=2\eta = 2: five values, each with probability 1/5 in ML-DSA3.3, 3.4
[−γ1+1,γ1][-\gamma_1 + 1, \gamma_1]“integers from one minus gamma-one to gamma-one”The range of the uniformly sampled ML-DSA signing mask yy.γ1=217\gamma_1 = 2^{17} for ML-DSA-443.3

Gaussian functions and the two width conventions

The Gaussian function with width ss and centre cc is

ρs,c(x)=exp⁡ ⁣(−π∥x−c∥2s2),ρs=ρs,0,ρs(S)=∑x∈Sρs(x).\rho_{s,c}(x) = \exp\!\left(-\pi \frac{\|x - c\|^2}{s^2}\right), \qquad \rho_s = \rho_{s,0}, \qquad \rho_s(S) = \sum_{x \in S} \rho_s(x).

Read ρs\rho_s as “rho s”. The last form, the Gaussian mass of a set, is how the smoothing parameter is defined. A discrete Gaussian divides ρs,c\rho_{s,c} by the mass of the whole lattice so the probabilities sum to 1.

Two conventions describe how wide the bell is, and this site uses both:

ParameterDensity shapeWhere on this site
width ssexp⁡(−πx2/s2)\exp(-\pi x^2 / s^2)1.4, 6.3 (DΛ,sD_{\Lambda,s}, ρs\rho_s, ηε\eta_\varepsilon)
standard deviation σ\sigmaexp⁡(−x2/(2σ2))\exp(-x^2 / (2\sigma^2))2.3, 2.2, 7.4, 3.4

They describe the same bell curve when

s=2π σ≈2.5066 σ.s = \sqrt{2\pi}\,\sigma \approx 2.5066\,\sigma.

The discrete Gaussian guide states the same relation the other way round: per-coordinate standard deviation s/2πs/\sqrt{2\pi}. For a discrete Gaussian the true standard deviation equals s/2πs/\sqrt{2\pi} only approximately, but the error is negligible once σ\sigma is about 1 or more. When a paper quotes “a Gaussian of parameter 3.2”, check which formula it uses before comparing numbers.

Worked example: DZ,σD_{\mathbb{Z},\sigma} with σ=1\sigma = 1

Take standard deviation σ=1\sigma = 1, so width s=2π≈2.5066s = \sqrt{2\pi} \approx 2.5066. Summing ρs(x)\rho_s(x) over all integers gives a normaliser of about 2.5066, and dividing gives these probabilities:

xx0±1±2±3±4
P(x)P(x) (each sign)0.39890.24200.05400.00440.0001

So a sample lands in {−1,0,1}\{-1, 0, 1\} with probability 0.883 and in {−2,…,2}\{-2,\dots,2\} with probability 0.991, and the standard deviation of the discrete distribution is 1.0000 to four decimals. For comparison, B2B_2 from ML-KEM also has variance 1 but never leaves {−2,…,2}\{-2,\dots,2\}.

Smoothing parameter

SymbolRead asMeaning on this siteExampleUsed in
ηε(Λ)\eta_\varepsilon(\Lambda)
\eta_\varepsilon(\Lambda)
“eta epsilon of lambda”The smallest width ss with ρ1/s(Λ∗∖{0})≤ε\rho_{1/s}(\Lambda^* \setminus \{0\}) \le \varepsilon. Above it, a Gaussian of width ss reduced modulo Λ\Lambda is almost uniform, with the error controlled by ε\varepsilon.samplers need s≥ηε(Λ)s \geq \eta_\varepsilon(\Lambda)1.4, 6.3
ε\varepsilon“epsilon”A small error tolerance. In ηε\eta_\varepsilon it bounds leftover Gaussian mass. On 3.4 the letter ϵ\epsilon is instead a distinguishing advantage.T=1/ϵ2T = 1/\epsilon^2 repetitions1.4, 3.4

Probabilities, expectations and security levels

SymbolRead asMeaning on this siteExampleUsed in
Pr⁡[E]\Pr[E], P[E]P[E]“the probability of E”Probability of an event. Both spellings appear; they mean the same.Pr⁡[failure]<2−139\Pr[\text{failure}] < 2^{-139}3.4, 4.3
E[X]\mathbb{E}[X], Var(X)\mathrm{Var}(X)“expected value of X”, “variance of X”Mean and spread of a random quantity. Not written as formulas on this site, but implied whenever a norm is estimated.Var(Bη)=η/2\mathrm{Var}(B_\eta) = \eta/2—
∥e∥≈σn\|e\| \approx \sigma\sqrt{n}“the norm of e is about sigma root n”The typical length of a vector of nn independent errors with standard deviation σ\sigma: E[∥e∥2]=nσ2\mathbb{E}[\|e\|^2] = n\sigma^2. A heuristic estimate, not a bound.n=256n = 256, σ=1\sigma = 1: ∥e∥≈16\|e\| \approx 167.4, 2.2
2−1282^{-128}“two to the minus 128”A probability so small it is treated as zero in practice. Security targets and failure rates are stated this way.decryption failure below 2−1392^{-139}3.4, 2.3, 2.6, 3.3
λ\lambda (bits)“lambda bits of security”The security level: the best known attack costs about 2λ2^\lambda operations. Unrelated to the successive minimum λ1\lambda_1, which always carries a subscript.λ=⌊0.292 β∗⌋\lambda = \lfloor 0.292\,\beta^* \rfloor3.4

Theory papers state the same idea asymptotically. A function is negligible, written negl(λ)\mathrm{negl}(\lambda), if it shrinks faster than every inverse polynomial in the security parameter; an event holds with overwhelming probability if its failure probability is negligible. This site quotes concrete numbers such as 2−1282^{-128} instead.

Same symbol, different meaning

SymbolMeanings on this site
←\leftarrowRandom sampling (2.3); assignment in pseudocode (4.1, 4.2).
ρ\rhoGaussian function ρs\rho_s (1.4, 6.3); packing radius ρ=λ1/2\rho = \lambda_1/2 (1.3, 1.4); a public random seed (3.1, 3.3).
σ\sigma, ssStandard deviation versus Gaussian width; convert with s=2πσs = \sqrt{2\pi}\sigma. On 4.5, DΛ+H(m),σD_{\Lambda + H(m),\sigma} names the Falcon sampler’s parameter σ\sigma.
η\etaSmoothing parameter ηε\eta_\varepsilon (1.4); secret bound in ML-KEM and ML-DSA (3.1, 3.3); LLL size-reduction constant 0.501 (4.6).
ε\varepsilon, ϵ\epsilonMass tolerance in ηε\eta_\varepsilon (1.4); distinguishing advantage (3.4); signs ϵi=±1\epsilon_i = \pm 1 in sieving (4.3).
λ\lambdaSecurity level in bits (3.4); with a subscript, the successive minima λi\lambda_i of a lattice (see 8.3).
DDA discrete Gaussian in DZ,σD_{\mathbb{Z},\sigma} and DΛ,sD_{\Lambda,s}. On 2.5, Dγ1ℓD_{\gamma_1}^\ell and DZmD_{\mathbb{Z}^m} denote the mask and target distributions of the signature, described there as uniform over a range.

Conventions we follow

Further reading

Daniele Micciancio and Oded Regev, “Worst-case to average-case reductions based on Gaussian measures” (SIAM J. Computing, 2007), introduced the smoothing parameter and use the width-ss convention. Chris Peikert’s survey A Decade of Lattice Cryptography (2016) collects the sampling notation used in most papers. NIST FIPS 203 defines CBDη\mathrm{CBD}_\eta for ML-KEM. The first two citations are from memory.