Selecting the 7th Smallest of 16 Elements Takes Exactly 28 Comparisons
Jonathan Cremer
Source abstract
Let denote the minimum worst-case number of comparisons needed to find the -th smallest of distinct elements. We construct algorithms showing and , improving the previously reported upper bounds of 30 and 31. Together with known lower bounds, these results establish and leave . For 17 elements, we establish and improve the upper bounds for ranks 6 through 9 to 29, 30, 31, and 31, respectively. Every new upper bound has an explicit decision-graph certificate verified by a static checker developed independently of the search. We also derive a lower bound for selection from a partially ordered state by combining the Fussenegger-Gabow weight with its order-reversed counterpart. All new upper bounds and this lower bound are formally verified in Lean 4. For , we show that a lower bound based solely on the total number of decision-tree leaves cannot establish . The algorithms were found using fixed-budget search, information-guided comparison ordering, and proof-number search. Proof-number search was decisive in finding the 28-comparison algorithm; in our experiments, refuting a comparison budget remained substantially more expensive than finding an algorithm within it.
Evidence graph
No public relationships recorded yet.
Integrity note: This page is a factual metadata record created by deterministic ingestion. It is not a claim that the work moves a mathematical frontier or has been independently verified.