Michael Codish

Senior Academic

Sorting nine inputs requires twenty-five comparisons

Michael Codish, Luís Cruz-Filipe, Michael Frank, Peter Schneider-Kamp

This paper describes a computer-assisted non-existence proof of 9-input sorting networks consisting of 24 comparators, hence showing that the 25-comparator sorting network found by Floyd in 1964 is optimal. As a corollary, the 29-comparator network found by Waksman in 1969 is optimal when sorting 10 inputs. This closes the two smallest open instances of the optimal-size sorting network problem, which have been open since the results of Floyd and Knuth from 1966 proving optimality for sorting networks of up to 8 inputs.

Publication language English
Pages 551-563
Journal Journal of Computer and System Sciences
Volume 82
Issue number 3
Publication status Published - 01.01.2016

Keywords

Computer-assisted proofs
SAT solving
Sorting networks
Symmetry breaking

ASJC Scopus subject areas

Theoretical Computer Science
General Computer Science
Computer Networks and Communications
Computational Theory and Mathematics
Applied Mathematics
Access to Document
10.1016/j.jcss.2015.11.014
Other files and links
Link to publication in Scopus