English

SAT encodings for sorting networks, single-exception sorting networks and $\epsilon-$halvers

Data Structures and Algorithms 2018-07-17 v1

Abstract

Sorting networks are oblivious sorting algorithms with many practical applications and rich theoretical properties. Propositional encodings of sorting networks are a key tool for proving concrete bounds on the minimum number of comparators or depth (number of parallel steps) of sorting networks. In this paper, we present new SAT encodings that reduce the number of variables and clauses of the sorting constraint of optimality problems. Moreover, the proposed SAT encodings can be applied to a broader class of problems, such as the search of optimal single-exception sorting networks and ϵ\epsilon-halvers. We obtain optimality results for single-exception sorting networks on n10n \le 10 inputs.

Keywords

Cite

@article{arxiv.1807.05377,
  title  = {SAT encodings for sorting networks, single-exception sorting networks and $\epsilon-$halvers},
  author = {José A. R. Fonollosa},
  journal= {arXiv preprint arXiv:1807.05377},
  year   = {2018}
}

Comments

Software available at https://github.com/jarfo/sort

R2 v1 2026-06-23T03:01:21.727Z