Solution:
Denote by S the coloring configuration from the first proof consisting of the first two rows and the first and the last column of the table. It is easy to see that S does not contain the bishop circuit. Also, S is maximal in the sense that if we add any new cell to it, the new coloring will contain a bishop circuit.
We will show that any optimal coloring C has the same number of cells as S by transforming C to S by iterating the following steps:
1) First we choose any cell a which is in S, but not in C. If there is no such cell, we are done since maximality of S and optimality of C imply that S=C.
2) From the optimality of C it follows that there is a bishop circuit B in the coloring C∪{a} containing a. Since S does not contain a bishop circuit, there is an element b in cycle B which is not in S. We replace coloring C with the coloring C~=(C∪{a})\{b}.
To finish the proof, we need to show that C~ is optimal. For that we need to prove that B is a unique cycle in C∪{a} containing a.
Assume the opposite. Let a0,a,a1,…,a2r and b0,a,b1,…,b2s be two bishop cycles in C∪{a} such that a0 and b1 (as well as a1 and b0) are on the same diagonal. Consider the cycle in C (every two consecutive cells are on the same diagonal)
a0,b1,b2,…,b2s,b0,a1,a2,…,a2r
It remains to prove that it contains a bishop circuit which will contradict the optimality of C.
Note that no three consecutive cells are on the same diagonal, so the only problem is if the cells are not pairwise different. Thus we can assume that we can write the cycle in the following form
c1,…,ck,c1,d1,d2,…,dt−1
where t≥k. If we remove first k cells we obtain the cycle
c1,d1,d2,…,dt−1
Furthermore, if dt−1,c1 and d1 are on the same diagonal, we remove c1. By repeating this procedure, we end up with the bishop's circuit.