Hacker News new | ask | show | jobs
by quietbritishjim 5 days ago
Both are relying on the same underlying rule though. If (in theory) a particular Sudoku had multiple solutions, then assuming the uniqueness rule and guess and check would both prevent you from finding all solutions.
1 comments

That's a very good point that I had completely overlooked, perhaps because I was thinking in terms of an algorithm I had recently implemented. The case where you guess wrong and backtrack is a valid way to rule something out. If you guess right, however, and find a solution, you'd strictly speaking have to backtrack anyway, to rule out the other path. A computer can easily be programmed to do the additional backtracking to verify that the solution is unique, but no human solver in their right mind would behave that way, and instead simply consider the puzzle solved.
This theory conflicts with human (or probabilistic AI) psychology. A human can always make a mistake. There's no objective way to distinguish a mistake from an intentional alternate strategy.