Formally Proving Size Optimality of Sorting Networks

Publikation: Bidrag til tidsskriftTidsskriftartikelForskningpeer review

TidsskriftJournal of Automated Reasoning
Udgave nummer4
Sider (fra-til)425-454
StatusUdgivet - 2017

Bibliografisk note

Recent successes in formally verifying increasingly larger computer-generated proofs have relied extensively on (a) using oracles, to find answers for recurring subproblems efficiently, and (b) extracting formally verified checkers, to perform exhaustive case analysis in feasible time. In this work we present a formal verification of optimality of sorting networks on up to 9 inputs, making it one of the largest computer-generated proofs that has been formally verified. We show that an adequate pre-processing of the information provided by the oracle is essential for feasibility, as it improves the time required by our extracted checker by several orders of magnitude.