English

The multiplicative complexity of interval checking

Quantum Physics 2022-01-26 v1 Cryptography and Security Logic in Computer Science

Abstract

We determine the exact AND-gate cost of checking if ax<ba\leq x < b, where aa and bb are constant integers. Perhaps surprisingly, we find that the cost of interval checking never exceeds that of a single comparison and, in some cases, it is even lower.

Cite

@article{arxiv.2201.10200,
  title  = {The multiplicative complexity of interval checking},
  author = {Thomas Häner and Mathias Soeken},
  journal= {arXiv preprint arXiv:2201.10200},
  year   = {2022}
}

Comments

7 pages

R2 v1 2026-06-24T09:01:42.910Z