R9C7 = 7 OR R4C8 = 6
But R9C7 = 7 -> R7C8 = 5 -> R4C8 = 6
So R4C8 = 6
bennys wrote:R9C7 = 7 OR R4C8 = 6
But R9C7 = 7 -> R7C8 = 5 -> R4C8 = 6
So R4C8 = 6
Jeff wrote:Hi Max,
The chain is correct, but the chain notation is not. Here is the diagram of this chain.
Chain notation should be:
[r5c2]-9-[r4c1]-1-[r2c1]-8-r5c1]=8=[r5c2] enforces r5c2<>9
Max Beran wrote:How come, Jeff? The "8" link from r2c1 to r5c1 is clearly a strong one (at least in the terminology that we've been applying to the sort of cycles that we drew based on the Eppstein cycles)?
Max Beran wrote:....From my own understanding it would appear that you can chain together 2, 4, 6 etc same-label links between bivalue nodes. You can't connect differently-labelled weak links other than at a bivalue node.
Max Beran wrote:I'm not suggesting that the logic of the loop here isn't watertight - it patently is.....
Consider the chain r5c2~9~r4c1~1~r2c1-8-r5c1-8-r5c2.
When the cell r5c2 contains the value 9, it likewise contains the value 8 - a contradiction.
Therefore, the cell r5c2 cannot contain the value 9.
- The move r5c2:=9 has been eliminated.
Consider the chain r8c1-3-r5c1-9-r5c4-2-r8c4.
When the cell r8c4 contains the value 3, some other value must occupy the cell r8c1, which means that the value 2 must occupy the cell r8c4 - a contradiction.
Therefore, the cell r8c4 cannot contain the value 3.
- The move r8c4:=3 has been eliminated.
Consider the chain r4c5-9-r1c5-2-r1c6-2-r5c6~5~r4c5.
When the cell r4c5 contains the value 5, it likewise contains the value 9 - a contradiction.
Therefore, the cell r4c5 cannot contain the value 5.
- The move r4c5:=5 has been eliminated.
The value 5 in Box 6 must lie in Row 4.
- The moves r5c8:=5 and r5c9:=5 have been eliminated.
The value 5 in Box 3 must lie in Column 9.
- The move r2c7:=5 has been eliminated.
Consider the chain r5c1-8-r5c2-8-r1c2-8-r1c6-2-r1c5-2-r1c6-2-r5c6-5-r5c4-9-r3c4-9-r1c5-9-r3c4-9-r5c4-9-r5c1.
The cell r5c1 must contain the value 9 if it doesn't contain the value 8.
Therefore, these two values are the only candidates for the cell r5c1.
- The move r5c1:=3 has been eliminated.
The cell r8c1 is the only candidate for the value 3 in Column 1.
rubylips wrote:I haven't attempted to couch the text in the vocabulary of Eppstein - as far as I'm concerned, it's sufficient to quote the chain and the logic:
Max Beran wrote:Me, I'm a top-down sort of a person that prefers the logical "atoms" to be translated into corresponding graphical objects that obey certain successional rules to form long chain "molecules".
rubylips wrote:terms such as 'X-Wings' and 'Swordfish' crop up in the solver log as they would mean nothing to a layman fresh to Sudoku, whereas an explicit explanation of the underlying logic would.
from a computational standpoint, it made little sense to search, say, first for an X-Wings then for a Swordfish when the common components shared by the patterns (single-valued strong and weak links) could be sought simultaneously.
More interestingly, the solver log makes it clear where the underlying logic relies upon reductio ad absurdum - the dreaded (by some) 'Trial and Error'.