Paper 2026/3090
The planted vector is almost never shortest above the critical density: the "almost no" half of the Lagarias–Odlyzko sharpness conjecture
Abstract
Lagarias and Odlyzko (1985) attack a subset-sum instance $(a,M)$, $M=\sum_i e_i a_i$ with $e\in\{0,1\}^n$, by computing a shortest nonzero vector of a lattice $L(a,M)$ that contains the planted vector $(e,0)$, and repeat this with the complementary target. For weights drawn uniformly from $[1,2^{n/d}]^n$ they proved that, for each planted vector of weight at most $n/2$, the planted vector is the shortest one for almost all weights when $d<1/1.54725$, and they conjectured that the critical density is $1/c_0=0.6463107\ldots$, where $c_0=\lim_n \frac{1}{n}\log_2\#\{x\in\mathbb{Z}^n:\|x\|^2\le n/2\}$. We prove the "almost no" half of this conjecture. For every $d>1/c_0$ there is $\delta>0$ such that for all but a vanishing fraction of the weight vectors $a\in[1,\lfloor 2^{n/d}\rfloor]^n$, no $0/1$ vector $e$ of weight at least $(1/2-\delta)n$ makes $(e,0)$ a shortest nonzero vector of $L(a,\sum_i e_i a_i)$, even when ties are counted as shortest. More precisely, for every $\varepsilon>0$ there is $\delta=\delta(\varepsilon)>0$ such that for almost all $a$ the lattice contains at least $2^{(c_0-1/d-\varepsilon)n}$ integer relations strictly shorter than $(e,0)$, simultaneously for all $e$ of weight at least $(1/2-\delta)n$. Consequently, even with an exact shortest-vector oracle, for almost all $a$ neither run of the attack returns the planted vector, simultaneously for all $e$ with $|\sum_i e_i-n/2|\le\delta n$; in particular the oracle attack misses the planted solution for almost all pairs $(a,e)$. Together with the argument of Lagarias and Odlyzko, this identifies $1/c_0$ as the critical density of the oracle version of the attack. The proof is a second-moment count of short relations from a type class at the saddle point of the theta function, combined with a discrete local limit theorem. The main theorem and its quantitative form are formalized in Lean 4 with Mathlib.
Note: Lean 4 formalization of the main theorem: https://github.com/Attia-Ahmed/lagarias-odlyzko (Palomar registry entry PALOMAR-2026-11-27-000077).
Metadata
- Available format(s)
-
PDF
- Category
- Attacks and cryptanalysis
- Publication info
- Preprint.
- Keywords
- subset sumknapsacklattice reductionlow-density attackLagarias-Odlyzkoformal verification
- Contact author(s)
- attia a ahmed @ gmail com
- History
- 2026-11-29: approved
- 2026-11-28: received
- See all versions
- Short URL
- https://ia.cr/2026/3090
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2026/3090,
author = {Attia Ahmed},
title = {The planted vector is almost never shortest above the critical density: the "almost no" half of the Lagarias–Odlyzko sharpness conjecture},
howpublished = {Cryptology {ePrint} Archive, Paper 2026/3090},
year = {2026},
url = {https://eprint.iacr.org/2026/3090}
}