Manuscript Offprint
arXiv:2611.09497Hardness of Unique Shortest Vectors and Bounded Distance Decoding
Abstract
We prove randomized NP-hardness of the unique shortest vector problem (uSVP) at every constant uniqueness factor greater than one, and of bounded distance decoding (BDD) at every fixed positive fraction less than one half of the minimum distance, in both their threshold decision and search versions. Both results hold in every fixed norm with . Previous Euclidean NP-hardness results for the search versions reached uniqueness factors tending to one and decoding radii greater than the minimum distance divided by .
For linear codes over every fixed finite field and each fixed , the decision version of BDD with radius strictly less than times the minimum distance is equivalent under deterministic polynomial-time reductions to satisfiability for circuits promised to have at most one satisfying input. It is therefore NP-hard under randomized polynomial-time reductions. Earlier hardness for decoding general codes applied beyond half the minimum distance.
For every fixed and for , there is a constant such that, under randomized polynomial-time reductions, uSVP in the norm is NP-hard at uniqueness factor , and BDD in the norm is NP-hard at radius , where is the lattice rank and is its minimum distance.
Contents
1 Introduction 1
1.1 Problems 2
1.2 Main results 3
2 Technical overview 5
2.1 From a circuit to uSVP and BDD 6
2.2 Constant factors using tensors 7
2.3 Polynomial factors for 10
3 Related work 13
4 Preliminaries 14
4.1 Notation and conventions 14
4.2 Isolating inputs accepted by a circuit 15
4.3 Balanced linear encodings 15
4.4 Reconstruction from weighted moments 16
5 Encoding inputs accepted by a circuit 16
5.1 From circuit inputs to rank-one matrices 17
5.2 Symmetric tensors 18
5.3 Constructing uSVP and BDD instances 20
6 The code theorem 21
6.1 Hamming weight of encoded tensors 21
6.2 The two reductions 22
7 The lattice theorem 23
7.1 The lattice of integer tensors 24
8 Discussion 25
References 26
A Isolation calculations 30
B Tensor amplification for codes and lattices 33
C Deterministic reductions and success probability 37
D Polynomial factors for 40
E Search versions and additional consequences 50
F Construction and parameter details 54
Given linearly independent basis vectors, a lattice is the set of their integer combinations. Its rank is the number of vectors in a basis. The shortest vector problem (SVP) asks for a shortest nonzero vector in this set and is NP-hard even to approximate [Ajt98, Mic01, Kho05]. The unique shortest vector problem (uSVP) asks for a shortest nonzero vector under the promise that every lattice vector that is not a real multiple of is longer than by a given factor, called the uniqueness factor. For the search version of uSVP in the Euclidean norm, NP-hardness under randomized polynomial-time reductions was known for factors tending to one with the dimension [AD16, SD16]. Hardness of uSVP at constant uniqueness factors was known under nonstandard or fine-grained complexity assumptions [BGPS23, JX24], while NP-hardness in the Euclidean norm at any fixed constant factor greater than one remained open.
Bounded distance decoding (BDD) asks whether a target lies within a given radius of a lattice point and, in its search form, asks for that point. The length of a shortest nonzero vector equals the minimum distance between distinct lattice points, so a radius less than half this distance guarantees at most one solution. The computational question is how hard it is to find that solution when it exists. Previous NP-hardness results for finding a lattice point within a given Euclidean distance of a target applied at radii greater than times the minimum distance [LLM06]. NP-hardness of Euclidean BDD at any fixed positive fraction less than one half of the minimum distance remained open. Dadush, Regev, and Stephens-Davidowitz asked whether the search version of Euclidean BDD remains NP-hard at arbitrarily small constant fractions of the minimum distance [DRS14, Section 1.2].
Linear codes provide an analogue of bounded distance decoding. A code represents messages by codewords, and its minimum distance is the smallest number of coordinates in which two codewords differ. Fewer than half that many errors leave at most one possible transmitted codeword. Algebraic decoders recover it for particular families, such as Reed–Solomon codes [Gao03]. For general binary linear codes specified by a matrix, Vardy conjectured that decoding is NP-hard even when the number of errors is less than half the minimum distance [Var97]. Dumer, Micciancio, and Sudan proved hardness at radii greater than half the minimum distance [DMS03].
We prove randomized NP-hardness of Euclidean uSVP at every fixed constant uniqueness factor greater than one and of Euclidean lattice BDD at every fixed positive fraction less than one half of the minimum distance. Both results extend to every fixed norm with and hold for decision and search (Corollary 1.5 and Table 1).
For every fixed finite field and every fixed , decision BDD for linear codes at radius strictly less than times the minimum distance is equivalent under deterministic polynomial-time reductions to UniqueCircuitSAT, satisfiability for circuits promised to output one on at most one input. In particular, this decoding problem is NP-hard under randomized polynomial-time reductions. For binary codes, this confirms Vardy's conjecture under randomized reductions.
For every fixed and for , we also prove randomized NP-hardness of uSVP with a uniqueness factor that is a positive power of the lattice rank, and of BDD at the minimum distance divided by a positive power of that rank. Hecht and Safra proved conditional hardness at constant factors for every fixed and at superconstant factors for sufficiently large , using deterministic reductions that run in subexponential or quasipolynomial time [HeS26]. Their assumptions concern the time needed by deterministic algorithms to solve 3SAT with at most one satisfying assignment (Section 3). Aggarwal and Dubey proved deterministic NP-hardness of finding a shortest vector in the infinity norm when it is unique up to sign, without guaranteeing a constant uniqueness factor [AD16].
1.1 Problems
Definition 1.1 (Problems). Fix a finite field and . For finite , we measure vector lengths in the norm , and we set . For a lattice , let be the length of a shortest nonzero vector and the smallest radius of a ball centered at the origin containing two linearly independent lattice vectors. For a linear code , let be the minimum Hamming weight, or number of nonzero coordinates, of a nonzero codeword.
(i) For , the decision version of uSVP receives a basis of a lattice and a threshold and distinguishes
(ii) For , BDD for lattices, denoted , receives a basis of a lattice , a target , and a threshold satisfying . It asks whether , where .
(iii) For , BDD for linear codes, denoted , uses a matrix over to specify the code . Such a matrix is called a parity-check matrix, and the vector is called the syndrome of . Given , a syndrome , and a nonnegative integer with , the problem asks whether there is an error vector of Hamming weight at most satisfying .
Adding an error of weight at most to a codeword produces , whose syndrome is . Subtracting the unique such error recovers .
The search versions ask for a shortest nonzero lattice vector when , and for a closest lattice point when . The search version of code BDD takes with and asks for an error of weight at most satisfying , under the promise that such an error exists. An oracle for any of these search problems must return a solution on inputs satisfying these conditions and may return an arbitrary string otherwise (Section E.1). The lattice parameters and may also depend on the rank. The threshold in decision uSVP makes its YES promise stronger than the search promise: and imply .
In a YES instance of , the shortest nonzero vector is unique up to sign. In a YES instance of , exactly one lattice point lies within distance of the target. For code BDD, two errors with the same syndrome and weight at most differ by a codeword of weight at most , so they must be equal.
A deterministic polynomial-time many-one reduction between promise problems is promise-preserving if it maps every promised YES input to a promised YES input and every promised NO input to a promised NO input.
Definition 1.2 (Randomized reductions). A randomized polynomial-time many-one reduction from a problem to a promise problem has success probability if every NO instance of maps to a promised NO instance of for every random seed, and every YES instance of maps to a promised YES instance of with probability at least . The remaining random choices on a YES input may produce any output.
Valiant and Vazirani reduce CircuitSAT to UniqueCircuitSAT by adding random constraints on the circuit's input bits [VV86]. If the original circuit is satisfiable, the resulting circuit accepts exactly one input with inverse-polynomial probability, as in Definition 1.2. A polynomial-time algorithm for UniqueCircuitSAT would thus imply NP RP. Dumer, Micciancio, and Sudan use the same kind of randomized reduction in their hardness result for decoding beyond half the minimum distance [DMS03, Theorem 16].
1.2 Main results
Theorem 1.3 (Lattices, informal). (i) For every fixed , , and , there are randomized polynomial-time many-one reductions in the sense of Definition 1.2 from CircuitSAT to the decision problem and to in , with inverse-polynomial success probability on satisfiable inputs.
(ii) For every fixed rational and every fixed , there are deterministic polynomial-time promise-preserving reductions from UniqueCircuitSAT to and in , where is the rank of the output lattice. The same holds in for every fixed .
Consequently, all these problems are NP-hard under randomized polynomial-time reductions. Increasing or decreasing strengthens the promise, leaving an algorithm fewer instances to solve. Hardness nevertheless holds for arbitrarily large fixed and arbitrarily small fixed . See Theorem 7.1 for part (i), Theorem D.1 for part (ii), and Remark D.7 for the extension of part (ii) to every fixed real .
Theorem 1.4 (Code BDD, informal). For every fixed finite field and constant , and UniqueCircuitSAT are equivalent under deterministic promise-preserving polynomial-time reductions. Consequently, is NP-hard under randomized polynomial-time reductions.
See Theorem 6.1 for the formal statement and proof. Our reductions from UniqueCircuitSAT to code BDD and to the lattice problems in Theorem 1.3(ii) are deterministic. To extend these reductions to CircuitSAT, we first add the random constraints of Valiant and Vazirani [VV86]. The lattice reductions in Theorem 1.3(i) instead start from CircuitSAT and use random parity-check equations of their own (Section 2.2).
Corollary 1.5 (Search versions, informal). For the respective parameters in Theorems 1.3 and 1.4, the search versions of uSVP, lattice BDD, and code BDD are NP-hard under randomized polynomial-time oracle reductions that make at most one oracle call, have no false positives, and succeed with inverse-polynomial probability on satisfiable circuits.
To solve CircuitSAT using a search oracle, we recover a candidate input to the circuit from what the oracle returns and test it on the original circuit. When the random choices succeed, the constructed instance satisfies the search promise and we can recover an accepted input from every solution. The test prevents false positives even if the oracle returns an arbitrary string (Corollary E.1).
For reductions from SAT to code BDD or to the decision versions of Euclidean uSVP and BDD, removing randomness while preserving the promises would imply NP = UP (Theorem 6.1 for code BDD, Proposition C.1 for the lattice problems). Here UP consists of languages with polynomial-time verifiers having at most one accepting witness per input. Each of these problems has such a verifier on its promised inputs. For code BDD the converse also holds: deterministic promise-preserving NP-hardness is equivalent to NP = UP.
| Problem | Earlier hardness | This work |
|---|---|---|
| Euclidean uSVP, factor | for every fixed [SD16, Corollary 3.5] | Every constant |
| Euclidean BDD, radius | [LLM06] | Every |
| Code BDD, radius | [DMS03] | Every |
Table 1: Selected NP-hardness results under randomized polynomial-time reductions. The first two rows concern Euclidean lattices of rank . The earlier lattice results listed concern search. Our results hold for both decision and search (Corollary 1.5).
Euclidean SVP is NP-hard to approximate within any fixed constant factor under deterministic polynomial-time reductions [Wan26b]. Lyubashevsky and Micciancio reduce GapSVP, the decision version of approximate SVP, to the search version of uSVP [LM09]. The resulting uniqueness factor is the approximation factor in GapSVP divided by a quantity of order . Because this divisor grows with , their reduction cannot transfer hardness at a fixed constant factor to uSVP at a factor greater than one.
Bennett asked whether the search version of uSVP in the Euclidean norm is NP-hard at a constant factor greater than one under randomized reductions [Ben23, Open Problem 4.6]. Hecht and Safra conjectured decision hardness at a fixed factor under randomized subexponential-time reductions [HeS26, Conjecture 7.2, arXiv version]. Corollary 1.5 answers Bennett's question and the Euclidean BDD question of Dadush, Regev, and Stephens-Davidowitz. Theorem 1.3(i) proves the Hecht–Safra conjecture using randomized polynomial-time reductions.
Techniques and relation to prior work. We encode inputs that the circuit accepts as short vectors that satisfy a linear system. We add further linear constraints to control other solutions. If no encoding satisfies the resulting system, we need every nonzero solution to be long. If only one does, it is a short solution, but other short solutions may remain. We also prove that nonzero solutions with are long, where is linear and equals one on encodings. We use the lower bound for nonzero solutions with to make vectors linearly independent of the encoding long for uSVP and to establish minimum distance for BDD.
-
For hardness at constant factors, we prove two estimates for symmetric tensors. When no encoding satisfies the linear constraints, a nonzero tensor with indices can be arranged as a matrix of rank at least . When only one encoding satisfies the constraints, rank one cannot be excluded everywhere. For nonzero tensors with , we prove that fixing an index can produce a nonzero tensor with fewer indices subject to constraints that exclude rank-one matrices. This gives lower bounds on the weights or norms of such tensors even when an encoding satisfies the constraints. We build on the matrix constructions and bounds on codeword weights of Austin-Khot and Bhattiprolu-Guruswami-Lee-Ren [AK14, BGLR25]. For codes, the map in [BGLR25, Lemma 3.2] makes nonzero vectors nearly equal in weight, letting the lower bound on weight grow faster than the encoding's weight. For norms of integer tensors, we adapt Wan's counting argument [Wan26b]. We also randomize a parity-check matrix so that, if the circuit is satisfiable, then with inverse-polynomial probability the code contains only one of the vectors representing inputs that the circuit accepts. The code's minimum distance is close to that vector's weight.
-
For hardness at polynomial factors when or , we use OpenAI's method based on interpolation and moments for the closest vector problem (CVP) [Ope26, Chapter 7]. We also use Hair and Sahai's reconstruction from weighted moments and the Hadamard map in their ordinary SVP construction [HaS26b], adapting their arguments to enforce agreement between gates. For a sufficiently short solution, reconstruction expresses polynomials describing its moments as weighted sums of powers. Even when the circuit accepts exactly one input, several terms can represent that input and their weights can cancel. We prove that at most one term can occur: a nonzero determinant of these polynomials has degree smaller than the number of zeros forced by the interpolation constraints. This rules out cancellation. When , these polynomials must then vanish over the finite field, forcing nonzero solutions to have large norm (Appendix D).
Section 2 explains these two arguments and the resulting reductions.
2 Technical overview
We reduce circuit satisfiability to uSVP and BDD for lattices, and to BDD for linear codes. Inputs that the circuit accepts have short encodings satisfying linear equations, but the equations may also admit unwanted solutions. We add further constraints to control these other solutions.
Soundness. If no encoding satisfies the constraints, every nonzero solution must have much greater weight or norm than an encoding would have. In particular, if the circuit accepts no input, there is no short nonzero solution.
Uniqueness. Even if only one encoding satisfies the constraints, other short solutions may remain. For uSVP, vectors linearly independent of the encoding must be much longer. For BDD, the encoding must provide a solution within the decoding radius, while the code or lattice has minimum distance much larger than that radius. We first relate bounds on weight and norm to these properties, then prove the bounds using tensors for constant factors and interpolation for polynomial factors.
2.1 From a circuit to uSVP and BDD
We first represent an input that the circuit accepts by a vector, so that agreement between gates can be expressed by linear equations. For each gate of a circuit , create a block with one label for each assignment to its input and output wires that is consistent with the gate's operation. For an AND gate, these assignments are , , , and , with the output last. At the output gate, keep only labels setting the output to one. For each input bit used by no gate, add a block with labels for its values zero and one.
A selection chooses exactly one label in each block. It is compatible if the chosen assignments agree on shared wires. The assignments then describe one circuit input, and the restriction at the output gate ensures that the circuit accepts it. Thus compatible selections correspond bijectively to inputs that the circuit accepts. We represent a selection by its indicator y, with one coordinate per label, equal to one at each chosen label and zero elsewhere. If there are g blocks, y has Hamming weight g.
The indicator of a selection has sum one in each block. For a wire in a block, the sum over labels assigning it one equals the chosen label's value on that wire, so equal sums across blocks enforce agreement. We form an integer matrix from the equations for agreement on shared wires and for equal sums in every block. The indicator of every compatible selection satisfies . Conversely, a nonzero solution with at most one nonzero entry per block has the same nonzero sum in every block. Dividing the solution by this common sum gives the indicator of a compatible selection (Lemma 5.1). General solutions may have several nonzero entries per block and need not encode an input. Further constraints must rule out unwanted short solutions.
We encode each selection as a vector of weight or norm at most . We impose linear constraints on vectors in this space. For encodings, these constraints enforce agreement on shared wires. We construct a linear function that equals one on encodings and is integer-valued for lattices. We seek much larger than with two properties. Soundness: if no encoding satisfies the constraints, every nonzero solution has weight or norm at least . Uniqueness: if only one encoding satisfies the constraints, every nonzero solution with has weight or norm at least . For an encoding , , so excludes its nonzero multiples. Distinct solutions with the same value of differ by a nonzero solution with , so their distance is at least . The ratio controls the uSVP uniqueness factor, while its reciprocal controls the BDD radius as a fraction of minimum distance.
For code BDD, we construct a code with large minimum distance and ask whether an error vector of Hamming weight at most has a prescribed syndrome. Start with an instance of UniqueCircuitSAT, a circuit accepting at most one input. Stack the equations and into a parity-check matrix and prescribe syndrome . An encoding satisfying the equations has this syndrome and weight at most . Nonzero codewords satisfy the equations and have , so soundness or uniqueness makes their weight at least . If no input that the circuit accepts has an encoding satisfying the constraints, any error vector with the prescribed syndrome satisfies the equations and is nonzero because , so soundness excludes any such vector of weight at most . Thus gives BDD (Theorem 6.1).
For the converse in Theorem 1.4, take a code BDD instance with threshold w and construct a circuit checking whether a candidate error has the prescribed syndrome and weight at most w. The decoding promise ensures at most one such error: two distinct errors would differ by a nonzero codeword of weight at most 2w, below the minimum distance. The circuit is therefore an instance of UniqueCircuitSAT (Theorem 6.1).
For lattice uSVP, an encoding in the lattice must be much shorter than every lattice vector linearly independent of it. Suppose the lattice contains only one encoding . For not proportional to , the vector is nonzero with , so its norm is at least . This need not make long, because may be long. Append the coordinate to each solution , with . Since , this coordinate has magnitude at least . By the triangle inequality, either or has norm at least , so does too. The encoding has norm , giving a uniqueness factor . If no encoding lies in the lattice, soundness already makes every nonzero lattice vector long (Lemma 5.4).
For lattice BDD, we need large minimum distance and a target close to an encoding in the lattice. Suppose at most one encoding satisfies the constraints. Append the coordinate to each solution , with , and use target . Nonzero vectors with have norm at least , while integrality makes every other vector's added coordinate at least in magnitude. Thus the minimum distance is at least . An encoding satisfying the constraints has , so its added coordinate equals the target's and it lies within . Conversely, a lattice point within of the target has by integrality and . Its original coordinates form a nonzero solution of norm at most , which soundness excludes when no encoding satisfies the constraints. Thus gives BDD (Lemma 5.4).
2.2 Constant factors using tensors
We use tensors to make exceed any fixed constant. Each new index increases the weight of an encoding, so we need other solutions to grow faster. We first consider the case in which no encoding satisfies the constraints, working over a fixed finite field. For lattices, the norm depends on how large the entries are, as well as on how many are nonzero.
From matrices to tensors. We represent pairs of chosen labels by , whose entry at is one exactly when both labels are chosen. Its diagonal is , and the columns from any block sum to because the block has exactly one chosen label. To ensure that nonzero columns have large weight, we choose a linear code over a finite field , with distance and coordinates indexed by labels. We restrict to compatible selections whose indicators lie in . Following the matrix approach of [AK14, BGLR25], we impose symmetry on a matrix , require its columns to lie in , require the columns from each block to sum to its diagonal, and require . For codes we also set entries between distinct labels in a block to zero. For lattices this extra constraint is unnecessary over a prime field with , where is the number of labels. In either case, the constraints force a rank-one solution to choose one label per block. The condition makes these choices agree. Thus the rank-one solutions are the nonzero multiples of where is the indicator of a compatible selection (Proposition 5.2). Let be the space of matrices satisfying the applicable constraints. If no compatible selection has its indicator in , every nonzero matrix in has two independent columns in .
The union of the supports of two independent columns contains at least rows [BGLR25, Lemma 2.7]. By symmetry, each nonzero row is a codeword of weight at least . Thus the matrix has weight at least , while has weight .
To repeat this improvement at each index, we extend the matrix constraints to symmetric tensors. We require every matrix formed by fixing all but two indices to lie in . Fixing all but one index then gives a codeword in . Each nonzero codeword has at least nonzero entries.
Applying this fact successively to the indices shows that every nonzero tensor has weight at least . The encoding has weight . Since when , distance alone cannot prove that other solutions have greater weight than the encoding.
To bound the norms of integer tensors, arrange a nonzero order- tensor as a matrix with rows indexed by one label and columns by tuples of the remaining labels. This matrix is called a flattening. When has no nonzero rank-one matrix, this flattening has rank at least , providing independent columns. Fixing an index at a label gives an order- tensor, or slice. Slices at distinct labels have disjoint entries.
The rank grows with because some nonzero slice has a flattening of smaller rank. Let be the first block. Every column of the flattening of the slice at satisfies , since the columns in a block sum to the diagonal. By symmetry, these columns lie in the span of the original flattening's columns. If no nonzero slice had a flattening of smaller rank, each coordinate would be identically zero on that span or equal the sum over throughout it, making all columns proportional. This would produce a nonzero rank-one matrix in . Thus some nonzero slice has a flattening of smaller rank. It satisfies the same constraints, so its flattening has rank at least by induction. The original flattening therefore has rank at least (Lemma 5.3).
For Hamming weight, two independent columns suffice. When no compatible selection has its indicator in , the union of their supports contains at least rows. Fixing the first index at each of these rows gives nonzero slices with disjoint entries. Each slice satisfies the same constraints, so we can repeat the argument within it and add the resulting weights. This yields weight at least , compared with for an encoding (Lemma B.3). If , the lower bound grows faster than the encoding's weight, making exceed any fixed constant for sufficiently large fixed .
Uniqueness. If exactly one compatible selection has its indicator in , then is itself short and lies in . Since contains a nonzero rank-one matrix, we cannot apply the preceding argument directly. Define , summing the entries whose indices all equal a label in the first block. Then . To show that a nonzero tensor with is long, we find a nonzero slice at a label not chosen by , where rank one can again be excluded.
If and uses only labels chosen by , each column has at most one nonzero entry per block and the same sum in every block, so it is a multiple of . Symmetry gives , a contradiction. The same reasoning at higher orders makes a tensor using only chosen labels a multiple of , also excluded by . Thus some nonzero slice is at an unchosen label . Each column of the slice satisfies , which violates because and its entries over sum to one. The inherited constraints exclude every nonzero multiple of , so the earlier argument applies (Lemma 5.3(iii)).
Codes. For a circuit accepting at most one input, take to be the full space so that it contains the indicator of every compatible selection. But has minimum distance one, whereas each indicator has Hamming weight . We choose an injective linear map that sends every nonzero vector to weight between and , with as close to one as needed [BGLR25, Lemma 3.2]. Applying in every tensor index preserves the rank of each flattening. Every nonzero vector in has weight at least . Each additional index multiplies the lower bound on the tensor's weight by , while multiplying the encoding's weight by at most . When the circuit accepts exactly one input, the bound for nonzero tensors with loses one factor of :
the uniqueness argument applies the preceding bound to a slice with one index fixed. Choosing still makes exceed any fixed constant for large fixed r (Theorem 6.2).
We apply the uniqueness argument to the original tensor, whose indices are circuit labels, so that we can take a slice at a label not chosen by . We count nonzero entries after applying . A left inverse of in every index recovers the original tensor. We define on the encoded tensor as of the tensor recovered this way. The inverse in the first index also shows that nonzero entries of this slice, after applying to its remaining indices, require distinct nonzero columns of the flattening of the encoded tensor. These columns have disjoint entries and weight at least each, so their weights add (Theorem 6.2).
Lattices. For lattices, we need the same separation in norm rather than Hamming weight. Our lattice consists of integer tensors satisfying the matrix constraints modulo a prime . A tensor with one entry equal to and all other entries zero satisfies these constraints, so must be larger than the required norm threshold. A nonzero tensor divisible by already has norm at least . For lattices , so for a tensor that is nonzero modulo the finite-field weight argument gains only per index, which is too little at large . The map used for codes makes nonzero images nearly equal in Hamming weight, but integer norms also depend on entry values. We adapt Wan's counting argument for equal entries to these tensors [Wan26b, Lemma 5.1].
For fixed finite , the norm bound is for every nonzero tensor if no compatible selection has its indicator in , and for every nonzero tensor with if exactly one does. An encoding has norm , so the second term gives ratio . The factor grows, while decreases when . Choose fixed large, then close enough to one, and finally large relative to the encoding's norm and required factor. This makes exceed any fixed constant while dimension remains polynomial (Theorem B.4).
The norm bound comes from a tension between equal entries and code distance. Suppose no compatible selection has its indicator in C and a tensor nonzero modulo P is too short. The rank and distance arguments give r short independent columns modulo P. Their small norms restrict most entries to a few integer values, forcing many equal pairs across these columns. Yet any two columns differ by a nonzero codeword modulo P and disagree in at least rows. If the union of the supports of these r columns contains only slightly more than rows, each pair can agree in only a few rows within that union. With sufficiently many columns relative to their norms, counting equalities by rows and by column pairs forces more than rows to contain nonzero entries. The increase depends on the number and norms of the columns, rather than on P. These rows index disjoint slices (Lemma B.2). Repeating this count over the indices gives the norm bound in Theorem B.4.
For uniqueness, a single slice has one fewer index and loses a factor in the lower bound on the norm. Suppose only one compatible selection has its indicator in , and satisfies . Reduce each entry of modulo and flatten the resulting tensor into a matrix. If this matrix is nonzero, it has a column with a nonzero entry at a label not chosen in the selection. Subtracting a multiple of makes the entries sum to zero in every block without changing entries at labels not chosen in the selection. Since , the result is a nonzero codeword of weight at least . Since the selection chooses one label per block, at least entries at labels not chosen in the selection remain nonzero in . These labels give disjoint slices whose constraints exclude nonzero multiples of . Adding the th powers of the norms of these slices recovers the missing factor, up to a constant (Theorem B.4).
Isolating a selection for lattices. We need exactly one compatible selection whose indicator lies in C while keeping the distance of C close to g. This gives a short encoding and the lower bound on norms when . Isolating an input that the circuit accepts does not ensure that the indicator of a selection representing that input lies in such a code. We give each label copies representing the same assignment. Before copying, each accepted input corresponds to one compatible selection. After copying, choosing one copy in each block gives many selections for the same input.
Use a Vandermonde parity-check matrix with enough rows to give C distance close to g. Multiplying its columns by random nonzero field elements preserves distance and changes which indicators lie in C. For a fixed compatible selection, the random multipliers at its chosen labels must satisfy many independent linear equations, one for each row of the parity-check matrix, for its indicator to lie in C, so this occurs with small probability. Copies create more compatible selections and increase the expected number of these selections whose indicators lie in C, without changing the inputs the circuit accepts. Since the number of inputs the circuit accepts is unknown, guess the number of copies from polynomially many choices. A suitable guess makes the expectation a small constant.
To bound the probability of more than one such selection, count pairs whose indicators both lie in C. Selections that share labels also share multipliers. If two selections differ in at least as many blocks as the parity-check matrix has rows, the equations requiring both indicators to lie in C are linearly independent. Otherwise, fixing the multipliers for one selection leaves at most one choice for the multipliers on labels chosen only by the other, because the corresponding Vandermonde columns are independent. Taking P large relative to the number of labels makes the expected number of such pairs small. For a suitable guess, these estimates imply a positive constant probability of exactly one compatible selection whose indicator lies in C. A uniform guess succeeds with inverse-polynomial probability (Appendix A). The norm estimates give the ratio required in Section 2.1, proving Theorem 1.3(i).
2.3 Polynomial factors for p > 2
For lattices, increasing tensor order to gives a factor proportional to while the dimension grows as , so it cannot give a polynomial factor in polynomial dimension. For , including , interpolation spreads an encoding across many groups of coordinates indexed by labels and points. A linear map makes many nonzero entries in one group contribute more to the norm than the same number of ones spread across separate groups, as in an encoding. If this concentration occurs at many points, the norm is large. Otherwise, at many points every group has few nonzero entries. Reconstruction from moments then links short vectors to inputs that the circuit accepts. We use OpenAI's interpolation and moment method [Ope26, Chapter 7] and Hair and Sahai's reconstruction from weighted moments and Hadamard map [HaS26b], adapting reconstruction to enforce agreement between gates and adding an argument for uniqueness.
Encoding by interpolation. We use one polynomial to link the chosen gate labels across many points. Work over a prime field , give each block a distinct field element as its anchor, and assign distinct values to its labels. A selection with indicator determines a polynomial of degree at most taking the chosen label's value at each anchor. We define the encoding using the values of at many other points of . The degree bound limits how independently these values can vary. For each label and each point where we evaluate , we create a vector with one entry for every
. If the selection chooses the label, we put a one at and zeros elsewhere; otherwise the vector is zero. These vectors form the encoding array. For any array with the same indices (label, point and ), we call the vector obtained by fixing a label and a point and letting vary a fiber.
To make concentration costly, we follow Hair and Sahai [HaS26b] and multiply each integer fiber by a Hadamard matrix with orthogonal rows. A fiber with nonzero entries has Euclidean norm at least . Orthogonality and comparison of and norms imply that its image has norm at least times the norm of one row of the Hadamard matrix. The images of ones in separate fibers have norm times the norm of that row. Concentration costs more for . At the powers agree, giving no gain (Section D.6).
The reductions in Section 2.1 also need an integer-valued linear function equal to one on encodings. We choose the Hadamard matrix with an all-ones column, so one output coordinate sums the original fiber entries. Summing that coordinate over labels in the first block at one fixed point defines : this sum is one on an encoding.
We need linear constraints that link the polynomial values across points and enforce gate agreement. Requiring the positions of the ones to be values of one low-degree polynomial is not a linear constraint on the array. The th moment is linear in the fiber entries and, for a chosen label in an encoding, equals at that point raised to the th power. For each label and order used by the construction, we require its moments across points to be evaluations of a polynomial of degree at most , called a moment polynomial. For an initial range of orders, we also require the vector of moments across labels to satisfy at each point, enforcing agreement between gates. If the chosen assignments agree on shared wires, then . The vector is a scalar multiple of , so the encoding satisfies .
We also need to tie each label to its assigned value at its block anchor. For a chosen label of value at anchor , the encoding satisfies , so is divisible by . For each label, form the polynomial whose value at each point is , where is the fiber at . Requiring this polynomial to be divisible by imposes linear constraints on its coefficients and hence on the array. Take the integer arrays whose reductions modulo satisfy all the constraints above, and apply the Hadamard map to every fiber. Their images form the lattice.
In the analysis, reconstruction shows that the moment polynomials of a sufficiently short vector vanish when the circuit accepts no input, or when it accepts only one input and . Any fiber nonzero modulo must then have many nonzero entries, making its image under the Hadamard map long.
Soundness. Fix a threshold . The lower bound on the norm after applying the Hadamard map implies that, for a sufficiently short vector, at more than half the points every label's fiber has at most entries nonzero modulo . At each such point, a label's moments are weighted sums of powers of at most field values, which may vary with the point. Bounded degrees and sufficiently many points and moment orders allow reconstruction from weighted moments [HaS26b]: for each label, its moment polynomials have the form as identities in with at most distinct nodes . The same nodes and nonzero weights work for every moment order (Lemma 4.5). Nodes play the role of in an encoding, but they and the weights can be algebraic functions of rather than polynomials.
To identify an input from a node, we need at most one label per block. For each label, the monic polynomial in whose roots are its nodes has coefficients that are polynomials in . If is the block's anchor and is the label's assigned value, then substituting into these coefficients gives a power of by the divisibility constraints. If two labels in a block shared a node, their monic polynomials would have a nonconstant monic common factor. After setting , this factor would still have positive degree and divide powers of linear factors for two different assigned values, which is impossible (Lemma D.4).
We must also show that labels in different blocks that share a node agree on shared wires. Collect the weights of a node across labels into a vector , with zero for labels where that node is absent. The equations for agreement between gates hold as polynomial identities because they hold at more points than their degree. With enough moment orders, Vandermonde invertibility gives separately at each node. Since has at most one nonzero entry per block, it is a multiple of the indicator of a compatible selection (Lemma 5.1). Thus each node describes an input that the circuit accepts. If the circuit accepts no input, there are no nodes, so the moment polynomials used by the construction vanish (Theorem D.5).
Uniqueness. Even when the circuit accepts only one input, we must still rule out several distinct nodes in the reconstruction. Their weights can cancel in the zeroth moment even when higher moments are nonzero, so alone does not rule them out. If there were at least two nodes, a nonzero determinant of moment polynomials would have more zeros forced at the anchors than its degree permits.
Each node has weights across labels proportional to the indicator of the unique compatible selection, so the chosen labels share moment polynomials . If there are distinct nodes, is nonzero by Vandermonde invertibility and has degree at most . At an anchor , let be the chosen label's value. Replacing by adds multiples of earlier rows and columns, preserving . The divisibility constraints make entry of this matrix divisible by . Each term in the determinant expansion takes one entry from each row and each column, so it vanishes to order at least . The anchors force more zeros than the degree permits. At most one node remains. Its weight would equal the zeroth moment modulo , so excludes it and the moment polynomials vanish (Theorem D.5).
The ratio . We compare the lower bound on a nonzero vector's norm in each case with , an upper bound on the encoding's norm. We omit factors that are fixed powers of the circuit size. First, suppose at least half the points have a fiber with more than entries nonzero modulo . The image of each such fiber under the Hadamard map has norm at least times the norm of one row of the matrix. At each point, the image of an encoding contains one row of the Hadamard matrix for each chosen label. The number of points contributes the same factor to both norms, giving a ratio of .
Second, suppose fewer than half the points have a fiber with more than entries nonzero modulo . The preceding arguments force the moment polynomials used by the construction to vanish if the circuit accepts no input, or if it accepts exactly one input and . The first moments in each fiber then vanish, so Vandermonde invertibility forces any fiber that is nonzero modulo to have nonzero entries. With sufficiently large, the image of every nonzero integer fiber has norm at least times the norm of one row of the Hadamard matrix. This lower bound can come from a single fiber, while the encoding uses points for polynomial interpolation and reconstruction. Dividing the lower bound on the vector's norm by the encoding's norm therefore leaves the factor . This ratio grows only for , with at infinity. After division by a fixed power of the circuit size, is a lower bound on . Choosing as a sufficiently large fixed power of the circuit size makes polynomially large while the dimension remains polynomial. Applying the reductions in Section 2.1 proves Theorem 1.3(ii) (Theorem D.1 and Remark D.7 for real ).
3 Related work
Codes. Dumer, Micciancio, and Sudan prove randomized hardness of deciding whether a vector lies within Hamming distance of some codeword in , under the promise , for every [DMS03], while Bhattiprolu, Guruswami, Lee, and Ren prove deterministic hardness for [BGLR25, Remark D.4]. Wan and Zhang prove deterministic NP-hardness of deciding whether a vector lies within a specified Hamming distance of some codeword in a Reed–Solomon code over growing finite extension fields, at a radius above half the minimum distance and without a uniqueness promise [WZ26]. Our code BDD reduction covers every fixed with , where at most one codeword can lie within distance . Other work studies nearest codeword, minimum distance, and their parameterized variants [ABSS97, DFVW99, BBE+21, BCGR23, GR26].
Our use of rank-one matrices to represent assignments follows Austrin and Khot [AK14]. For a matrix whose rows and columns lie in a code , two independent columns imply Hamming weight greater than [BGLR25, Lemma 2.4]. Bhattiprolu, Guruswami, Lee, and Ren combine this bound, which they attribute to Austrin and Khot, with an injective map that sends all nonzero vectors to nearly the same Hamming weight [BGLR25]. After establishing hardness at a constant factor, they use tensor products to increase the factor by multiplying minimum distances. The binary case of the matrix bound appears in Gopalan, Guruswami, and Raghavendra [GGR11]. Section 5.2 imposes the matrix constraints of Proposition 5.2 on every matrix formed by fixing all but two indices of a symmetric tensor. When the constraints exclude nonzero rank-one matrices, a nonzero tensor of order has a flattening of rank at least . When only one encoding satisfies the constraints, slices also establish the estimates for nonzero tensors with (Lemma 5.3).
Lattices. Ajtai, Micciancio, and Khot established randomized hardness for SVP [Ajt98, Mic01, Kho05]. For the search version of uSVP in the Euclidean norm, Kumar and Sivakumar proved hardness without a constant uniqueness factor [KS01]. Aggarwal and Dubey proved randomized hardness for a factor , where is the lattice rank [AD16], and Stephens-Davidowitz proved hardness for a factor for every fixed [SD16, Corollary 3.5]. Bennett, Ganju, Peetathawatchai, and Stephens-Davidowitz reduce ZSVP, the shortest vector problem on rotations of , to uSVP at every constant factor [BGPS23]. Their reduction establishes hardness under an assumption on ZSVP. Jin and Xue prove a fine-grained lower bound for a constant factor under GapSETH, a strong exponential-time hypothesis for distinguishing satisfiable formulas from those far from satisfiable [JX24].
For fixed , Hecht and Safra prove hardness for uSVP at a factor by a deterministic subexponential-time reduction from Unambiguous-3SAT, the problem of distinguishing 3CNF formulas with one satisfying assignment from unsatisfiable ones [HeS26]. Their result rules out polynomial-time algorithms under the assumption that Unambiguous-3SAT on variables has no deterministic algorithm running in time . They also prove conditional hardness at superconstant factors for sufficiently large . Aggarwal and Dubey prove deterministic hardness for uSVP without guaranteeing a fixed uniqueness factor greater than one [AD16].
For lattice decoding at radius , Liu, Lyubashevsky, and Micciancio, using the Regev–Rosen norm embedding for , prove hardness when [LLM06, RR06]. For , Bennett and Peikert prove hardness for smaller values of , with a threshold that tends to as grows [BP20]. The decoding radii in these results exceed for finite . Bennett and
Peikert also prove randomized NP-hardness of the search version of BDD in at radius , where the target's distance to the lattice may equal the radius and the target may have several closest lattice points [BP20, Theorem 1.1].
For ordinary SVP, Hair and Sahai prove conditional deterministic subexponential-time hardness in every fixed norm with , and Wan proves deterministic Euclidean results [HaS26a, Wan26a, Wan26b]. For every fixed and , Hair and Sahai also prove deterministic NP-hardness of approximating SVP in within a factor of [HaS26c]. OpenAI introduced an encoding for the closest vector problem (CVP) based on polynomial interpolation and moments [Ope26, Chapter 7], which Hair and Sahai adapted using weighted moments to prove deterministic hardness of approximating ordinary SVP within a polynomial factor in with [HaS26b]. Appendix D combines their reconstruction from weighted moments with a determinant argument to construct full-rank uSVP and BDD instances.
Appendix B explains how we adapt Wan's counting argument [Wan26b, Lemma 5.1] to bound norms of integer tensors. Tensor amplification for SVP also appears in Haviv–Regev and Bennett–Cheraghchi–Guruswami–Ribeiro [HR12, BCGR23], whose analyses bound the length of a shortest vector in particular lattice families.
The reduction of Lyubashevsky and Micciancio from GapSVP to the search version of uSVP sets the uniqueness factor to the approximation factor for GapSVP divided by a quantity of order [LM09]. For the Euclidean norm, Aggarwal and Dubey's deterministic reduction from SVP to uSVP guarantees a uniqueness factor relative to , where is the input length [AD16].
Lyubashevsky and Micciancio also relate the search versions of BDD and uSVP [LM09]. Regev and Rosen transfer Euclidean results to other norms by randomized embeddings [RR06]. We construct direct reductions with one-sided error to decision uSVP and decision BDD in every finite norm.
Isolation and parameterized hardness. Valiant and Vazirani isolate witnesses by hashing, and Mulmuley, Vazirani, and Vazirani isolate them by random weights [VV86, MVV87]. Dell, Kabanets, van Melkebeek, and Watanabe show that coNP NP/poly would follow from a randomized polynomial-time procedure that preserves unsatisfiability for every random choice and, on every satisfiable circuit of description length s, succeeds with probability greater than [DKMW13]. Success means that the output circuit accepts exactly one input and a fixed deterministic polynomial-time algorithm, given both circuits and that input, recovers an input accepted by the original circuit. Appendix C applies this result to witness recovery in our reductions. Parameterized hardness for coding and lattice problems is studied in [BBE+21, BCGR23, HO26, GR26].
4 Preliminaries
4.1 Notation and conventions
Lattice bases, targets, and thresholds are rational and encoded in binary. We set for lattices of rank one and . Every fixed real parameter is polynomial-time computable, meaning that an approximation with correct bits can be computed in time polynomial in .
The randomized reductions in Definition 1.2 follow the convention used in [MG02, Mic12]. Circuits use AND gates with two inputs and NOT gates with one input. Circuit size counts input bits and gates. Circuits with no gate are handled directly.
For a vector or array , counts nonzero coordinates and is their set. For a symmetric matrix , the weight counts and separately when . A tensor flattening arranges an array as a matrix, with rows indexed by tuples of some of its indices and columns indexed by tuples of the remaining indices. It preserves weight and norm. We use the successive minima from Definition 1.1. We identify a Boolean vector over with the integer vector having the same zero and one entries.
4.2 Isolating inputs accepted by a circuit
We apply the following randomized reduction from CircuitSAT to UniqueCircuitSAT before our reduction to code BDD and the lattice reductions in Theorem 1.3(ii).
Lemma 4.1 (Valiant-Vazirani isolation, [VV86]). There is a randomized polynomial-time transformation that maps a Boolean circuit of size to a Boolean circuit on the same input variables. For every random choice, every input accepted by is also accepted by , and hence unsatisfiability is preserved. If is satisfiable, then accepts exactly one input with probability at least .
The next two propositions relate the success probability of isolation procedures to complexity assumptions. We use them in the discussion in Appendix C.
Proposition 4.2 (Isolation with recovery, [DKMW13, Theorem 3.8(v)]). Suppose a randomized polynomial-time procedure maps every Boolean circuit to a Boolean circuit and preserves unsatisfiability for every random choice. Suppose also that a fixed deterministic polynomial-time algorithm takes , and an input accepted by , and that, for every satisfiable of description length , with probability greater than the circuit accepts exactly one input and the algorithm returns an input accepted by from that unique input. Then .
Proposition 4.3 (Isolation on the same variables, consequence of [BD26, Theorem 1.1]). Suppose a randomized polynomial-time procedure maps every circuit to a circuit on the same input variables, and for every random choice every input accepted by is also accepted by . If there is a fixed constant such that, for every satisfiable , the output accepts exactly one input with probability at least , then .
4.3 Balanced linear encodings
For code BDD, we use the following map to send nonzero vectors to vectors of nearly equal Hamming weight. As the tensor order increases, this lets the minimum distance of the code we construct grow faster than the weight of a vector representing an accepted input. A left inverse recovers the original vector from its image under the map.
Lemma 4.4 (Balanced encoding, [BGLR25, Lemma 3.2]). Fix and a constant . Given , one can construct in deterministic polynomial time an injective linear map
such that every nonzero x satisfies
Proof. Lemma 3.2 of [BGLR25] constructs in deterministic polynomial time with length for a power of . Thus is an integer. Since is injective, Gaussian elimination computes a left inverse with in deterministic polynomial time.
4.4 Reconstruction from weighted moments
To analyze short vectors in the lattice reductions in Theorem 1.3(ii), we need to combine moment information from many points, where the field elements and weights may differ from point to point. For field elements with weights , their th weighted moment is . Suppose that, at sufficiently many values of in the field, the values of the moment polynomials are weighted moments of a few field elements. The next lemma represents all these polynomials by moments of the same nodes and weights, in an algebraic extension of . Here is the field of ratios of polynomials in over with nonzero denominators, and each node and weight is a root of a nonzero polynomial with coefficients in .
In the formulas for moments, we use , including when w=0.
Lemma 4.5 (Moment representations, [HaS26b, Lemma 5.1]). Let be prime, let be positive integers, and let be a nonnegative integer. For each , suppose there are at most distinct elements with nonzero weights , and their moments satisfy for . Suppose , for , and
Then, in an algebraic closure of , these moment polynomials have a representation
where , the nodes are distinct, and the weights are nonzero. For , use the empty representation and zero moments.
5 Encoding inputs accepted by a circuit
The reductions for constant factors use linear constraints on matrices whose rank-one solutions encode inputs that the circuit accepts. We construct these constraints, extend them to tensors, and then show how bounds on weights and norms yield the uSVP and BDD instances.
5.1 From circuit inputs to rank-one matrices
We describe a circuit evaluation by assignments to the wires at each gate that agree on shared wires. These compatible assignments will let us encode inputs accepted by the circuit as rank-one matrices. For each gate, create a block: a set with one label for each assignment to its input and output wires that is consistent with the gate. In the block for the designated output gate, require the designated output wire to equal one. For each input bit occurring in no gate, include a block with one label for each of the values zero and one. The blocks have at most four labels each. If a block is empty, there is no compatible selection, and the reduction outputs a promised NO instance. A compatible selection chooses exactly one label from each block, with agreement on every shared wire. Circuit evaluation defines a bijection between the inputs accepted by the circuit and these selections, including the blocks for input bits occurring in no gate. Thus and for a size-s circuit.
More generally, a block can list allowed assignments to specified Boolean variables, and compatibility means agreement on shared variables. This also allows constraints describing a clique in a graph, as used in the parameterized reduction. The instances used here have description length polynomial in . When required, choose a positive integer and give each label that many copies. Each copy assigns the same values to the same variables as the original label. For the lattice reductions with constant factors, copying labels gives each accepted input multiple compatible selections. We impose random parity-check equations on their indicator vectors. For a satisfiable circuit, with inverse-polynomial probability over the random choices, exactly one compatible selection of copied labels among those of all accepted inputs has an indicator satisfying these equations. Let be the resulting coordinate set, , let denote the coordinates in block after copying, and let be the indicator of the first block, so that is the sum of the entries of in that block.
We use linear equations to recognize compatible selections among vectors with at most one nonzero entry per block. For a vector indexed by labels, equation (1) makes its entries sum to the same value in every block. For each shared Boolean variable , equation (2) equates the sums over labels assigning it the value 1 in blocks and containing that variable. These equations define an integer matrix . If a nonzero solution has at most one nonzero entry per block, the sum in each block cannot be zero. Each block therefore has one nonzero entry equal to that sum. Dividing by this value gives the indicator of one selected label in each block, and (2) makes the selected labels agree on shared variables. The equations are
For each variable it suffices to impose the second equation along a spanning tree on the blocks containing it. Write over a field . When the blocks come from a circuit and the labels are not copied, has rows and each row has at most nonzero entries. We use this limit on the number of nonzero entries in each row in the construction in Appendix D.
Lemma 5.1 (Vectors supported on at most one label per block). A nonzero supported on at most one coordinate per block is cy for a nonzero scalar , where is the Boolean indicator of a compatible selection. Every such indicator belongs to .
Proof. The entries sum to in each block. If , the restriction to at most one nonzero entry per block forces . Otherwise every block has exactly one nonzero entry, equal to . After division by , each block has one entry equal to 1 and all others zero. Each side of an equation for a shared variable is therefore the value assigned to that variable by the selected label, either 0 or 1. Since in every field, equality forces agreement. Each selected label is an allowed assignment for its block. Conversely, the entries of the indicator of a compatible selection sum to 1 in each block, and the sums for each shared variable agree, so it satisfies the equations.
Proposition 5.2 (Rank-one matrices and compatible selections). Let be any linear code. Let be the space of symmetric matrices with columns in satisfying
and one of the following conditions:
(i) each block is diagonal.
(ii) and , without requiring for distinct labels in the same block.
In either case the nonzero rank-one matrices in are precisely , where and is the Boolean indicator of a compatible selection.
Proof. Write a nonzero symmetric rank-one matrix as with . A nonzero column is a nonzero scalar multiple of . Since that column belongs to , linearity implies . Under (i), diagonality of forces at most one nonzero coordinate of in each block. If , the equations imply for every . Thus every block has one nonzero entry, and all these entries equal the same nonzero scalar . Under (ii), becomes . Hence and every nonzero coordinate equals . After division by , the number of nonzero coordinates in each block is congruent to one modulo . This number is less than , so each block has one nonzero coordinate. In either case for the Boolean indicator of a selection, and the equation implies . Lemma 5.1 makes the selection compatible. Conversely, every such belongs to .
5.2 Symmetric tensors
We extend the matrix constraints to tensors to prove lower bounds on weight and norm that grow with the tensor order. An order- tensor is an array with indices. It is symmetric if permuting the indices leaves its entries unchanged. Fixing one index produces a slice of order , fixing all but two produces a matrix slice, and fixing all but one produces a fiber. We require every matrix slice to lie in the space of matrices defined in Proposition 5.2. When contains no nonzero rank-one matrix, the flattening of a nonzero symmetric order- tensor satisfying these constraints has rank at least . Its rows are indexed by one tensor index and its columns by tuples of the remaining indices. Each nonzero column is a codeword in and has Hamming weight at least the minimum distance of . After fixing an index , the equation for each matrix slice forces coordinate of each remaining fiber to equal its sum over the first block. This extra linear equation restricts the span of the columns and enables induction on its dimension. The next lemma relates these restrictions to the rank-one matrices in .
Let be the field and the code used to define in Proposition 5.2. We also allow to be a subspace of that space defined by additional homogeneous linear equations. Fixing a tensor index in the induction adds equations of this kind. Set . For , let consist of the fully symmetric order- tensors with entries in whose matrix slices all belong to . These are linear spaces, and every fiber belongs to . For fixed , given equations defining and , Gaussian elimination computes bases for these spaces using polynomially many field operations in and the number of input equations.
For the indicator of a compatible selection, the diagonal entries of sum to one over the first block. Requiring this sum to be zero excludes every nonzero multiple of .
Lemma 5.3 (Fixing an index of a tensor). For , let be the span of the columns of the matrix whose rows are indexed by the first tensor index and whose columns are indexed by all remaining indices. Write . For an order-one tensor, let be its linear span. Write for the ith standard basis vector, and let
(i) For , , with , and
(ii) If has no nonzero rank-one matrix, every nonzero has .
(iii) Suppose the rank-one matrices in are precisely the nonzero scalar multiples of for a Boolean indicator of a compatible selection. For , if and , some has . Every such has no nonzero rank-one matrix.
Proof. A column of has for fixed remaining indices . By (3) for the matrix slice with remaining indices . By symmetry, . Every matrix slice of is a matrix slice of , so it lies in , and it has columns in . Hence it lies in . For , is a vector, and this says .
For (ii), induct on . For , the span of a nonzero tensor has dimension one. Let . We have exactly when is nonzero on . Suppose no nonzero has . Every coordinate of is then either zero or , so is injective. Since is nonzero, it is one-dimensional. Let span and choose with . Symmetry and the fact that has dimension one imply
Thus is a nonzero scalar multiple of . A nonzero matrix slice would have rank one in , a contradiction. Hence some nonzero slice has . Since , it has no nonzero rank-one matrix. Induction in and (i) imply .
For (iii), suppose for every . By symmetry would be supported on . Each column of the flattening has at most one nonzero entry per block, at the coordinate selected by . Its entries sum to the same value in every block, so the column is a multiple of . Thus with , contradicting in part (iii). A rank-one matrix in would be a scalar multiple of , but excludes every nonzero such multiple.
The diagonal entries recover the indicator of a selection from its tensor. Their sum over the first block defines a linear function:
Let be the Boolean indicator of a selection. For its tensor, and . For an integer tensor, the diagonal entries and their sum over the first block are integers. When we apply Lemma 5.3 to an integer tensor reduced modulo a prime, is reduced modulo the same prime.
5.3 Constructing uSVP and BDD instances
Both lattice reductions construct an integer lattice , given by a basis and possibly of rank less than , together with an integer-valued linear function . When the reduction succeeds on a YES input, contains a vector with and . The following lemma constructs full-rank uSVP and BDD instances from two kinds of lower bound. When the construction succeeds on a YES input, we need a lower bound on the norms of nonzero vectors in . On a NO input, we need a lower bound on the norms of all nonzero vectors in .
Lemma 5.4 (Constructing uSVP and BDD instances). Fix , , and , and set . Let and let be rational. Suppose the lattice and integer-valued linear function satisfy one of these two conditions:
(i) every nonzero vector of has norm greater than .
(ii) there is with and , and every nonzero vector of has norm greater than .
Given a rational with , let . One can construct a full-rank integer basis and threshold for , and a full-rank integer basis, target, and threshold for , in . Both use the same integer threshold and are promised NO instances in case (i) and YES instances in case (ii). The construction takes as input a basis of , the values of on its basis vectors, and the rationals and . It is deterministic and runs in polynomial time in their description lengths. In case (ii), it also recovers from any valid solution of the constructed search problem, up to sign for uSVP.
In case (ii), append to each , with . For uSVP, is a nonzero vector in whenever is not proportional to , so its norm exceeds . Either or exceeds . The magnitude of the added coordinate is at least , so has norm greater than , while has norm of order .
For BDD, use a separate and target . Nonzero vectors with have norm greater than , while integer-valued makes every other vector's added coordinate at least in magnitude. The embedded lattice therefore has minimum distance at least . In case (ii), is within distance of the target. In case (i), a point within distance of the target would have and hence a nonzero of norm at most , contradicting case (i). We add vectors to make the lattice full rank, choosing them to preserve these guarantees. Section F.3 contains the full construction and proof.
6 The code theorem
Theorem 6.1. For every fixed finite field and every fixed polynomial-time computable , there are deterministic polynomial-time many-one reductions in both directions between UniqueCircuitSAT and BDD. Every promised input maps to a promised input. Consequently, a deterministic polynomial-time promise-preserving many-one reduction from SAT to BDD exists if and only if NP = UP.
To construct the decoding instance, we encode tensors so that a compatible selection yields an error of Hamming weight at most . A left inverse of the encoding map expresses as a linear function of the encoded coordinates. The code consists of encoded tensors on which this function is zero, while the prescribed syndrome requires an error to be an encoded tensor on which it is one. In particular, two errors with this syndrome differ by a codeword. When the circuit accepts exactly one input, the lower bound on weights of nonzero encoded tensors on which this function is zero makes every nonzero codeword heavier than , establishing the required minimum distance. When the circuit accepts no input, the bound for all nonzero encoded tensors also establishes this distance and excludes errors of weight at most , since the syndrome requires every such error to be nonzero.
6.1 Hamming weight of encoded tensors
We bound the Hamming weight of encoded tensors in two cases. When the space defined below has no nonzero rank-one matrix, the bound applies to every nonzero encoded tensor. When the rank-one matrices in are precisely the nonzero scalar multiples of , where is the indicator of a compatible selection, the bound applies to nonzero encoded tensors in the kernel of the linear function induced by . The encoded tensors on which this function is zero form the code whose minimum distance we bound for BDD.
Let be a space of matrices as in Section 5.2, defined using a code . Let be an injective linear map with a known linear left inverse , and suppose has distance at least . Let be an integer and let
The linear function plays the role of from Section 2.1 on tensors after applying .
Theorem 6.2 (Hamming weight of encoded tensors). If has no nonzero rank-one matrix, every nonzero has
If instead the rank-one matrices in are precisely the nonzero scalar multiples of for the Boolean indicator of a compatible selection, every nonzero , has
Proof. For independent codewords , the union of their supports has size at least [BGLR25, Lemma 2.7]. Indeed, the words for , together with , each have weight at least , while each coordinate in the union of their supports is nonzero in exactly of these words. Counting nonzero entries gives a union of size at least . Any independent columns in contain such a pair, so the union of their supports has size at least . Lemma B.3 with propagates this factor across tensor orders, proving the first bound.
For the case , write . By the definition of and the left inverse of , . Lemma 5.3(iii) gives an index with a nonzero slice of , where has no nonzero rank-one matrix. Since , the code has distance at least . The first assertion of Theorem 6.2, applied at order (and the minimum distance of when ), implies
Applying the row to the first index of recovers . Each nonzero coordinate of this tensor fixes the remaining indices and identifies a distinct nonzero column of , with the first index free. Each such column lies in and contributes at least nonzero entries. The columns are disjoint, so , proving the claim.
6.2 The two reductions
Proof of Theorem 6.1. We first reduce UniqueCircuitSAT to code BDD using the tensor bounds, then reduce code BDD to UniqueCircuitSAT by checking a candidate error. Circuits with no gate are handled by direct evaluation and fixed promised outputs. Assume the circuit has a gate. Use the blocks and equations (1)–(2) from Section 5.1, with one copy per label, and handle an empty block by a fixed promised NO output. Take , and let be the space of matrices defined by case (i) of Proposition 5.2.
We choose a linear map to control the weight of the error from a compatible selection, then choose the tensor order large enough that the minimum distance exceeds the allowed error weight divided by . Fix a rational with by refining a rational interval known to contain until and , and taking . Set
and choose the least integer satisfying
Then . Apply Lemma 4.4 with accuracy , so every nonzero vector in the image of has weight in , where is an integer and . Use , , and . The second bound in Theorem 6.2, with and , exceeds . Indeed, and , so
Compute a basis for from its linear equations, then apply to the basis vectors. Their images form a basis for . Stack a parity-check matrix for with the row , using zeros followed by one as the syndrome. The code is , and the vectors with the prescribed syndrome form . Use . When the original circuit accepts exactly one input, let be the indicator of its compatible selection. The error has weight at most and satisfies . By Theorem 6.2, . For an unsatisfiable circuit, the theorem's first bound says every nonzero vector in has weight greater than . Since , its minimum distance is again greater than . There is no error of weight at most with the prescribed syndrome, since implies . Thus holds in both cases. The output is YES when the circuit accepts exactly one input and NO when it is unsatisfiable. For fixed , the output length and the time needed for the linear algebra are polynomial in the input size. The threshold has polynomial bit length.
For the search version (Corollary E.1(iii)), we recover an input accepted by the circuit from an error of weight at most with the prescribed syndrome. When the circuit accepts exactly one input, ensures that at most one error of weight at most has the prescribed syndrome. Hence any such error equals . Taking the diagonal of recovers . Reading the selected assignments, including those in blocks for input bits occurring in no gate, recovers the accepted input.
For the reduction from code BDD to UniqueCircuitSAT, take a promised code BDD instance with . Build a Boolean circuit whose input is a binary representation of an error : assign each field element a distinct fixed-length binary string and reject unused strings. The circuit checks whether equals the prescribed syndrome and . Each error has one binary representation. Two distinct accepted errors would differ by a nonzero codeword of weight at most . The verifier is therefore unambiguous on every promised input.
If SAT has a deterministic polynomial-time promise-preserving reduction to , composition with the reverse reduction shows and hence . Conversely, if , an unambiguous verifier for SAT reduces to UniqueCircuitSAT, and the forward reduction completes the composition.
Composing Valiant and Vazirani's reduction from SAT to UniqueCircuitSAT with the forward reduction in Theorem 6.1 yields randomized polynomial-time hardness of code BDD with inverse-polynomial success probability and no false positives [VV86]. If a seed leaves two inputs accepted by the circuit, the affine space in the forward construction contains two distinct corresponding errors of weight at most . Their difference is a nonzero codeword of weight at most , so and the required inequality fails. Such an outcome is among the unsuccessful random choices on a satisfiable SAT input in Definition 1.2.
7 The lattice theorem
Theorem 7.1. Fix polynomial-time computable constants , , and , and let . There are randomized polynomial-time reductions from CircuitSAT to and with no false positives and success probability at least on a satisfiable circuit of size . Separate randomized polynomial-time reductions from UniqueCircuitSAT to these problems have no false positives and succeed with probability greater than 0.24 on a YES input. The output dimension is , and the bases, targets, and rational thresholds have polynomial bit length.
For a satisfiable circuit, we choose random parity checks defining a code C with large minimum distance and prove that, with inverse-polynomial probability, exactly one compatible selection of copied labels has its indicator in C. The tensor encoding this selection is a short lattice vector. We define an integer-valued linear function that equals one on every such encoding. When no compatible selection has its indicator in C, every nonzero lattice vector is long. When exactly one has its indicator in C, every nonzero lattice vector with is long. Lemma 5.4 turns these lower bounds on norms into the uSVP and BDD instances. Appendix A analyzes the probability that exactly one compatible selection has its indicator in C, and Appendix B proves the lower bounds on norms of integer tensors.
7.1 The lattice of integer tensors
We choose the tensor order to make two lower bounds large compared with , the norm of a tensor encoding a selection. When no compatible selection has its indicator in C, the first bound applies to every nonzero tensor in the lattice. When exactly one does, the second applies to every nonzero tensor in the lattice with . The lower bounds include a term proportional to , where is the minimum distance of the code we construct. Dividing this term by introduces the factor , so we choose close enough to to keep the gain from . Set . As in Section F.4, choose the tensor order as a sufficiently large constant times , where the constant may depend on . Set . Choose a prime large enough for the probability estimates in the isolation argument. Every nonzero integer tensor vanishing modulo then has norm at least . Then construct the code using the random parity checks of Proposition A.1 with this . Choose as the space of matrices for in the prime-field case of Proposition 5.2. Let . The lattice of integer tensors is
Its integer-valued linear function is , the sum of the diagonal entries over the first block in (4). A basis for this lattice is computable in polynomial time (Lemma F.2).
The two isolation procedures in Appendix A construct a code of distance for every seed. For an arbitrary satisfiable circuit, the first procedure has inverse-polynomial probability of producing a code that contains the indicator of exactly one compatible selection of copied labels. Under the promise that the original circuit accepts exactly one input, the second procedure has constant probability of producing a code with the same property (Proposition A.1 in Appendix A). The first procedure also chooses the number of copies at random. In both procedures, random nonzero field elements scale the columns of the parity-check matrix and thereby determine the code. The remaining steps of the lattice construction are deterministic.
Theorem B.4 bounds every nonzero according to how many compatible selections have their indicators in :
for constants depending only on . The choices of and in the proofs of Propositions B.5 and F.5 imply and make both lower bounds exceed . Choose a rational between and these lower bounds. When no compatible selection has its indicator in , every nonzero lattice vector has norm greater than , as required by Lemma 5.4(i). When exactly one does, its tensor has norm and , while every nonzero lattice vector with has norm greater than . These are the hypotheses of Lemma 5.4(ii). The lemma constructs both instances. Section F.4 contains the parameter choices and bounds on the bit lengths of the output bases, targets, and thresholds for the reduction from instances with blocks of allowed assignments and compatibility requirements.
To analyze the success probability, write for the original block sizes and , as in Proposition A.1.
Proof of Theorem 7.1. Circuits with no gate are handled by direct evaluation and fixed promised outputs. Otherwise convert the circuit to a constraint satisfaction instance with blocks and labels as in Section 5.1, and apply Proposition F.5 with . Use construction (i) for arbitrary CircuitSAT inputs and construction (ii) for promised UniqueCircuitSAT inputs. If the original circuit has size , the construction has blocks, at most four labels per block, and . Thus
The success probabilities follow from Proposition A.1. The dimension is , and the running time and bit lengths of bases, targets, and thresholds are polynomial by Proposition F.5.
8 Discussion
Larger factors. Requiring the norm lower bounds to exceed larger multiples of the encoding's norm requires a higher tensor order, which increases the dimension and cost of the lattice construction. For a circuit of size , the reduction in Proposition F.5 uses tensor order and has dimension . A quasipolynomial-time reduction reaches the factor for decision uSVP, where is the output rank and (Corollary E.3). For every fixed rational and for , a different construction reaches uniqueness factors that are fixed positive powers of the lattice rank (Theorem D.1). Section D.6 explains an obstruction to using that construction in the Euclidean norm. Proving randomized polynomial-time NP-hardness for any superconstant uniqueness factor in the Euclidean norm remains open.
Parameterized hardness. Applying the construction in Proposition F.5 to -Clique shows that GapSVP at every fixed constant approximation factor in every fixed finite norm is -hard under randomized FPT reductions with one-sided error, with the integer threshold on the vector norm as the parameter. This includes approximation factors greater than 2 in , answering questions of Hirahara and Ogitsuka [HO26] and Bennett [Ben23, Open Problem 4.7]. See Corollary E.2 for the result and proof.
Deterministic reductions. By Theorem 6.1, code BDD is NP-hard under deterministic promise-preserving reductions if and only if NP = UP. An unambiguous verifier shows that NP = UP is also necessary for the decision versions of Euclidean uSVP and BDD to be NP-hard under deterministic promise-preserving reductions (Proposition C.1). For fixed rational and for , the reductions of Theorem D.1 are deterministic from UniqueCircuitSAT. The lattice reduction for constant factors uses random parity checks, including for circuits accepting at most one input (Theorem 7.1). Whether UniqueCircuitSAT reduces deterministically to either Euclidean lattice problem remains open.
Success probability. Our reductions have no false positives, so independent repetition amplifies their success probability for decision: run the reduction several times, call the decision algorithm on each output, and accept if any call accepts. Proposition 4.2 instead concerns producing one output circuit with exactly one accepted input, together with a fixed deterministic polynomial-time algorithm that recovers an input accepted by the original circuit from that unique input. Under the other hypotheses of the proposition, if this joint success probability exceeds for every satisfiable circuit of description length s, then coNP NP/poly. See Appendix C for discussion.
References
[AD16] Divesh Aggarwal and Chandan Dubey. Improved hardness results for unique shortest vector problem. Information Processing Letters, 116(10):631–637, 2016. arXiv:1112.1564. 1, 2, 13, 14
[Ajt98] Miklós Ajtai. The shortest vector problem in is NP-hard for randomized reductions. In Proceedings of the 30th Annual ACM Symposium on Theory of Computing, pages 10–19, 1998. doi:10.1145/276698.276705. 1, 13
[ABSS97] Sanjeev Arora, László Babai, Jacques Stern, and Z. Sweedyk. The hardness of approximate optima in lattices, codes, and systems of linear equations. Journal of Computer and System Sciences, 54(2):317–331, 1997. 13
[AK14] Per Austin and Subhash Khot. A simple deterministic reduction for the gap minimum distance of code problem. IEEE Transactions on Information Theory, 60(10):6636–6645, 2014. arXiv:1010.1481. 5, 7, 13
[BD26] Sebastian Ben Daniel. Constant-probability witness isolation implies NP in P/poly. ECCC Report TR26-246, 2026. 15
[Ben23] Huck Bennett. The complexity of the shortest vector problem. ACM SIGACT News, 54(1):37–61, 2023. ECCC TR22-170, revision 1. 4, 25, 52
[BCGR23] Huck Bennett, Mahdi Cheraghchi, Venkatesan Guruswami, and João Ribeiro. Parameterized inapproximability of the minimum distance problem over all fields and the shortest vector problem in all norms. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing, pages 553–566, 2023. doi:10.1145/3564246.3585214. 13, 14, 52
[BGPS23] Huck Bennett, Atul Ganju, Pura Peetathawatchai, and Noah Stephens-Davidowitz. Just how hard are rotations of ? Algorithms and cryptography with the simplest lattice. In EUROCRYPT 2023, pages 252–281, 2023. doi:10.1007/978-3-031-30589-4_9. 1, 13
[BP20] Huck Bennett and Chris Peikert. Hardness of bounded distance decoding on lattices in norms. In 35th Computational Complexity Conference, volume 169 of LIPIcs, pages 36:1–36:21, 2020. arXiv:2003.07903. 13, 14
[BBE+21] Arnab Bhattacharyya, Édouard Bonnet, László Egri, Suprovat Ghoshal, Karthik C. S., Bingkai Lin, Pasin Manurangsi, and Dániel Marx. Parameterized intractability of Even Set and Shortest Vector Problem. Journal of the ACM, 68(3), 2021. arXiv:1909.01986. 13, 14
[BGLR25] Vijay Bhattiprolu, Venkatesan Guruswami, Euiwoong Lee, and Xuandi Ren. Inapproximability of finding sparse vectors in codes, subspaces, and lattices. In Proceedings of the 66th Annual IEEE Symposium on Foundations of Computer Science, pages 1295–1303, 2025. doi:10.1109/FOCS63196.2025.00068. arXiv:2410.02636v3. 5, 7, 8, 13, 15, 16, 21
[DRS14] Daniel Dadush, Oded Regev, and Noah Stephens-Davidowitz. On the closest vector problem with a distance guarantee. arXiv:1409.8063v2, 2014. 1
[DKMW13] Holger Dell, Valentine Kabanets, Dieter van Melkebeek, and Osamu Watanabe. Is Valiant–Vazirani’s isolation probability improvable? Computational Complexity, 22:345–383, 2013. 14, 15
[DFVW99] Rodney G. Downey, Michael R. Fellows, Alexander Vardy, and Geoff Whittle. The parametrized complexity of some fundamental problems in coding theory. SIAM Journal on Computing, 29(2):545–570, 1999. doi:10.1137/S0097539797323571. 13
[DMS03] Ilya Dumer, Daniele Micciancio, and Madhu Sudan. Hardness of approximating the minimum distance of a linear code. IEEE Transactions on Information Theory, 49(1):22–37, 2003. Preliminary version in FOCS 1999. 1, 3, 4, 13
[Gao03] Shuhong Gao. A new algorithm for decoding Reed–Solomon codes. In Communications, Information and Network Security, pages 55–68, 2003. 1
[GGR11] Parikshit Gopalan, Venkatesan Guruswami, and Prasad Raghavendra. List decoding tensor products and interleaved codes. SIAM Journal on Computing, 40(5):1432–1462, 2011. doi:10.1137/090778274. 13
[GR26] Venkatesan Guruswami and Xuandi Ren. Deterministic parameterized inapproximability of nearest codeword and minimum distance. ECCC Report TR26-234, 2026. 13, 14
[HaS26a] Isaac M. Hair and Amit Sahai. Deterministic hardness of approximation for SVP in all finite norms. Accepted to the 67th Annual IEEE Symposium on Foundations of Computer Science, 2026. arXiv:2604.01451. 14
[HaS26b] Isaac M. Hair and Amit Sahai. Polynomial-factor deterministic NP-hardness for SVP in every norm with . arXiv:2608.14529v3, 19 August 2026. 5, 10, 11, 14, 16, 40, 41, 43, 47
[HaS26c] Isaac M. Hair and Amit Sahai. SVP is deterministically NP-hard for all , even to approximate within a factor of . In Proceedings of the 58th Annual ACM Symposium on Theory of Computing, pages 1716–1727, 2026. doi:10.1145/3798129.3800879. arXiv:2511.04125. 14
[HR12] Ishay Haviv and Oded Regev. Tensor-based hardness of the shortest vector problem to within almost polynomial factors. Theory of Computing, 8(23):513–531, 2012. Preliminary version in STOC 2007. 14
[HeS26] Yahli Hecht and Muli Safra. Deterministic hardness of approximation of Unique-SVP and GapSVP in norms for . In Proceedings of the 58th Annual ACM Symposium on Theory of Computing, pages 886–897, 2026. doi:10.1145/3798129.3800803. arXiv:2510.16991. 2, 4, 13, 37
[HO26] Shuichi Hirahara and Kazuki Ogitsuka. One-sided-error parameterized reductions for the minimum distance and shortest vector problems. In APPROX/RANDOM 2026, volume 392 of LIPics, pages 46:1–46:22, 2026. doi:10.4230/LIPIcs.APPROX/RANDOM. 2026.46. 14, 25, 52
[JX24] Baolong Jin and Rui Xue. Fine-grained hardness of the unique shortest vector problem in lattices. Scientia Sinica Informationis, 54(12):2727, 2024. doi:10.1360/SSI-2024-0145. 1, 13
[Kho05] Subhash Khot. Hardness of approximating the shortest vector problem in lattices. Journal of the ACM, 52(5):789–808, 2005. 1, 13
[KS01] Ravi Kumar and D. Sivakumar. On the unique shortest lattice vector problem. Theoretical Computer Science, 255(1–2):641–648, 2001. 13
[LLM06] Yi-Kai Liu, Vadim Lyubashevsky, and Daniele Micciancio. On bounded distance decoding for general lattices. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, volume 4110 of LNCS, pages 450–461, 2006. doi:10.1007/11830924_41. 1, 4, 13
[LM09] Vadim Lyubashevsky and Daniele Micciancio. On bounded distance decoding, unique shortest vectors, and the minimum distance problem. In Advances in Cryptology—CRYPTO 2009, volume 5677 of LNCS, pages 577–594, 2009. 4, 14
[Mic01] Daniele Micciancio. The shortest vector in a lattice is hard to approximate to within some constant. SIAM Journal on Computing, 30(6):2008–2035, 2001. doi:10.1137/S0097539700373039. 1, 13
[Mic12] Daniele Micciancio. Inapproximability of the shortest vector problem: toward a deterministic reduction. Theory of Computing, 8(22):487–512, 2012. 15
[MG02] Daniele Micciancio and Shafi Goldwasser. Complexity of Lattice Problems: A Cryptographic Perspective. The Springer International Series in Engineering and Computer Science, volume 671. Kluwer Academic Publishers, 2002. doi:10.1007/978-1-4615-0897-7. 1, 15
[MVV87] Ketan Mulmuley, Umesh V. Vazirani, and Vijay V. Vazirani. Matching is as easy as matrix inversion. Combinatorica, 7:105–113, 1987. doi:10.1007/BF02579206. 14
[Ope26] OpenAI. Ten advances in mathematics and theoretical computer science. Chapter 7, “Closest vector problem,” updated 6 August 2026. OpenAI report. 5, 10, 14, 40
[RR06] Oded Regev and Ricky Rosen. Lattice problems and norm embeddings. In Proceedings of the 38th Annual ACM Symposium on Theory of Computing, pages 447–456, 2006. doi:10.1145/1132516.1132581. 13, 14
[SD16] Noah Stephens-Davidowitz. Search-to-decision reductions for lattice problems with approximation factors (slightly) greater than one. In APPROX/RANDOM 2016, volume 60 of LIPIcs, pages 19:1–19:18, 2016. arXiv:1512.04138. 1, 4, 13
[VV86] Leslie G. Valiant and Vijay V. Vazirani. NP is as easy as detecting unique solutions. Theoretical Computer Science, 47:85–93, 1986. doi:10.1016/0304-3975(86)90135-0. 3, 14, 15, 23, 48
[Var97] Alexander Vardy. The intractability of computing the minimum distance of a code. IEEE Transactions on Information Theory, 43(6):1757–1766, 1997. 1
[Wan26a] Daqing Wan. NP-hardness of SVP in Euclidean space. arXiv:2603.27398v3, 2026. 14
[Wan26b] Daqing Wan. Euclidean SVP is deterministically NP-hard to approximate within any constant factor. arXiv:2608.12664v2, 2026. 4, 5, 9, 14, 34
[WZ26] Daqing Wan and Jun Zhang. NP-hardness of bounded distance decoding for Reed–Solomon codes. arXiv:2609.29120v1, 2026. 13
A Isolation calculations
The random parity checks in this appendix define a code with large minimum distance for every random choice. If the instance has a compatible selection, then with inverse-polynomial probability exactly one compatible selection of copied labels has its indicator in that code, as needed for the reductions to uSVP and BDD.
Proposition A.1 (Isolation). Fix a rational number . Consider the blocks and requirements of Section 5.1 for an instance with nonempty blocks, and call a compatible selection a solution. Suppose block contains labels, let , and let be an integer satisfying
Set
There is a universal constant such that, for , one can deterministically find a prime and run either of the following randomized procedures in time polynomial in the numerical value of , , and . Each procedure chooses a number of copies per label and a code . We count selections of copied labels whose original labels form a compatible selection and whose indicator vectors belong to .
(i) If the instance has a solution, exactly one such selection exists under the first procedure with probability at least
(ii) If the instance has exactly one solution, exactly one such selection exists under the second procedure with probability greater than 0.24.
For every random seed, has minimum distance and length . Let be the space of matrices constructed from as in case (ii) of Proposition 5.2. If the instance has no solution, has no nonzero rank-one matrix for any seed.
Let the instance have nonempty label blocks of sizes , and let , where is the constant in Lemma A.3. Set
Give each label copies, so block has coordinates and . We use a Vandermonde matrix so that the code has minimum distance for every choice of nonzero scalars, one for each column. Choosing these scalars at random changes which indicators of compatible selections belong to the code. For , as ensured by the choices of below, choose distinct and set for . Choose the scalars independently and uniformly. They define
Any columns of the Vandermonde matrix are independent, and multiplying columns by nonzero scalars preserves independence. Since , some columns are dependent. The code therefore has distance for every choice of (Lemma F.1).
Let consist of the sets of coordinates chosen by selections of copied labels whose original labels form a compatible selection. Let count the sets in whose indicator vectors lie in . If the original instance has solutions, then . Write
Since , we lower-bound , the expected number of selections of copied labels whose indicators lie in , and upper-bound , the expected number of ordered pairs of distinct such selections. When a compatible selection exists, a suitable number of copies makes the lower bound on exceed the upper bound on by a positive constant.
Lemma A.2 (First and second moments). The random variable X satisfies
Moreover, .
Proof. Let , so . Its indicator lies in when , where is the submatrix of with columns indexed by and is the corresponding vector of scalars. Every is nonzero. Any columns of are independent, so has rank . Over , the equation therefore has solutions before excluding zero coordinates. Since , deleting any column of leaves rank , and each coordinate is zero in solutions. A union bound followed by division by bounds the probability that the indicator of belongs to between and , proving the first line.
Take distinct and let , the number of blocks in which they select different coordinates. If , the two systems and together have rank 2h. In any linear dependence among their rows, restriction to forces the coefficients of the equations for to vanish, since any Vandermonde columns are independent. Restriction to similarly forces the coefficients for to vanish. Thus the probability that both indicators belong to is at most
If , fix the scalars on to any nonzero values satisfying . The scalars on remain independent and uniform in . The columns of indexed by are linearly independent, so at most one assignment to the scalars on satisfies the equations for . With the scalars on fixed, the indicator of belongs to with probability at most . For a fixed set of blocks on which the selections differ, there are at most choices of for each . Summing the corresponding joint probabilities over ordered pairs with bounds their contribution to by . There are at most pairs with , and their contribution is at most . This proves (8). The third follows from . Finally use and .
A.1 Choosing the number of copies
is the expected number of compatible selections of copied labels whose indicators lie in . When a compatible selection exists, a suitable number of copies makes lie between positive constants. Since the number of original solutions is unknown, we choose an index uniformly at random from a list of possibilities and use the corresponding number of copies. Under a promise of at most one solution, we use a single value.
Set . The number of compatible selections before copying is at most , so if it is positive, one of the powers for approximates it within a factor of two. The algorithm chooses uniformly. If there are solutions, the analysis uses . For each , we choose to make roughly the reciprocal of , which makes a positive constant for a suitable guess. Specifically, let be the largest integer satisfying
For an instance promised to have at most one solution, use instead the largest integer satisfying
The next lemma controls the effect of rounding. Binary search computes these integers.
Lemma A.3 (Bounds for the number of copies). There is a universal such that, if and , every choice or satisfies
If is the positive real solution when the applicable inequality in (10) or (11) is replaced by equality, then .
Proof. Each , so
In particular, and . The bounds on and follow from and . Also , so in either case. Take large enough that . The lower bound on then implies . Consequently
Since and , we have and hence .
Proof of Proposition A.1. Find by Lemma F.4. The first procedure guesses uniformly and uses copies. The second uses . First suppose the scalars are independent and uniform on . For , the choice ensures . Lemma A.3 makes the factor in (9) positive on this interval. Since , (9) gives
This concave quadratic exceeds 0.22 at both endpoints. When the original instance has exactly one compatible selection, ensures , and the same quadratic exceeds 0.249 throughout that interval.
Both procedures use a fixed number of fair bits as follows. For the first, let and . A uniform residue modulo determines a uniform guess and independent uniform nonzero scalars. We use only the first scalars, where is the length for the chosen guess. Let , choose uniformly from using fair bits, and use . Every residue has probability at least
so every set of residues has probability at least 0.99 times its probability under the uniform distribution modulo . For the second procedure use . These integers and random tapes have polynomial bit length. The implemented success probabilities therefore exceed
respectively.
For every random tape the scalars are nonzero. Lemma A.3 implies , and Lemma F.1 establishes distance for the code defined in (6). Proposition 5.2(ii) shows that contains no nonzero rank-one matrix when the original instance has no compatible selection, for every random choice.
B Tensor amplification for codes and lattices
B.1 Lower bounds on weight and norm from slices and columns
We prove the lower bounds on weights and norms of tensors used to establish minimum distances and uniqueness factors in the code reduction and the lattice reductions for constant factors. The proofs add contributions from disjoint slices. The induction needs independent short columns at each order. If the code has minimum distance at least , a nonzero order- array whose fibers lie in the code has at least nonzero entries. For the tensors in the induction, this count ensures that deleting sufficiently few columns preserves their span, leaving independent short columns.
Lemma B.1 (Support in a product code). Let be a field and let be a linear code with minimum distance at least . Let be a nonzero order- array, with , such that every one-dimensional fiber of , formed by fixing all but one index, belongs to . Then
Proof. For , this is the minimum distance of . For , choose a nonzero fiber along the first index. It has at least nonzero positions. Fixing the first index at each such position gives a nonzero order- slice satisfying the same constraint on its fibers. By induction, each of these disjoint slices has at least nonzero entries, giving at least nonzero entries in all.
Use a code and the space of matrices from Proposition 5.2, and the spaces from Section 5.2. Let be a finite lower bound on the minimum distance of a code containing each tensor fiber. The following lemma shows that the union of the supports of sufficiently many short integer columns with distinct residues in contains more than rows. In the induction that follows, each such row fixes a disjoint slice with one fewer index. The inductive bounds on Hamming weights or on th powers of norms add over these disjoint slices, yielding the bound at the next tensor order.
Lemma B.2 (Many short columns). Let have distance at least , and let and . Let have pairwise distinct residues modulo in and satisfy
If is the size of the union of their supports, then
Proof. We adapt the argument of [Wan26b, Lemma 5.1] for agreements among integer entries. Let
Then and . Select columns, and let be the number of rows in the union of their supports. For any integers ,
At most entries are first occurrences of values with . Each entry with contributes at least 4K to the first term. Each remaining entry repeats an earlier value. Pair it with the first occurrence of that value. These pairs are distinct and each contributes 4K to the second term.
Two selected columns have distinct residues in , so their difference modulo is a nonzero codeword with at least nonzero entries. Thus they disagree on at least coordinates and agree on at most rows in the union of the supports of all selected columns. Sum the preceding inequality over these rows and use for each selected column:
Consequently
For the middle inequality write , . After clearing positive denominators, the difference is . Since , this proves the lemma.
Lemma B.3 (Weight and norm from disjoint slices). Suppose V has no nonzero rank-one matrix. Consider either
(i) over , with , injective, and EC of distance at least , where , or
(ii) for , integer with and of distance at least , where .
Let and . Suppose for every that any independent columns in EC in (i), or integer columns whose residues modulo are independent and lie in in (ii), each with at most , have supports whose union contains at least rows. Then every nonzero such tensor satisfies
Proof. We induct on . For , the minimum distance of EC proves (i). For (ii), let be a nonzero integer vector whose residue lies in . If its residue is nonzero, it has at least nonzero entries by the minimum distance of . If its residue is zero, some entry is a nonzero multiple of , so . In (ii), assume , so every nonzero entry has nonzero residue. We seek short columns that span the columns of over in (i), or whose reductions modulo span the columns of over in (ii). Suppose and discard columns with . Fewer than columns are discarded, since otherwise their contribution to would exceed .
These deletions preserve the span in each case. Otherwise, choose a linear function that vanishes on the remaining columns but not on a discarded column. Its values on all columns form a nonzero order- array supported only at discarded positions. Each fiber is a linear combination of fibers of X in (i), or of X mod P in (ii), so it lies in EC or C, respectively. Lemma B.1 gives at least nonzero entries, but fewer than columns were deleted, a contradiction. When V has no nonzero rank-one matrix, Lemma 5.3 gives rank at least r for the flattening of T in (i) and of X mod P in (ii). The flattening of X in (i) is E times the flattening of T times , and both multiplications preserve rank because E is injective. Thus at least r independent short columns remain in (i), and at least r columns with independent reductions modulo P remain in (ii).
Together, these columns have nonzero entries in at least rows. Fixing the first coordinate at one of these rows produces a nonzero slice of order satisfying the inductive hypotheses. In case (i), first combine the slices of along the first coordinate using the entries of the corresponding row of as coefficients. Then apply to each of the remaining indices. The result is the corresponding slice of . In (ii) each slice has norm below and has nonzero residue. Add the inductive lower bounds for these disjoint slices:
a contradiction.
Theorem B.4 (Norms of integer tensors). Let be prime, and let and be as in Proposition 5.2. Assume for a finite . Fix and an integer , and let , .
Let be the coordinates in the first block. For , let
(i) If has no nonzero rank-one matrix, every nonzero integer with satisfies .
(ii) If the rank-one matrices in are precisely the nonzero scalar multiples of , with a Boolean indicator of a compatible selection, every nonzero integer with and satisfies .
The condition in part (ii) excludes the nonzero multiples of , which may be short, since .
Proof. For part (i), apply Lemma B.3 with . For , the support of a nonzero codeword contains at least rows. For , let . Consider any integer columns whose residues modulo are independent and lie in , each with th power of its norm at most . Lemma B.3 requires the union of their supports to contain at least rows. Since , Lemma B.2 gives at least rows. It remains to compare these quantities. Since ,
By Lemma B.3, . Its proof also shows when .
For part (ii), it again suffices to consider integer tensors with . Let . It is nonzero, and every nonzero entry of remains nonzero in . Lemma B.1 bounds the support of , implying , covering . For larger , reducing modulo gives . Lemma 5.3(iii) identifies a nonzero slice at a label outside supp . Let be a column of the flattening of with a nonzero coordinate outside . The equations defining imply that the entries of sum to the same value in each block. Subtracting makes the entries sum to zero in every block and leaves the coordinates outside unchanged. Since and is linear, the resulting vector is a nonzero codeword. Since contains one coordinate per block, every nonzero entry of indexed by must be accompanied by a nonzero entry outside in the same block. The blocks are disjoint, so
Consequently has at least nonzero coordinates outside . Each such coordinate identifies a nonzero slice of , so at least disjoint slices at labels outside are nonzero. By Lemma 5.3(i) and (iii), each belongs to , where has no nonzero rank-one matrix and has distance at least . Apply the bound from part (i) for tensors of norm below to the integer slices at these labels outside supp . Their residues are nonzero, and summing the th powers of their norms over these disjoint slices shows that
using and .
Proposition B.5 (Lower bounds on norms of integer tensors). Fix polynomial-time computable parameters and G > 1. There is an integer , with , such that for every integer one can compute an integer
with the following property. Fix an instance with g blocks and the requirements of Section 5.1, and assign copies to its labels. Let be the coordinates for copies from block i, and set
Let be the number of copied coordinates. For a prime with , let have distance at least , and let be the space of matrices defined by case (ii) of Proposition 5.2, including diag . Use the tensor spaces defined in Section 5.2. If exactly one compatible selection has its indicator in , let be that indicator. The tensor has residue in , norm , and satisfies , where . In this case, every nonzero integer tensor with residue in and over the integers has norm greater than . If no compatible selection has its indicator in , every nonzero integer tensor with residue in has norm greater than .
Proof of Proposition B.5. We choose the tensor order proportional to so that the factor in Theorem B.4 is larger than . Choosing inversely proportional to keeps bounded below by a constant. Thus remains comparable to , the norm of a tensor encoding a selection. Choose an integer , let , , and choose an integer . Set . Bernoulli's inequality implies
Choose an integer by rational approximation. Then . When exactly one compatible selection has its indicator in , let be that indicator. Proposition 5.2(ii) says that the only nonzero rank-one matrices in are multiples of . Every matrix slice of the symmetric Boolean tensor is zero or , so its residue lies in . It has norm and satisfies . Theorem B.4 bounds the norm of every nonzero integer tensor with and from below by
because and . If no compatible selection has its indicator in , Proposition 5.2(ii) implies that has no nonzero rank-one matrix. Theorem B.4(i) then shows that every nonzero integer tensor with residue in has norm greater than .
C Deterministic reductions and success probability
C.1 Deterministic reductions
Hecht and Safra discuss a related obstruction to deterministic NP-hardness of uSVP in terms of Promise-UP, the promise-problem analogue of UP [HeS26, Section 7, arXiv version]. For the decision problems of Euclidean uSVP and BDD with rational input data (Definition 1.1), Proposition C.1 shows that deterministic promise-preserving NP-hardness would imply NP = UP.
Proposition C.1 (Unambiguous verification). For every fixed polynomial-time computable and every fixed polynomial-time computable , the Euclidean problems and of Definition 1.1 reduce in deterministic polynomial time to UniqueCircuitSAT, and every promised input maps to a promised input. Therefore, a deterministic polynomial-time many-one reduction from SAT to either lattice problem whose output satisfies the promise on every input would imply NP = UP.
Proof. For , a verifier guesses integer coefficients and checks using rational arithmetic. Two different accepted points both lie within of the target, so their nonzero difference is a lattice vector of length at most . The promise gives , a contradiction. Since the basis columns are independent, each point has one coefficient vector. Hence there is at most one witness on every promised input.
For , require , , , and a positive first nonzero coefficient. On a promised YES input, the promise implies that all vectors of length at most lie on one real line. Its intersection with the lattice has one primitive generator up to sign. The primitivity check excludes nontrivial multiples, and the sign rule chooses one of the two generators, so the verifier accepts exactly one witness. On a promised NO input no nonzero vector has length at most , so it accepts none.
To build a circuit with a fixed number of input bits, we show that every coefficient vector that the verifier accepts has polynomial bit length and can be encoded uniquely. Let be the input length, and multiply the basis and target by a common denominator of polynomial bit length. An accepted lattice vector has norm at most in uSVP. In BDD an accepted lattice point has norm at most . Both quantities are at most , so the integer coordinates of have polynomial bit length. Choose an invertible square submatrix of . Its determinant is a nonzero integer, and every cofactor has polynomial bit length. Cramer's rule bounds each coefficient of by .
Encode each coefficient by a fixed polynomial number of bits with one sign bit and no negative zero. Each coefficient vector then has one binary representation. Comparing rational squared norms and checking gcd and sign conditions take polynomial time. The verification circuit therefore accepts exactly one binary representation of each coefficient vector that the verifier accepts.
Compose this circuit with a deterministic polynomial-time reduction from SAT whose output satisfies the lattice promise on every input. The resulting SAT verifier is unambiguous on every input, so SAT belongs to UP and NP = UP.
The deterministic converse reductions in the Euclidean norm remain open:
The uSVP verifier uses the promise . The condition alone does not make the same verifier unambiguous for an arbitrary threshold . For example, has when , but the threshold admits several primitive vectors.
Remark C.2. The lattice construction in Proposition F.5 can be strengthened to satisfy on NO outputs as well. Choose an integer and run this construction with uSVP uniqueness factor and BDD parameter . Add the one-dimensional summand . On NO outputs, this summand spans the line containing all shortest nonzero vectors, since every nonzero vector of the original lattice is longer than . When the construction succeeds on a YES input, the original vector representing the selection has length at most . Any vector that is not a real multiple of it either has a nonzero coordinate in the added summand and thus has length at least , or lies in the original lattice and is longer than by the original lower bound on the norms of such vectors. Thus in both cases, with unchanged success probability.
C.2 Isolation probability
When isolation succeeds, a solution of the output instance lets us recover an input accepted by the original circuit. This recovery lets us apply known limitations on the probability that isolation succeeds. For code BDD, the unique error is . Apply and take the diagonal in (4). The row added to the parity-check matrix fixes the scalar to one, so this recovers the indicator of the compatible selection.
For either lattice problem in the construction of Theorem 7.1, removing the last coordinate of a solution leaves , up to sign for uSVP, by Lemma 5.4. Whether its entry indexed by is zero determines . For the construction in Theorem D.1, Section D.5 shows how to recover the selection from a solution. The selected labels, including those in the blocks for input bits occurring in no gate, determine the circuit input. In the cases handled by direct evaluation or enumeration, that computation already finds an input accepted by the circuit.
To apply Proposition 4.2, associate an output circuit to each original circuit and random seed. When the lattice construction copies labels and forms a code by multiplying the columns of a parity-check matrix by random nonzero field elements, the output circuit has one input bit per copied label, representing an indicator . It checks that one label is selected in each block, that , and that
The copied coordinates are ordered by original block, label, and copy, so and the output circuit's input length determine their interpretation. For every seed, from any input accepted by the output circuit we can recover an input accepted by the original circuit . On a run decided directly, output a circuit accepting no input if is unsatisfiable, and otherwise a circuit accepting only the first accepted input found by the evaluation or enumeration. Thus the output circuit is unsatisfiable whenever is unsatisfiable. Whenever exactly one selection of copied labels, one per block, has an indicator satisfying both equations above, the output circuit accepts exactly one input. From that input we can recover an input accepted by .
For the code reduction, use the circuit that checks the original circuit together with the random constraints of Valiant and Vazirani. Its input is an assignment to . Every accepted input satisfies , and a successful random choice leaves exactly one accepted input. The recovery map is the identity.
For the circuits and deterministic recovery procedures constructed above, Proposition 4.2 implies coNP NP/poly if the output circuit accepts exactly one input with probability greater than for every satisfiable circuit of description length . The reductions from
UniqueCircuitSAT use the promise that the original circuit accepts at most one input to achieve constant success probability.
In the reduction from CircuitSAT to code BDD, we first add the random constraints of Valiant and Vazirani to the original circuit's input variables. The lattice reduction in Theorem D.1 uses the same initial procedure. For every random choice, each input accepted by the resulting circuit is also accepted by the original circuit. By Proposition 4.3, NP P / poly if, for every satisfiable circuit, the resulting circuit accepts exactly one input with any fixed positive probability. In the lattice reduction of Theorem 7.1, the circuit for copied selections has different variables and uses a separate recovery map, so Proposition 4.2 applies there instead.
D Polynomial factors for
To make the uniqueness factor polynomial while keeping the dimension polynomial, we use polynomial interpolation and weighted moments instead of tensor powers. We build on the CVP construction of OpenAI using interpolation and moments [Ope26, Chapter 7] and its adaptation to ordinary SVP using weighted moments by Hair and Sahai [HaS26b].
A selection determines a polynomial whose value at each block's anchor is the value assigned to its chosen label. The anchors are distinct field elements. We encode the polynomial's values at the other field elements in an array indexed by a label, a point, and a possible value. Linear constraints ensure that the moments we use, as the point varies, are values of polynomials of bounded degree, called moment polynomials. These constraints also enforce the values at the anchors and agreement on shared wires. We apply a Hadamard matrix to each fiber, meaning the coordinates with a label and a point fixed. We construct an integer-valued linear function that equals one on the vector produced by applying the Hadamard map to the encoding of any selection. Our task is to prove that every nonzero lattice vector is much longer than an encoding when the circuit accepts no input, and that the same holds for every nonzero vector with when it accepts only one input.
Many nonzero integer entries in a fiber force a large norm after the Hadamard transformation. Thus a sufficiently short lattice vector must come from an array in which every label's fiber has few entries nonzero modulo the prime at each of more than half the points. Reconstruction from weighted moments at these points represents each label's moment polynomials as weighted sums of powers of a small number of algebraic quantities called nodes. The coefficients, called weights, and the nodes are the same for all the moment polynomials of a given label. For each node, collect its weights across labels into a vector. The constraints at the block anchors ensure that this vector has at most one nonzero entry per block. The compatibility equations then make it a scalar multiple of the indicator of a compatible selection. If no input is accepted, there can be no nodes, so the moment polynomials vanish. If exactly one input is accepted, a determinant argument shows that at most one node can occur. Its nonzero weight would then contradict , so the moments vanish in this case too. Vanishing moments force a nonzero fiber with integer entries to have many entries nonzero modulo the prime or an entry of magnitude at least the prime. The Hadamard transformation turns either alternative into a lower bound on the vector's norm. These bounds let Lemma 5.4 construct full-rank uSVP and BDD instances. Section D.6 constructs a nonzero vector much shorter in Euclidean norm than the encoding of a compatible selection in this construction.
For , use the same threshold problems as in Definition 1.1, with the maximum norm in place of .
Theorem D.1. Fix a rational and a constant
There are deterministic polynomial-time promise-preserving reductions from UniqueCircuitSAT to and in . The same conclusion holds for and every fixed . Here is both lattice rank and ambient dimension. The bases and targets are integral, and the thresholds are rational.
An unsatisfiable circuit always maps to a promised NO instance. A circuit that accepts exactly one input maps to a promised YES instance. Applying the randomized reduction of Valiant and Vazirani before the deterministic construction produces randomized polynomial-time reductions from CircuitSAT with inverse-polynomial success on satisfiable inputs and promised NO outputs on every seed for unsatisfiable inputs.
For example, Theorem D.1 applies with and . Corollary E.1(ii) states the corresponding search results. Remark D.7 extends Theorem D.1 to every fixed real .
We use the result of Hair and Sahai on reconstruction from weighted moments [HaS26b, Lemma 5.1] as Lemma 4.5. Their Lemmas 6.1–6.2 show that the monic polynomial whose roots are the nodes has coefficients that are polynomials in and satisfies conditions at the anchors. Lemmas D.3 and D.4 prove the versions needed for our labels: this polynomial has coefficients in and becomes a power of at the anchor of the block containing label . The conclusion in Lemma D.4 that representations for distinct labels in one block have no node in common is analogous to Hair and Sahai's conclusion for incompatible Boolean labels [HaS26b, Corollary 6.3]. Theorem D.5 proves the additional conclusion that, when the circuit accepts exactly one input, the moments agree up to a scalar with those of its encoding. The cited Hair–Sahai lemma and corollary numbers are those in arXiv:2608.14529v3.
D.1 Interpolation and constraints on moments
We define a linear code over containing the encodings of compatible selections and later form a lattice from integer arrays whose reductions lie in (Section D.4). To bound the norms of lattice vectors, we need constraints on every codeword, including those that do not encode compatible selections. We encode selections by evaluating polynomials and impose linear constraints on moments. These constraints allow us to reconstruct the moments of codewords with few nonzero entries in every label's fiber at many common points, and relate those moments to compatible selections.
Use the blocks of allowed assignments and compatibility equations from Section 5.1 without copying labels. Handle gate-free circuits and empty blocks directly. If there are fewer than two blocks, add blocks with one allowed label until their number is at least two. Write , and use the matrix defined for these blocks, with at most nonzero entries per row. Adding these blocks preserves satisfiability and uniqueness. Fix an integer sufficiently large depending only on the fixed and . Choose a constant large enough to ensure the numerical lower bounds in this appendix, including (26) and the hypothesis of Lemma D.8.
Choose . Let
Choose a prime , distinct anchors , and, within each block, distinct values for its labels. Set . For fixed , deterministic prime search takes polynomial time. The coordinates are , with , , . Each pair indexes a fiber of coordinates, one for each . In the encoding of a selection defined below, is a possible value of its polynomial at . Write
The following bounds will let us express the ratio between the norm lower bounds and the encoding's norm as a power of the output dimension:
For , let be the subspace of evaluation vectors of polynomials of degree at most . Define by two families of equations. The first reflects the value a selected label prescribes at its block's anchor: if a polynomial of degree at most satisfies , then has degree at most . For each , impose
The second family applies the compatibility equations to vectors of moments across labels at each point. Once we show that different labels in a block cannot share a node, these equations will imply that, for each node, the vector of its weights across labels is a scalar multiple of the indicator of a compatible selection. For a fiber , its th moment is . Impose
All constraints are homogeneous and linear in . For each Reed–Solomon evaluation space, a parity-check matrix gives linear equations for membership and can be computed by linear algebra. Gaussian elimination then computes a basis and a parity-check matrix for in time polynomial in and , which is polynomial in the input size for fixed .
For a selection with indicator , let be the unique polynomial of degree at most with for its selected label . Define . It has entries equal to one and satisfies (16). If , then also satisfies (17) and belongs to .
Remark D.2. The degree is essential for uniqueness. If we allowed degree , the polynomials
would produce distinct encodings of the same selection, all with the same weight. The degree bound fixes the interpolating polynomial from its values at the anchors.
Let . Since , evaluations on uniquely determine polynomials of degree at most . For each and , let be the unique polynomial of degree at most whose values are the sums in (16). The binomial theorem gives the following polynomials, called moment polynomials, whose values at are the moments :
(18)
Uniqueness of polynomial interpolation also implies
D.2 Moment reconstruction and polynomial coefficients
To relate the nodes from Lemma 4.5 to compatible selections, we first show that different labels in a block cannot share a node. For a label , consider the monic polynomial whose roots are the nodes representing its moment polynomials . We show that its coefficients lie in and that it becomes a power of at . If two labels in a block shared a node, their polynomials would have a common monic factor. At the anchor, this factor would divide powers of two different linear polynomials, a contradiction. The following determinant identity removes denominators and, with , recovers the conclusion of Hair and Sahai [HaS26b, Lemma 6.1] under the same condition on the number of moments.
Lemma D.3 (Polynomial coefficients). Let be a field. Suppose distinct nodes and nonzero weights lie in an algebraic closure of and define the moments through order . For , let . Let and . Then and . If is the monic least common denominator of the coefficients of and , then . In particular, if , , and , then .
Proof. For the Vandermonde matrix , , so and . All for use moments through . By the binomial theorem,
By minimality of , the polynomial is primitive over : its coefficients as a polynomial in have no common nonconstant factor in . By Gauss's lemma, powers of primitive polynomials remain primitive. The coefficients of therefore have greatest common divisor one, so the coefficients of have greatest common divisor up to a nonzero scalar in . Multiplying (20) by shows that every coefficient of is divisible by . The preceding greatest-common-divisor calculation therefore implies . If , then . The bound on implies , forcing .
Lemma D.4 (Polynomial coefficients and evaluation at anchors). For a label , consider the representation of from Lemma 4.5, and suppose and arise from the same fibers of one array at the points in , as in (19). Suppose also that
Let for the nodes in that representation. Then and . If two labels in the same block both satisfy these hypotheses, their polynomials have disjoint root sets.
Proof. If there are no nodes, then . For , (19) implies the polynomial identities
The values remain distinct. Let
Since , including when , Lemma D.3 implies that . Hence
If two labels shared a root, their monic nonconstant greatest common divisor over would lie in by Gauss's lemma, since both polynomials are monic in and have coefficients in . Evaluating at preserves its positive degree because it is monic, and yields a divisor of two coprime powers of distinct linear polynomials, a contradiction.
D.3 Reconstruction from fibers with few nonzero entries
To bound the norms of lattice vectors, we first determine which moment polynomials are possible for codewords with few nonzero entries per fiber. When every label's fiber has few nonzero entries at many common points, Lemma 4.5 represents its moment polynomials by nodes and weights. For each node in the representations, collect its weights across labels into a vector , using zero for a label whose representation does not contain . Lemma D.4 shows that at most one coordinate of in each block is nonzero. The equations on the moments and the invertibility of a Vandermonde matrix imply separately for every node. These equations force to be a scalar multiple of the indicator of a compatible selection. Thus all moments vanish if the circuit is unsatisfiable. If the circuit accepts exactly one input, a further argument using the prescribed values at the anchors bounds by one the number of nodes that occur for every selected label, and the moment polynomials for agree up to a scalar with those of the encoding of that selection.
For , let contain more than half the points, and suppose every label's fiber of at every point in has at most nonzero entries. The parameters satisfy
Indeed, using , and , we have . Thus Lemmas 4.5 and D.4 apply, including when . The sum of the entries in the first block of at any point is one. On a multiple , this sum equals in . For arrays over , fix and define a linear function with values in by .
Theorem D.5 (Moments when fibers have few nonzero entries). Let , and suppose there is a set containing more than half the points such that, for every and every label , the fiber has at most nonzero entries. If the circuit is unsatisfiable, for every label and . If the original circuit accepts exactly one input and is the indicator of its compatible selection, then the moment polynomials of equal those of for . In this case, for every , label , and , we have . The moments through of vanish on every fiber at every point in .
Proof. Apply Lemma 4.5 to each label's moment polynomials on choosing all representations in one algebraic closure of . Let be the weight for label at node , or zero if absent. For a row of , at most nodes occur in . For each , the polynomial has degree at most . It vanishes at every point of by (17), so it is identically zero. Thus these sums vanish for the first values of . They are power sums of the at most distinct nodes, with weight at node . The Vandermonde matrix on the distinct nodes is invertible, so each of these weights is zero.
Let be an extension field of containing all the nodes and weights in these representations. Then belongs to . Lemma D.4 implies that at most one entry per block is nonzero. Lemma 5.1 therefore yields , where and is the indicator of a compatible selection. If the circuit is unsatisfiable, there is no compatible selection, so there are no such nodes.
When the original circuit accepts exactly one input, all equal the indicator of its unique compatible selection. For each node, and , so the node has the same weight at every selected label and is absent at every unselected label. Let be the number of nodes that occur for every selected label, and write these nodes as with nonzero weights . For , the common moment polynomial of the selected labels is , while unselected labels have zero moments. Let . We show that by comparing the degree of a nonzero determinant formed from these moments with the zeros forced at the anchors. If , the matrix (here ) factors as , where is the Vandermonde matrix of the distinct nodes and the weights are nonzero. Hence
For the selected label at anchor , let . Let be the lower triangular matrix with entries for . Its diagonal entries are all one. By (19),
The entry of is
Taking determinants shows that for every . The factors are pairwise coprime, so their product with these multiplicities divides . If , the product has degree , exceeding the bound on , a contradiction. Thus . If , its weight is the constant , and the node is a polynomial of degree at most . By Lemma D.4, it takes value at every . The defining polynomial has the same values at these points and degree at most , so the two polynomials are equal. If , there are no nodes.
In either case, for , every selected label has moment , while every unselected label has zero moments. These are the moments of at every label and point. For each label and point the fiber of has at most nonzero entries. Its first moments vanish, so it is zero by Vandermonde invertibility.
The equations imposed in (17) yield for , where . The argument separating weights at distinct nodes works for any circuit: if more than half the points have at most nonzero entries in every label's fiber, then for every . A nonzero fiber whose moments through vanish has at least nonzero coordinates. Indeed, the first moments determine the weights on any set of at most distinct coordinates by Vandermonde invertibility. This applies to a fiber of when the circuit is unsatisfiable and to a fiber of when the circuit accepts exactly one input. The next subsection uses this lower bound on the number of nonzero coordinates to bound the norms of vectors in the constructed lattice.
D.4 Constructing the lattice and bounding norms
To apply the preceding reconstruction result to short lattice vectors, we show that a sufficiently short vector comes from an integer array with few entries nonzero modulo in every label's fiber on one set of more than half the points. Multiplying each fiber of the array by a Hadamard matrix bounds the norm of its image from below in terms of the number of nonzero integer entries in the fiber. Images of fibers at distinct points use disjoint coordinates, so the th powers of their norms add for finite . For , one fiber with many nonzero entries already forces a large norm.
Take . Choose as the least power of two at least , take rows of a Sylvester Hadamard matrix of order , and apply to every fiber indexed by , as in Hair and Sahai [HaS26b, Section 8.2]. This defines an injective integer map . For , with , we have
For this inequality appears in [HaS26b, Lemma 8.2]. It follows, including at , from and . For a selection with indicator , the vector has norm
with when . The first Hadamard column is constant one, so
defines a linear function with values in using the coordinates corresponding to the all-ones column. The sum over the first block is one for every selection, so . We also have .
If and , with defined in (23), then, at more than half the points, every label's fiber of has at most entries nonzero modulo . If a nonzero fiber has integer entries and its first moments vanish modulo , then , where is defined below. This also holds when . We compare with by letting
(23)
Theorem D.6. If the circuit is unsatisfiable, every nonzero vector of has norm at least . If the circuit accepts exactly one input, the same bound holds for every nonzero with .
Proof. Suppose has norm less than , and let . Call a fiber of bad if its residue modulo has more than nonzero entries. Call a point bad if at least one fiber at that point is bad. There are at most as many bad points as bad fibers. For finite , each bad fiber contributes at least to , by (21). The definition of implies
Since , there are fewer than bad fibers, hence fewer than that many bad points. For , the bound leaves no bad fiber. Thus more than half the points have at most nonzero entries in every fiber of .
If the circuit is unsatisfiable, Theorem D.5 implies for every label , point , and . If it accepts exactly one input and , the scalar in that theorem is , so the same sums vanish. Since is nonzero, some fiber of is nonzero. Choose one. If it is zero modulo , all its coordinates are multiples of , so one has magnitude at least . Otherwise Vandermonde invertibility forces at least entries that are nonzero modulo . By (21),
a contradiction.
D.5 Polynomial factors for uSVP and BDD
We compare with the rank of the lattice we construct to verify the exponent in Theorem D.1. We then apply Lemma 5.4 to construct the uSVP and BDD instances.
Since and ,
Also and , giving
Using , we bound and below, up to constant factors, by powers of with respective exponents
As , these exponents tend to and , respectively. By the choice of , both exceed in Theorem D.1. Each output lattice has rank and ambient dimension . The choice of in Section D.1 ensures
To apply Lemma 5.4 with rational inputs, compute a rational strictly below and a rational upper bound on , the norm of the encoding of a compatible selection. Choose between and and with . By (26), these choices satisfy and , as required by the lemma. These computations take polynomial time for fixed rational , and when . Lemma 5.4, applied to , whose rank may be smaller than its ambient dimension, constructs full-rank instances of uSVP at and BDD at , both with integer bases and threshold . The basis of , the matrices defining the Hadamard map and , and the basis after completion all have polynomial bit length.
Isolation and recovery. Add random constraints to the original circuit as in Valiant and Vazirani [VV86], then apply the deterministic reduction from UniqueCircuitSAT. Unsatisfiability is preserved on every seed, and when the original circuit is satisfiable, the resulting circuit accepts exactly one input with inverse-polynomial probability. For Corollary E.1(ii), when the random constraints leave exactly one input accepted by the circuit, removing the last coordinate from a solution to either search problem leaves , up to sign for uSVP, by Lemma 5.4. At , each label has one coordinate coming from the all-ones column of . It is for BDD and , with one common sign, for uSVP. The nonzero coordinates among these identify the selected labels, and Lemma 5.1 recovers the circuit input.
Remark D.7 (Every fixed real ). The construction also gives hardness for uSVP with uniqueness factor and for BDD with radius for every fixed real and a suitable constant
. Choose a rational with close enough to that is smaller than some rational exponent allowed by Theorem D.1 for . Choose a rational with . These are fixed constants, and every satisfies .
Apply the construction for with exponent . Write for the parameter in this construction. This is the -norm of every encoding of a compatible selection when one exists. The construction in Theorem D.1 provides a threshold and a number with the following norm and distance bounds. In the uSVP YES case, the vector produced from the encoding of the compatible selection, with its appended coordinate, has -norm below , while every lattice vector that is not a real multiple of it has -norm above . In the NO case, every nonzero lattice vector has -norm above . For BDD, the shortest nonzero lattice vector has -norm above in both cases. The YES target is within of the lattice point corresponding to the encoding, and in the NO case its -norm distance from the lattice exceeds . Dividing these lower bounds by establishes the conditions in the norm for uSVP with uniqueness factor and for BDD with decoding radius , for sufficiently large . For uSVP, ensures that every shortest vector is proportional to the vector constructed from the encoding, so the recovery procedure still applies. For BDD, excludes any other lattice point within distance of the target. Since the point corresponding to the encoding is within distance , it remains the closest point and the recovery procedure applies. Smaller instances can be handled directly, and the reduction uses only the fixed rational constants.
D.6 A Euclidean obstruction
To extend this construction to the Euclidean norm, we would need every nonzero lattice vector with to be much longer than an encoding. We show that this requirement fails for the lattice constructed here. For every circuit to which the construction applies, including an unsatisfiable one, we instead construct a nonzero vector with whose Euclidean norm is much smaller than , the norm an encoding would have. We form an integer array with nonzero entries at only one point, choosing them so that all moments through order vanish modulo , then apply the Hadamard map .
Lemma D.8 (A short vector with vanishing moments). Let be prime and , and let . If , there is a nonzero with
Proof. Choose disjoint pairs of field elements. Each selection of one element from every pair has exactly elements and determines power sums in . Since , there are selections. Thus two distinct selections have the same power sums of orders 0 through in . Let be the difference of their indicator vectors. Then , its coordinate sum is zero over because the selections have equal size, and its support has size at most .
Theorem D.9. For every circuit to which the construction in Section D.1 applies, satisfiable or not, the lattice contains a nonzero integer vector v with
It has , so both constructed lattices contain with the same norm. When the original circuit accepts exactly one input, the vector is linearly independent of the vector representing the selection.
Proof. The parameters imply , so the choice of in Section D.1 ensures the hypothesis of Lemma D.8, since is fixed. Let , and let be the nonzero vector from Lemma D.8. Choose a block , a label , and a point . Define the integer array by for every , with all other entries zero. For , in . By the binomial theorem, in as well. The zero moment polynomials satisfy both families of code constraints, so and hence . By orthogonality,
Divide by and use , , , and . The entries in every fiber of sum to zero over the integers, so . The vector representing a compatible selection has , proving independence. Both constructed lattices contain .
For this construction, a nonzero vector in is much shorter in Euclidean norm than the encoding of a compatible selection. Thus the hypothesis of Lemma 5.4 fails when the lemma's parameter is set to the norm of that encoding. For a concrete example, consider the integer vector indexed by with entries +1 at , entries -1 at , and zero elsewhere. Its coordinate sum is zero over the integers, its first and second moments are zero modulo 101, and its squared norm is six. The asymptotic bound follows from Lemma D.8.
E Search versions and additional consequences
E.1 Search versions
We prove hardness of the search problems by recovering an input that the circuit accepts from a solution to a constructed instance. The reduction checks the recovered input on the original circuit, preventing false positives regardless of what the oracle returns. We use the following oracle convention. On a uSVP input with , the oracle must return a shortest nonzero vector. On a lattice BDD input with , it must return a closest lattice point. On a code BDD input for which an error with and weight at most exists and , it must return such an error. On any other query it may return an arbitrary string. We specify how solutions are represented. For the lattice problems, represent a solution by its integer coefficients in the input basis. Each coefficient is encoded by one sign bit followed by the shortest binary representation of its magnitude. Separate the coefficients by commas. For code BDD, encode each entry of the error vector over by a fixed binary string of length .
To process any string returned by the oracle in polynomial time, the reductions bound the number of bits representing a valid solution by a polynomial in the number of bits describing the instance sent to the oracle. For the lattice problems, clearing denominators and applying Cramer's rule, as in Proposition C.1, bounds the bit length of the coefficients in terms of the number of bits describing the instance sent to the oracle and the norm of the lattice vector they represent. For the search version of uSVP, a shortest vector is no longer than a basis vector. For an input to the search version of lattice BDD with , the closest lattice point has norm at most , and is at most the norm of a basis vector. These norm bounds also bound every coordinate, so the argument applies in every fixed norm, including . An error vector for code BDD has the given block length over fixed , with each entry encoded in a constant number of bits. The reductions read at most one bit beyond the polynomial bound and reject oversized or malformed strings before arithmetic, keeping their computation polynomial for any string returned by the oracle.
Corollary E.1 (Search versions). Under the oracle convention in this subsection, each of the following search problems is NP-hard under randomized polynomial-time oracle reductions that make at most one oracle call, have no false positives, and succeed with inverse-polynomial probability when the input circuit is satisfiable.
(i) The search versions of -uSVP and BDD at radius in , for every fixed polynomial-time computable , , and .
(ii) The search versions of -uSVP and BDD at radius in , for the parameters p and of Theorem D.1, including , where n is the rank of the output lattice.
(iii) The search version of code over every fixed finite field , for every fixed polynomial-time computable .
Independent repetition raises the success probability to at least 2/3 using polynomially many oracle calls.
Proof. Let be the input circuit. For (i), use the construction of Theorem 7.1 directly. For (ii) and (iii), apply the Valiant–Vazirani reduction, producing a circuit on the same input variables, then apply the forward reduction from UniqueCircuitSAT in Theorem D.1 or Theorem 6.1, respectively. In cases handled by direct evaluation or enumeration, return the resulting decision without querying an oracle. Otherwise, keep the basis matrices, the left inverse where applicable, and the coordinate indices needed to identify labels and recover a circuit input.
Query the corresponding search oracle once and apply the length and format checks in this subsection. For the lattice problems, form from the returned coefficients and the basis of the instance sent to the oracle, then discard the last coordinate. In (i), read the remaining coordinates as a tensor and take its diagonal as in Section C.2. When the construction isolates a selection with indicator vector and the oracle returns a solution, this tensor is for BDD and for uSVP. Its nonzero diagonal entries therefore identify the selected labels. In (ii), take the coordinates of the remaining vector at indexed by the column of whose entries are all one, as in Section D.5. In (iii), apply to the returned vector over and take the diagonal, as in Section 6.2. In each case, interpret the nonzero coordinates as selected labels. Reject unless the selected labels contain exactly one label per block, assign consistent values to shared wires, and together specify a Boolean input of the expected length. Evaluate on the resulting candidate input and accept if and only if accepts.
If is satisfiable, then with inverse-polynomial probability the reduction either accepts by direct evaluation or enumeration, or produces a promised YES instance. For a uSVP instance with threshold and imply . For lattice BDD, . For code BDD, an error of weight at most exists and . When a promised YES instance is produced, the oracle must return a solution to the corresponding search problem. Lemma 5.4 and the recovery steps above show that every such solution lets us recover an input accepted by the circuit used in the construction: in (i), and in (ii) and (iii). In (ii) and (iii), an input accepted by is also accepted by . If is unsatisfiable, the final evaluation of rejects every candidate input, regardless of the random choices or what the oracle returns. Constructing the query, checking the length and format of the returned string, and recovering and checking a candidate input all take polynomial time, and each reduction makes at most one oracle call.
E.2 Parameterized GapSVP
We apply the lattice construction to prove hardness of parameterized GapSVP for every constant approximation factor. The problem receives a lattice basis and a threshold and distinguishes from . For the parameterized problem, the basis is integer and the positive integer threshold is the parameter. A fixed-parameter tractable (FPT) algorithm would run in time on inputs of length , for some computable function .
An FPT algorithm for this problem would yield a randomized one-sided-error algorithm for -Clique in time . Bennett, Cheraghchi, Guruswami, and Ribeiro proved two-sided-error hardness for every constant factor when and below 2 when [BCGR23]. Hirahara and Ogitsuka proved one-sided-error hardness below and asked whether it extends to every constant factor when and to factors below 2 when [HO26]. Corollary E.2 answers their question and establishes -hardness of -GapSVP beyond factor 2, answering Bennett's Open Problem 4.7 [Ben23].
Corollary E.2 (Parameterized GapSVP). For every fixed polynomial-time computable and constant , parameterized -GapSVP with integer bases in is -hard under randomized FPT many-one reductions with one-sided error, in the sense of [HO26, Definitions 9 and 14]. The target parameter is an integer threshold , where is the clique size in the input instance of -Clique.
Proof. Handle or directly. Create blocks, numbered , with one label for each vertex. For each pair of these block numbers, add a block with one label for each ordered pair of distinct adjacent vertices. Represent vertices by fixed-length binary strings. Require the bits encoding the first endpoint in the block for to agree with the corresponding bits in block , and the bits encoding the second endpoint to agree with those in block . Compatibility forces each block for a pair to choose the edge joining the vertices chosen in blocks and . Thus compatible selections are in bijection with ordered -cliques. The number of blocks is , and . If a block is empty, there is no -clique, so output a fixed NO instance directly.
Apply Proposition F.5 with and . In its construction, the tensor order depends only on . Lemma 5.4 uses a rational upper bound on the norm of the tensor encoding a selection to set the integer threshold . Thus the threshold depends only on and these fixed parameters. On a successful trial for a graph with a -clique, the output has . If the graph has no -clique, every seed produces an output with . These two bounds on are the YES and NO guarantees for GapSVP. Use the same integer threshold in every trial.
Let be the set of labels in block . Then , and if a -clique exists, each trial succeeds with probability at least . To amplify this probability, run the reduction independently
times and take the direct sum of the resulting lattices. The common threshold is already an integer . The shortest nonzero vector length in a direct sum is the minimum of those in its components, so a graph without a -clique maps to a NO instance for every choice of seeds. If a -clique exists, independence implies that at least one trial succeeds with probability at least , and on this event the direct sum contains a vector of length at most . Each trial has size , and .
E.3 Growing factors
Corollary E.3 (Growing factors). Fix and , both polynomial-time computable. There is a randomized quasipolynomial-time many-one reduction from CircuitSAT to decision uSVP in at factor , where is the rank of the output lattice. It has no false positives and succeeds on a satisfiable size-s circuit with probability at least . Its running time is
Consequently, a polynomial-time algorithm for either the decision or search version of uSVP at this factor yields a randomized CircuitSAT algorithm with running time bounded by (27), no false positives, and success probability at least 2/3.
Proof. The required factor depends on the output rank , while the bound on depends on the factor chosen for the construction. We choose as a function of the circuit size so that it is at least . Let . Choose a sufficiently large integer depending on and , and compute an integer satisfying
Round upward a rational upper approximation to with error less than one. Apply Proposition F.5 to the instance from the circuit, with uSVP uniqueness factor , and .
Since and , Proposition F.5 bounds the output dimension and running time by for a constant independent of and . Hence
Since and , choosing sufficiently large ensures
The factor depends on the output rank . The preceding bound implies . On a successful output, . On every output from an unsatisfiable input,
. Thus the constructed instances satisfy the uSVP YES and NO conditions at factor . The running time is
As in the proof of Theorem 7.1, . A single trial succeeds with probability at least and has no false positives. Repeat independently times. For the decision version of uSVP, accept if the algorithm accepts any of the constructed instances. For the search version of uSVP, try to recover a candidate input from what the oracle returns on each trial and accept only if it satisfies the original circuit, as in Corollary E.1(i). The same length checks and recovery operations take time polynomial in the number of bits describing each lattice instance sent to the oracle, even when the oracle returns arbitrary strings. These repetitions raise the probability of acceptance on a satisfiable circuit above without changing the bound in (27).
F Construction and parameter details
This appendix completes the reductions by constructing bases and thresholds efficiently and making the output lattices full rank. It also checks the dimensions, bit lengths, and running time.
F.1 Minimum distance of the Vandermonde code
The lattice construction uses a Vandermonde code because its minimum distance stays large when each column of the parity-check matrix is multiplied by a nonzero field element. Let be prime, let , and choose distinct . Define the Vandermonde matrix by
For , let and .
Lemma F.1 (Minimum distance). For every ,
Proof. Every columns of are independent by the Vandermonde determinant, and multiplying columns by nonzero field elements preserves this property. Thus . Since , any columns are dependent. Their dependence defines a nonzero codeword of weight at most . Hence .
F.2 Computing bases, thresholds, and primes
Lemma F.2 (A basis with small entries). Given W by a basis or linear equations, one can compute a basis of in polynomial time, with every entry of its basis matrix having absolute value at most . Given a nonempty affine subspace of by linear equations, one can compute an integer vector with coordinates in whose reduction modulo lies in that subspace.
Proof. Row-reduce a parity-check matrix of over , discard dependent rows, and permute the columns so that the matrix has the form . Choose the entries of in . In the permuted coordinates, the columns of
form an integer basis. After undoing the coordinate permutation, these columns form a basis of . Gaussian elimination detects whether the affine equations are consistent and, if so, finds a solution. Replace each coordinate by an integer in with that residue modulo .
Lemma F.3 (Rational thresholds). Fix polynomial-time computable real constants and . Given positive integers and , one can compute a rational number such that
The computation takes time polynomial in , with constants depending on and , and the bit length of is .
Proof. The number has rational upper and lower bounds computable in time polynomial in to any fixed relative precision. The constants and are polynomial-time computable and have a positive gap. Compute rational intervals enclosing the two products to relative precision depending only on , so that the gap between an upper bound for the first and a lower bound for the second is at least . Between these bounds, choose a rational with the smallest possible denominator that is a power of two. It satisfies the strict inequalities. The relative precision needed depends only on and , and the resulting number has bits.
Lemma F.4 (A prime in a numerical interval). For every integer , a prime can be found deterministically in time polynomial in the numerical value of . In particular, the procedure is polynomial time whenever is polynomially bounded in the reduction's input size.
Proof. By Bertrand's postulate, the interval contains a prime. Test the integers from through using a deterministic polynomial-time primality test. There are at most tests, so the running time is polynomial in the numerical value of .
F.3 Completing the uSVP and BDD lattices to full rank
Proof of Lemma 5.4. For each integer , we add basis vectors to the lattice to make it full rank. We show that every point of the resulting lattice within distance of zero or of the BDD target still has this form. We then choose the scale of the appended coordinate separately for uSVP and BDD.
Write with of full column rank, and let be the row of values of on its columns. Choose pivot rows of and let be the complementary rows. On the span of the columns of over the reals, the coordinates indexed by determine both the remaining coordinates and the last coordinate. These relations define a linear map that vanishes on every column of the stacked matrix . We choose the integer so that lattice points with nonzero coefficients on the added columns lie outside the balls used for uSVP and BDD. We first prove this for and then transfer it to every by shrinking the last coordinate. Let
Define by , and set
Here is row of . The maximum over an empty set is zero. Choose . For an integer , let have basis
where comprises the standard coordinate columns indexed by . This is a square nonsingular integer matrix.
For , the kernel of is the span over the reals of the columns of the stacked matrix . The map sends the original columns to zero and the added columns to times the standard basis. On its values are coordinatewise multiples of . Consider the balls of radius in . For a point in the ball about zero, , so . For a point in the ball about , write with . Since , we have . If , a coordinate of has magnitude at least , a contradiction. Thus . The coefficients of the lattice point on the added basis vectors therefore vanish, so its remaining integer coefficients place in the lattice . For , the map maps the lattice to , maps to , and does not increase any norm, including . It therefore maps lattice points in the balls of radius about zero and to lattice points of in the corresponding balls about zero and . Thus every lattice point in either ball in has the form for some .
For uSVP take . In case (ii), the vector has norm at most , while . For a lattice vector of norm at most that is not a real multiple of , write it as with and . Then and is nonzero, since otherwise . The lower bound in case (ii) therefore gives
Lattice vectors outside the ball of radius have norm greater than . Thus every vector that is not a real multiple of has norm greater than , since . The last coordinate of every point of lies in . Thus a lattice point on the real line spanned by has , and its first coordinates form the vector . This proves the YES promise. Under (i), every nonzero output vector is longer than , proving the NO promise.
For BDD take , lattice , and target . A nonzero vector of norm at most would have , since and is an integer. Then would be a nonzero vector in of norm at most , contradicting the lower bound in both (i) and (ii). Every lattice point in the ball of radius about zero has zero coefficients on the added basis vectors, so in both cases. Since and by , we have . Under (ii), is within distance of . Under (i), a lattice point within distance of would have the form and have , forcing to be a nonzero vector of of norm at most . This contradicts case (i), where every nonzero vector of has norm greater than . Thus, in case (i), the distance from the target to exceeds .
In case (ii), the shortest nonzero vectors are for uSVP, and the closest lattice point to the BDD target is . Any other lattice point at distance at most from that target has the form and has , since and . Subtracting from its first coordinates would produce a nonzero vector in of norm at most , contradicting the lower bound . The first coordinates recover , up to sign for uSVP. We can compute and choose in polynomial time in the input bit length.
F.4 Parameters for the lattice reduction with constant factors
Proposition F.5 (From constraints to lattices). Fix a polynomial-time computable , polynomial-time computable parameters and , and a polynomial-time computable . For an instance of the blocks and compatibility requirements from Section 5.1, with nonempty blocks and labels, there are two randomized constructions.
(i) The first applies to an arbitrary instance. If it has a solution, it produces a promised YES instance of , and likewise of , with probability at least , where is the number of labels in block and
(ii) The second applies under the promise that the instance has zero or one solution. If it has one, it produces a promised YES instance with probability greater than 0.24.
An instance with no compatible selection produces a NO instance satisfying the corresponding target problem's conditions for every random seed in either construction. The output dimension is
Each coordinate of a basis vector or target and each rational threshold has bit length . For fixed real parameters, the construction runs in polynomial time. When is supplied as an integer, its running time is also , with constants depending only on .
Proof of Proposition F.5. Lemma 5.4 requires lower bounds on the norms of lattice vectors in two cases. Both bounds must be much larger than the norm of an encoding. If no compatible selection has its indicator in the code constructed below, the bound must apply to every nonzero lattice vector. If exactly one compatible selection has its indicator in the code, it must apply to every nonzero lattice vector with . We also choose a rational upper bound on the norm of an encoding to set the thresholds for the output instances. Apply Proposition B.5 with 32G in place of to choose , , and . Set , choose by Lemma F.3, and choose a rational with , taking when is an integer. Let
Then and . Let be the constant from Proposition A.1. For , enumerate all selections. If a solution exists, output for uSVP and with target zero for BDD. If no solution exists, output for uSVP and with target for BDD, where and . These choices satisfy and . These are promised instances with threshold .
For , enlarge so that and set
Proposition A.1 constructs a prime , a number of copies of each label, and a code on the copied labels. Use this code directly and let be the space of matrices in case (ii) of Proposition 5.2. The constraints defining include . Proposition 5.2(ii) identifies the rank-one matrices in as , where and is the Boolean indicator of a compatible selection. For every compatible selection whose indicator belongs to , the space contains . Take the lattice
The linear function sums the diagonal entries in the first block. It is integer-valued with only nonzero coefficients. For each such selection, the tensor satisfies and . If the original blocks and compatibility requirements have no compatible selection, Proposition B.5 and imply for every random choice. If exactly one compatible selection has its indicator in for the random choice, Proposition B.5 proves that every nonzero vector of has norm greater than 32GR. Applying Lemma 5.4 with the chosen constructs instances of both problems with threshold : NO instances in the first case and YES instances in the second. The success probabilities are at least those guaranteed by Proposition A.1.
In the following bounds, all implicit constants depend only on and are independent of the integer used in Corollary E.3. , , and the dimension of is . First discard dependent linear equations defining , leaving at most equations. The equations requiring every matrix slice to lie in , together with the symmetry equations defining , number . Since , the linear system has size polynomial in . Gaussian elimination takes time polynomial in and , with an exponent independent of . The full-rank construction of Lemma 5.4 adds only one dimension. To bound the bit lengths of the output basis and target, use the basis constructed in Lemma F.2. Since has full rank, the construction in Lemma 5.4 uses every row of its basis matrix as a pivot. The row consists of the coefficients of , with at most entries equal to one and all others zero. Consequently, . The values of on the basis vectors have absolute value at most . Thus , the integers and that scale in the added coordinate, and every entry of the bases and target we construct have bit length , as does the threshold. All arithmetic and the deterministic prime search obey the running time bound.
Statement on AI use. The main ideas and proof strategies were developed using OpenAI Codex with the GPT-5.6 Sol and GPT-6 Astra models. Codex was also used to search the literature and in the presentation and drafting of this paper. The authors studied, refined, simplified, and verified the resulting material and take responsibility for every claim, proof, and citation.