对9个输入进行排序时,25个比较器是最佳选择(而对10个输入进行排序时,29个比较器是最佳选择)
Twenty-Five Comparators is Optimal when Sorting Nine Inputs (and Twenty-Nine for Ten)
摘要:
本文给出了由24个比较器组成的9输入排序网络的计算机辅助不存在性证明,从而证明了Floyd在1964年发现的25个比较器排序网络是最优的.作为推论,我们得到了Waksman在1969年发现的29个比较器网络在对10个输入进行排序时是最优的。这关闭了最佳大小排序网络问题的两个最小的开放实例,自1966年Floyd和Knuth的结果证明了多达8个输入的排序网络的最优性以来,这两个最小的开放实例一直是开放的。证明涉及两种方法的组合:一种是基于利用排序网络中丰富的对称性,另一种是基于对命题逻辑的可满足性问题的编码。我们说明,虽然这些都可以单手解决问题的较小的情况下,这是他们的组合,导致一个有效的解决方案,为九个输入。
英文摘要:
This paper describes a computer-assisted non-existence proof of nine-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 ten 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 eight 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 handed solve smaller instances of the problem, it is their combination which leads to an efficient solution for nine inputs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。