Problems / theoretical-computer-science
theoretical-computer-science
An optimal, deterministic, polynomial time sorting adversary
Theorem 1.1: there is a deterministic legal adversary, initialized using only n, that uses polynomially many bit operations per query and forces every correct sorter to make at least (1−o(1))nlog2n comparisons. Previous efficient deterministic adversaries forced 21nlog2n (Atallah and Kosaraju 1981) and 6437nlog2n≈0.578nlog2n (Kaplan, Zamir and Zwick 2019). Polynomial time is proved in Lean in an explicit arithmetic cost model (a counted primitive-operation charge on exact rationals), not as an instruction-level bound for a machine model, and the degrees are enormous. The paper also derives consequences for sorting under partial information and partial order production.