An Answer to the Bose-Nelson Sorting Problem for 11 and 12 Channels

Jannis Harder
12/8/2020
cs.DS

Official code: jix/sortnetopt (46 stars, Isabelle, last commit 2020-12-09).

Abstract

We show that 11-channel sorting networks have at least 35 comparators and that 12-channel sorting networks have at least 39 comparators. This positively settles the optimality of the corresponding sorting networks given in The Art of Computer Programming vol.

Show full abstract

3 and closes the two smallest open instances of the Bose-Nelson sorting problem. We obtain these bounds by generalizing a result of Van Voorhis from sorting networks to a more general class of comparator networks. From this we derive a dynamic programming algorithm that computes the optimal size for a sorting network with a given number of channels. From an execution of this algorithm we construct a certificate containing a derivation of the corresponding lower size bound, which we check using a program formally verified using the Isabelle/HOL proof assistant.

View on arXivView PDF

Code Implementations(1)

jix/sortnetoptOfficial100%

Lower Size Bounds for Sorting Networks

460Isabelle, RustOct 7, 20195 years ago

Similar Papers

Cite this paper

@article{harder2020answer,
  title  = {An Answer to the Bose-Nelson Sorting Problem for 11 and 12 Channels},
  author = {Jannis Harder},
  year   = {2020},
  eprint = {2012.04400},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.04400}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2012.04400.svg)](https://codeofpaper.com/paper/2012.04400)

Discussion