Manuscript Offprint
arXiv:2611.26273Deterministic Parameterized Inapproximability of the Shortest Vector and Minimum Distance Problems
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
The Shortest Vector Problem (SVP) and the Minimum Distance Problem (MDP) are central computational problems on lattices and linear codes, respectively. For every computable real and any constant factor, we prove that the parameterized SVP in the norm, with the distance threshold as the parameter, is -hard to approximate within factor under deterministic reductions. The same method shows that, for every finite field, the parameterized MDP is -hard to approximate within any constant factor under deterministic reductions.
1 Introduction
The Shortest Vector Problem (SVP) asks for the minimum norm of a nonzero vector in a given integer lattice. It is the central computational problem on lattices, with applications to algorithms and cryptography [4, 35]. For finite norms, the hardness of SVP was long known only under randomized reductions, and removing this randomness has been a major challenge.
In the classical setting of NP-hardness, this challenge has recently been met. Van Emde Boas [39] proved that SVP in the norm is NP-hard and conjectured the same for the Euclidean norm. Ajtai [5] proved this conjecture under randomized reductions, and subsequent work proved the hardness of approximating SVP in every finite norm, again under randomized reductions [31, 29, 26, 32]. The first deterministic hardness results for SVP in finite norms appeared only recently. For every , Hair and Sahai [25] proved that approximating SVP is NP-hard under deterministic polynomial-time reductions, later even within polynomial factors [24], and Hecht and Safra [27] proved hardness under deterministic subexponential-time reductions. Hair and Sahai [23] then extended hardness under subexponential-time reductions to every finite norm. Wan [42] resolved the conjecture of van Emde Boas: for every , approximating SVP in the norm within any factor below is NP-hard under deterministic polynomial-time reductions. Wan [41] later extended this result to every constant factor in every finite norm.
The situation is, however, different in parameterized complexity. A problem with a parameter is fixed-parameter tractable (FPT) if it can be solved in time for some computable function , where is the input length. The standard evidence that a problem is not FPT is its -hardness under FPT reductions, which plays the role of NP-hardness [17, 13]. For SVP, the natural parameter is the distance threshold , and exhaustive search over the integer vectors with at most nonzero coordinates solves SVP in time . Downey, Fellows, Vardy, and Whittle [14] asked whether SVP is -hard, together with the same question for the parameterized Minimum Distance Problem (MDP) on linear codes, whose natural parameter is also the distance threshold ; in their framework, -hardness refers to the standard deterministic FPT reductions. For binary codes, MDP is equivalent to the -Even Set problem, whose fixed-parameter tractability remained a central open problem in parameterized complexity for almost two decades [17].
Bhattacharyya, Bonnet, Egri, Ghoshal, Karthik C. S., Lin, Manurangsi, and Marx [8] answered both questions under randomized reductions. They proved that, for every , approximating SVP in the norm within some constant factor is -hard, and that approximating MDP over within any constant factor is -hard. Bennett, Cheraghchi, Guruswami, and Ribeiro [6] extended these results to SVP in every finite norm and to MDP over every finite field, again under randomized reductions. Both works asked for deterministic reductions [8, Section 8], and Bennett, Cheraghchi, Guruswami, and Ribeiro [6] called finding them a groundbreaking contribution. Hirahara and Ogitsuka [28] gave one-sided-error reductions, which always map NO instances to NO instances, for MDP within every constant factor and for SVP within every factor below . They then derandomized these reductions under the assumption that some problem solvable in time requires nondeterministic circuits of size . For MDP, Guruswami and Ren [22] very recently gave an unconditional deterministic reduction, using an elementary construction based on Reed–Muller codes. For SVP, no unconditional deterministic reduction was known.
Theorem 1.1.
For every computable real and every constant , - is -hard under deterministic many-one reductions.
Theorem 1.1 answers the question of Downey, Fellows, Vardy, and Whittle [14] for SVP with deterministic reductions, as well as the question of [8, 6]: it gives the first deterministic reduction that proves the -hardness of SVP without any assumption. Previously, even for exact SVP in the Euclidean norm, -hardness under deterministic reductions was known only under the circuit lower-bound assumption of [28]. Its range of approximation factors is the same as that of the one-sided-error reductions of [28] and of the deterministic NP-hardness for general in [42].
Combined with an improved version of the tensor-product amplification of Wan [41], our approach extends to every constant factor.
Theorem 1.2.
For every computable real and every constant , - is -hard under deterministic many-one reductions.
Theorem 1.2 is the parameterized analogue of the deterministic NP-hardness of [41]. For , its range of approximation factors matches that of the randomized reduction of [6]; for , it goes beyond their range, which consists of the factors below . We prove Theorem 1.2 in Appendix A: we reduce from the Maximum Likelihood Decoding Problem using the construction of Theorem 3.2, and then amplify the gap by taking tensor powers.
The same method applies to MDP. For a constant , the problem - asks us to distinguish linear codes over that contain a nonzero codeword of Hamming weight at most from those in which every nonzero codeword has weight greater than (see Definition 2.5).
Theorem 1.3.
For every prime power and every constant , - is -hard under deterministic many-one reductions.
Guruswami and Ren [22] proved Theorem 1.3 with a different, elementary construction, starting from the exact nearest codeword problem. In their reduction, the output threshold grows exponentially with the input threshold . In ours, it grows linearly: before the final amplification, our reduction maps the approximate nearest codeword problem with threshold to MDP with threshold over (Theorem 4.4).
Guruswami and Ren also mention a reduction with a linear threshold and essentially the same parameters as ours, which GPT-6 discovered using algebraic geometry, but they did not include it because they had not carefully verified its proof [22, Footnote 1]. Our main technical contribution is to identify a finite-field version of the implicit function theorem (see Lemma 2.19) as the key idea underlying the algebraic argument, and to give a short proof using standard facts about curves over finite fields.
1.2 Technical Overview
Our reductions build directly on those of Hirahara and Ogitsuka [28]. Hirahara and Ogitsuka build on the reductions of Bennett, Cheraghchi, Guruswami, and Ribeiro [6], which adapt the approach developed by Khot [29] for proving NP-hardness of SVP to the parameterized setting. Hirahara and Ogitsuka guarantee soundness deterministically, leaving randomness only for completeness. We make completeness deterministic as well. Thus, our approach can be viewed as a derandomized version of Khot’s approach. In these approaches, the reduction to SVP starts from its inhomogeneous version, the Closest Vector Problem (CVP). Similarly, the reduction to the Minimum Distance Problem starts from its inhomogeneous version, the Nearest Codeword Problem (NCP). We explain the reduction for SVP and then the changes for MDP.
1.2.1 The Reduction for the Shortest Vector Problem
Previous randomized approach.
We briefly recall the reduction of Hirahara and Ogitsuka [28], on which our reduction is based. It starts from an instance of CVP with approximation factor , where is a basis matrix, is a target vector, and is a positive integer. This problem asks whether there exists with . In a NO instance, not only but every nonzero integer multiple of is far from the lattice: for every and every nonzero integer . The problem remains -hard with this stronger NO condition. The reduction uses a locally dense lattice with basis and center . Informally, a locally dense lattice refers to a lattice with many lattice points lying in a ball centered at whose radius is smaller than the length of a shortest nonzero lattice vector. In [6, 28], the basis is constructed deterministically so that the lattice it generates has minimum norm greater than . The center is chosen randomly to obtain many short vectors .
For a suitable prime and an integer , the output lattice consists of vectors of the form
where are integer vectors and is an integer. Here is a deterministically constructed parity-check matrix that maps every nonzero integer vector of norm at most to a nonzero vector modulo . The matrix is chosen randomly, and both matrices are represented by integer entries. The coefficient multiplies both targets, and the last block vanishes for some integer vector if and only if
To prove completeness, let satisfy . By the local density, with high probability over the random choice of , there are many integer vectors for which is short. Since there are many such short vectors, with high probability over the random choice of , one of them is mapped to the required vector, that is,
Setting and choosing so that the last block vanishes gives a short nonzero output vector.
Soundness holds for every choice of and [28, Theorem 3.9], so randomness is needed only for completeness.
Our approach: deterministic reduction with locally dense lattices.
Our reduction is obtained from the reduction of Hirahara and Ogitsuka [28] by a specific choice of and and by removing the columns . Let be the lattice generated by , and fix an ordered list of its coordinates. We write for the restriction of a vector to the coordinates in , in the specified order, and for the corresponding rows of . We take and let be the negative of the restriction map to , that is, . Thus is no longer random, and we also choose the center deterministically, with . With these choices, Equation 1 becomes . Since we remove the columns , which account for the reduction modulo , we require this to hold as an equality of integer vectors:
To satisfy this for every YES instance without randomness, every short vector in must be the restriction to of some short vector in . In [28], a locally dense lattice consists only of the basis and the center , and the random matrix is responsible for satisfying Equation 1. We instead include the list in our locally dense lattice and construct and deterministically so that the restriction to plays this role.
Accordingly, our locally dense lattice consists of a lattice whose minimum norm is greater than , a center , and an ordered list of coordinates with , such that every short vector in is the restriction to of a short vector in :
Condition Equation 2 is our counterpart of Equation 1. Taking , it guarantees the equality above for every with , without any randomness.
For an integer , given a locally dense lattice satisfying Equation 2 as advice, the reduction deterministically outputs a lattice consisting of vectors of the form
where are integer vectors and is an integer.
To prove completeness, consider a YES instance of CVP and let satisfy . Apply Equation 2 with . The resulting vector can be written as for an integer vector . Since , the equality gives . With , the last block vanishes. The output vector is then nonzero because its third block is , and the th power of its norm is .
Soundness does not require Equation 2; it uses only the minimum norm bound for and the inequality . Consider a NO instance of CVP and an output vector of norm at most . The promise of CVP forces , since otherwise . Then , because it belongs to , has norm at most , and every nonzero vector in has norm greater than . The last block is now . Since is an integer vector, this block is either zero or has norm at least . Thus , so every block is zero, proving soundness. It remains to construct deterministically in time , with bounded by a function of alone.
Deterministic construction of locally dense lattices.
We provide a technical overview of the deterministic construction of locally dense lattices required above. For an integer and a sufficiently large prime , we use the Reed–Solomon lattice of Bennett and Peikert [7],
Field elements label the coordinates, while the vector entries are integers. It was shown in [7] that the minimum distance of in the norm is at least .
We construct the center and the ordered list of coordinates satisfying Equation 2 with . Fix distinct points . Set and , where is the unit vector at coordinate . For clarity, we reorder the coordinates in each vector display below to show where the entries are placed. The center has the form
In particular, .
For , we may take . Then , , and , as required in Equation 2. Now fix a nonzero with , and let . We seek a vector of the form
The second sum places on together with a copy of shifted by , and we seek and the positions so that . The required restriction and norm bound follow if the positions and are distinct and outside . In this case, has the form
Consequently,
For vectors of this form, the condition is equivalent to polynomial equations in the coordinate labels. The condition in Equation 3 for holds automatically because the entries of sum to zero. The remaining conditions are for , where
These equations have a common zero . At this point, the entries and occupy the same coordinates and cancel, leaving and . Our goal is to find another common zero for which the field elements and () are all distinct and lie outside . We express these requirements by one more polynomial , which is nonzero only when they hold. Let and define
It is straightforward to verify that . If , the factors involving only ensure that for every . The remaining products ensure, respectively, that the lie outside , that they are distinct from one another, and that none equals for any . The elements are distinct from one another because the are distinct. Over the real numbers, the implicit function theorem would let us move slightly away from and adjust so that the equations still hold, provided that the Jacobian matrix with respect to is invertible at . For small nonzero , the conditions above would then hold as well. A finite field has no notion of a small change, so we instead use the following finite-field version of the implicit function theorem.
Lemma 1.4 (Informal; see Lemma 2.19).
Let have a common zero at which their Jacobian matrix is invertible. If is large compared with the degrees of , then there exists with and .
We now verify the Jacobian condition in Lemma 1.4. The Jacobian matrix of with respect to at is
which is invertible because the are distinct and . Only the factor in vanishes at . Thus , is nonzero at , and every vanishes there. Together, these facts show that the Jacobian of with respect to is invertible at .
For sufficiently large , applying Lemma 1.4 to gives a common zero of the ’s at which . The resulting vector belongs to and satisfies
as required in Equation 2.
Finally, we explain why the construction takes FPT time. Once the prime is chosen, we form the matrix that defines . Gaussian elimination over reduces the defining congruences to a form from which we can construct an integer basis of . We also choose distinct field elements and use them to define and as above. These computations take time polynomial in . For sufficiently large , we choose as a function of just above , so that and . The resulting approximation factor approaches as grows. For every with , its support has size . The degrees of the are , while . By Lemma 1.4, the required field size is therefore at most a function of times . We can thus choose a prime that works for every such . Finding such a prime and carrying out the construction take time polynomial in , giving a total running time of .
Wan [42] also constructs locally dense lattices from Reed–Solomon codes deterministically, and counts the points of higher-dimensional varieties using Deligne’s theorem. Our lemma needs only the Weil bound for curves [37, 9]. In return, it requires the field size to exceed a fixed power of the product of the degrees of . The parameterized setting can afford this, because these degrees depend only on the parameter.
1.2.2 The Reduction for the Minimum Distance Problem
We apply an idea similar to that used for lattices to codes to establish the -hardness of MDP. More specifically, our reduction builds on that of Hirahara and Ogitsuka [28], and we deterministically construct a locally dense code, the coding analogue of a locally dense lattice. Informally, many codewords lie in a Hamming ball centered at whose radius is smaller than the minimum distance of the code.
To reduce NCP to MDP, we use selected coordinates of the locally dense code to represent the difference between an input codeword and the target. Given an NCP instance with coordinates, we construct a code generated by , a center , and an ordered list of coordinates, with . For every satisfying , there must be a vector that is nonzero, has Hamming weight bounded by a fixed multiple of , and satisfies
Since , this equality gives . We require to be nonzero even when , so that the output contains a nonzero codeword in this case as well.
The reduction replaces multiplication by a large integer with repetition of coordinates. Multiplication by a nonzero field element preserves Hamming weight, whereas repeating each coordinate multiplies the weight by the number of repetitions. In a YES instance, the repeated coordinates are copies of the entries of and are therefore zero. We choose the number of repetitions so that any nonzero entry in these coordinates makes the output weight exceed the NO threshold. A nonzero coefficient of the target can be divided out without changing Hamming weight, so the NO condition of NCP applies to that case.
Constructing the locally dense codes.
We construct the locally dense code from an extended BCH code over a fixed prime field . Let be a sufficiently large extension field of , and let be the chosen distance bound. Codeword entries belong to , while coordinates are indexed by . We define
Here we omit the equations for positive exponents divisible by . Since for every , we have
Applying this identity repeatedly gives all the omitted equations. Thus, the code is the same as the one defined by imposing the moment equations for every exponent , and its minimum distance is unchanged.
We use the same expression for as in the lattice construction, now with coefficients in the prime field and one added unit vector for each remaining positive exponent. The coordinates of sum to zero, so only the moment equations with positive exponents remain to be satisfied. Omitting the redundant equations reduces the number of added unit vectors and hence the upper bound on the Hamming weight of . Choosing the BCH distance sufficiently large compared with then gives a constant gap between the YES and NO thresholds.
We choose the support of so that the Jacobian with respect to the variables is invertible at the known solution. As in the lattice construction, each specifies the coordinate at which an added unit vector is placed. For the remaining positive exponents , the derivatives are linearly independent polynomials. Evaluating them over a sufficiently large extension field gives a matrix of full row rank. We select independent columns by Gaussian elimination and use their indices as the support of .
The polynomial only needs to prevent the added terms from changing the entries on . We choose it so that forces the coordinates occupied by the translated negative of and by the added unit vectors to lie outside . These coordinates may coincide with one another, since such coincidences cannot increase Hamming weight. For a nonzero difference , the lemma above therefore guarantees a vector of Hamming weight at most a fixed multiple of such that belongs to the code and . When the difference is zero, we take . As before, the field size bound allows us to construct , , and in deterministic FPT time.
All fixed finite fields and any constant approximation factor.
We extend the result to every fixed finite field and every constant approximation factor by extending the coefficient field and taking tensor powers. Viewing the same generator matrix over an extension field preserves its minimum distance. The minimum distance of a tensor product of codes is the product of their minimum distances, so a constant number of tensor factors amplifies the gap to any prescribed constant.
1.3 Related Work
Ajtai–Micciancio’s approach uses locally dense lattices to prove the classical NP-hardness of SVP. The notion of a locally dense lattice used in our reductions is a variant of the one used in this approach. However, the existing constructions in this approach do not directly apply to the parameterized setting considered here [28, Section 1.2]. This approach originated in the work of Ajtai [5], whose construction uses a variant of the Schnorr–Adleman prime number lattice. Micciancio [31] used a simpler variant of this lattice to prove NP-hardness of approximating SVP under randomized reductions with one-sided error. Micciancio [32] later constructed locally dense lattices by applying “Construction D” [12] to a nested sequence of extended binary BCH codes and obtained such reductions for every constant approximation factor in the Euclidean norm. Bennett and Peikert [7] gave a simpler construction by applying “Construction A” [12] to Reed–Solomon codes. Recently, Wan [42, 41] derandomized this approach by deterministically constructing a suitable center and projection for these Reed–Solomon lattices.
Dumer, Micciancio, and Sudan [18] adapted Ajtai–Micciancio’s approach to linear codes, using locally dense codes to prove NP-hardness of approximating MDP under randomized reductions. Cheng and Wan [10] derandomized this reduction using Reed–Solomon codes concatenated with Hadamard codes. They explicitly constructed a center and a coordinate projection satisfying the properties required by the reduction. Micciancio [33] later gave a general deterministic construction that transforms binary codes with sufficiently large relative minimum distance into locally dense binary codes. His construction uses tensor products and produces an explicit center and coordinate projection, providing another way to derandomize the reduction of Dumer, Micciancio, and Sudan.
Khot [29] developed another approach to proving NP-hardness of approximating SVP, combining locally dense lattices with random sparsification. His construction uses lattices obtained from binary BCH codes. Haviv and Regev [26] subsequently showed that standard tensor products of the lattices arising in Khot’s reduction can amplify the approximation gap.
Variants of Khot’s approach have also been used to establish fine-grained hardness of SVP. Aggarwal and Stephens-Davidowitz [2] showed that, under randomized Gap-ETH, for every fixed , there is a constant approximation factor greater than one for which SVP in the norm admits no algorithm whose running time is subexponential in the lattice rank. Aggarwal, Gupta, Morolia, and Zhang [1] later obtained analogous lower bounds under randomized ETH. The locally dense lattices used in these reductions still have many lattice points close to a common center, but the required local density condition differs from those discussed above. Specifically, the number of lattice points in a ball around the center must be exponentially larger than the number in a slightly larger ball around the origin. The radius of the ball around the center need not be smaller than the length of a shortest nonzero lattice vector.
1.4 Open Problems
Theorems 1.1 and 1.2 concern constant approximation factors. In the classical setting, Hair and Sahai [24] proved that, for every , SVP in the norm is NP-hard to approximate within a polynomial factor under deterministic reductions. A natural question is whether - remains -hard when grows polynomially with the rank of the lattice.
Another open problem is to make Lemma 1.4 constructive, that is, to give an efficient algorithm that finds a point with and .
Organization.
Section 2 gives the preliminaries and proves the key Lemma 2.19 in Section 2.5. Section 3 proves Theorem 1.1, our main result on SVP, and Section 4 proves Theorem 1.3, our main result on MDP. Appendix A extends the result on SVP to every constant factor and proves Theorem 1.2.
2 Preliminaries
2.1 Notation
For a positive integer , write . We regard vectors as column vectors, even when their coordinates are written as a tuple. For a matrix , we write for its entry in row and column . The notation denotes the matrix with rows indexed by , columns indexed by , and entry in row and column . We write for a zero vector and for a zero matrix, with dimensions determined by context. The matrix is the identity matrix. In a block matrix, matrices and column vectors are placed side by side or one above another, with matching dimensions. For a finite set and a field , denotes vectors with entries in indexed by ; denotes integer vectors indexed by . For , the vector has entry at and elsewhere; the same notation denotes the corresponding vector in . The support of is , and its cardinality is its Hamming weight. For a real vector, for , and .
For an ordered list of distinct coordinates, put . For a set of vectors , write . When is a linear code or a lattice, this translate is a coset. The Kronecker product is the block matrix whose block is ; denotes the Kronecker product of copies of .
A real number is computable if an algorithm, given , returns a rational approximation with error at most .
2.2 Finite fields and polynomials
For a prime power , denotes the field with elements. For prime , . A field extension is a field containing as a subfield. Its degree is the dimension of as a vector space over . An -basis of expresses each element of uniquely as an -linear combination of the basis elements. The field is an extension of of degree .
For a field and variables , the ring consists of polynomials in these variables with coefficients in . For a tuple of variables , write and for . For a nonzero polynomial , its total degree is the largest sum of exponents among its monomials with nonzero coefficient. For , its degree in , denoted by , is the largest exponent of among those monomials. We set . For elements , the value is obtained by substituting for for every . A common zero of several polynomials is a tuple at which all of them vanish. An affine linear polynomial in has the form , where . It is nonconstant if at least one with is nonzero.
For a polynomial , the formal partial derivative is obtained term by term, treating the other variables as constants and using for and . The coefficient is interpreted in . For polynomials and a point , their Jacobian matrix at is the matrix
For distinct , the Vandermonde matrix has determinant .
A nonzero univariate polynomial is monic if its leading coefficient is . A nonconstant polynomial is irreducible over if it cannot be written as a product of two nonconstant polynomials in . For a nonzero polynomial and a root , the multiplicity of is the largest integer such that divides . For a nonconstant polynomial , the quotient ring consists of polynomials modulo , with addition and multiplication modulo . If is irreducible of degree , this quotient is a field with elements, represented by polynomials of degree less than .
2.3 Lattice and Coding Problems
We recall the basic definitions of parameterized promise problems. For details on parameterized complexity, see [17, 16, 15].
Definition 2.1 (Parameterized promise problems).
A parameterized promise problem is a pair of disjoint languages over . An instance of is a pair , where is called the parameter. The set is called the promise.
Given a matrix , the lattice generated by its columns is . When the columns of are linearly independent, is referred to as a lattice basis for . For , the length of a shortest nonzero lattice vector, measured in the norm, is given by . Given a target vector , its distance from the lattice is denoted by .
The Shortest Vector Problem (SVP) is the problem of finding a shortest nonzero vector in a lattice, given a basis matrix of the lattice as input. Here, we consider an approximate version of the parameterized decision problem in which a parameter is given as an additional input, and the goal is to determine whether the length of a shortest nonzero lattice vector is at most the parameter.
Definition 2.2 (-, [20]).
For and , the parameterized promise problem -approximate Shortest Vector Problem (-) is defined as follows. Instances are pairs , where is a lattice basis of , and is a distance parameter such that
- is a YES instance if ;
- is a NO instance if .
The parameter of interest is .
To establish a reduction to SVP, we next define its inhomogeneous version, the Closest Vector Problem (CVP). In this definition, we require that, for NO instances, every nonzero integer multiple of the target vector is far from every lattice vector.
Definition 2.3 (-, [6]).
For and , the parameterized promise problem -approximate Closest Vector Problem (-) is defined as follows. Instances are tuples , where is a lattice basis of , is a target vector, and is a distance parameter such that
- is a YES instance if ;
- is a NO instance if for all .
The parameter of interest is .
The following theorem states the -hardness of CVP under deterministic reductions.
Theorem 2.4 ([8, Theorem 7.2] and [6, Theorem 2.11]).
For any real numbers and , - is -hard under deterministic many-one reductions.
For a matrix , the linear code generated by the columns of is . A parity-check matrix for is a matrix with . The tensor product of two codes generated by and is the code generated by . The minimum distance of a nonzero linear code is . We use the convention . For a target vector , we write .
The Minimum Distance Problem (MDP) is defined as follows. MDP can be viewed as the coding-theoretic counterpart of SVP.
Definition 2.5 (-, [18]).
For and a prime power , the parameterized promise problem -approximate Minimum Distance Problem over (-) is defined as follows. Instances are pairs , where is a generator matrix of , and is a distance parameter such that
- is a YES instance if ;
- is a NO instance if .
The parameter of interest is .
Similarly to CVP, we next define the Nearest Codeword Problem (NCP), the inhomogeneous version of MDP.
Definition 2.6 (-, [18]).
For and a prime power , the parameterized promise problem -approximate Nearest Codeword Problem over (-) is defined as follows. Instances are tuples , where is a generator matrix of , is a target vector, and is a distance parameter such that
- is a YES instance if ;
- is a NO instance if .
The parameter of interest is .
The -hardness of NCP under deterministic reductions is also known.
Theorem 2.7 ([8, Theorem 5.1, adapted] and [6, Theorem 2.7]).
For any real number and any prime power , - is -hard under deterministic many-one reductions.
2.4 Algorithms for finite fields, primes, and lattice bases
Our reductions require finite fields of suitable sizes and bases for lattices defined by linear congruences. We give deterministic algorithms for these tasks and record the bounds needed to ensure FPT running time.
We represent extension fields using irreducible polynomials. The following standard result guarantees that such a polynomial exists for every positive degree.
Lemma 2.8 ([30]).
For every prime power and every integer , there exists a monic irreducible polynomial of degree over .
For our purposes, it is enough to construct the field in time polynomial in its number of elements. The following lemma gives such a construction and shows when the required field computations take FPT time.
Lemma 2.9.
Fix a prime power . There exists a deterministic algorithm that, given , constructs a representation of in time . In this representation, field arithmetic takes time, and all field elements can be enumerated in time .
Moreover, let be computable and let be fixed. If satisfy , then constructing the field, enumerating its elements, and performing a number of field operations polynomial in and take time for a computable function . The function and the constant in the exponent depend only on , , , and the fixed polynomial bound on the number of field operations.
Proof.
We represent as for a monic irreducible polynomial of degree . Such a polynomial exists by Lemma 2.8. Enumerate the monic polynomials of degree over in a fixed order. For each candidate, test whether it is divisible by a monic polynomial of degree between and , by enumerating all such polynomials and computing the remainders. A polynomial of degree is reducible if and only if it has a divisor in this range, so the first candidate that passes these tests is irreducible. There are candidates and at most possible divisors for each candidate, and each division takes time. Thus the search takes time.
Inverses are computed by the extended Euclidean algorithm. Field arithmetic takes time because is fixed. Enumerating the coefficient vectors of length enumerates all field elements in time .
Any fixed polynomial in and , together with the preceding search time, is at most because . Under , this is for a computable function with the stated dependence. ∎
We next explain how to find a prime larger than a given bound. Bertrand’s postulate guarantees that such a prime exists below twice that bound, and deterministic primality testing allows us to find one by checking the candidates in order.
Lemma 2.10 (Bertrand’s postulate).
For every integer , there is a prime with .
Theorem 2.11 ([3]).
There is a deterministic algorithm that, given an integer , decides whether is prime in time .
We can therefore find a prime by testing the integers in the interval in increasing order. The next lemma gives the running time and the condition under which it is FPT.
Lemma 2.12.
There exists a deterministic algorithm that, given an integer , finds a prime with in time . Moreover, let be computable and let be fixed. If satisfy , then the algorithm runs in time for a computable function depending only on and .
Proof.
We find the required prime by testing the integers in the specified interval in increasing order. By Lemma 2.10, the interval contains a prime. For each candidate, apply Theorem 2.11, which takes time. There are fewer than candidates, so the search takes time. Substituting gives the stated bound . ∎
For prime , an integer lift of a vector or matrix over is an integer vector or matrix with the given entries modulo . Reduction modulo is applied entrywise. Finally, we explain how to compute an integer basis for a lattice defined by linear congruences modulo a prime.
Lemma 2.13.
Let be prime and let . A basis of the lattice
can be computed deterministically in time polynomial in .
Proof.
Gaussian elimination, followed by a permutation of columns and deletion of zero rows, puts the matrix in the form , where is its rank. In that coordinate order a basis is
where is the integer lift of with entries in . Indeed, the congruence says exactly that for an integer vector . The displayed columns are independent, and undoing the coordinate permutation on every basis vector restores the original coordinate order. The rank-zero case gives . All matrix entries have bits. ∎
2.5 Rational points near a nonsingular solution
This subsection proves Lemma 2.19, our substitute for the implicit function theorem over finite fields. We know a common zero of polynomials over a finite field at which their Jacobian matrix is invertible, and we need a common zero of at which does not vanish. Over the real numbers, the implicit function theorem would give a curve through on which stay zero and is nonzero near except at . Over a finite field, we find such a curve algebraically, show that it is defined over the finite field, and count its points. The subsection assumes no background in algebraic geometry: we define every notion that we use. Besides basic linear algebra and finite fields, we use without proof only Fact 2.14, Fact 2.15, Fact 2.17, Theorem 2.18, and the Frobenius descent criterion [19, Example 1.4.2, p. 31], stated in Lemma 2.16(ii).
Algebraic sets and curves.
Throughout this subsection, , and is an algebraic closure of ; every lies in the finite field . An algebraic set is the set of common zeros in of polynomials . Finite sets, finite unions, and finite intersections of algebraic sets are algebraic sets; for instance, . An algebraic set is defined over if it equals for some , and is its set of -rational points. An algebraic set is irreducible if it is nonempty and is not the union of two proper algebraic subsets.
Fact 2.14 (see [21, Section 4.1]).
Every nonempty algebraic set is the union of finitely many irreducible algebraic subsets, none of which contains another. These subsets are uniquely determined by , and they are called the irreducible components of .
Every irreducible algebraic subset of lies in some component , since is irreducible and is the union of the algebraic sets . Hence the components of are exactly its maximal irreducible algebraic subsets. An irreducible algebraic set defined over is called absolutely irreducible over . A curve in an algebraic closure is an infinite algebraic set all of whose proper algebraic subsets are finite; a curve is irreducible, since the union of two finite sets is finite. A line is an example of a curve.
Degree.
For a curve , the degree is the largest number of points in which meets an affine hyperplane that does not contain . We need only the following properties of the degree of a general algebraic set.
Fact 2.15 (see [9, Section 2] and [21, Section 4.1 and Lemma 4.2]).
Every algebraic set has a degree , which for a curve is the number defined above, with the following properties.
(i) The degree of a finite set is its number of points. (ii) The degree of is the sum of the degrees of its irreducible components. (iii) For every nonconstant polynomial , we have . (iv) (Bézout’s inequality) For all algebraic sets and , we have .
The Frobenius map.
The Frobenius map is an automorphism of (it is injective and maps each finite field into itself), and its fixed points are exactly the roots of , namely the elements of . We apply to points coordinatewise, and we write for the polynomial obtained by applying to the coefficients of . The following lemma recognizes algebraic sets defined over .
Lemma 2.16.
(i) We have , and maps the irreducible components of every algebraic set onto those of . If is defined over , then . (ii) Conversely, every algebraic set with is defined over .
Proof.
(i) Since is a ring automorphism, we have , so if and only if ; this gives the identity. Hence and map algebraic sets to algebraic sets, and is a bijection between the algebraic subsets of and those of that preserves unions and inclusions. It therefore maps maximal irreducible algebraic subsets to maximal irreducible algebraic subsets. If , then , and hence .
(ii) Since is an algebraic subset of and , we apply [19, Example 1.4.2, p. 31] with , , and to conclude that is defined over . ∎
The Jacobian criterion and the Weil bound.
Over the real numbers, if polynomials have a common zero at which their Jacobian matrix has rank , the implicit function theorem and the rank theorem (cf. [36, Theorem 9.32]) show that near their common zero set is a single smooth piece with degrees of freedom. The Jacobian criterion is the algebraic counterpart of this picture; we need the cases of one and zero degrees of freedom.
Fact 2.17 (Jacobian criterion).
Let , and let be a common zero of them at which their Jacobian matrix has rank .
(a) If , then lies on exactly one irreducible component of , and this component is a curve. (b) If , then lies on exactly one irreducible component of , namely .
Fact 2.17 is a standard result in algebraic geometry. The Weil bound below says that a curve defined over has about as many -rational points as a line defined over , which has exactly .
Theorem 2.18 (Weil bound; [9, Theorem 7.1], case of dimension one; see also [21, Theorem 4.6]).
Let be a curve that is defined over , and hence absolutely irreducible over , and let be its degree in the sense of Fact 2.15. If , then
We now prove the lemma.
Lemma 2.19.
Let , let , and let be nonconstant polynomials with . Suppose that satisfies
and that the Jacobian matrix of at is invertible. If and , then there exists such that
Proof.
Let . We will find a curve defined over and show that has more -rational points than zeros of .
Step 1: a curve through . The first rows of the invertible Jacobian matrix at are linearly independent, and they form the Jacobian matrix of . By Fact 2.17(a), the point lies on exactly one irreducible component of , and is a curve.
Step 2: the curve is defined over . Since is defined over , Lemma 2.16(i) shows that is an irreducible component of , which is exactly . It contains , since , so because the point lies on exactly one irreducible component. By Lemma 2.16(ii), the curve is defined over .
Step 3: the polynomial has few zeros on . By Fact 2.17(b), applied to all polynomials, the only irreducible component of containing is . If vanished on all of , then would be an irreducible algebraic subset of containing , so , which is impossible because is infinite. Hence is a proper algebraic subset of , and thus finite. Let . By Fact 2.15(i), (iv), and (iii), the set has at most points. Similarly, by (iv) and (iii), the set has degree at most , and by (ii), so does its component ; that is, . Since , we also have , so .
Step 4: the curve has many points in . Since , we have , , and . By Step 2, Theorem 2.18 applies to and gives
where we used and , which follow from , and the assumption . By Step 3, some is not a zero of , and because . ∎
3 A Deterministic Reduction from CVP to SVP
We prove Theorem 1.1 by constructing a deterministic reduction from CVP to SVP. We observe that the reduction of Hirahara and Ogitsuka [28] becomes deterministic if we can deterministically construct a locally dense lattice, as defined below, in time. Our construction uses the Reed–Solomon lattice of Bennett and Peikert [7].
Definition 3.1 (Locally dense lattice).
Let , let be positive integers, and let be prime. Let , let , and let be an ordered list of distinct coordinates. Put
The tuple is a locally dense lattice with parameters if
(i) ; (ii) ; (iii) for every with , there exists such that
Here bounds the th power of the norm, while and are norm thresholds. The equality in condition (iii) is over the integers. Since contains times every unit vector, condition (i) implies .
3.1 A Non-Uniform Reduction Using a Locally Dense Lattice
The following reduction is essentially based on the observation that the reduction of Hirahara and Ogitsuka gives a non-uniform reduction when a locally dense lattice is provided as advice. For fixed constants of the reduction, the same locally dense lattice can be used for all instances with the same and .
Theorem 3.2 ([28, proof of Theorem 3.9 in the full version, adapted]).
Fix , , and integers , with . There is a deterministic algorithm that, given an instance of - with and a locally dense lattice with parameters satisfying
outputs an instance of - with parameter , preserving both YES and NO instances. Its running time is polynomial in the total input length, including the representation of the supplied locally dense lattice.
Proof.
We first construct the output instance. Set and . Use Lemma 2.13 to compute an integer basis of the lattice represented by and . Let consist of the rows of indexed by , in the specified order. Output , where
Compared with [28], we omit the columns , since the local density condition in Definition 3.1 holds as an equality over the integers.
We show that the columns of are linearly independent, so that is a lattice basis. Consider a linear combination of its columns that is zero. The third block forces the coefficient of the column containing and to be zero. Since and have linearly independent columns, the first two blocks then force the coefficients of their columns to be zero.
Next, we show completeness. Suppose that for some . Since , the local density condition in Definition 3.1 gives such that
Since , the last equality gives . Therefore,
This vector is nonzero because its third block is . By Equation 4, the th power of its norm satisfies
Thus the output is a YES instance with parameter .
We now show soundness. Suppose that is a NO instance. By Definition 2.3, this means that
Assume for contradiction that contains a nonzero vector of norm at most . Using , we can write this vector as
for some , , and . If , the first block has norm
This contradicts the assumed norm bound, so .
The case also leads to a contradiction. The second block is now and has norm at most . Since , we must have . The last block is therefore , and every coordinate in it is an integer multiple of . The assumed norm bound therefore forces that block to be zero, so . All blocks are now zero, contrary to the choice of a nonzero vector. Therefore,
We finally bound the running time. The matrix has rows and columns. By Lemma 2.13, computing takes time polynomial in the dimensions of and . Forming also takes time polynomial in the total input length, and the bit lengths of all its entries are polynomial in that length. Thus the reduction has the claimed running time. ∎
3.2 A Deterministic FPT Construction of Locally Dense Lattices
In this section, we give a deterministic algorithm that constructs a locally dense lattice as defined in Definition 3.1. Our construction uses a Reed–Solomon lattice. We use the following lower bound on its minimum norm to verify condition (i) of Definition 3.1. The proof of the minimum distance in [7, Theorem 3.1 in the full version] applies without change to extension fields under the characteristic assumption below. We include the proof for completeness.
Lemma 3.3 ([7, Theorem 3.1 in the full version, adapted]).
Let be an integer, let be prime, and let for an integer . The lattice
satisfies
for every real . The integer coefficients are interpreted in . The equation for uses for every .
Proof.
We first bound the minimum norm. Suppose that satisfies . The equation for gives . Since , we have over the integers. Form two multisets of elements of : for each positive entry , put copies of in the first multiset, and for each negative entry , put copies of in the second. Their cardinalities are equal, say to , and . The case would give , so .
The equations for in Equation 6 say that these multisets have equal power sums through degree . Since the characteristic exceeds , Newton’s identities recover their elementary symmetric functions from these power sums. The monic polynomials having the elements of the two multisets as roots, counted with multiplicity, are therefore equal. Unique factorization in implies that the two multisets are equal. This is impossible because the positive and negative supports of are disjoint and . Thus . For every integer vector and every real , we have . This gives .
Next, suppose that a nonzero word of has support of size . The first equations in Equation 6 have coefficient matrix
This Vandermonde matrix is invertible over because the are distinct. All coefficients on the support must therefore be zero, a contradiction. This proves . ∎
Taking gives the lattice over the prime field .
We now choose the shift and the coordinates so that the Reed–Solomon lattice satisfies the local density condition. The following theorem gives a deterministic construction for the integer parameters specified below.
Theorem 3.4.
Fix . Let be positive integers satisfying
and put . There is a deterministic algorithm that, on input , constructs a locally dense lattice with parameters . The algorithm outputs the prime , the matrix , the vector , and the coordinates in . Its running time and output size are bounded by for a computable function , with an exponent independent of .
Proof.
We first choose the prime field that indexes the coordinates of the lattice. Put and use Lemma 2.12 to choose a prime with , where
For , let have entry at and entry at every other coordinate.
We next construct the matrix , the vector , and the ordered list of coordinates . Index the coordinates by and define , with for every . Then is the lattice in Equation 6. Since , we can choose distinct elements using a fixed enumeration of . Set
Thus . The algorithm outputs . When considering membership in , we identify with its underlying set .
We first verify the minimum distance condition in Definition 3.1.
Claim 1.
The lattice satisfies .
Proof of Claim 1.
We apply Lemma 3.3 with to bound the minimum norm. Its hypotheses hold because and . Together with , it gives . ∎
We now construct, for each with , a vector satisfying
as required by condition (iii) of Definition 3.1. If , choose . Then , , and . For the rest of the proof, fix and put . Since the entries of are integers, every nonzero entry satisfies , so
For any , define
The additions in the coordinate indices are taken in , while the coefficients of are integers.
We obtain the required norm bound whenever the coordinate indices in Equation 9 are pairwise distinct. If the elements in the list are pairwise distinct, then the nonzero entries of are copies of and one copy each of and for every . Hence
We derive the equations equivalent to . By Equation 6, the condition for is
This condition holds for every choice of , since
over the integers. By Equation 6, the remaining conditions are
We interpret the integer coefficients in when evaluating these sums. For each and , we have
since has entry at and entry at every other coordinate. Applying the same calculation to each term of gives
Let be variables over . Therefore, if and only if satisfies
where the coefficients are interpreted in .
To ensure and , we introduce a polynomial . Its nonzero values will ensure that every and every with lies outside and that all coordinate indices in Equation 9 are pairwise distinct. Set
Since , we have and . Define the polynomial by
The empty product is defined to be .
Claim 2.
For every with , we have
Consequently, the vector in Equation 9 satisfies and .
Proof of Claim 2.
We first show that for every . Since , every factor of is nonzero at . The factors therefore give for every and . Since consists of , this proves .
We next show that for every . The factor gives , and the factors give for every . Thus . For every and , the definition of gives . Hence , which implies . Therefore for every .
The remaining factors give the other two groups of inequalities. The factors give whenever . The factors give for every and .
We now show that over the integers. The vectors and have entry at every coordinate in , as their indices lie outside . By Equation 9, the entries of on are therefore the same as those of . Since are distinct, this gives for every . For , the sum has entry at , and by the definition of . Thus for every , which proves .
We finally show that . The elements with are distinct, and adding the same preserves distinctness. Together with the inequalities proved above, this shows that all coordinate indices in Equation 9 are pairwise distinct. The preceding norm calculation therefore gives . ∎
To complete the construction of , it is enough to show that there exists a point satisfying Equation 10 and , where is defined in Equation 11. For such a point, the vector defined in Equation 9 belongs to . By Claim 2, it also satisfies and . We prove that such a point exists by applying Lemma 2.19.
We first show that is a common zero of the left sides of Equation 10 and . At , we have for every and . Thus every left side in Equation 10 is zero, since both and are zero at this point. Since has the factor , we also have .
We next show that the Jacobian matrix of these polynomials is invertible at . We order the left sides by increasing , followed by , and use the variable order . For the left side indexed by , the derivative with respect to is , whose value at is . Thus the upper left block is
This is a Vandermonde matrix with its th row multiplied by . The elements are distinct, and are nonzero in because . Hence this block is invertible.
We use the factor in to compute the last row of the Jacobian matrix. Each derivative of with respect to still has the factor , so
When differentiating with respect to , every term except the one obtained by differentiating the first factor still contains and is zero at . Therefore,
Every factor in this expression is nonzero because and the elements are distinct. The Jacobian matrix thus has an invertible upper left block, a zero lower left block, and a nonzero lower right entry, so it is invertible.
We now check the remaining assumptions of Lemma 2.19 concerning the degrees and the size of . For each , every term on the left side of Equation 10 has degree at most , and the coefficient of is . Its degree is therefore exactly , and the product of these degrees is . Since is a product of linear factors, we have
All polynomials are nonconstant. Our choice of in Equation 8 gives
We can now apply Lemma 2.19 to obtain the required point. We use the left sides of Equation 10, followed by , as the polynomials in the lemma, with variables . In this application, , , , and . The lemma gives a point satisfying Equation 10 and .
The point given by the lemma completes the construction of for the fixed nonzero vector . Together with the case treated above, this proves condition (iii) of Definition 3.1. Claim 1 and give the other two conditions.
We finally bound the running time and the size of the output. The algorithm finds , computes the matrix , and outputs , , , and . Since , the bound in Equation 8 gives
for a computable function . By Lemma 2.12, finding a prime with takes time polynomial in . The matrix has rows and columns, and each entry has bits. Computing this matrix and choosing and take time polynomial in and the integer parameters. The output size satisfies the same bound. Therefore, after increasing the computable function if necessary, both the running time and the output size are at most , with an exponent independent of . ∎
3.3 Finishing the Proof
We now combine the reduction with the deterministic construction of a locally dense lattice. To obtain any fixed approximation factor , we choose the parameters so that the constructed lattice satisfies the minimum norm condition and the bound in Equation 4. The following theorem gives the resulting deterministic reduction from CVP to SVP.
Theorem 3.5.
Fix a computable real and a constant . There are integers , and a deterministic many-one reduction from - to -. The output parameter is , where is the input parameter.
Proof.
We first choose fixed integers and that give the required approximation factor. Choose them so that
Such integers exist because, as tends to infinity through the positive integers,
Thus, for all sufficiently large integers , taking satisfies the conditions in Equation 12. Fix one such pair for the reduction.
We next compute the integer parameters needed to construct the locally dense lattice. Given an instance of - with , put and choose integers with
To compute these integers, first approximate and from above by rational numbers, with a positive error less than in each case. Taking the ceilings of these rational numbers gives and satisfying the displayed inequalities. Since is computable and is fixed, this computation takes time bounded by a computable function of .
We verify that these parameters satisfy the assumptions of Theorem 3.4. Since and , we have . Thus implies and . Our choice of also gives . Apply Theorem 3.4 to construct a locally dense lattice with parameters , where .
We now verify the norm bound needed to apply Theorem 3.2. By Equation 13, we have
Here the second inequality uses and , and the last inequality follows from Equation 12. Therefore Equation 4 holds. Apply the algorithm in Theorem 3.2 to the input instance and the constructed locally dense lattice. That theorem guarantees that both YES and NO instances are preserved and that the output parameter is .
We finally show that the total running time is . The parameters depend only on and the fixed constants and are bounded by a computable function of . The time needed to construct the locally dense lattice and the size of its representation are therefore bounded by for a computable function . The algorithm in Theorem 3.2 takes time polynomial in the input length and the size of the constructed locally dense lattice, including the bit lengths of the integer entries. After increasing if necessary, the total running time is bounded by times a polynomial in the input length, with an exponent independent of . Both algorithms are deterministic, and the output parameter depends only on . ∎
Combining this reduction with the hardness of CVP proves Theorem 1.1.
Proof of Theorem 1.1.
We obtain the claimed hardness of SVP by composing the reductions. Fix a computable real and a constant . Choose the integer from Theorem 3.5. By Theorem 2.4, the problem - is -hard under deterministic many-one reductions. Composing these reductions with the reduction in Theorem 3.5 proves that - is -hard under deterministic many-one reductions. ∎
4 A Deterministic Reduction from NCP to MDP
We now show that the approach of Section 3 also gives the -hardness of MDP under deterministic reductions. We observe that the reduction of Hirahara and Ogitsuka [28, Theorem 3.5] becomes deterministic if we can deterministically construct a locally dense code, as defined below, in FPT time. We work over a prime field and extend scalars at the end.
Definition 4.1 (Locally dense code).
Let be prime and let be positive integers. Let be a linear code over with coordinates, let , and let be an ordered list of distinct coordinates. The tuple is an -locally dense code if
(i) ; (ii) ; (iii) for every with , there is a nonzero such that and .
We represent by a parity-check matrix over .
4.1 A Non-Uniform Reduction Using a Locally Dense Code
The following reduction is essentially based on the observation that the reduction of Hirahara and Ogitsuka gives a non-uniform reduction when a locally dense code is provided as advice. For fixed , the same locally dense code can be used for all instances with the same and .
Theorem 4.2 ([28, proof of Theorem 3.5 in the full version, adapted]).
Fix a prime . There is a deterministic algorithm that, given an instance of - with and an -locally dense code , outputs an instance of - with parameter , preserving both YES and NO instances. If the supplied parity-check matrix of has rows and columns, the algorithm runs in time .
Proof.
We first construct the output instance. Set and . From the supplied parity-check matrix , compute a basis of by Gaussian elimination. Use these basis vectors as the columns of , so that . Let consist of the rows of indexed by , in the specified order. Let be the matrix that repeats each coordinate times. Multiplication by therefore multiplies the Hamming weight by . Output , where
We next show completeness. Suppose that for some . Since , the local density condition in Definition 4.1 gives such that
Since , the last equality gives . Therefore,
This codeword is nonzero because . Its weight is at most .
We now show soundness. Suppose that . Assume for contradiction that contains a nonzero codeword of weight at most . Using , we can write this codeword as
for some , , and . If , multiplication by does not change Hamming weight, so the first block has weight
This contradicts the assumed weight bound, so .
The case also leads to a contradiction. The second block is now and has weight at most . Since , we must have . The last block is therefore . Since the whole codeword is nonzero, we must have . Thus the last block has weight
again contradicting the assumed weight bound. Therefore .
We finally bound the running time. The matrix has rows and columns, where . Since is fixed and , computing by Gaussian elimination and forming take time. ∎
4.2 A Deterministic FPT Construction of Locally Dense Codes
In this section, we give a deterministic FPT algorithm that constructs a locally dense code as defined in Definition 4.1. Our construction uses an extended BCH code.
Theorem 4.3.
Fix a prime . Given positive integers , a deterministic algorithm constructs an -locally dense code . The coordinates of are indexed by an explicitly represented extension field , and consists of distinct elements of . The algorithm outputs a parity-check matrix for , the vector , and the coordinates in . The field size and running time are bounded by for a computable function , with an exponent independent of .
Proof.
We first choose the field that indexes the coordinates of the code. Put
Let . Choose the smallest power of satisfying
and construct using Lemma 2.9. For , let have entry at and entry at every other coordinate.
Next, we construct the output consisting of a code , a vector , and an ordered list of coordinates . We define the code by
Expanding each equation over in the chosen -basis of yields a parity-check matrix over . To construct and , consider the matrix whose rows are indexed by , columns are indexed by , and -entry is . Its rows are linearly independent over . Indeed, a nontrivial linear dependence among the rows would give a polynomial of degree at most that vanishes at every element of . This polynomial would be nonzero because its monomials have distinct exponents and each is nonzero in . This is impossible because . Using Gaussian elimination with the fixed enumeration of , select linearly independent columns and denote their indices by . Then
Since , we can choose the first distinct elements outside in the same enumeration. Set
Thus . When considering membership in , we identify with its underlying set .
We prove the required minimum distance of .
Claim 1.
The code in Equation 15 satisfies .
Proof of Claim 1.
Suppose for contradiction that there exists a nonzero codeword with support , where . For each , write with . Since , we have . By Equation 15, we have
Taking the -th power of both sides gives
since has characteristic and . Together with , these equations can be written as
The Vandermonde matrix is invertible because the are distinct. Thus every is zero, contrary to the choice of . ∎
We now construct, for each with , a vector satisfying
as required by condition (iii) of Definition 4.1. If , choose . Then , , and . For the rest of the proof, fix and put , so that . For any , define
The support of is contained in the set of indices appearing in this expression. Hence, for every choice of these field elements,
We derive the equations equivalent to . By Equation 15, the first condition for is
This condition holds for every choice of , since
By Equation 15, the remaining conditions for are
For each and , we have
since has entry at and entry at every other coordinate. Applying the same calculation to each term of gives
Let be variables over . Therefore, if and only if satisfies
To ensure , we introduce a polynomial such that implies for every and for every . Set
Since , we have and . Define the polynomial by
An empty product is .
Claim 2.
For every with , we have
The vector in Equation 17 consequently satisfies and .
Proof of Claim 2.
We first show that for every . Since , every factor of is nonzero at . The factors therefore give for every and . Since consists of , we have for every .
We next show that for every . The factor gives , and the factors give for every . Thus . For every and , the definition of gives . Hence , which implies . Therefore for every .
We now show that and . The vectors and have entry at every coordinate in , as their indices lie outside . By Equation 17, the entries of on are therefore the same as those of . Since are distinct, this gives for every . For , the sum has entry at , and by the definition of . Thus for every , which proves . Since , we also have . ∎
To complete the construction of , it is enough to show that there exists a point satisfying Equation 18 and , where is defined in Equation 19. For such a point, the vector defined in Equation 17 belongs to and satisfies . By Claim 2, it also satisfies and . We prove that such a point exists by applying Lemma 2.19.
We first show that is a common zero of the left sides of Equation 18 and . At , we have for every and . Thus every left side in Equation 18 is zero, since both and are zero at this point. Since has the factor , we also have .
We next show that the Jacobian matrix of these polynomials is invertible at . We order the left sides by increasing , followed by , and use the variable order . For the left side indexed by , the derivative with respect to is , whose value at is . Thus the upper left block is the invertible matrix in Equation 16. Each derivative of with respect to still has the factor , so
When differentiating with respect to , every term except the one obtained by differentiating the first factor still contains and is zero at . Therefore,
since and . The Jacobian matrix thus has an invertible upper left block, a zero lower left block, and a nonzero lower right entry, so it is invertible.
We now check the remaining assumptions of Lemma 2.19 concerning the degrees and the size of . For each , every term on the left side of Equation 18 has degree at most , and the coefficient of is . Its degree is therefore exactly , and the product of these degrees is . Since is a product of linear factors, we have
All polynomials are nonconstant. Our choice of gives
We can now apply Lemma 2.19 to obtain the required point. We use the left sides of Equation 18, followed by , as the polynomials in the lemma, with variables . In this application, , , and . The lemma gives a point satisfying Equation 18 and .
The point given by the lemma completes the construction of for the fixed nonzero vector . Together with the case treated above, this proves condition (iii) of Definition 4.1. Claim 1 and give the other two conditions.
We finally bound the running time and the size of the output. The algorithm constructs , computes the parity-check matrix and the matrix used to select , and outputs the parity-check matrix, , and . Since is the smallest power of satisfying the required inequality, we have
Since , , and depend only on and , this gives for a computable function . The parity-check matrix has at most rows and columns. The matrix used to select has rows and columns. Computing these matrices and selecting the coordinates require a number of field operations polynomial in , since . By Lemma 2.9, constructing , enumerating its elements, and performing these operations take time polynomial in . The output size is also polynomial in . Therefore, after increasing if necessary, both the running time and the output size are at most , where the exponent does not depend on . ∎
4.3 Finishing the Proof
We first obtain a deterministic reduction from NCP to MDP over prime fields. The reduction in Theorem 4.2 takes a locally dense code as additional input, and Theorem 4.3 constructs such a code deterministically in time.
Theorem 4.4.
For every fixed prime , there is a deterministic many-one reduction from - to -. The output parameter is , where is the input parameter.
Proof.
We construct the reduction by applying the two algorithms in sequence. Given an instance of - with , use Theorem 4.3 to construct an -locally dense code . Apply the algorithm in Theorem 4.2 to and . That theorem guarantees that both YES and NO instances are preserved and that the output parameter is .
We next show that the total running time is . The time needed to construct the locally dense code and the size of its representation are bounded by for a computable function . The algorithm in Theorem 4.2 takes time polynomial in and the size of the constructed locally dense code. Thus, after increasing if necessary, the total running time is bounded by , with an exponent independent of . Both algorithms are deterministic, and for fixed the output parameter depends only on . ∎
To transfer hardness from to with , we view the same generator matrix over . The following lemma shows that this preserves the minimum distance and hence both YES and NO instances of MDP.
Lemma 4.5.
Let , where is prime and is an integer, and let be a matrix over . The code generated by the columns of has the same minimum distance whether the linear combinations are taken over or over .
Proof.
Allowing coefficients from cannot increase the minimum distance. Indeed, every linear combination of the columns of with coefficients in is also one with coefficients in .
To prove the reverse inequality, we show that every nonzero codeword over gives a nonzero codeword over of no greater weight. Express a nonzero codeword over as a linear combination of the columns of . Expand the coefficients of this linear combination in an -basis of . Since has entries in , collecting the terms for each basis element gives a codeword over . At least one of these codewords is nonzero, since the original codeword is nonzero. If a coordinate of the original codeword is zero, linear independence of the basis implies that the same coordinate is zero in each of these codewords. Thus each has support contained in that of the original codeword, and a nonzero one has no greater weight. This proves the reverse inequality. If generates the zero code, it does so over both fields, and both minimum distances are by our convention. ∎
To complete the proof of Theorem 1.3, we use tensor powers to obtain hardness for every constant approximation factor. This step uses the fact that the minimum distance of a tensor product of two nonzero linear codes is the product of their minimum distances.
Proof of Theorem 1.3.
We first establish hardness for the factor over the fixed field , where and is prime. By Theorems 2.7 and 4.4, the problem - is -hard under deterministic many-one reductions. By Lemma 4.5, viewing the same generator matrix over preserves the minimum distance. This step is deterministic, takes polynomial time, and leaves the parameter unchanged. Thus the same hardness result holds over .
We next prove the formula for the minimum distance of a tensor product. View a nonzero codeword in the tensor product of two nonzero linear codes as a matrix whose columns belong to the first code and whose rows belong to the second. At least one column is nonzero, so the number of nonzero rows is at least the minimum distance of the first code. Each nonzero row has weight at least the minimum distance of the second code. The total weight is therefore at least the product of the two minimum distances. For the reverse inequality, choose a codeword of minimum weight from each code and take their tensor product. Its weight is exactly the product of the two minimum distances.
We now construct a reduction to - for any fixed . Since , we can choose a positive integer such that
Map an instance of - to .
We show that this map preserves both YES and NO instances. Repeatedly applying the formula for the minimum distance of a tensor product shows that, for a YES instance,
For a NO instance whose code is nonzero, we have
A zero input code remains zero and is therefore also mapped to a NO instance.
We finally check the running time and the output parameter. If has rows and columns, then has rows and columns. Since depends only on the fixed constants and , the output matrix and parameter can be computed deterministically in polynomial time. The new parameter is , which depends only on . Combining this reduction with the hardness result established above proves the theorem. ∎
AI Methodology
The deterministic constructions of locally dense codes and locally dense lattices were discovered by GPT-5.5 in response to prompts based on ideas for obtaining such constructions, building on the results in Sections 3.1 and 4.1. Initially, the constructions and their proofs relied on complex concepts from algebraic geometry. The authors subsequently obtained simpler constructions and proofs with the assistance of GPT-5.6 and GPT-6. The authors verified the correctness and originality of all content, including references.
References
[1] D. Aggarwal, R. Gupta, A. Morolia, and C. Zhang (2026) Mind the Gap? Not for SVP Hardness Under ETH!. In ICALP, LIPIcs, Vol. 374, pp. 8:1–8:24. External Links: Document Cited by: §1.3.
[2] D. Aggarwal and N. Stephens-Davidowitz (2018) (Gap/S)ETH hardness of SVP. In STOC, Cited by: §1.3.
[3] M. Agrawal, N. Kayal, and N. Saxena (2004) PRIMES is in P. Annals of Mathematics 160 (2), pp. 781–793. Cited by: Theorem 2.11.
[4] E. Agrell, T. Eriksson, A. Vardy, and K. Zeger (2002) Closest point search in lattices. IEEE Transactions on Information Theory 48 (8), pp. 2201–2214. Cited by: §1.
[5] M. Ajtai (1998) The shortest vector problem in L2 is NP-hard for randomized reductions (extended abstract). In STOC, Cited by: §1.3, §1.
[6] H. Bennett, M. Cheraghchi, V. Guruswami, and J. Ribeiro (2024) Parameterized inapproximability of the minimum distance problem over all fields and the shortest vector problem in all norms. SIAM Journal on Computing 53 (5), pp. 1439–1475. Note: Preliminary version in STOC 2023. Cited by: Appendix A, §1.1, §1.1, §1.2.1, §1.2, §1, Definition 2.3, Theorem 2.4, Theorem 2.7.
[7] H. Bennett and C. Peikert (2023) Hardness of the (Approximate) Shortest Vector Problem: A Simple Proof via Reed-Solomon Codes. In APPROX/RANDOM, Note: Full version; theorem numbering refers to arXiv:2202.07736v1 External Links: Document, 2202.07736v1 Cited by: §1.2.1, §1.2.1, §1.3, §3.2, Lemma 3.3, §3.
[8] A. Bhattacharyya, É. Bonnet, L. Egri, S. Ghoshal, K. C. S., B. Lin, P. Manurangsi, and D. Marx (2021) Parameterized Intractability of Even Set and Shortest Vector Problem. Journal of the ACM 68 (3). Cited by: Definition A.1, Theorem A.2, Appendix A, §1.1, §1, Theorem 2.4, Theorem 2.7.
[9] A. Cafure and G. Matera (2006) Improved explicit estimates on the number of solutions of equations over a finite field. Finite Fields and Their Applications 12 (2), pp. 155–185. External Links: Document Cited by: §1.2.1, Fact 2.15, Theorem 2.18.
[10] Q. Cheng and D. Wan (2012) A Deterministic Reduction for the Gap Minimum Distance Problem. IEEE Transactions on Information Theory 58 (11), pp. 6935–6941. Note: Preliminary version in STOC 2009. Cited by: §1.3.
[11] Claude (Anthropic) (2026) A Time Algorithm for 3-SAT. Note: Preprint External Links: Link Cited by: footnote 2.
[12] J. H. Conway and N. J. A. Sloane (1999) Sphere Packings, Lattices, and Groups. Springer. Cited by: §1.3.
[13] M. Cygan, F. V. Fomin, Ł. Kowalik, D. Lokshtanov, D. Marx, M. Pilipczuk, M. Pilipczuk, and S. Saurabh (2015) Parameterized Algorithms. Springer. Cited by: §1.
[14] R. G. Downey, M. R. Fellows, A. Vardy, and G. Whittle (1999) The Parametrized Complexity of Some Fundamental Problems in Coding Theory. SIAM Journal on Computing 29 (2), pp. 545–570. External Links: Document Cited by: §1.1, §1.
[15] R. G. Downey and M. R. Fellows (1995) Fixed-Parameter Tractability and Completeness I: Basic Results. SIAM Journal on Computing 24 (4), pp. 873–921. Cited by: §2.3.
[16] R. G. Downey and M. R. Fellows (1995) Fixed-Parameter Tractability and Completeness II: On Completeness for W[1]. Theoretical Computer Science 141 (1–2), pp. 109–131. Cited by: §2.3.
[17] R. G. Downey and M. R. Fellows (1999) Parameterized Complexity. Monographs in Computer Science, Springer. Cited by: §1, §2.3.
[18] I. Dumer, D. Micciancio, and M. Sudan (2003) Hardness of approximating the minimum distance of a linear code. IEEE Transactions on Information Theory 49 (1), pp. 22–37. Note: Preliminary version in FOCS 1999. Cited by: §1.3, Definition 2.5, Definition 2.6.
[19] M. Geck and G. Malle (2016) Reductive groups and Steinberg maps. External Links: 1608.01156, Link Cited by: §2.5, §2.5.
[20] O. Goldreich and S. Goldwasser (2000) On the Limits of Nonapproximability of Lattice Problems. Journal of Computer and System Sciences 60 (3), pp. 540–563. Note: Preliminary version in STOC 1998. External Links: Document Cited by: Definition 2.2.
[21] Z. Guo, B. L. Volk, A. Jalan, and D. Zuckerman (2023) Extractors for Images of Varieties. In STOC, pp. 46–59. Note: Full version: arXiv:2211.14497; numbering refers to the full version External Links: Document Cited by: Fact 2.14, Fact 2.15, Theorem 2.18.
[22] V. Guruswami and X. Ren (2026) Deterministic Parameterized Inapproximability of Nearest Codeword and Minimum Distance. Note: Electronic Colloquium on Computational Complexity (ECCC), Report TR26-234 External Links: Link Cited by: §1.1, §1.1, §1.
[23] I. M. Hair and A. Sahai (2026) Deterministic Hardness of Approximation For SVP in all Finite Norms. Note: To appear in FOCS 2026. External Links: 2604.01451, Link Cited by: §1.
[24] I. M. Hair and A. Sahai (2026) Polynomial-Factor Deterministic NP-Hardness for SVP in Every Norm with . External Links: 2608.14529, Link Cited by: §1.4, §1.
[25] I. M. Hair and A. Sahai (2026) SVP Is Deterministically NP-Hard for All , Even to Approximate within a Factor of . In STOC, pp. 1716–1727. External Links: Document Cited by: §1.
[26] I. Haviv and O. Regev (2012) Tensor-based Hardness of the Shortest Vector Problem to within Almost Polynomial Factors. Theory of Computing 8 (23), pp. 513–531. Note: Preliminary version in STOC 2007. Cited by: §1.3, §1.
[27] Y. Hecht and M. Safra (2026) Deterministic Hardness of Approximation of Unique-SVP and GapSVP in Norms for . In STOC, pp. 886–897. External Links: Document Cited by: §1.
[28] S. Hirahara and K. Ogitsuka (2026) One-Sided-Error Parameterized Reductions for the Minimum Distance and Shortest Vector Problems. In APPROX/RANDOM, Note: Full version; theorem numbering refers to arXiv:2608.14305v1 External Links: 2608.14305v1 Cited by: §1.1, §1.2.1, §1.2.1, §1.2.1, §1.2.1, §1.2.2, §1.2, §1.3, §1, §3.1, Theorem 3.2, §3, Theorem 4.2, §4.
[29] S. Khot (2005) Hardness of approximating the shortest vector problem in lattices. Journal of the ACM 52 (5), pp. 789–808. Note: Preliminary version in FOCS 2004. Cited by: §1.2, §1.3, §1.
[30] R. Lidl and H. Niederreiter (1997) Finite fields. Second edition, Encyclopedia of Mathematics and Its Applications, Vol. 20, Cambridge University Press. Cited by: Lemma 2.8.
[31] D. Micciancio (2001) The Shortest Vector in a Lattice is Hard to Approximate to within Some Constant. SIAM Journal on Computing 30 (6), pp. 2008–2035. Note: Preliminary version in FOCS 1998. Cited by: §1.3, §1.
[32] D. Micciancio (2012) Inapproximability of the Shortest Vector Problem: Toward a Deterministic Reduction. Theory of Computing 8 (22), pp. 487–512. Cited by: §1.3, §1.
[33] D. Micciancio (2014) Locally Dense Codes. In CCC, Vol. . Cited by: §1.3.
[34] OpenAI (2026) The Exponential Time Hypothesis is False. Note: Preprint, revised October 25, 2026 External Links: Link Cited by: footnote 2.
[35] C. Peikert (2016) A Decade of Lattice Cryptography. Foundations and Trends® in Theoretical Computer Science 10 (4), pp. 283–424. Cited by: §1.
[36] W. Rudin (1976) Principles of mathematical analysis. 3 edition, McGraw-Hill, New York. Cited by: §2.5.
[37] W. M. Schmidt (1976) Equations over finite fields: an elementary approach. Lecture Notes in Mathematics, Vol. 536, Springer. External Links: Document Cited by: §1.2.1.
[38] The Stacks Project Authors (2026) The stacks project. External Links: Link Cited by: footnote 4.
[39] P. van Emde Boas (1981) Another NP-complete partition problem and the complexity of computing short vectors in a lattice. Technical report Technical Report 81-04, Mathematisch Instituut, University of Amsterdam. Cited by: §1.
[40] D. Wan (1990) Permutation Polynomials and Resolution of Singularities over Finite Fields. Proceedings of the American Mathematical Society 110 (2), pp. 303–309. External Links: Document Cited by: footnote 5.
[41] D. Wan (2026) Euclidean SVP is Deterministically NP-hard to Approximate within Any Constant Factor. External Links: 2608.12664, Link Cited by: Lemma A.4, Lemma A.5, Appendix A, Appendix A, Appendix A, §1.1, §1.1, §1.3, §1.
[42] D. Wan (2026) NP-hardness of SVP in Euclidean Space. External Links: 2603.27398, Link Cited by: §1.1, §1.2.1, §1.3, §1.
Appendix A -hardness of SVP for any constant approximation factor
In this section, we show that SVP is -hard to approximate within every constant factor for every . We reduce from the Maximum Likelihood Decoding Problem over a prime field, in two steps. First, we embed an MLD instance into a lattice using the block construction of Theorem 3.2. This produces a gap of roughly between YES and NO instances, together with a lower bound on the minimum distance of the lattice modulo the prime. Second, we amplify the gap by taking tensor powers, following Wan [41].
MLD is the parity-check formulation of NCP. For , Bennett, Cheraghchi, Guruswami, and Ribeiro [6] use a randomized reduction from NCP over to SVP in the norm and then take tensor powers to obtain hardness for every constant approximation factor. In the following definition, we additionally require that a YES instance has a binary solution.
Definition A.1 (-, [8]).
For and a prime , the parameterized promise problem -approximate Maximum Likelihood Decoding Problem (MLD) over (-) is defined as follows. Instances are tuples , where is a parity-check matrix of , is a target vector, and is a distance parameter such that
- is a YES instance if there exists such that and ;
- is a NO instance if for all with .
The parameter of interest is .
Theorem A.2 ([8, Theorems 4.2, 4.9, and 5.4, adapted]).
Fix a constant , and let be any computable function whose values are prime. Then - is -hard under deterministic many-one reductions.
The reductions in [8] produce YES instances with binary solutions. Their output parameter is determined before the field is chosen, so the prime may be any computable function of this parameter without affecting the running time.
In our reduction, the prime is fixed in advance as a function of the parameter . The construction in Theorem 3.4, however, chooses a prime that grows with . We therefore index the coordinates of the Reed–Solomon lattice by an extension field of .
Theorem A.3.
Let and be integers, and let be a prime. There is a deterministic algorithm that, given , runs in time for a computable function and outputs a matrix , a vector , and an ordered list of distinct coordinates. The output satisfies the following conditions, where .
(i) and . (ii) . (iii) For every with , there exists with such that
The output of Theorem 3.4 also satisfies (i)–(iii).
Proof.
Let be the integer defined in Equation 8 with replaced by and replaced by . Since the maximum in Equation 8 contains , the integer depends only on , , and . For the same reason, equals the integer used in the proof of Theorem 3.4 whenever , since then .
We first describe the construction. Let be the least integer such that , and set . Set as defined in Equation 6, with coordinates indexed by . We construct a parity-check matrix for over as follows. Fix an -basis of and replace each row , for , by the rows of its coordinates in this basis. Here for every . The resulting matrix has rows and columns. By Equation 6, an integer vector belongs to if and only if . Since , we can choose distinct elements in a fixed enumeration of . Set
The algorithm outputs , , and .
Conditions (i) and (ii) follow directly from the construction. Condition (i) is Lemma 3.3 applied to , whose hypotheses hold because and . Condition (ii) holds because the elements and are distinct.
We now prove condition (iii). Fix with , and put . We construct with whose nonzero entries are exactly entries equal to together with and for each . Such a vector satisfies for every real . If , then has the required form.
Suppose that . We repeat the argument in the proof of Theorem 3.4 with in place of and in place of . For , define by Equation 9. The computation in that proof shows that if and only if satisfies Equation 10 over . Define by Equation 11 over . By the argument of Claim 2, if , then all coordinate indices in Equation 9 are pairwise distinct and the indices and lie outside . In this case, and the nonzero entries of are as described above.
It remains to find a point satisfying Equation 10 at which is nonzero. We apply Lemma 2.19 over to the left sides of Equation 10 followed by , exactly as in the proof of Theorem 3.4. The point is a common zero of these polynomials. The Jacobian matrix is invertible at this point, because has characteristic and the elements and are distinct. The product of the degrees of the first polynomials is . The bound on in that proof uses only , so it holds here as well. Since , we therefore have and . Lemma 2.19 gives the required point.
We next show that the output of Theorem 3.4 also satisfies conditions (i)–(iii). The construction there chooses a prime with . For this , the least with is . The construction then defines , , and exactly as above. Thus its output coincides with the output of our algorithm on input .
We finally bound the running time. By Equation 8, we have for a computable function . The minimality of gives , so . We construct for a monic irreducible of degree by the search in the proof of Lemma 2.9. Here is part of the input, but each division in that search takes time polynomial in and , so the search takes time polynomial in . Using the -basis , we compute all entries of in time polynomial in and . Choosing and also takes time polynomial in . The point given by Lemma 2.19 is used only in the analysis and is not computed. Thus the running time and the output size are polynomial in , and hence bounded by for a computable function . ∎
In particular, for every real and all integers and with and , the tuple is a locally dense lattice with parameters . Indeed, implies , and for every nonzero .
We now turn to tensor products. For integer lattices and , the tensor product is the lattice generated by . Equivalently, it is the lattice generated by the vectors with and , so it does not depend on the choice of bases. We write for the tensor product of copies of . If the columns of and are linearly independent, then so are those of . We use the following two lemmas from the second version of [41].
Lemma A.4 ([41, Lemma 2.1]).
Let and be linear codes over . If and , then .
Lemma A.5 ([41, Lemma 4.2]).
Let and be integer lattices, and write a nonzero vector of as a matrix with rows indexed by the coordinates of and columns indexed by the coordinates of . If has rank over the reals, there are linearly independent vectors and linearly independent vectors such that
The following amplification lemma improves the argument of [41, Section 5] to the norm. Since for every integer vector , the bound yields a bound for every .
Lemma A.6.
For every integer , one can compute an even integer such that the following holds. Let be a nonzero integer lattice, let be an integer, and let be prime. If and , then for every real ,
Proof.
Let , and let be the least even integer such that . For , let . Then , , and for . Since for every integer vector , it suffices to prove that
because the case is the claim. We proceed by induction on . The case is the assumption .
Before the induction step, we relate the codes obtained from and its tensor powers. Let be a basis of , and let , which is the code generated by . Since is generated by and , we have
Since , repeated application of Lemma A.4 gives .
Fix and assume Equation 20 for . Suppose for contradiction that some nonzero satisfies . Write , and view as an matrix whose rows are indexed by the coordinates of the first factor and whose columns are indexed by the coordinates of . By the definition of tensor product, is an integer combination of tensors of the form , where and , therefore every column of lies in and the transpose of every row lies in . Writing for the sum of the absolute values of the entries, we have
We consider the following two cases.
Suppose first that has rank one over the reals. By Lemma A.5, we have for nonzero vectors and . The induction hypothesis then gives
contrary to Equation 21.
Suppose next that has rank at least two over the reals. We first find two short columns of that are linearly independent modulo . By its rank, some minor of has a nonzero integer determinant . Every entry of has absolute value at most , so Equation 21 and give
Hence , and the two rows of through this minor are linearly independent modulo . Call a column of long if its norm exceeds . By Equation 21, fewer than columns are long. Note that the two rows remain linearly independent modulo after the long columns are deleted. Otherwise, some -linear combination of the two rows modulo is nonzero but vanishes on every column that is not long, so it has fewer than nonzero entries. This contradicts with the minimum distance of , which is . Thus the columns that are not long span a space of dimension at least two modulo . We obtain two columns of that are linearly independent modulo and satisfy .
We next show that the common support of and is large. Let . Since is a nonzero codeword of supported in , we have . Let be the number of indices with or . Each such index contributes at least to , so . At the remaining indices of , the pair is a nonzero integer pair in . There are fewer than such pairs, by an average principle, some pair occurs at no fewer than indices. Consider the codeword of . Since , the pair is nonzero modulo , is nonzero codeword of by the linear independence of and modulo . It remains zero outside and at every index with . Hence
For each , (the transpose of) row of is a nonzero vector of , Its transpose is a nonzero vector of , so it has norm at least by the induction hypothesis. Summing over gives
contrary to Equation 21. This completes the induction. ∎
We now give the reduction. It uses the lattice of Theorem A.3 in the block matrix of Theorem 3.2. In addition, we repeat the last block of rows times. A lattice vector that violates the MLD constraints modulo then has at least nonzero coordinates modulo , which gives the bound on the minimum distance modulo required in Lemma A.6.
Theorem A.7.
Fix a computable real and a constant . There are an integer , a computable function whose values are prime, and a deterministic many-one reduction from - to -. The output distance parameter depends only on the input parameter .
Proof.
We first fix the constants. Choose an integer with , and let be the even integer given by Lemma A.6. Since is fixed and as , we can choose an integer such that
Both choices can be made using a fixed integer upper bound on . Given , put , and let be the prime returned by the algorithm in Lemma 2.12 on input . Thus .
We next construct the output instance. Let be the input, write , and let and . We may assume , since adding a zero column to preserves both cases of the promise. Apply the algorithm in Theorem A.3 to , that is, with and with in place of . This is possible because and . Let , , and be its outputs, let be the number of columns of , and put . By conditions (i) and (ii) of that theorem,
Use Lemma 2.13 to compute an integer basis of , and let consist of the rows of indexed by , in the specified order. We identify and with their integer lifts with entries in . Set , let consist of copies of stacked vertically, and form
The columns of are linearly independent. Indeed, in a vanishing linear combination, the second block forces the coefficient of the middle column to be zero. The first block then forces the coefficients of the first columns to be zero, since is invertible. The remaining coefficients are zero because has linearly independent columns. Hence is a basis of .
To choose the distance parameter, put . Since is computable, we can compute a rational number with , and we set . Since , this gives
The reduction outputs .
We now prove completeness. Suppose that the input is a YES instance, and take with and over . By condition (iii) of Theorem A.3, there exists with and
where the last equality uses . Since , we have over the integers. Since , the vector is integral, and
The vector is nonzero, and . Hence is a nonzero vector of the output lattice with
Thus the output is a YES instance.
We next prove soundness. Suppose that the input is a NO instance. We verify the two hypotheses of Lemma A.6 for the lattice . Every vector of has the form
The NO condition controls the first block in the following way. If over and , then is a solution of over . Since , the NO condition then gives
We first show that . Suppose that the vector in Equation 24 has norm less than . Every entry of its last block is a multiple of , so that block is zero. Since has linearly independent columns, we get , and in particular over . If , then Equation 25 gives more than nonzero entries in the first block, which is impossible. Thus , and since , we get . The first block is then a vector of of norm less than , so it is zero as well. Hence the vector is zero.
We next show that . Suppose that the vector in Equation 24 is nonzero modulo . If over , then the last block has at least nonzero coordinates modulo , because is nonzero modulo and repeats every coordinate times. If over and , then the first block has more than nonzero coordinates modulo by Equation 25. In the remaining case, the second and last blocks vanish modulo . The first block therefore reduces to a nonzero codeword of , which has Hamming weight at least .
Since , Lemma A.6 applies to . Together with , Equation 22, and Equation 23, it gives
Thus the output is a NO instance.
We finally bound the running time. The constants , , and depend only on and , and , , and are computable from alone. By Theorem A.3, computing , , and takes time for a computable function . By Lemma 2.13, computing takes time polynomial in the dimensions of and . The matrix has rows and columns, and its entries are obtained by integer matrix multiplication. Since is a constant, writing down takes time polynomial in the encoding length of . Hence the reduction is deterministic and runs in time with parameter . ∎
Thus, we obtain the desired result.
Proof of Theorem 1.2.
Fix and , and take and from Theorem A.7. By Theorem A.2, - is -hard under deterministic many-one reductions. Composing these reductions with the reduction in Theorem A.7 proves the theorem. ∎