Skip to main navigation Skip to search Skip to main content

Twenty-Five Comparators is Optimal when Sorting Nine Inputs (and Twenty-Nine for Ten)

  • Ben-Gurion University of the Negev
  • University of Southern Denmark

Research output: Conference Article in Proceeding or Book/Report chapterArticle in proceedingsResearchpeer-review

Abstract

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, we obtain that 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. The proof involves a combination of two methodologies: one based on exploiting the abundance of symmetries in sorting networks, and the other based on an encoding of the problem to that of satisfiability of propositional logic. We illustrate that, while each of these can single-handedly solve smaller instances of the problem, it is their combination that leads to the more efficient solution that scales to handle 9 inputs.
Original languageEnglish
Title of host publicationProceedings of the 26th IEEE International Conference on Tools with Artificial Intelligence
Number of pages8
Place of PublicationUnited States
PublisherIEEE
Publication date2014
Pages186-193
ISBN (Print)978-1-4799-6572-4
DOIs
Publication statusPublished - 2014
Externally publishedYes
EventInternational Conference on Tools with Artificial Intelligence - Limassol, Cyprus
Duration: 10 Nov 201412 Nov 2014
Conference number: 26

Conference

ConferenceInternational Conference on Tools with Artificial Intelligence
Number26
Country/TerritoryCyprus
CityLimassol
Period10/11/201412/11/2014

Keywords

  • Sorting networks
  • Optimal-size networks
  • SAT-based encoding
  • Symmetry exploitation
  • Computational proof

Fingerprint

Dive into the research topics of 'Twenty-Five Comparators is Optimal when Sorting Nine Inputs (and Twenty-Nine for Ten)'. Together they form a unique fingerprint.

Cite this