English

Faster Linear-Size And-Or Path and Adder Circuits

Data Structures and Algorithms 2024-05-24 v2

Abstract

We consider the fundamental problem of constructing fast and small circuits for binary addition. We propose a new algorithm with running time O(nlog2n)\mathcal O(n \log_2 n) for constructing linear-size nn-bit adder circuits with a significantly better depth guarantee compared to previous approaches: Our circuits have a depth of at most log2n+log2log2n+log2log2log2n+const\log_2 n + \log_2 \log_2 n + \log_2 \log_2 \log_2 n + \text{const}, improving upon the previously best circuits by [12] with a depth of at most log2n+8log2n+6log2log2n+const\log_2 n + 8 \sqrt{\log_2 n} + 6 \log_2 \log_2 n + \text{const}. Hence, we decrease the gap to the lower bound of log2n+log2log2n+const\log_2 n + \log_2 \log_2 n + \text{const} by [5] significantly from O(log2n)\mathcal O (\sqrt{\log_2 n}) to O(log2log2log2n)\mathcal O(\log_2 \log_2 \log_2 n). Our core routine is a new algorithm for the construction of a circuit for a single carry bit, or, more generally, for an And-Or path, i.e., a Boolean function of type t0(t1(t2(tm1)))t_0 \lor ( t_1 \land (t_2 \lor ( \dots t_{m-1}) \dots )). We compute linear-size And-Or path circuits with a depth of at most log2m+log2log2m+0.65\log_2 m + \log_2 \log_2 m + 0.65 in time O(mlog2m)\mathcal O(m \log_2 m). These are the first And-Or path circuits known that, up to an additive constant, match the lower bound by [5] and at the same time have a linear size. The previously fastest And-Or path circuits are only by an additive constant worse in depth, but have a much higher size in the order of O(mlog2m)\mathcal O (m \log_2 m).

Keywords

Cite

@article{arxiv.2405.12765,
  title  = {Faster Linear-Size And-Or Path and Adder Circuits},
  author = {Ulrich Brenner and Anna Silvanus},
  journal= {arXiv preprint arXiv:2405.12765},
  year   = {2024}
}
R2 v1 2026-06-28T16:34:16.566Z