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. Relying on uniqueness is seen as poor taste in puzzle construction. Handcrafted puzzles from reputable setters are made with one specific set of mental steps in mind for how to solve it (the "intended solve"). It is surprising how well the logic of a well set puzzle will lead you towards the intended step-by-step solution. These paths tend to strongly avoid making the assumption of unique solutions relevant.

    However, if you randomly generate puzzles of a certain difficulty you'll often notice towards the end of the solve that there's very little to go on but assuming uniqueness will resolve most of the remaining cells.

    Replies (2)
    1. OK! I guess you need to write a smarter generator.
    2. I find the 'Puzzle Genre' slightly annoying for this; puzzles are presented as if anyone can logic through them but secretly there is a behind-the-scenes solution that is a filter for people who have seen it before vs. people who haven't. See one of Richard Feynman's stories about asking new physics people questions like "how does a mirror know to mirror your face left/right but not up/down?" and he quipped that the best way to appear smart was to have seen the question before and know the answer, then pretend that you haven't and hesitate a little and "come up with it on the fly". Like classic Google/Microsoft interview questions "why are manhole covers round?" are filters for people who have seen that before, even if they try not to be.

      I'm sure there are plenty of people who can rediscover mathematical insights from centuries ago on the fly, but I suspect quite a lot of puzzlers have instead been collecting them for a lifetime and the main thing is recognising which one is hiding behind the puzzle they are looking at.

      It's also in trivia quizzes - there's a limited number of classical musicians, rivers, painters, authors, common enough for many people to have heard of them, and many others that only experts have heard of. It would be easy to ask questions so hard almost nobody can answer, and easy to ask trivial questions anyone can answer. There's an art to setting questions that only enough people can answer but not everyone, which means there's also an art to "guessing the famous classical painter" from a few hints. "It's quite dark could it be Caravaggio" said one of the University Challenge contestants just now - somewhat separate from "knowing a lot about art".

      This is something which comes up with discussions of LLMs and AIs, and in a recent thread that one of the best things about having a senior greybeard on a codebase is that they have seen problems before. And we discuss a lot whether an LLM regurgitating things is 'intelligence' when it's something a lot of people use to demonstrate their intelligence. It's in E. Yudkowsky's fanfic of Harry Potter when the evil character comments that sometimes everything depends on a once-seen fact from an old book long ago. And it's in the idea of overfitting ML training models so they trigger on the colour of the sky instead of the intended features. And it raises the question of where 'new knowledge' and creativity come into things.

      Replies (1)
      1. > Like classic Google/Microsoft interview questions "why are manhole covers round?" are filters for people who have seen that before, even if they try not to be.

        Going on a tangent: some manhole covers are round, but many of them ain't. But somehow I doubt bringing that up will win you many bonus points with the kinds of people who ask this question.

        (The first page of Google Image search for 'manhole cover' already has about as many non-circular ones circular ones.)