Hi Eleven,
It's sad that you don't get my reasoning. It seems that some time ago we understood each other very well. Let me try to explain my solution in another way.
- Code: Select all
(*)
+-------+-------+-------+
| . . . | 1 2 3 | . . . |
| . 3 2 | . 6 . | 9 1 . |
| . 7 . | 9 . 4 | 3 . . |
+-------+-------+-------+
| . . 4 | . . . | . 7 3 |
| . . 9 | . 3 . | 8 . . |
| 3 6 . | . . . | 5 . . |
+-------+-------+-------+
| . . 3 | 8 . 5 | . 6 . |
| . 1 8 | . 7 . | 2 3 . |
| . . . | 3 1 2 | . . . |
+-------+-------+-------+
Let A(i,j) be any valid sudoku grid with the above conditions(*). Let us define permutation P and matrix B(i,j)=M(A)(i,j) as follows.
P(1)=1, P(2)=2, P(3)=3, P(4)=5, P(5)=4, P(6)=7, P(7)=6, P(8)=9, P(9)=8
B(i,j)=P(A(10-i,10-j)) for each i=1,..,9 and j=1,2,3,7,8,9
B(i,j)=P(A(10-i,j)) for each i=2,…,8 and j=4,5,6
B(1,4)=1, B(1,5)=2, B(1,6)=3, B(9,4)=3, B(9,5)=1, B(9,6)=2
My statement is that B(i,j) is also a valid sudoku grid with the above conditions(*).
To prove the statement, let us note how mapping M transforms all the houses.
Blocks: b1<->b9, b4<->b6, b7<->b3, b2<->b8, b5<->b5.
Rows: r1<->r9, r2<->r8, r3<->r7, r4<->r6, r5<->r5.
Columns: c1<->c9, c2<->c8, c3<->c7, c4<->c4, c5<->c5, c6<->c6.
As two different digits in a house become two different digits in the transformed house, we get a valid sudoku grid M(A) =B(i,j).
We can also note that B(i,j)=A(i,j) for each predefined value (*).
Now let us assume that the puzzle has only one solution, that is, B=A. Let us take a look at cells r5c4 and r5c6.
A(5,4)=B(5,4)=P(A(5,4)), so A(5,4) can be either 1 or 2, and the same is true of A(5,6). Since A(1,4)=1 and A(9,6)=2, the only possibility is A(5,4)=2 and A(5,6)=1.
From this point, the puzzle is solvable by singles.