{
  "id": "2026/3090",
  "url": "https://opencryptology.org/2026/3090",
  "original_url": "https://eprint.iacr.org/2026/3090",
  "title": "The planted vector is almost never shortest above the critical density: the \"almost no\" half of the Lagarias–Odlyzko sharpness conjecture",
  "authors": [
    "Attia Ahmed"
  ],
  "affiliations": null,
  "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.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“The planted vector is almost never shortest above the critical density: the \"almost no\" half of the Lagarias–Odlyzko sharpness conjecture” by Attia Ahmed, Cryptology ePrint Archive, Paper 2026/3090, https://eprint.iacr.org/2026/3090. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-11-28T00:17:44Z",
    "updated": "2026-11-28T00:17:44Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": null,
  "upload_url": "https://opencryptology.org/2026/3090#upload",
  "api_upload_url": "https://opencryptology.org/api/upload/2026/3090",
  "missing_pdf": "No PDF here yet. A person can download it from https://eprint.iacr.org/2026/3090 and upload it at https://opencryptology.org/2026/3090#upload so everyone can get it.",
  "versions": [],
  "other_sources": [],
  "bibtex": "@misc{cryptoeprint:2026/3090,\n      author = {Attia Ahmed},\n      title = {The planted vector is almost never shortest above the critical density: the \"almost no\" half of the Lagarias–Odlyzko sharpness conjecture},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/3090},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/3090}\n}"
}
