Ten distinct real numbers are written in a row. A subsequence is a choice of some of these numbers that keeps their original order.
The following proof shows that there is a strictly increasing or strictly decreasing subsequence of at least four terms.
Assume that no such subsequence exists. Write the numbers as .
[Missing argument]
Thus we have ten different pairs , with each coordinate equal to , or . However, there are only possible pairs, a contradiction.
Which option correctly completes the proof?
ALet be the greatest lengths of strictly increasing and strictly decreasing subsequences ending at , respectively. For , appending gives if , and if .
BLet be one plus the number of earlier terms smaller than , and one plus the number larger. Neither label exceeds , and makes the pairs distinct.
CLet be the greatest lengths of strictly increasing and strictly decreasing blocks of consecutive terms ending at , respectively. For any , appending extends one such block, so a label increases.
DLet be the greatest lengths of strictly increasing subsequences ending and starting at , respectively. For , either or , according to the order of .
ELet be the greatest lengths of strictly increasing and strictly decreasing subsequences among , respectively. Moving from to any later introduces a new term, so at least one label increases.