Unofficial Hacker News companion — get notified on comment replies, and more.

Sudoku's Hidden Rule (opens external site)

478 points by multifasciatus 1 day ago | cyrusjavan.com | 213 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (4)

  1. Uniqueness is really not in the same category as guess and check. Uniqueness uses a meta fact about the way (most) puzzles are published that isn't in the rules. Guess and check uses the rules as written, just in a way that's considered inelegant, and there's certainly a gray area around what classifies as a bifurcation vs. a deduction.
    Replies (1)
    1. 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.
      Replies (1)
      1. 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.
        Replies (1)
        1. 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.