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 (1)

  1. Counterexample: the case from the blog post could be filled in like so:

        8 5 7 |   6   |     2
          4   | 2 8 7 |     5
          2   |   5   | 8   7
        ------+-------+------
        1 7 4 | 5 2 3 | 6 8 9
        2 8 5 | 4 9 6 | 3 7 1
        3 9 6 | 7 1 8 | 5 2 4
        ------+-------+------
        4 1 2 | 6 3 5 | 7 9 8
        5 3 8 | 9 7 2 | 4 1 6
        7 6 9 | 8 4 1 | 2 5 3
    
    If you fill in a 3 where the blog post tells you then you get a contradiction, 0 solutions. But the puzzle as it stands has two.

    You are correct to suspect that there's an impossibility result here but it requires a stronger logical model than Sudoku can provide or something. (The theorem is called Löb’s theorem, and says that if a logic can prove “if P is provable, then P is true” then it can prove P, as long as it was sophisticated enough to start with.)