Submitted:
11 August 2026
Posted:
12 August 2026
You are already at the latest version
Abstract
We prove two deterministic inapproximability results. First, for every fixed \(\epsilon>0\), Euclidean \(\mathrm{GapCVP}^{(2)}\) is NP-hard with gap factor \(n^{1/8-\epsilon}\) under deterministic polynomial-time many-one reductions, where \(n\) denotes the lattice rank. Consequently, the Euclidean closest vector problem is NP-hard to approximate within the same factor. This improves the previous \(n^{1/400}\) hardness factor in Chapter 7 of the OpenAI report [1]. Second, for every fixed \(\epsilon>0\), binary nearest codeword and binary syndrome decoding are NP-hard to approximate within \(n^{1/4-\epsilon}\) under deterministic polynomial-time many-one reductions, where \(n\) denotes the binary block length. This improves the previous \(n^{1/200}\) hardness factor in Chapter 7 of the OpenAI report [1].
Keywords:
complexity
; hardness
1. Introduction
The gap version of the closest vector problem provides the standard decision formulation for studying approximation hardness. Let be nonsingular. Its columns generate the full-rank lattice , whose rank is n. Given a target and a norm , the optimization version of the closest vector problem asks for minimizing ; see Micciancio and Goldwasser [2][Chapter 3] for standard background.
For an approximation factor and a positive rational radius r, the promise problem asks one to distinguish
where . Instances whose optimum lies between the two thresholds are outside the promise. A -approximation algorithm for the optimization problem solves this promise problem by comparing the distance of its output with . Thus NP-hardness of rules out such an approximation algorithm unless .
The Euclidean closest vector problem is the specialization to the norm. We write
and denote its gap version by . Van Emde Boas [3] proved NP-hardness of exact Euclidean CVP. Arora, Babai, Stern, and Sweedyk [4] established hardness within every fixed constant. For every fixed , they also proved hardness within under the assumption [4]. Dinur, Kindler, and Safra [5], in work subsequently refined by Dinur, Kindler, Raz, and Safra [6], strengthened this to for some absolute constant . Although this factor dominates every fixed power of , its exponent tends to zero and hence does not give hardness for any fixed . The OpenAI report [1][Chapter 7] subsequently obtained the fixed polynomial factor by a deterministic reduction from 3SAT. Fixed-polynomial lattice inapproximability had previously been obtained conditionally on the Projection Games Conjecture by Moshkovitz [7][Section 5.1] and Mukhopadhyay [8]. Those conditional results are qualitatively different from the unconditional deterministic reduction from ordinary 3SAT proved here. The Exponential Time Hypothesis (ETH), introduced by Impagliazzo and Paturi [9], has also served as the basis for recent fine-grained lower bounds for constant-factor approximations of CVP and related problems [10,11]. These results concern the running time of constant-factor approximation rather than unconditional NP-hardness for polynomial approximation factors.
The square-root scale forms a complexity-theoretic barrier. Goldreich and Goldwasser [12] established interactive-proof upper bounds that constrain the nonapproximability of lattice problems. Aharonov and Regev [13] subsequently proved that, for some absolute constant ,
Consequently, NP-hardness at that scale under deterministic polynomial-time many-one reductions would imply . The range between the exponent obtained here and the square-root exponent remains open.
Binary nearest codeword is an optimization problem over . Given a k-dimensional binary linear code and a target word , the task is to find a codeword in C minimizing its Hamming distance from y [14]. Binary syndrome decoding takes as input a binary parity-check matrix H and a syndrome , and asks for a minimum-weight binary vector e satisfying [14]. The two formulations are equivalent. Indeed, if and , then the map identifies codewords with vectors e satisfying . Consequently, the two instances have the same optimum value, and the correspondence preserves approximation ratios.
Berlekamp, McEliece, and van Tilborg [14] proved that binary syndrome decoding is NP-complete. For binary nearest codeword, Arora, Babai, Stern, and Sweedyk [4] proved unconditional NP-hardness of approximation within every constant factor. For every fixed , they also proved hardness within under the assumption that NP has no quasipolynomial-time algorithms, namely . Arora’s thesis [15][Section 6.4] gives a contemporaneous account and explicitly records the stronger exponent for nearest codeword. For nearest codeword with preprocessing, Alekhnovich, Khot, Kindler, and Vishnoi [16] proved hardness within under the same quasipolynomial-time assumption. Khot, Popat, and Vishnoi [17] strengthened the factor to under . For ordinary nearest codeword, Bhattiprolu, Guruswami, and Ren [18] subsequently gave a PCP-free proof of the same two bounds: unconditional NP-hardness within every constant factor and hardness under the assumption that NP has no quasipolynomial-time algorithms. Their contribution is a new proof rather than a stronger approximation factor. Bhattiprolu, Guruswami, Lee, and Ren [19] subsequently studied the inapproximability of finding sparse vectors in codes, subspaces, and lattices via randomized reductions; their lattice result does not yield deterministic fixed-polynomial hardness for Euclidean CVP. Methodologically, Bennett and Peikert [20] also combine Reed–Solomon codes [21] with an integer-lattice lift to obtain randomized hardness for approximate SVP and identify derandomization as a central obstacle.
Bitansky, Harsha, Ishai, Rothblum, and Wu [22] showed that ETH rules out -time approximation within a certain constant factor, using the equivalent formulation that minimizes the number of unsatisfied linear equations. Subsequently, Corollary 15 of the OpenAI report [1] established, without an additional complexity assumption, NP-hardness of approximation within for binary nearest codeword and binary syndrome decoding under deterministic polynomial-time many-one reductions. The result proved here uses the same unconditional reduction model and improves the approximation factor to for every fixed .
On the algorithmic side, Alon, Panigrahy, and Yekhanin gave several deterministic approximation algorithms and time–ratio tradeoffs [23]. Their general polynomial-time algorithm achieves an approximation. Berman and Karpinski gave a deterministic -approximation algorithm for every fixed constant and a randomized -approximation algorithm [24]. Alon, Panigrahy, and Yekhanin observed that the latter analysis yields an approximation [23].
1.1. Our Results
We first record the two Euclidean lattice problems used below.
Definition 1
(Euclidean closest vector). An instance consists of a nonsingular matrix and a target . The matrix B generates the full-rank lattice . The objective is to output a vector minimizing . Its optimum value is .
Definition 2
(Euclidean GapCVP). Let . An instance of consists of a nonsingular matrix , a target , and a radius . It is promised that either , which is the YES case, or , which is the NO case. The task is to distinguish the two cases.
We now state our main Euclidean result. It improves the hardness factor in Theorem 1 on page 184 of the OpenAI report [1][Chapter 7].
Theorem 1
(Euclidean closest vector, informal version of Theorem 4). For every fixed , there is a deterministic polynomial-time mapping that assigns to each 3SAT formula φ a nonsingular matrix , a target , and a radius such that
Consequently, is NP-hard under deterministic polynomial-time many-one reductions.
We next formally define the two binary problems.
Definition 3
(Binary nearest codeword). An instance consists of a binary linear code , given by a generator matrix, and a target word . The objective is to output a codeword minimizing . We denote the optimum value by
Definition 4
(Binary syndrome decoding). An instance consists of a binary matrix and a syndrome . The objective is to output a vector of minimum Hamming weight subject to . We denote the optimum value by
The following theorem improves the hardness factor established by Corollary 15 on page 213 of the OpenAI report [1][Chapter 7].
Theorem 2
(Main result, informal version of Theorem 3). For every , binary nearest codeword (Definition 3) and binary syndrome decoding (Definition 4) are NP-hard to approximate within under deterministic polynomial-time many-one reductions, where n is the binary block length.
2. Technique Overview
This section compares the mechanism behind the OpenAI reduction with the two quadratic estimates that improve its parameters. We focus on the reduction to binary nearest codeword and syndrome decoding. The Euclidean closest-vector result then follows from the dimension-preserving parity-lift reduction, which takes a binary weight gap to the square root of that gap in Euclidean distance.
Table 1.
Historical hardness lower bounds and algorithmic upper bounds for Euclidean closest vector, measured as a function of the lattice rank n. Every algorithm in the second panel runs in polynomial time; D and R denote deterministic and randomized algorithms, respectively. In the 1997 row, the constant-factor hardness is unconditional, whereas the factor assumes . In the 2003 row, is an absolute constant. The final hardness row holds for every fixed .
Table 1.
Historical hardness lower bounds and algorithmic upper bounds for Euclidean closest vector, measured as a function of the lattice rank n. Every algorithm in the second panel runs in polynomial time; D and R denote deterministic and randomized algorithms, respectively. In the 1997 row, the constant-factor hardness is unconditional, whereas the factor assumes . In the 2003 row, is an absolute constant. The final hardness row holds for every fixed .
![]() |
2.1. Overview of the OpenAI Reduction
Chapter 7 of the OpenAI report factors the reduction as
see [1][Section 1.2]. The first arrow contains the main algebraic construction. Let be the input formula, let s be its encoding length, and let m and ℓ be its numbers of variables and clauses. Put and . The variables are indexed by and represented by distinct anchors in a characteristic-two field . A Boolean assignment determines the unique polynomial of degree less than m satisfying , where is the bit assigned to variable i. The reduction evaluates this polynomial on .
The binary variables are arranged into evaluation tables. For a clause C, let be the set of its variable indices and let be its satisfying local assignments. The table types are : type 0 is the global table, and is the subtype asserting that clause C receives the local assignment . Write for the binary coordinate selecting the field value in table at , and define its fiber by .
Fix a moment budget T. For , the ordinary power sum of table at p is
For , , and , the shifted power sum is
where is the bit assigned to variable i by . The affine constraints require these pointwise quantities to be evaluations of low-degree polynomials and require the clause tables to reproduce the global table modulo two. Let denote the resulting binary affine system, let be its number of binary coordinates, and, when the system is consistent, define If satisfies the formula, each active fiber is the singleton , exactly one subtype is active for every clause, and the resulting binary solution has weight .
For soundness, start with a low-weight binary solution. For a fiber cutoff , define the good evaluation set of table by . Markov’s inequality shows that contains all but a small set of evaluation points. Reed–Solomon interpolation turns the pointwise moments into polynomials in the indeterminate X. The report’s reconstruction lemma uses the associated Hankel matrix to construct a monic separable polynomial . Its roots in a common splitting field have the prescribed power sums. The shifted moments are then examined using a valuation above . They force every root associated with subtype to reduce to the bit at the anchor . Finally, the clause decomposition and a Vandermonde argument match a global root with a satisfying subtype for every clause. Using the same valuation for a variable wherever it occurs makes these local assignments consistent, producing a global satisfying assignment.
Table 2.
Historical hardness lower bounds and algorithmic upper bounds for binary nearest codeword. In the first panel, the 2005 and 2014 rows concern nearest codeword with preprocessing; all other rows concern ordinary nearest codeword or the equivalent syndrome-decoding formulation. The constant-factor statements in the 1997 and 2025 rows are unconditional. The statements in those rows, as well as the 2005 row, assume ; the 2014 row assumes . Both 2026 hardness results are unconditional, and the final row holds for every fixed . In the second panel, n denotes the binary block length, k denotes the code dimension, and R and D denote randomized and deterministic algorithms, respectively. The randomized 2002 row records the sharper guarantee that Alon, Panigrahy, and Yekhanin observed from Berman and Karpinski’s analysis; Berman and Karpinski themselves stated . In the first row of the second panel, is an arbitrary fixed constant. The parameter s is a fixed positive integer, and denotes the s-fold iterated logarithm.
Table 2.
Historical hardness lower bounds and algorithmic upper bounds for binary nearest codeword. In the first panel, the 2005 and 2014 rows concern nearest codeword with preprocessing; all other rows concern ordinary nearest codeword or the equivalent syndrome-decoding formulation. The constant-factor statements in the 1997 and 2025 rows are unconditional. The statements in those rows, as well as the 2005 row, assume ; the 2014 row assumes . Both 2026 hardness results are unconditional, and the final row holds for every fixed . In the second panel, n denotes the binary block length, k denotes the code dimension, and R and D denote randomized and deterministic algorithms, respectively. The randomized 2002 row records the sharper guarantee that Alon, Panigrahy, and Yekhanin observed from Berman and Karpinski’s analysis; Berman and Karpinski themselves stated . In the first row of the second panel, is an arbitrary fixed constant. The parameter s is a fixed positive integer, and denotes the s-fold iterated logarithm.
![]() |
The quantitative loss comes from making the reconstruction and valuation arguments hold simultaneously. The report chooses , , and . Since the number of binary coordinates is , soundness against solutions of weight gives the coding gap. The standard parity lift outputs a lattice basis B and a target t satisfying , so this becomes the Euclidean gap.
2.2. Overview of Our Improvements
Our construction retains the evaluation tables, the ordinary and shifted Reed–Solomon moment constraints, and the completeness assignment above. The improvement comes from replacing the two most expensive parts of the soundness analysis by quadratic estimates in the fiber cutoff .
The first improvement is Lemma 2. Fix a table type and a set of good evaluation points. For readability, write . Let be the maximum fiber size on , and form the Hankel determinant
At a fiber of size h this determinant is a squared Vandermonde determinant, whereas it vanishes at smaller fibers. Expanding the determinant and using gives . Solving the Hankel system gives a recurrence for the moments and a monic polynomial . Instead of propagating the recurrence one moment at a time with a fresh denominator loss, we package it into the generating-function identity
where Z is a formal variable, , and . Only one copy of the Hankel denominator must be cleared. This changes the sampling requirement from the report’s product-type bound to the additive quadratic bound
It also recovers all moments through T and proves that G is separable.
The second improvement is Lemma 3. Fix an anchor , a subtype bit , and reconstructed roots in a splitting field of G. Let v be an extension to this field of the -adic valuation . Put . The shifted constraints say that the power sums of the have nonnegative v-valuation. Suppose, for contradiction, that some has negative valuation, and collect all roots of minimum valuation into one cluster. A Newton-polygon segment shows that the cluster size times the absolute slope is at least one. A logarithmic-derivative identity bounds the derivatives at the reciprocal roots, while the discriminant identity
bounds the total pairwise valuation. Summing over the entire minimum-slope cluster prevents cancellation among individual roots and yields a contradiction once . Thus every reconstructed root satisfies . The parity-matching argument can then be reused to obtain Lemma 4.
These quadratic bounds permit a substantially smaller field. Fix an integer tuning parameter , independent of the code dimension, and choose a constant A depending only on k. Define , , The affine system then has coordinates, where the hidden constants depend only on k. Its binary block length is . Taking makes the low-weight cutoff small enough that every table retains the evaluations needed by the two quadratic lemmas. Therefore an unsatisfiable formula has binary distance greater than , proving Theorem 3. Since tends to , this gives hardness for binary nearest codeword and syndrome decoding. After the parity lift, the resulting lattice has rank , and the Euclidean exponent is halved, giving the consequence stated in Theorem 4.
3. The Binary Affine System
Let be a 3SAT formula of encoding length s. Delete tautological clauses, repeated literals, and unused variables. The cases of an empty clause and of no remaining clauses will be handled by fixed promise instances. Otherwise let be the numbers of variables and clauses, and put
Let be a characteristic-two field, choose distinct anchors , and define
For a clause C, let be its set of variable indices and let be the satisfying local assignments. Thus and . The table types are
For every , , and , introduce a binary variable . For a binary assignment x, write
Fix a moment budget T. We use the convention , including when .
Definition 5
(Ordinary power sum). For , , and , define
Definition 6
(Shifted power sum). For , , , and , define
This quantity is well defined because implies .
The affine system consists of the following constraints.
- 1.
- For every ,
- 2.
- For every clause C, , and ,
- 3.
- For every type and , the vector indexed by whose p-th coordinate is the ordinary power sum from Definition 5 belongs to the Reed–Solomon evaluation code of degree at most .
- 4.
- For every , , and , the vector indexed by whose p-th coordinate is the shifted power sum from Definition 6 belongs to the Reed–Solomon evaluation code of degree at most .
All equations above are linear over . Expanding them in an -basis of gives a binary affine system. Its number of variables is
Lemma 1
(Completeness). If φ is satisfiable, then has a binary solution of weight .
Proof.
Identify the Boolean values with the prime subfield . Let satisfy . Since the anchors are distinct, Lagrange interpolation gives a unique polynomial of degree less than m satisfying for every .
For each clause C, put . Since satisfies C, we have , so is a valid and uniquely determined subtype. At every , put a one in the global coordinate and, for each clause C, in the coordinate with subtype and field value . Put zeros in every other coordinate.
For each , the global fiber is the singleton , so Eq. (1) holds. Fix a clause C, a point , and . On the right-hand side of Eq. (2), the only possibly nonzero summand is indexed by , and this summand is one exactly when . The left-hand side has the same value. Thus Eq. (2) holds.
Fix . By the definition of (see Definition 5), for the global table and for the selected subtype of each clause, the ordinary moments are evaluations of . Since , this polynomial has degree at most . Every unselected subtype has identically zero ordinary moments, which also satisfy the required Reed–Solomon constraint.
Now fix a clause C and . Because , the factor theorem shows that divides . Hence belongs to . Moreover, implies , so by Definition 6 the shifted moment of the selected subtype at p is . If , then ; if , then . In either case, using the convention for zeroth powers, has degree at most . Every unselected subtype has identically zero shifted moments. Thus all ordinary and shifted moment constraints hold.
Finally, at each there is one selected global coordinate and one selected coordinate for each of the ℓ clauses. These coordinates have distinct table types, so the total weight is , as claimed. □
4. Quadratic Reconstruction
Lemma 2
(Quadratic polynomial-moment reconstruction). Let , let , and let . For each , suppose that satisfies
for a family with . Assume
Put and . Then there is a monic separable polynomial of degree h, with root set in a finite separable extension of F, such that
Moreover,
Proof.
The inequality implies that is nonempty. If , then is empty for every , so every vanishes on . Since , each is the zero polynomial. Take and . With the conventions that the determinant of the empty matrix and the empty product are both 1, all conclusions follow. Henceforth assume and put
Since and , we have ; hence every moment used below is among the polynomials supplied by the hypotheses.
For , let be the matrix with rows indexed by , columns indexed by , and entry . The specialized Hankel matrix (see, e.g., [29]) is . If , enumerate . Then is a square Vandermonde matrix on distinct field elements, so
If , then has fewer than h columns, so the specialized Hankel matrix has rank less than h and .
For a permutation of , the corresponding term in the determinant has degree at most
Thus . By the definition of h, the set is nonempty, so the preceding Vandermonde calculation also shows that is not the zero polynomial. Every point of is a root of ; therefore
The Hankel matrix is invertible over F. Let be the unique solution of
and define . Cramer’s rule [30] gives for some . In the determinant defining , column l is replaced by . The sum of the moment indices in any determinant term is
Consequently, .
Fix . Since , all coefficients of G can be specialized at p; denote the resulting polynomial by . Write
For every , this polynomial satisfies
The specialized Hankel system is invertible, so its solution is unique and
For , define
For every , the preceding factorization gives
Moreover,
Therefore , and division by yields the recurrence
Put
and set . For , put and . For , the coefficient of in is the recurrence above with , and hence vanishes. The coefficients below degree h are the . Therefore
All identities in Z below are interpreted in the appropriate formal power-series ring.
For and every , define the pointwise moment . It agrees with when . Define
and
Logarithmic differentiation gives the exact identity
For , only moments of order at most m contribute to the coefficient of . Hence specialization at p gives .
For , define
The polynomial vanishes at every point of . Its degree is at most : the term is , every term with is , and the final term is when and when . Thus
It follows that . Since , we obtain for every , and therefore
Let E be a splitting field of G over F, and list the roots with multiplicity. Then . Because , it is invertible in . Dividing the two generating-function identities gives
On the other hand, logarithmic differentiation of the root factorization gives the exact formal-series identity
Comparing coefficients through degree T shows that for every .
Since and , these identities include all moments through degree . Define . Substitution into the Hankel determinant gives
Because , the roots are distinct. Thus G is separable, and its splitting field is a finite separable extension. □
5. Quadratic Local Valuation Extraction
Lemma 3
(Quadratic local valuation extraction). Let , put , let be a finite extension, and let v extend to E. Let , let , and put . Let be a monic polynomial of degree h that splits in E with distinct root set . Suppose
and
If and satisfy
and , then
Proof.
If , the conclusion is vacuous. Hence assume . Put
The shifted-moment identities give for ; hence . Suppose for contradiction that
Let
The set A is nonempty, so .
The are the roots of the monic degree-h polynomial . Complete E with respect to v. The embedding extends to an embedding of the -adic completion of F into this completed field. We may therefore apply the Newton-polygon theorem [31][Chapter 2] to this polynomial and the valuations of its roots . The segment corresponding to the roots of valuation has horizontal length r and endpoints of integral height. Its slope is u, so
Define
In , logarithmic differentiation gives
Therefore
so the polynomial B is divisible by . Define ; since , we have .
Write . The definition of u gives for every s, and hence . Together with for , this shows that every coefficient of , , B, and C has valuation at least . For , the element is nonzero. Put , so . Since ,
Because and every coefficient of C has valuation at least , we have . Consequently,
On the other hand, put
The product formula gives
and therefore
Let , , and be the sums of over the corresponding unordered pairs. Since ,
Moreover, and v restricts to on F, so . Hence
where the first step follows from the preceding identity and the bound , the second step follows from the hypothesis .
Therefore
For an -pair the two valuations are unequal, so its difference has valuation and . Every -difference has valuation at least , so . Therefore
Summing the two derivative bounds over yields
Equivalently,
Since and ,
In particular, . Using and , the left-hand side is at least
where the first step follows from the bound , the second step follows from , and the third step follows from the definition of .
Thus we get a contradiction. Hence every , which is precisely . □
6. Quadratic Soundness Criterion
Lemma 4
(Quadratic soundness criterion). In the binary affine construction of Section 3, suppose x is a binary solution, and let
If, for every table type τ,
and
then the original formula is satisfiable.
Proof.
Fix a table type and apply Lemma 2 with and . The Reed–Solomon constraint and the definition of (see Definition 5) give and
By the definition of , every retained support has size at most . The remaining hypotheses of Lemma 2 are precisely , , and . Consequently, for each there is a monic separable polynomial of degree
with distinct root set such that
The lemma also shows that the squared Vandermonde discriminant
lies in and satisfies .
Work inside a fixed algebraic closure of . The compositum of the finitely many finite separable splitting fields of the is again a finite separable extension. Let be this compositum, so all root sets lie in one field. The moment identities and discriminant bounds above remain valid in E. Notice also that restricting from P to does not redefine the moment polynomials; it only selects the evaluation points used in the reconstruction argument.
For every , Eq. (1), the convention , and the definition of (see Definition 5) give . Since has degree zero, as a polynomial. The zeroth root-moment identity therefore gives in characteristic two. Thus is odd, and in particular is nonempty.
For each variable i, fix once and for all an extension of to E; such an extension exists by the extension theorem for valuations. Fix a clause subtype and , and put . For every and , Definition 6 and the binomial theorem give
where the first step follows from definition of (see Definition 6), the identity , and the fact that , the second step follows from the binomial theorem and the definition of (see Definition 5).
The polynomial on the left has degree at most , and the polynomial on the right also has degree at most . Moreover, . Since they agree at every point of P, uniqueness of Reed–Solomon interpolation gives
We may now apply Lemma 3 with , , , and . Lemma 2 supplies the root-moment and discriminant hypotheses, the preceding identity supplies the shifted moments, and the present lemma assumes . Hence
It remains to match roots across the clause tables. Fix a clause C. For every , Eq. (2) and the definition of (see Definition 5) give
Both sides have degree at most , so interpolation yields the polynomial identity
Substitute the root-moment identities. In characteristic two, moving the two sides together amounts to adding them, and every root of even total multiplicity cancels. Let be the set of distinct roots occurring an odd number of times among and the . Then
Put . Since each root set has at most elements and ,
If , the equations for say that the Vandermonde matrix on the distinct elements of , applied to the all-ones vector, is zero. This matrix is invertible, whereas the all-ones vector is nonzero, a contradiction. Thus is empty.
Every occurs once in . Since its total multiplicity among all these root sets is even, it must occur in for at least one . Choose , and for every clause C choose one such satisfying local assignment .
If the two bits differed, then . The ultrametric inequality would give
where the first step follows from , the second step follows from the ultrametric inequality, and the third step follows from the two preceding valuation bounds.
This contradicts . The chosen local assignments are therefore consistent on every shared variable. They define a global Boolean assignment, and this assignment satisfies every clause because for each C. □
7. Hardness of Binary Nearest Codeword and Syndrome Decoding
Theorem 3
(Main result, formal version of Theorem 2). Fix an integer and define
Binary nearest codeword (Definition 3) and binary syndrome decoding (Definition 4) are NP-hard to approximate within under deterministic polynomial-time many-one reductions, where n is the binary block length.
Remark 1.
The parameter k is fixed independently of the input. The exponents increase to . Equivalently, for every fixed , both problems are NP-hard to approximate within . The endpoint is not obtained by any finite choice of k.
Proof.
Use the binary affine construction of Section 3. Recall that , , , and . Put
and let q be the least power of two satisfying
The minimality of q gives . Since ,
where the first step follows from the definition of M, the second step follows from and , the third step follows from and .
Set and suppose that the affine system has a binary solution x of weight at most . Fix a table type . Since every satisfies ,
where the first step follows from the definition of , the second step follows from the definition of Hamming weight, the third step follows from the assumed bound .
Using the bounds on M and R gives
Here the exponent of N is zero, while
Moreover, and , so
Consequently,
Because , , , and ,
where the first step follows from and , the second step follows from , the third step follows from and .
Since , it follows that
where the first step follows from and , the second step follows from the two preceding bounds, the third step follows from .
On the other hand,
where the first step follows from , the second step follows from and , the third step follows from .
Thus We also have
where the first step follows from and , the second step follows from , the third step follows from , the preceding bound , and . Moreover,
where the equality is the definition of T, and the inequality follows from and .
Finally, and imply and . We have verified every hypothesis of Lemma 4. Hence any solution of weight at most yields a satisfying assignment.
Taking the contrapositive, if the formula is unsatisfiable and is consistent, then
Completeness, by Lemma 1, gives a solution of weight at most R whenever the formula is satisfiable.
We first produce the nearest-codeword instance in the consistent case. Gaussian elimination computes a solution of and a generator matrix for the binary linear code The solution set of is the affine coset . Therefore
where the first step follows from the definition of Hamming distance and the identity over , the second step follows from the fact that the solution set of is , the third step follows from the definition of .
Output , target u, and radius R. Its block length is . Satisfiability gives distance at most R, whereas unsatisfiability gives distance greater than .
For binary syndrome decoding in the same consistent branch, output the original binary matrix H, syndrome b, and radius R. Its optimum is exactly and its block length is again . Thus satisfiability gives optimum at most R, while unsatisfiability gives optimum greater than .
It remains to specify the exceptional branches. If preprocessing finds an empty clause, the formula is unsatisfiable. If the constructed system is inconsistent, the formula is also unsatisfiable, because a satisfiable formula produces a solution by Lemma 1. In either case, output the fixed code , target 11, and radius 1. Its block length is 2 and its distance is . For syndrome decoding, output , , and radius 1; its optimum is also .
If no clauses remain after preprocessing, the formula is satisfiable. Output the code with target 00 and radius 1, or the syndrome instance , , with radius 1. Both instances have optimum zero. Hence every exceptional branch satisfies the required promise.
For completeness, we verify the running time. Since A depends only on the fixed integer k,
A deterministic representation of can be found in time polynomial in q, and hence polynomial in N for fixed k. The field elements, anchors, variables, moment constraints, and their binary expansions can all be enumerated in polynomial time because q and T are polynomial in N. Gaussian elimination determines consistency, computes u, and constructs a generator matrix for in polynomial time.
The reduction therefore runs in deterministic polynomial time for fixed k. An -approximation algorithm for either problem would distinguish the two cases by comparing its returned cost with . Since , this proves the theorem. □
8. Hardness of Euclidean GapCVP
Theorem 4
(Euclidean closest vector, formal version of Theorem 1). Fix an integer and put . There is a deterministic polynomial-time mapping that assigns to each 3SAT formula φ a nonsingular matrix , a target , and a radius such that
Consequently, is NP-hard under deterministic polynomial-time many-one reductions.
Proof.
Put
We use the binary affine system constructed in the proof of Theorem 3. Before its conversion to nearest codeword, that proof deterministically produces a binary matrix , a syndrome , and an integer , where is the number of binary constraints. For a consistent system, write
The completeness and soundness conclusions proved there are
We convert every consistent affine system to a full-rank integer lattice without changing the dimension.
Let and compute a solution of . Gaussian elimination computes u and a basis for C. Put . Choosing h pivot coordinates and moving them to the first h positions transforms a generator matrix of C into systematic form for some . This coordinate permutation preserves Hamming weight. The permuted code is therefore
All entries of A are henceforth represented by their lifts in . Define
We use the usual block-matrix conventions when or . The determinant of B is , so B is nonsingular.
We next identify its lattice. The first h columns of B, reduced modulo 2, generate , and the remaining columns reduce to zero. Moreover, is a column of B for . If and is the i-th column of B, then
Hence . Every column of B reduces modulo 2 to an element of , so . For the reverse containment, let satisfy . The first h columns reduce to a basis of , so there is with . Then , and hence . Therefore
Let be the integer vector obtained by applying the same coordinate permutation to u. The affine coset is the permuted solution set of .
For any , put . Then , so is the coordinate permutation of a solution to . Since the permutation preserves Hamming weight, . Every nonzero coordinate of comes from an odd integer coordinate of , whose absolute value is at least one. Therefore
Conversely, let x attain and let be its coordinate permutation. Write for some . Put . Then , so the lattice characterization above gives . Moreover, , and hence
We have proved the exact identity
Set This is a positive integer and can be computed by deterministic integer binary search. Since ,
If is satisfiable, Eq. (4) gives
Suppose that is unsatisfiable and is consistent. If
then Eq. (4), the identity , and imply
contradicting soundness. Thus
The lattice rank is , so this is precisely the claimed NO threshold.
It remains to specify the exceptional branches. If preprocessing finds an empty clause, or if is inconsistent, output
This is a one-dimensional NO instance: its rank is , so , whereas . A satisfiable formula never reaches the inconsistent branch by completeness. If no clauses remain after preprocessing, output
which is a YES instance.
For fixed k, Theorem 3 constructs H, b, and R in deterministic polynomial time. Gaussian elimination, the coordinate permutation, construction of B, and integer square-root computation are also deterministic polynomial-time operations. The basis has dimension exactly M and entries in , while t is binary. The bound from the construction gives , so r also has polynomial bit length. Hence the complete mapping has polynomial output size. A polynomial-time algorithm for composed with this mapping would decide 3SAT in polynomial time, proving the stated NP-hardness. □
Remark 2.
The exponents increase to . Equivalently, for every fixed , is NP-hard under deterministic polynomial-time many-one reductions. This improves the Euclidean closest-vector hardness factor established in Theorem 1 of the OpenAI report [1].
Acknowledgments
The AI tool used in preparing this paper is Codex 5.6 Sol. The author first provided the model with the OpenAI paper [1], from which it derived a finite-k inapproximability exponent of for the binary nearest codeword problem, tending to as . With further efforts, the author figured out the bound can be improved to , whose limit is . After another level of deep discussion, the author and the AI together improved the bound to the current value . The author also tried to improve the bound to , but the AI found a counterexample to the proposed construction. All proofs in this paper have been carefully verified by the author.
References
- OpenAI. Ten Advances in Mathematics and Theoretical Computer Science. Technical report, 2026.
- Micciancio, D.; Goldwasser, S. Complexity of Lattice Problems: A Cryptographic Perspective; Vol. 671, The Springer International Series in Engineering and Computer Science, Springer, 2002. https://doi.org/10.1007/978-1-4615-0897-7. [CrossRef]
- van Emde Boas, P. Another NP-Complete Partition Problem and the Complexity of Computing Short Vectors in a Lattice. Technical Report MI-UvA-81-04, Mathematisch Instituut, University of Amsterdam, 1981. Technical Report MI-UvA-81-04.
- Arora, S.; Babai, L.; Stern, J.; Sweedyk, Z. The Hardness of Approximate Optima in Lattices, Codes, and Systems of Linear Equations. J. Comput. Syst. Sci. 1997, 54, 317–331. [Google Scholar] [CrossRef]
- Dinur, I.; Kindler, G.; Safra, S. Approximating CVP to within Almost-Polynomial Factors Is NP-Hard. In Proceedings of the Proceedings of the 39th Annual IEEE Symposium on Foundations of Computer Science, 1998, pp. 99–111. https://doi.org/10.1109/SFCS.1998.743433. 1998. [CrossRef]
- Dinur, I.; Kindler, G.; Raz, R.; Safra, S. Approximating CVP to Within Almost-Polynomial Factors Is NP-Hard. Combinatorica 2003, 23, 205–243. [Google Scholar] [CrossRef]
- Moshkovitz, D. The Projection Games Conjecture and the NP-Hardness of lnn-Approximating Set-Cover. Theory Comput. 2015, 11, 221–235. [Google Scholar] [CrossRef]
- Mukhopadhyay, P. The Projection Games Conjecture and the Hardness of Approximation of Super-SAT and Related Problems. J. Comput. Syst. Sci. 2022, 123, 186–201. [Google Scholar] [CrossRef]
- Impagliazzo, R.; Paturi, R. On the Complexity of k-SAT. J. Comput. Syst. Sci. 2001, 62, 367–375. [Google Scholar] [CrossRef]
- Aggarwal, D.; Gupta, R.; Morolia, A.; Zhang, C. Mind the Gap? Not for SVP Hardness Under ETH! In Proceedings of the 53rd International Colloquium on Automata, Languages, and Programming. Schloss Dagstuhl – Leibniz-Zentrum fuer Informatik, 2026, Vol. 374, Leibniz International Proceedings in Informatics, pp. 8:1–8:24. https://doi.org/10.4230/LIPIcs.ICALP.2026.8. Vol. 374. [CrossRef]
- Huang, J.A.; Ko, Y.K.; Wang, C. On the (Classical and Quantum) Fine-Grained Complexity of Approximate CVP and Max-Cut. In Proceedings of the 53rd International Colloquium on Automata, Languages, and Programming. Schloss Dagstuhl – Leibniz-Zentrum fuer Informatik, 2026, Vol. 374, Leibniz International Proceedings in Informatics, pp. 111:1–111:17. https://doi.org/10.4230/LIPIcs.ICALP.2026.111. Vol. 374. [CrossRef]
- Goldreich, O.; Goldwasser, S. On the Limits of Nonapproximability of Lattice Problems. J. Comput. Syst. Sci. 2000, 60, 540–563. [Google Scholar] [CrossRef]
- Aharonov, D.; Regev, O. Lattice Problems in NP ∩ coNP. J. ACM 2005, 52, 749–765. [Google Scholar] [CrossRef]
- Berlekamp, E.R.; McEliece, R.J.; Tilborg, H.C.A.v. On the Inherent Intractability of Certain Coding Problems. IEEE Trans. Inf. Theory 1978, 24, 384–386. [Google Scholar] [CrossRef]
- Arora, S. Probabilistic Checking of Proofs and Hardness of Approximation Problems. PhD thesis, University of California, Berkeley, 1994. Revised version available as Princeton technical report CS-TR-476-94. Princeton technical report CS-TR-476-94.
- Alekhnovich, M.; Khot, S.A.; Kindler, G.; Vishnoi, N.K. Hardness of Approximating the Closest Vector Problem with Pre-Processing. In Proceedings of the Proceedings of the 46th Annual IEEE Symposium on Foundations of Computer Science, 2005, pp. 216–225. https://doi.org/10.1109/SFCS.2005.40. 2005. [CrossRef]
- Khot, S.A.; Popat, P.; Vishnoi, N.K. Almost Polynomial Factor Hardness for Closest Vector Problem with Preprocessing. SIAM J. Comput. 2014, 43, 1184–1205. [Google Scholar] [CrossRef]
- Bhattiprolu, V.; Guruswami, V.; Ren, X. PCP-Free APX-Hardness of Nearest Codeword and Minimum Distance. Electron. Colloq. Comput. Complex. 2025, TR25-029. [Google Scholar]
- Bhattiprolu, V.; Guruswami, V.; Lee, E.; Ren, X. Inapproximability of Finding Sparse Vectors in Codes, Subspaces, and Lattices. In Proceedings of the Proceedings of the 66th Annual IEEE Symposium on Foundations of Computer Science, 2025, pp. 1295–1303. https://doi.org/10.1109/FOCS63196.2025.00068.
- Bennett, H.; Peikert, C. Hardness of the (Approximate) Shortest Vector Problem: A Simple Proof via Reed–Solomon Codes. In Proceedings of the Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, 2023, Vol. 275, Leibniz International Proceedings in Informatics, pp. 37:1–37:20. https://doi.org/10.4230/LIPIcs.APPROX/RANDOM.2023.37. Vol. 275. [CrossRef]
- Reed, I.S.; Solomon, G. Polynomial Codes over Certain Finite Fields. J. Soc. Ind. Appl. Math. 1960, 8, 300–304. [Google Scholar] [CrossRef]
- Bitansky, N.; Harsha, P.; Ishai, Y.; Rothblum, R.D.; Wu, D.J. Dot-Product Proofs and Their Applications. In Proceedings of the Proceedings of the 65th Annual IEEE Symposium on Foundations of Computer Science, 2024, pp. 806–825. https://doi.org/10.1109/FOCS61266.2024.00057. 2024. [CrossRef]
- Alon, N.; Panigrahy, R.; Yekhanin, S. Deterministic Approximation Algorithms for the Nearest Codeword Problem. In Proceedings of the Algebraic Methods in Computational Complexity, 2010, Vol. 9421, Dagstuhl Seminar Proceedings, pp. 1–13. https://doi.org/10.4230/DagSemProc.09421.4.
- Berman, P.; Karpinski, M. Approximating Minimum Unsatisfiability of Linear Equations. In Proceedings of the Proceedings of the Thirteenth Annual ACM-SIAM Symposium on Discrete Algorithms. Society for Industrial and Applied Mathematics, 2002, pp. 514–516. 2002.
- Babai, L. On Lovász’ Lattice Reduction and the Nearest Lattice Point Problem. Combinatorica 1986, 6, 1–13. [Google Scholar] [CrossRef]
- Schnorr, C.P. A Hierarchy of Polynomial Time Lattice Basis Reduction Algorithms. Theor. Comput. Sci. 1987, 53, 201–224. [Google Scholar] [CrossRef]
- Ajtai, M.; Kumar, R.; Sivakumar, D. A Sieve Algorithm for the Shortest Lattice Vector Problem. In Proceedings of the Proceedings of the 33rd Annual ACM Symposium on Theory of Computing, 2001, pp. 266–275. https://doi.org/10.1145/380752.380857. 2001. [CrossRef]
- Micciancio, D.; Voulgaris, P. A Deterministic Single Exponential Time Algorithm for Most Lattice Problems Based on Voronoi Cell Computations. SIAM J. Comput. 2013, 42, 1364–1391. [Google Scholar] [CrossRef]
- Iohvidov, I.S. Hankel and Toeplitz Matrices and Forms: Algebraic Theory; Birkhäuser: Boston, 1982. Translated by G. Philip A. Thijsse.
- Blyth, T.S.; Robertson, E.F. Basic Linear Algebra, 2 ed.; Springer Undergraduate Mathematics Series, Springer, 2002. https://doi.org/10.1007/978-1-4471-0681-4.
- Kedlaya, K.S. p-adic Differential Equations; Vol. 125, Cambridge Studies in Advanced Mathematics, Cambridge University Press, 2010. https://doi.org/10.1017/CBO9780511750922. Vol. 125. [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.

