The Shortest Vector Problem
The starting point is the
lattice,
built as a geometric object: the set of all integer combinations of a basis, which forms a discrete
additive subgroup of \(\mathbb{R}^n\). From that geometry the previous pages extracted a single number
that measures how tightly the lattice packs space near the origin. That number is the length of its
shortest nonzero vector, the
minimum
distance \(\lambda_1(\mathcal{L})\). What those pages established about
\(\lambda_1\) concerned the existence of a short vector.
Minkowski's
convex body theorem guaranteed one without ever producing it.
Minkowski's
first theorem, its corollary for full-rank lattices, delivers the bound
\[
\lambda_1(\mathcal{L}) \leq \sqrt{n}\,(\det \mathcal{L})^{1/n}
\]
from a volume argument that never inspects a single lattice point. This page asks the
question that existence leaves open. A vector of that length is promised to be there. How
hard is it to find?
The gap between the two questions is the entire subject. Existence is settled by geometry in one
line. Construction is, as far as anyone knows, intractable. Naming the construction problem precisely
is the first step.
Definition: The Shortest Vector Problem (SVP)
Given a basis \(\mathbf{B}\) of a lattice \(\mathcal{L} = \mathcal{L}(\mathbf{B}) \subseteq
\mathbb{R}^n\), the shortest vector problem asks for a nonzero lattice vector
\(\mathbf{v} \in \mathcal{L}\) of minimum length, that is, one satisfying
\[
\|\mathbf{v}\| = \lambda_1(\mathcal{L}).
\]
Two aspects of this definition repay a moment's attention. The first is that the input is a
basis, not the lattice as a set. The lattice is infinite, so one never receives it directly.
One receives a finite list of vectors whose integer combinations generate it, and a lattice of rank at
least two admits infinitely many such lists, related by the
unimodular
changes of basis catalogued earlier. Some bases are nearly orthogonal and reveal the short vectors at
a glance. Others are long and skewed and hide them completely. The difficulty of SVP is precisely the
difficulty of recovering the shortest vector, the geometric information that a badly chosen basis
obscures. A cryptographic construction can exploit exactly this, by publishing a bad basis and keeping
a good one secret.
The second aspect is that the length is measured in the Euclidean norm, and this is a genuine choice
rather than a formality. The same problem can be posed in the \(\ell_\infty\) norm, where a vector's
length is its largest coordinate in absolute value. It behaves differently there, and the difference
will surface when we come to hardness. Unless stated otherwise, \(\|\cdot\|\) means the Euclidean
length throughout, matching the norm in which \(\lambda_1\) was defined.
Why should finding \(\mathbf{v}\) be hard? The lattice is discrete, so a shortest vector exists and is
one of finitely many candidates below any fixed length. One might hope to simply enumerate them. The
obstruction is dimension. The number of lattice points inside a ball whose radius is of the order that
the Minkowski bound allows can grow exponentially with \(n\). The shortest vector can also hide among
integer combinations whose coefficients are individually large even when the vector they produce is
small, and a long, skewed basis arranges precisely this cancellation. Searching the coefficients
directly costs at least exponential time in \(n\) in the worst case, and no method is known that
avoids an exponential cost. What replaces enumeration in practice is basis reduction, which improves a
bad basis toward an orthogonal one. We return to its power and its limits at the end of the page.
In cryptographic settings one rarely needs the exact shortest vector. It is enough to find a vector
that is short to within a factor. Conversely, the hardness results that cryptography can use concern
the approximate problem rather than the exact one. Both considerations point to relaxing the
definition by a factor \(\gamma \geq 1\).
Definition: Approximate SVP (\(\mathrm{SVP}_\gamma\))
Let \(\gamma = \gamma(n) \geq 1\) be an approximation factor. Given a basis \(\mathbf{B}\) of
\(\mathcal{L} \subseteq \mathbb{R}^n\), the problem \(\mathrm{SVP}_\gamma\) asks for a nonzero
\(\mathbf{v} \in \mathcal{L}\) with
\[
\|\mathbf{v}\| \leq \gamma \cdot \lambda_1(\mathcal{L}).
\]
The exact problem is the case \(\gamma = 1\).
The approximation factor \(\gamma\) is written as a function of the dimension deliberately. The whole
story of lattice hardness is a story about how this factor scales with \(n\). The problem is NP-hard,
under randomized reductions, for factors close to \(1\). Its decision version lands in a benign
complexity class for factors around \(\sqrt{n}\) and becomes solvable in polynomial time once
\(\gamma\) is allowed to grow exponentially. A single family of problems, indexed by one growing
parameter, stretches from intractable to easy. Locating the useful cryptographic regime within that
stretch is the task of the approximation hierarchy developed later on this page.
Before that, a word on the honest state of the exact problem's hardness, because it comes with a
subtlety that the definition's insistence on the Euclidean norm anticipated. That exact SVP is NP-hard is
not a folk belief but a theorem, with a caveat about the norm. In the \(\ell_\infty\) norm, exact SVP
is NP-hard, and the proof follows the same combinatorial route that settles the closest vector
problem, which the next section takes up. In the Euclidean norm the question resisted for far longer.
Establishing NP-hardness there required substantially more machinery and a reduction that succeeds
only with high probability rather than with certainty, an argument beyond the scope of this page.
As the hierarchy will make precise, the hardness that actually supports cryptography is not this
worst-case exact hardness at all. It is the hardness of approximating to within a factor that grows
with the dimension.
Distances to a Lattice
The shortest vector problem asks about the lattice in isolation: how close to the origin does a
nonzero lattice point come? A second, equally natural question introduces an outside point. Given a
target \(\mathbf{t} \in \mathbb{R}^n\) that is typically not itself in the lattice, which lattice
point lies nearest to it? This is the closest vector problem, and it is in a precise
sense the more fundamental of the two. The closest vector problem is at least as hard as SVP, as the
next section shows by reducing SVP to it.
We state this problem precisely but, unlike SVP, do not give it a formal definition. The choice
reflects its role. The cryptographic constructions built on lattices rest on the shortest-vector side
and on two close relatives defined below. The closest vector problem in its full generality serves
here as the setting of the NP-completeness proof below and the parent of the first of those relatives.
It is the conceptual hub rather than a load-bearing definition in its own right, described precisely
and then set to one side.
Given a basis \(\mathbf{B}\) of \(\mathcal{L} \subseteq \mathbb{R}^n\) and a target
\(\mathbf{t} \in \mathbb{R}^n\), the closest vector problem (CVP) asks for a lattice vector
\(\mathbf{v} \in \mathcal{L}\) minimizing \(\|\mathbf{v} - \mathbf{t}\|\). The minimum value itself is
the distance \(\operatorname{dist}(\mathbf{t}, \mathcal{L})\). Three versions of the question sit at
different strengths. The search version demands the nearest vector. The optimization
version asks only for the distance \(\operatorname{dist}(\mathbf{t}, \mathcal{L})\) without exhibiting
the vector. The decision version is weaker still and asks only whether
\(\operatorname{dist}(\mathbf{t}, \mathcal{L}) \leq r\) for a supplied bound \(r\).
The three versions look like problems of decreasing difficulty, and the implications in that direction
are immediate. A nearest vector yields its own distance, and a distance settles any threshold
question. The content is that the implications also run backward. For rational input, a procedure that
answers only the yes-or-no decision question can be called repeatedly to recover first the distance
and then the vector itself, all in polynomially many calls. The distance comes from binary search over
the bound \(r\), and the vector from a sequence of queries that sieves the lattice to sparser and
sparser sublattices. We omit the details of that sieve. The three versions are therefore equivalent up
to polynomial-time computation. Hardness may thus be studied on whichever version is most convenient,
and the complexity results are proved for the decision version, the simplest to reason about.
That decision version is genuinely hard, and here the hardness is not norm-dependent or probabilistic
but flatly classical. Deciding whether a target lies within a given distance of a lattice is
NP-complete. Membership
in NP is the easy half. A
certificate of the "yes" answer is the integer coefficient vector \(\mathbf{x}\) of a lattice point
\(\mathbf{B}\mathbf{x}\) within distance \(r\) of the target, and checking it takes one matrix-vector
product and one distance computation. That some such \(\mathbf{x}\) has polynomially many bits follows
from a routine size estimate, which we do not carry out here. Each entry of the point
\(\mathbf{B}\mathbf{x}\) lies within \(r\) of the corresponding entry of the target, and
\(\mathbf{x}\) is recovered from it by solving a linear system. The hard half exhibits a
polynomial-time
reduction from the subset-sum problem, which asks whether some subset of a given list of
integers \(a_1, \dots, a_n\) sums to a target \(S\). Subset-sum is NP-complete, a fact we take from
complexity theory without proof, and the reduction is clean enough to state in full.
The subset-sum reduction
From integers \(a_1, \dots, a_n\) and target \(S\), build the \((n+1) \times n\) basis whose first
row is \((a_1, \dots, a_n)\) and whose remaining rows are \(2 \mathbf{I}_n\), take the target
\(\mathbf{t} = (S, 1, 1, \dots, 1)^{\!\top}\), and set the radius \(r = \sqrt{n}\), specified by
the integer \(r^2 = n\):
\[
\mathbf{B} =
\begin{pmatrix}
a_1 & a_2 & \cdots & a_n \\\\
2 & 0 & \cdots & 0 \\\\
0 & 2 & \cdots & 0 \\\\
\vdots & & \ddots & \vdots \\\\
0 & 0 & \cdots & 2
\end{pmatrix},
\quad
\mathbf{t} =
\begin{pmatrix} S \\\\ 1 \\\\ 1 \\\\ \vdots \\\\ 1 \end{pmatrix}.
\]
A lattice point is \(\mathbf{B}\mathbf{x}\) for integer \(\mathbf{x}\). Its last \(n\) coordinates
are the even numbers \(2x_1, \dots, 2x_n\), each at distance at least \(1\) from the corresponding
entry of \(\mathbf{t}\). So \(\|\mathbf{B}\mathbf{x} - \mathbf{t}\|^2 \geq n\) always. Equality
holds exactly when every \(x_i \in \{0, 1\}\), which makes each of those \(n\) coordinates exactly
distance \(1\) away, and the first coordinate matches exactly, \(\sum_i a_i x_i = S\). Thus a
lattice point lands within \(\sqrt{n}\) of \(\mathbf{t}\) precisely when the set
\(\{i : x_i = 1\}\) is a subset summing to \(S\). The subset-sum instance is a "yes" exactly when
the constructed CVP instance is, and the construction is plainly polynomial-time.
An adaptation of the same combinatorial construction, whose details we omit, yields NP-hardness of the
exact shortest vector problem in the \(\ell_\infty\) norm. This is the source of the norm-dependent
claim made earlier. In the Euclidean norm the corresponding statement for SVP demands considerably
more, which is the asymmetry the previous section flagged. For the closest vector problem, though, the
Euclidean case is already settled by the reduction above.
With CVP in hand as the hub, two further problems carry the actual cryptographic weight, and both
receive formal definitions. The first restricts the target to lie unusually close to the lattice,
closer than half the minimum distance. The nearest vector is then unique, and the problem becomes one
of decoding a point known to be a slight perturbation of a lattice point.
Definition: Bounded Distance Decoding (\(\mathrm{BDD}_\gamma\))
Let \(\gamma = \gamma(n) \geq 1\). Given a basis \(\mathbf{B}\) of \(\mathcal{L} \subseteq
\mathbb{R}^n\) and a target \(\mathbf{t} \in \mathbb{R}^n\) promised to satisfy
\[
\operatorname{dist}(\mathbf{t}, \mathcal{L}) \lt \frac{\lambda_1(\mathcal{L})}{2\gamma},
\]
the bounded distance decoding problem asks for the unique lattice vector
\(\mathbf{v} \in \mathcal{L}\) with \(\|\mathbf{v} - \mathbf{t}\| = \operatorname{dist}(\mathbf{t},
\mathcal{L})\).
The promise is what distinguishes BDD from CVP. A general target may sit anywhere, with several
lattice points nearly tied for closest. BDD guarantees that the target is a small displacement of one
particular lattice point, and asks only to recover it. The condition
\(\operatorname{dist}(\mathbf{t}, \mathcal{L}) \lt \lambda_1 / 2\) already forces uniqueness. Two
lattice points within that distance of \(\mathbf{t}\) would lie at distance less than \(\lambda_1\)
from each other, contradicting the definition of the minimum distance. The factor \(\gamma\) tightens
the promise further. This is the shape of a decryption problem. A ciphertext is a lattice point plus a
small error, and recovering the message is recovering the lattice point. Lattice-based encryption
schemes rest on random decoding instances of this kind, in which the promise holds with overwhelming
probability rather than with certainty.
The second problem returns to the intrinsic geometry of the lattice, generalizing the first
minimum from one short vector to a full set of them. A lattice of rank \(n\) has not just a shortest
vector but a whole sequence of
successive
minima \(\lambda_1 \leq \lambda_2 \leq \dots \leq \lambda_n\), where \(\lambda_i\) is the
smallest radius within which the lattice contains \(i\) linearly independent vectors. Finding one
short vector is SVP. Finding a full independent set of them, all short, is its natural generalization.
Definition: Shortest Independent Vectors Problem (\(\mathrm{SIVP}_\gamma\))
Let \(\gamma = \gamma(n) \geq 1\). Given a basis \(\mathbf{B}\) of a rank-\(n\) lattice
\(\mathcal{L} \subseteq \mathbb{R}^n\), the shortest independent vectors problem
asks for \(n\) linearly independent lattice vectors \(\mathbf{v}_1, \dots, \mathbf{v}_n \in
\mathcal{L}\) with
\[
\max_i \|\mathbf{v}_i\| \leq \gamma \cdot \lambda_n(\mathcal{L}).
\]
SIVP asks for a basis-like object that is short in the strong sense that even its longest member is
controlled by the \(n\)-th successive minimum. It is the problem that most directly captures "find a
good basis," and it is a worst-case problem to which the security of lattice encryption can be tied.
For the encryption scheme built on learning with errors, the tie reaches the worst case over all
lattices of a given dimension. An efficient attack on that scheme's average-case problem would yield
an efficient algorithm, possibly a quantum one, for SIVP and for its decision-style companion
introduced next, at polynomial approximation factors and on every lattice. SIVP therefore earns a name
here even though nothing on this page uses it. The definitions of this section are the vocabulary. The
hierarchy that orders the shortest and closest vector problems by difficulty, and locates the
cryptographic sweet spot among them, is the work of the next section.
The Approximation Hierarchy
The problems of the previous sections were posed as search or promise tasks with an approximation
factor \(\gamma\) attached. To speak about their complexity in the sharpest terms, such as membership
in NP and in its complement, it helps to recast the approximate problems in decision form, as
promise problems. A promise problem does not partition all inputs into yes and no. It
guarantees that every input it is asked about lies in one of two well-separated cases, and asks an
algorithm only to tell those two apart. The gap between the cases is exactly the approximation factor.
Definition: The Decision Problem \(\mathrm{GapSVP}_\gamma\)
Let \(\gamma = \gamma(n) \geq 1\). An instance is a basis \(\mathbf{B}\) of \(\mathcal{L}
\subseteq \mathbb{R}^n\) together with a rational \(r \gt 0\). The promise is that the instance
falls into one of two cases, and the problem is to decide which:
• a YES instance satisfies \(\lambda_1(\mathcal{L}) \leq r\).
• a NO instance satisfies \(\lambda_1(\mathcal{L}) \gt \gamma \cdot r\).
Instances with \(r \lt \lambda_1(\mathcal{L}) \leq \gamma r\) are excluded by the promise. No
answer is required for them.
The companion problem \(\mathrm{GapCVP}_\gamma\) is defined identically but for a target. Given
\(\mathbf{B}\), a target \(\mathbf{t}\), and a bound \(r\), a YES instance has
\(\operatorname{dist}(\mathbf{t}, \mathcal{L}) \leq r\) and a NO instance has
\(\operatorname{dist}(\mathbf{t}, \mathcal{L}) \gt \gamma r\). At \(\gamma = 1\) the promise gap
closes and \(\mathrm{GapCVP}_1\) is exactly the decisional closest vector problem shown NP-complete
above. Increasing \(\gamma\) widens the gap, weakens the problem, and is what makes the higher rungs
of the hierarchy tractable.
The first structural fact orders the two families against each other. Approximating shortest vectors
is no harder than approximating closest ones. This is the comparison promised in the previous section,
and the reduction realizing it is short.
\(\mathrm{GapSVP}_\gamma\) reduces to \(\mathrm{GapCVP}_\gamma\)
A first instinct is to feed the shortest vector problem to a closest-vector solver with target
\(\mathbf{0}\). This fails at once, since \(\mathbf{0}\) is itself a lattice point and is its own
nearest lattice vector. The fix is to bar one basis vector from the combination. From a
\(\mathrm{GapSVP}_\gamma\) instance \((\mathbf{B}, r)\) with
\(\mathbf{B} = (\mathbf{b}_1, \dots, \mathbf{b}_n)\), build \(n\) instances of
\(\mathrm{GapCVP}_\gamma\). The \(i\)-th uses the basis
\(\mathbf{B}_i = (\mathbf{b}_1, \dots, 2\mathbf{b}_i, \dots, \mathbf{b}_n)\) with the \(i\)-th
vector doubled, the target \(\mathbf{b}_i\), and the same bound \(r\). Answer YES if the
\(\mathrm{GapCVP}_\gamma\) oracle says YES on at least one instance.
If \((\mathbf{B}, r)\) is a NO instance, every nonzero lattice vector has length exceeding
\(\gamma r\). Doubling one basis vector only shrinks the lattice, so \(\mathcal{L}(\mathbf{B}_i)\)
is a sublattice of \(\mathcal{L}(\mathbf{B})\). Every vector of \(\mathcal{L}(\mathbf{B}_i)\) is
therefore also a vector of \(\mathcal{L}(\mathbf{B})\), and its difference from
\(\mathbf{b}_i \in \mathcal{L}(\mathbf{B})\) is again an element of \(\mathcal{L}(\mathbf{B})\).
That difference cannot be zero. When a vector of \(\mathcal{L}(\mathbf{B}_i)\) is written in the
basis \(\mathbf{B}\), the coefficient of \(\mathbf{b}_i\) is always even, because it comes from
multiples of the doubled vector \(2\mathbf{b}_i\). Subtracting \(\mathbf{b}_i\) leaves that
coefficient odd, and an odd coefficient cannot vanish. The difference is thus a nonzero vector of
\(\mathcal{L}(\mathbf{B})\), and the NO promise makes its length exceed \(\gamma r\). Every point
of \(\mathcal{L}(\mathbf{B}_i)\) is therefore farther than \(\gamma r\) from \(\mathbf{b}_i\), and
each oracle answers NO.
If instead \(\lambda_1(\mathcal{L}) \leq r\), write a shortest vector as
\(\mathbf{v} = a_1 \mathbf{b}_1 + \dots + a_n \mathbf{b}_n\). Some \(a_k\) is odd, since otherwise
\(\mathbf{v}/2\) would be a shorter lattice vector. For that \(k\), the point
\(\mathbf{b}_k + \mathbf{v}\) lies in \(\mathcal{L}(\mathbf{B}_k)\) and sits within
\(\|\mathbf{v}\| \leq r\) of the target \(\mathbf{b}_k\), so the \(k\)-th oracle answers YES.
The reduction preserves the gap \(\gamma\) exactly and calls the oracle on lattices of the same rank
as the input. It calls the oracle \(n\) times rather than once, so it is a Turing-style reduction
rather than the single-instance mapping used for the NP-completeness above. The consequence for the
hierarchy is what matters. Upper bounds proved for \(\mathrm{GapCVP}_\gamma\) transfer to
\(\mathrm{GapSVP}_\gamma\). An efficient solver for the former yields one for the latter. Certificates
transfer as well, because a YES answer needs one YES among the \(n\) oracle instances and a NO answer
needs all \(n\) of them to be NO.
With the two families linked, the hierarchy can be read off as a function of the one parameter
\(\gamma\). Three regimes divide the line, and the boundaries between them are where the whole subject
lives. The results that place each regime are deep, and apart from the two reductions proved above we
state them without proof.
At the bottom, for small approximation factors, the problems are NP-hard, in the case
of \(\mathrm{GapSVP}_\gamma\) under randomized reductions. Exact GapCVP is NP-complete, and the
hardness persists as the gap opens, degrading only slowly. Approximating the closest vector remains
NP-hard even to within factors of the form \(n^{c/\log \log n}\) for a constant \(c \gt 0\), which
grow faster than any constant yet more slowly than any fixed power of the dimension. An efficient
algorithm solving the closest vector problem for these gaps would yield efficient algorithms for every
problem in NP.
At the top, for factors that grow exponentially in \(n\), the problems are
solvable in polynomial time. This is the domain of basis reduction, taken up in the final
section. A polynomial-time procedure finds a vector within an exponential factor of the shortest,
but none is known that reaches a polynomial factor. The exponential-approximation regime is the
easy end of the line.
Between these lies the regime that cryptography occupies, and its defining feature is a negative one.
From gaps around \(\sqrt{n}\) upward, the problems are almost certainly not NP-hard. The
evidence is a containment. For \(\gamma = \sqrt{n}\), the problem \(\mathrm{GapCVP}_{\sqrt{n}}\) lies
not only in NP but in its complement coNP. Membership in coNP means that a NO
instance, one where the target is far from the lattice, admits a short certificate of its farness,
just as a YES instance admits a nearby lattice vector as certificate of its nearness.
Certifying farness is the hard direction. A target can have enormously many lattice points near it
without any being within the bound, and exhibiting a succinct proof that none is close is not obvious.
The first certificates of farness went through the
dual
lattice. The dual is the reciprocal lattice whose geometry, tied to the original by the
reciprocal
determinant relation, converts a statement about the absence of short vectors on one side
into the presence of a witness on the other. Those first arguments placed the problem in coNP only at
gaps larger than \(\sqrt{n}\). A different, interactive argument later reached the smaller gap
\(\sqrt{n / \log n}\), placing the problem there in a probabilistic analogue of coNP. Containment in
coNP proper at the gap \(\sqrt{n}\) came afterward, again through the dual lattice. By the reduction
just proved, the containment at \(\sqrt{n}\) transfers to \(\mathrm{GapSVP}\). The shortest vector
problem at gap \(\sqrt{n}\) is likewise in \(\mathrm{NP} \cap \mathrm{coNP}\).
The force of this containment is what it forbids. A problem that is NP-hard under many-one reductions
and simultaneously in coNP would place all of NP inside coNP. The tower of complexity classes built
above them, the polynomial hierarchy, would then collapse to its first level, an outcome complexity
theorists regard as most unlikely. So the containment of \(\mathrm{GapSVP}_{\sqrt{n}}\) in
\(\mathrm{NP} \cap \mathrm{coNP}\) is read in reverse, as a ceiling on hardness. The NP-hardness that
holds for small gaps cannot be pushed up to the gap \(\sqrt{n}\) without collapsing the hierarchy.
Approximating lattice vectors to within \(\sqrt{n}\) is, in all likelihood, strictly easier than the
exact closest vector problem. Yet no efficient algorithm for it is known.
Math \(\leftrightarrow\) CS: Why the Middle Is the Right Place to Build
A cryptographer reading the hierarchy wants neither end. The NP-hard bottom is tempting, since no
foundation seems stronger than a problem as hard as all of NP. But NP-hardness is a worst-case
guarantee, an assurance that some instances are hard, and encryption needs the typical
instance, drawn at random, to be hard. The exponentially approximable top is simply broken,
because basis reduction solves it.
The useful regime is the middle, at polynomial gaps of at least \(\sqrt{n}\), where two things
hold at once. By the coNP containment, the problems cannot be NP-hard under many-one reductions
unless the polynomial hierarchy collapses. At the same time, no known efficient algorithm,
classical or quantum, approaches these gaps. Security rests not on the NP-hard bottom of the
hierarchy but on a plateau partway up it. The plateau is hard enough that decades of algorithms
have not reached it, and structured enough that a worst-case instance can be transformed into the
random-looking instances an encryption scheme needs. The foundations sit in
\(\mathrm{NP} \cap \mathrm{coNP}\), the class that also contains factoring. No problem in that
class can be NP-hard under many-one reductions unless NP equals coNP, yet the class still holds
problems that no one knows how to solve efficiently.
What the Quantum Attack Leaves Standing
The hierarchy left one algorithm unexamined: the procedure that actually reaches into a lattice and
returns a short vector. The attacks that determine the security of the lattice parameters used in
practice, and the standard estimates of the hardness of those parameters, rest on basis reduction,
introduced above. The foundational reduction algorithm runs in time polynomial in the dimension and
the size of the input, and it always succeeds in producing a reduced basis. The question is how short
the vector it returns actually is.
Everything that follows turns on the answer. The foundational algorithm finds a vector guaranteed to
be short, but only to within a factor that grows exponentially with the dimension. In the
language of the hierarchy, this polynomial-time algorithm is guaranteed to solve
\(\mathrm{SVP}_\gamma\) only for \(\gamma\) exponential in \(n\). It sits at the tractable top of the
hierarchy and does not descend into the middle. Polynomial-time improvements exist, but they buy only
modest reductions in the exponent. None of them brings the approximation factor down to the polynomial
range where the cryptographic problems live. The plateau of polynomial gaps remains, after decades,
out of reach.
The security of every lattice construction rests on this observation, and it must be stated with care.
Polynomial-time basis reduction achieves an approximation that is exponential or only slightly
smaller. Breaking the cryptography would need a polynomial one. The gap between the two is not a
theorem that the polynomial regime is hard. It is the absence of any known algorithm that closes the
gap. Lattice hardness, like the hardness of factoring before it, is a conjecture: the assertion that
no efficient procedure approximates lattice vectors to within polynomial factors, supported by the
failure of sustained effort to find one, not by a proof that none can exist.
What makes this conjecture the foundation for a post-quantum cryptography is a second fact.
The classical assumptions fell to a quantum computer because factoring and the discrete logarithm
carry a hidden periodic structure. That structure is an abelian arithmetic that a quantum procedure
detects in polynomial time, and detecting it collapses the asymmetry the schemes depended on. Basis
reduction is where one looks for the analogous quantum advantage against lattices, and the finding is
stark. For general lattices, the best known polynomial-time quantum algorithms achieve the same
approximation factors as the best classical ones, and none approaches the polynomial gaps.
The likely reason is structural, and it closes a thread left hanging by the quantum attack itself.
Shor's algorithm succeeds by finding a period in an abelian group, a structure that the
number-theoretic problems supply. No such abelian period is known in a general lattice for a quantum
procedure to seize.
That apparent absence of structure is why the search for quantum-resistant foundations heads to
lattices. Lattices are not provably beyond quantum reach. The honest claim is narrower
and has the same conjectural shape as before. No efficient quantum algorithm for these problems is
known, and the structure that made the classical problems fall is not known to be present. The absence
of a known attack, classical or quantum, is precisely what a post-quantum foundation is built from.
Math \(\leftrightarrow\) CS: The Same Complexity Class as Factoring
The classical assumptions ended
on an inventory of conjectures and a promise: that the search for a quantum-resistant foundation
would begin from a problem not known to reduce to factoring or the discrete logarithm. The lattice
problems are the leading candidates for that foundation, and the hierarchy places them with
precision. Their cryptographic regime sits in \(\mathrm{NP} \cap \mathrm{coNP}\), the same class
that houses factoring.
The parallel is instructive. Both foundations are conjectured-hard problems in the same
complexity class, neither believed to be NP-hard nor known to be easy. The difference that matters
is the one Shor's algorithm draws. Factoring's place in that class comes with a hidden abelian
structure a quantum computer exploits. The lattice problems' place in it, as far as is known, does
not. The two foundations share a class and a conjectural status but, on present knowledge, meet
different fates under quantum attack. That difference is the central case for rebuilding
cryptography on the geometry of lattices.