Unofficial Hacker News client - receive Push Notifications on replies.

Sudoku's Hidden Rule (opens external site)

408 points by multifasciatus 14 hours ago | cyrusjavan.com | 185 comments on HN | Vote on HN (opens Hacker News)

View full thread · View on Hacker News

Comment thread (4)

  1. You never have to use uniqueness -- although it can often make a deduction easier. In some puzzles, particularly ones involving drawing lines and cycles, I find it can be hard to ignore uniqueness, because it's easy to come up with 'this part of the puzzle can't look like X, because it could also look like Y'.
    Replies (1)
    1. (I don’t know anything about Sudoku so sorry if this is a dumb question).

      Could a Sudoku puzzle be designed such that you do have to use uniqueness? Is “you never have to use uniqueness” a statement about the rules of the puzzle, or an observation about how people tend to design them?

      Replies (2)
      1. Yes, I have seen a handful of very interesting puzzles where the setter explicitly intends for uniqueness to be used in solving. It can be satisfying in that context.
      2. It's a logical statement, given a Sudoku grid, I can enumerate all solutions using a backtracking solver and count the solutions.

        Now, in practice people don't solve which backtracking, they use increasingly clever logical reasoning steps. You can technically solve any problem with sufficiently clever reasoning steps (because you could in principle capture in your brain 'if I consider all options this is the solution), in practice people have a limit, and this varies from player to player.

        So you could have a Sudoku which can be solved with uniqueness, and which no human player can solve without using uniqueness, but I haven't seen one.

        ( Random comment for interested parties, this is literally my area of research: https://github.com/stacs-cp/demystify-rs )