TAOCP 5.3.3 Exercise 15
The previous proof failed because it incorrectly treated reachability in a general DAG as if it could be incremented only locally per comparison, and then incorrectly decomposed two dependent costs as...
Section 5.3.3: Minimum-Comparison Selection
Exercise 15. [M35] [M35] (W. Cunto and J. I. Munro.) Prove that $V_i(n) > n + t - 2$ when $t < \lfloor n/2 \rfloor$.
Verified: no
Solve time: 4m30s
The previous proof failed because it incorrectly treated reachability in a general DAG as if it could be incremented only locally per comparison, and then incorrectly decomposed two dependent costs as additive. The correct approach is to use a structured adversary that restricts the comparison graph so that transitive amplification cannot artificially accelerate certification.
We now give a correct proof.
Correct proof
Let $V_t(n)$ be the minimum number of comparisons required to determine the $t$-th largest of $n$ distinct elements in the worst case, where $t < \lfloor n/2 \rfloor$.
We prove
$$ V_t(n) \ge n + t - 1, $$
which implies the stated strict form $V_t(n) > n + t - 2$.
Adversary strategy (tree-restricted structure)
Fix an adversary that answers comparisons so that the comparison graph maintains the following invariant:
- Each element, except one distinguished “root candidate,” is assigned exactly one witness of superiority, meaning it is compared and loses exactly once before it can participate as a winner in any further comparison chain.
- The adversary ensures that whenever two elements are compared, one of them is a previously unused “representative” in the sense that it has not yet been used as the winner in any comparison.
This forces the comparison structure to evolve as a directed forest of disjoint witness chains, and in particular:
- Each comparison introduces exactly one previously unseen directed edge in a way that cannot simultaneously certify multiple independent dominance facts relative to the eventual answer element.
This is the key restriction missing in the previous solution: we do not reason about an arbitrary transitive DAG, but about an adversarially enforced progressive witness str