TAOCP 7.2.2.1 Exercise 89
A complete corrected solution cannot be obtained from the information in the proposed solution, because the proposed solution contains no data, and the exercise depends on a specific external dictiona...
Section 7.2.2.1: Dancing Links
Exercise 89. [21] [21] What are the best double word squares of sizes $2 \times 2$, $3 \times 3$, …, $7 \times 7$, in the sense of exercise 88, with respect to The Official SCRABBLE® Players Dictionary? [Exercise 7.2.2–32 considered the analogous problem for symmetric word squares.]
Verified: no
Solve time: 4m21s
A complete corrected solution cannot be obtained from the information in the proposed solution, because the proposed solution contains no data, and the exercise depends on a specific external dictionary ordering. The optimization criterion is not a purely mathematical property of double word squares: it depends on the rank ordering of words in The Official SCRABBLE® Players Dictionary. A claim of optimality therefore requires the actual ordered word list and the output of an exhaustive or minimax search.
The correct solution method is as follows.
Let $W(k)$ denote the set of the $k$ most common words in the SCRABBLE dictionary, with the ordering used in Exercise 88. A double word square of order $n$ is represented as an $n\times n$ array
$$ A=(a_{ij}), $$
whose rows
$$ r_i=a_{i1}a_{i2}\cdots a_{in} $$
and columns
$$ c_j=a_{1j}a_{2j}\cdots a_{nj} $$
are $2n$ distinct words. The objective is to minimize the largest rank of any of the $2n$ words appearing in the square. Equivalently, find the smallest $W$ such that the XCC instance formed from $W(W)$ has a solution. This is precisely the minimax procedure described in Exercise 88. Knuth reports that the minimax search gives the first five winners as follows.
For $n=2$,
$$ \begin{array}{cc} I&S\ T&O \end{array} $$
The rows are
$$ IS,\quad TO, $$
and the columns are
$$ IT,\quad SO. $$
These four words are distinct.
For $n=3$,
$$ \begin{array}{ccc} M&A&Y\ A&G&E\ N&O&T \end{array} $$
The rows are
$$ MAY,\quad AGE,\quad NOT, $$
and the columns are
$$ MAN,\quad AGO,\quad YET. $$
Again all six words are distinct.
For $n=4$,
$$ \begin{array}{cccc} S&H&O&W\ N&O&N&E\ O&P&E&N\ W&E&S&T \end{array} $$
The rows are
$$ SHOW,\quad NONE,\quad OPEN,\quad WEST, $$
and the columns are
$$ SNOW,\quad HOPE,\quad ONES,\quad WENT. $$
The eight words are distinct.
For the larger cases, the missing information in the submitted problem statement is the actual minimax output from the SCRABBLE dictionary search. It cannot be reconstructed from the empty proposed solution, nor can optimality be proved without the ordered dictionary. The required verification consists of:
- constructing the XCC instance from the candidate word set $W(k)$;
- running the minimax variant of Algorithm C from Exercise 84;
- recording the first solution found when options are processed in increasing dictionary rank order;
- checking that no solution exists using only words of smaller maximum rank.
The published solution states that this minimax method finds the winners and proves their optimality, but the complete arrays for all requested sizes must be taken from the actual computation with the SCRABBLE word ranking.
Therefore, the previous submission is correctly rejected: it supplies no constructions and no optimality argument. A mathematically complete answer must include the $5\times5$, $6\times6$, and $7\times7$ arrays produced by the specified SCRABBLE dictionary search together with the exhaustive minimax certificate. Without that dictionary and search output, any purported completion would be an unsupported reconstruction rather than a proof.