{
  "id": "2025/751",
  "url": "https://opencryptology.org/2025/751",
  "original_url": "https://eprint.iacr.org/2025/751",
  "title": "Improved Range Searching And Range Emptiness Under FHE Using Copy-And-Recurse",
  "authors": [
    "Eyal Kushnir",
    "Hayim Shaul"
  ],
  "affiliations": null,
  "abstract": "Range counting is the problem of preprocessing a set $P\\subset R^d$ of $n$ points, such that given a query range $\\gamma$ we can efficiently compute $|P\\cap\\gamma|$. In the more general range searching problem the goal is to compute $f(P\\cap\\gamma)$, for some function $f$.\n\nIt was already shown (Kushnir et al. PETS'24) how to efficiently answer a range searching query under FHE using a technique they called Copy-and-Recurse to traverse partition trees.\n\nIn the Range emptiness problem the goal is to compute only whether $P\\cap\\gamma =\\emptyset$. This was shown (in plaintext) to be done more efficiently.\nRange emptiness is interesting on its own and also used as a building block in other algorithms.\n\nIn this paper we improve and extend the results of Kushnir et al.\nFirst, for range searching we reduce the overhead term to the optimal $O(n)$, so for example if the ranges are halfspaces in $R^d$ bounded by hyperplanes then range searching can be done with a circuit of size $O(t\\cdot n^{1-1/d+\\varepsilon}+n)$, where $t$ is the size of the sub-circuit that checks whether a point lies under a hyperplane.\n\nSecond, we introduce a variation of copy-and-recurse that we call leveled copy-and-recurse. With this variation we improve range searching in the 1-dimensional case as well as traversal of other trees (e.g., binary trees and B-trees). \nThird, we show how to answer range emptiness queries under FHE more efficiently than range counting.\n\nWe implemented our algorithms and show that our techniques for range emptiness yield a solution that is $\\times 3.6$ faster than the previous results for a database of $2^{25}$ points.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Improved Range Searching And Range Emptiness Under FHE Using Copy-And-Recurse” by Eyal Kushnir, Hayim Shaul, Cryptology ePrint Archive, Paper 2025/751, https://eprint.iacr.org/2025/751. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-04-27T12:58:50Z",
    "updated": "2025-04-27T12:58:50Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/751.pdf",
    "sha256": "c41e5ba307244d67bf4a89d3e3c3ef4a30e5bd9ae2a8b7c44e568bd8716648e1",
    "size": 733770,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/751/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/751.pdf",
      "size": 733770,
      "sha256": "c41e5ba307244d67bf4a89d3e3c3ef4a30e5bd9ae2a8b7c44e568bd8716648e1",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/751.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 733770
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251230050645id_/https://eprint.iacr.org/2025/751.pdf",
      "captured_at": "2025-12-30T05:06:45Z",
      "size": 724941
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/751,\n      author = {Eyal Kushnir and Hayim Shaul},\n      title = {Improved Range Searching And Range Emptiness Under FHE Using Copy-And-Recurse},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/751},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/751}\n}"
}
