English

Towards Simpler Sorting Networks and Monotone Circuits for Majority

Computational Complexity 2023-10-20 v1 Data Structures and Algorithms

Abstract

In this paper, we study the problem of computing the majority function by low-depth monotone circuits and a related problem of constructing low-depth sorting networks. We consider both the classical setting with elementary operations of arity 22 and the generalized setting with operations of arity kk, where kk is a parameter. For both problems and both settings, there are various constructions known, the minimal known depth being logarithmic. However, there is currently no known construction that simultaneously achieves sub-log-squared depth, effective constructability, simplicity, and has a potential to be used in practice. In this paper we make progress towards resolution of this problem. For computing majority by standard monotone circuits (gates of arity 2) we provide an explicit monotone circuit of depth O(log25/3n)O(\log_2^{5/3} n). The construction is a combination of several known and not too complicated ideas. For arbitrary arity of gates kk we provide a new sorting network architecture inspired by representation of inputs as a high-dimensional cube. As a result we provide a simple construction that improves previous upper bound of 4logk2n4 \log_k^2 n to 2logk2n2 \log_k^2 n. We prove the similar bound for the depth of the circuit computing majority of nn bits consisting of gates computing majority of kk bits. Note, that for both problems there is an explicit construction of depth O(logkn)O(\log_k n) known, but the construction is complicated and the constant hidden in OO-notation is huge.

Keywords

Cite

@article{arxiv.2310.12270,
  title  = {Towards Simpler Sorting Networks and Monotone Circuits for Majority},
  author = {Natalia Dobrokhotova-Maikova and Alexander Kozachinskiy and Vladimir Podolskii},
  journal= {arXiv preprint arXiv:2310.12270},
  year   = {2023}
}
R2 v1 2026-06-28T12:54:50.802Z