MHN
Add a comment on Hacker News →
147 comments
  1. I love sudoku, especially variant sudoku, and for years I've had a daily habit of solving puzzles through the Cracking the Cryptic apps.

    I really dislike using uniqueness. Not because it feels like cheating. Every time it becomes relevant it just feels inelegant. I love spotting a swordfish, Y-wing or empty rectangle. But uniqueness feels lazy and anticlimactic. In all other cases I simply find using every advantage to reason about the puzzle and deriving constraints exhilarating. But uniqueness somehow feels like it's not about the structure of the puzzle. It gives me the same feeling as bifurcation. There I can clearly tell why I dislike it: it usually feels like brute force rather than elegant logic. Not sure why I feel similarly about uniqueness.

    I remember in one of the Cracking the Cryptic videos Simon said he was sure uniqueness wasn't required for the current puzzle because a setter of this caliber wouldn't design a puzzle to rely on it. Which is why I was really surprised to find that one of the puzzles in the Classic Sudoku app from CTC used uniqueness this way.

    1. Uniqueness feels like the thing I'm trying to prove. On a meta level I understand that the puzzle in front of me has exactly one solution, because it wouldn't be satisfying if it had multiple or none. But unless it's explicitly stated in the puzzle rules, I'd rather not use it. The goal isn't just to find a solution, but to find it using strict deductions, so that your steps of reasoning become like a proof that this is the unique solution.

      1. Yes, that is precisely it! It feels like a circular proof. You assuming what you haven't proven yet. It feels unearned.

        1. gently disagree. uniqueness is one of the axioms of a Sudoku, you don't prove it, you rely on it.

          1. It's an axiom of a valid, solvable (that is to say, well-constructed) Sudoku. You technically do not know this to be true. At best you are assuming the Sudoku is well-constructed based on the reputation of the source

            If you do not rely on uniqueness you can check the other trivial constraints (nine rows, nine columns, etc), solve the sudoku, and then you know that it was well-constructed. If you use the property that it is well-constructed to solve it, your solution no longer showed that the Sudoku is well-constructed

        2. The perhaps obvious question: is it actually possible to design a sudoku with multiple solutions, BUT if people use BUG, they will get stuck and not get a solution at all?

          If such a thing is not possible, the reasoning is not actually circular.

        3. I think there is truth to this. I think it is possible that a Sudoku puzzle does not have a unique solution, but using the deduction methods explained in the article will lead to only one of those solutions.

          For example, consider the following situation:

          2,3 - 2,3

          1,2,3 - 2,3 - 1,3

          1,2,3 - X - 1,3

          Then

          2 - 3

          3 - 2 - 1

          1 - X - 3

          and

          2 - 3

          1 - 2 - 3

          3 - X - 1

          are both possible solutions, but applying the unique rectangles deduction in the article would only lead us to the second solution.

          1. There's actually a third solution, made by swapping the 2s and 3s of your first solution:

            3-2

            2-3-1

            1-X-3

            This solution looks identical to the first one from the perspective of the rest of the puzzle. Nothing can force a single solution. Since sudoku designers/publishers have an unwritten rule that solutions are unique, one can assume that neither of those are the solution. Something somewhere else in the puzzle will force the 1s to be placed in order to create your second solution.

        4. [dead]

      2. Why wouldn't it be satisfying if it had multiple solutions?

        1. Would a Poirot novel be satisfying if at the end, the detective concluded that suspect A was guilty, but he couldn't rule out that some other suspect was equally guilty?

          1. In a murder story there can only be one murderer (except in Murder on the Orient Express..), because it is a question about history.

            This is a number puzzle.

          2. Would The Martian be unsatisfying of the astronaut found two ways to survive?

          3. I can think of, at least, one Poirot novel that had multiple solutions

          4. Would a Nolan movie be satisfying if at the end, there is a concrete conclusion to the story?

            1. I liked his Batman series just fine.

            2. An excellent question. It invites conjecture, but we may never know for sure.

        2. Because you will not solve it by filling in all spots, but instead by reducing it until you spot the "deadly patterns" that admit multiple solutions.

          1. And then you pick a number and fill out a solution? These aren't deadly, which to me implies no solution. You have a free choice. Consider this crossword puzzle, for example: https://x.com/matttomic/status/1490690612672315398

            1. That's not what riddles are about though. There ought to be freedom regarding how to arrive at the solution, not what the solution is. The latter is what real life is about, but the point of doing riddles is in part to escape from real life :)

              1. I guess? To each their own. I enjoy puzzles with multiple solutions.

    2. I play on my iPhone, and I find that the sudokupad mobile app is... not the best. So I made my own that can play most (see below) sudokupad puzzles, and also pulls in the CTC video feed and finds the associated puzzles.

      Unfortunately, I probably can't share it with anyone because of how it was made and how it works, but it's definitely made it easier for me to play some great puzzles.

      I also dislike uniqueness as a rule, and I think the CTC hosts have expressed on several occasions that they'll generally refuse to use it unless the puzzle is truly otherwise unsolvable. I think they're a bit more tolerant of bifurcation, but only if the contradiction emerges quickly, and double bifurcation isn't nice. I get the impression that bifurcation is used more in competitive play because it can sometimes be faster than trying to spot something the "intended" way.

      ---

      My app can't play all the puzzles, because some of them have unusually large grids that have impossibly small tap targets on phones. But otherwise, any puzzles that don't work are just down to bugs on my end.

    3. By the way, I avoid pencil marking at all because that feels like cheating.

      I'm curious if anyone else solves their sudoku without pencil marking?

      1. I try to do them in my head, but for the hardest ones some scribbles are almost necessary (for me).

    4. [deleted]

      1. > A bit of a pedantic math nerd comment, but I think uniqueness is never required to solve a puzzle

        If a puzzle is valid and it has only 1 solution, then nothing is required to solve it, you can just enumerate all the fillings and pick the only one that is correct.

    5. 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'.

    6. Non-uniqueness is one of the things I don't like about Pips from nytimes. Sometimes there are multiple solutions to a puzzle! I otherwise love and enjoy solving these, but when you can flip a domino around and get another possible answer, I find it distasteful.

      1. I completely agree. It's really unsatisfying to try to figure out how to place a tile, only to find out it doesn't matter.

        It also means just trying something is often faster than thinking about the right move when you're stuck. That just feels wrong.

    7. You have to think of the solution set. A quadratic equation has 0 or 1 or 2 solutions which form a single solution set. No one complains about quadratic equations.

      Accordingly, all sudokus have a single valid solution set. I have no problem with that.

      1. Pedantically, all quadratic equations have two solutions. In some the two may be identical and in others they may be complex.

        1. Pedantically, multiple roots are not separate solutions, and whether a solution exists can depend on your choice of ring.

    8. someone once devised a puzzle that could only be reasonably solved using uniqueness. I tried to find the video of mark solving it but failed; I think the setter did hint that uniqueness was needed rather than mark figuring it out from a cold start.

    9. [deleted]

    10. > I really dislike using uniqueness.

      I dislike uniqueness so much I refuse to use unique numbers in rows, columns or blocks. It's a complete grid of ones for me.

    11. I feel uniqueness is like solving physics puzzle by analyzing energy instead of analyzing how the state changes from moment to moment using calculus. It's delightful.

  2. > [0] That may seem obvious to you at first blush, a jigsaw puzzle usually has one solution, elementary school algebra problems have one solution, and using a box with the digits 1-9 seems like it would fit right into 5th grade.

    Put one unique digit in each box, to solve the arithmetic equation: 8 * _ = 2 _

    Same as sudoku, uniqueness depends on what intial information is given.

    See also, initial value problems in differential equations.

  3. I sometimes find myself using uniqueness for chess puzzles as well.

    I might find two promising moves A and B for White, such that Black's
    only good response to A is C and their only good response to B is D.
    However, after A C, I have two good followups, B or E. While after B D,
    I only have A as a followup, not E.
    Since the move pairs A C and B D transpose, doing both would destroy uniqueness.
    And thus I know I need to play A C to reach the alternative followup of E.

    This pattern, which closely mirrors the almost deadly pattern in Sudoku, applies to any two-player games that allows transpositions.

    1. I recently had in interesting case of "non-uniqueness" in a lichess puzzle: The opposing side (played by an engine) could promote a pawn to a queen, and it was unclear to me whether I should take it in that case.

      The engine promoted the pawn to a bishop. Stalemate ideas were clearly not present. This left as the only explanation for the underpromotion that the engine had evaluated the queen and bishop promotion exactly the same, which meant that either I had forced mate in n, or the lines would transpose (i. e. I would have to take the promoted piece rather soon anyway).

    2. sometimes the chess puzzles will finish the move before there is a non-unique solution so it can be risky to use for pruning solutions where the branch is deep.

      1. Chess puzzles almost always do that if they aren't checkmates. High difficulty puzzles usually aren't mates, because of obscuring the danger/opportunity is part of what makes it hard to see that the move is critical.

      2. other times chess puzzles have multiple solutions for the player or multiple possible best answers for the opponent.

    3. [deleted]

  4. In the sudoku community I'm aware of people usually avoid puzzles which require uniqueness to solve. However every once in a while a puzzle relies on it and it can be quite fun. Here is one I remember really enjoying which provides a 'lore' reason for why the uniqueness constraint applies this time --- the puzzle explains that you are given a photocopy with the colors missing and you have to use uniqueness to figure out what the intended colors (for the variant rules) are.

    https://sudokupad.app/dwa3x2ld09 (Photocopied #4 "Group Theory" by Gabriel Kammer)

  5. The same rule exists in many of Simon Tatham's puzzles, an open source Android app. My choice depends on a puzzle. For Dominosa, I chose to use the uniqueness rule because it's often the only visible clue, and it feels unnatural to ignore it and look elsewhere for minutes. At the same time, I chose to ignore the uniqueness rule for Keen, because I can almost always find another clue elsewhere on the board.

    1. Seeing Simon Tatham's puzzles referred to as "Android app" feels so wrong. These are portable puzzles that predate Android.

    2. Interesting, it's similar for me. I don't really play those two puzzles, but I do use uniqueness in Map, where it tends to stare you in the face while I dislike using it in Tracks.

      1. I use it very often in Map. I don't think I'd be able to solve the unreasonable difficulty otherwise (without guessing, of course).

    3. As a personal principle, not only do I never accept to rely on uniqueness rule when playing Simon Tatham's puzzle, but I also never allow myself to use the "undo" feature (unless for an immediate undo when my finger mistakenly touches the wrong key).

    4. I sometimes have to rely on it in "Loopy" puzzles, but I try to avoid it!

      1. I prefer the Slitherlink implementation (it's Simon's engine below, but I prefer the UI / interaction and board setups of Slitherlink). I often do "honeycomb" (hexagons) variants, as they tickle my brain best. A square grid, each incoming has three outgoing. In a hexagon one incoming has two possible outgoing. So if you can rule out one you know it's the other. Which to some extent may sound "easier", but I just prefer the patterns and flow of solving them. I've never felt I've needed to rely on uniqueness, though.

        One game I often feel I have to rely on uniqueness is "Willas Walk" ( https://www.kaser.com/ww.html ). But there it's almost the core of the game and I'm not sure it would go without. The thing is that you need to enter all rooms once, in one door and out another, and you can never move straight through a room.

        Here's one example: https://imgur.com/a/sratGHk

        In the marked room, there's two valid exits to the left. I know that would break uniqueness, so it must be the exit to the right.

  6. I've seen a non-unique Sudoku in the wild. It was a free London paper, probably the Metro, about 10 - 20 years ago. It had three valid solutions - two were very similar (just differed by the "deadly rectangle" in the article's terms) and the other had a few more varied cells.

    It was also a prize puzzle (i.e. send in the two shaded digits and be entered into a prize draw) and one of the shaded cells differed between solutions!

    If you had used the uniqueness condition from the article, you might have found one of the solutions and incorrectly thought you'd found "the" solution.

    1. A non unique sudoku solution is basically an underdetermined system/puzzle.

      Back in the day someone sent around a challenge in my group and it had 37 solutions. You can brute force those after you apply the heuristics. You can basically generate all valid final puzzles. The fun part is actually figuring out how to create a valid puzzle.

  7. These are just standard sudoku techniques aren't they?

    why is there stigma in using them when it's what's need to solve regular sudokus?

    From another direction, are there people who solve sudoku's without the idea that the puzzle has 1 solution? That seems very boring.

    1. Yeah I'm totally confused by this

      1. Likewise I was expecting the cheatcode of Sudoku and I read it thinking... I already do this, it must be leading to something else.

    2. I’ve talked with folks who won’t use these kinds of uniqueness techniques or others like “guess and check”. More well known is Simon Anthony from Cracking the Cryptic who eschews uniqueness techniques in his solving videos unless the rules explicitly state something about uniqueness.

      1. I mentioned this in another comment but this is why I was so surprised that their own Classic Sudoku app includes a puzzle which is designed to use uniqueness as part of the solve.

        I really cannot explain it logically, but unlike every other obscure technique uniqueness just feels wrong. I think it might have to do with wanting the puzzle to contain logic which clearly shows its one unique solution without having to trust it to have one?

        It's almost like a magic trick which requires you to understand the trick or you won't be fooled. It feels backwards.

      2. Is it even possible to avoid guess and check? In every sudoku puzzle I come across, besides very easy puzzles, there comes a point where I have to guess and check. It's why I gave up on doing sudoku, because that is just tedious and not at all fun.

        1. I used to do hard ones and never had to guess and check, following rules only. Maybe you missed a trick or two?

          1. It's often also a difference between proper made sudokus and some bad ones you can find in a random magazine. The proper ones have an intended way of solving and deductions.

        2. It is usually never required... depending on how pedantic you want to be about what constitutes a guess and check. Some deductions do require following through multiple consequential steps.

      3. 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.

        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.

          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.

            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.

    3. > why is there stigma in using them when it's what's need to solve regular sudokus?

      This isn't a standard Sudoku solving technique. You can have a Sudoku problem where 1) there's a unique solution if you assume there's a unique solution and 2) there are multiple solutions if you do not assume there's a unique solution

      To give a comparison, the equation:

        x^2 = a
      
      has an infinite number of solutions. Now, if you assume there's a unique solution to the equation, you get x = a = 0. You're only able to get the unique solution by assuming there's a unique solution
    4. Uniqueness is usually seen as a shortcut. Handcrafted puzzles often have an intended solution which requires some insight or logic that the puzzle setter wanted you to discover. Uniqueness can sidestep that.

      Uniqueness also assumes the puzzle is correct. Especially if you're a test solver you can't assume that, as the setter may have made a mistake.

      I will say I don't think that way about solves with a BUG in them. The BUG usually only appears as the absolute last step of a solve. If you encounter it, it's probably the intended solve.

      1. > Especially if you're a test solver you can't assume that, as the setter may have made a mistake.

        Why would you bother a human test solver before checking mechanically for uniqueness and other 'correctness' issues?

    5. Dont really get the post either, I thought everyone uses these techniques

    6. So you don't need uniqueness.

      The reason I don't like it is other deduction techniques are 'resistant to broken puzzles', you won't ever accidentally 'solve' an incorrect puzzle using them (I'm assuming you are deducing here, not guessing).

      Using uniqueness if the puzzle isn't unique can get you a solution, when other solutions existed -- you should have got stuck but you 'skipped'.

    7. I only do sudoku on a flight. I didn’t know the uniqueness was given. They might be standard techniques for those who want to go deeper with sudoku.
      I don’t think it is easy to find these hidden rules if you don’t think in the perspective of designers.

    8. For those who have learnt or picked them up along the way yes and you can extend this trick to triples and quadruples.

  8. I enjoyed learning about the Phistomephel Ring for the first time. I never have actually used it to help solve a sudoku though. Probably because I came across it after I stopped doing them.

    https://www.youtube.com/watch?v=pezlnN4X52g

    Here it is explained in text for those that would prefer that to the Numberphile video above:

    https://johnrandall.substack.com/p/the-phistomefel-ring

    1. Phistomephel is I was expecting to see when I clicked on this thread.

      1. For a while it looked like set theory was going to become the new meta, some puzzles were vastly easier if you knew where to look.

    2. I have solved a lot of puzzles as part of my daily routine and only once that I can remember did I need or was helped by remembering the Phistomephel Ring. I got really excited because I wasn't expecting it at all.

  9. It's analogous to using proof by contradiction in mathematics. A direct proof is more elegant and usually more illuminating. But then there's the quote from David Hilbert: "Taking the principle of excluded middle from the mathematician would be the same, say, as proscribing the telescope to the astronomer or to the boxer the use of his fists."

    1. > It's analogous to using proof by contradiction in mathematics.

      Well, the argument here is:

      1. The solution is unique.
      2. If [this square had value X], the solution wouldn't be unique.
      3. Therefore, [this square does not have value X].

      That isn't a proof by contradiction. It's just contraposition: step 2 says P ⟶ Q, step 1 says ¬Q, and our conclusion in step 3 says ¬P. You can do the whole thing constructively. The relevant proof (that from any implication you can derive the contrapositive) is the 7th exercise in session 4 at https://incredible.pm/ . Classical reasoning starts in session 5. (And the principle of a proof by contradiction is the fourth exercise there, sort of. You could make a strong argument that the principle of a proof by contradiction is inherent in the definitional choice that equates "P ⟶ ⊥" with "¬P".)

      Sudoku has a much more direct equivalent of the concept of proof by contradiction. A sudoku proof by contradiction is just trial and error: "If this square is 3, then... [a constraint is violated]. Therefore, this square isn't 3."

      Even that is still just contraposition, though, because the rules of sudoku tell you what the constraints are and guarantee that they aren't violated. You don't need to assume the law of the excluded middle when it's given to you explicitly.

      1. I think contradiction versus contraposition is often a matter of style or taste. I don’t think “this can be expressed as contraposition, therefore it’s not contradiction” is valid.

        But I operate at a high school level, so I could be wrong.

        1. The comment above specifically calls out the law of the excluded middle. Why?

      2. When looking at this from a constructive perspective, we need to be very careful about negations.

        At the same time, Soduko is finite, so the differences between constructive and non-constructive reasoning can be subtle, or non-existent, depending on your perspective or how you state the problem.

        Anyway, I immediately think of the Kolmogorov-interpretation of logic, with Aufgabe (≈problems) and Lösung (≈solutions). And the problem of Soduku is to find which numbers the cells have, not which numbers they don't have. So I find the third step in your post to stop short of what we are after.

        As some of the others, my first thought was that there was something about non-constructiveness that caused using uniqueness to feel unsatisfying to some. But I've not thought it through, nor thought about how other satisfying tactics are from a constructive perspective.

        I think another potential reason why some find it unsatisfying could be impredicativity.

        I wonder if anyone have tried to make different kinds of formal axiomatizations/logics for Soduko, and looked at how different tactics manifest. For instance, if a tactic essentially is provable in the logic itself, or need to be proven for each instance. Maybe reverse math for soduko-tactics?

    2. I'm not sure that explains it. In mathematics I've never understood the feelings against proof by contradiction. It is essentially just reasoning for why the opposite couldn't work.

      But using uniqueness in sudoku feels really cheap and anticlimactic. It gives me the same empty feeling as solving through bifurcation

      1. Because hopefully the proof gives us more insight in how the structure works, on why the thing is true. Just that the opposite can't work is often less useful for that.

        1. Can you give an example? My intuition is that showing why the opposite can't work should give you the same type of insight, just from the other direction.

          1. I'm not sure I can give a good example, it's early morning, I have two minutes, and I'm just some programmer.

            But say, the Halting Problem is proved by contradiction. And lots of other things are proved using it -- for instance, the Busy Beaver function must grow faster than any computable function because otherwise it could be used to test whether a Turing machine halts, and we know that isn't possible.

            That argument is true but by itself doesn't give much insight on how it grows, does it?

            I wanted to find some links about individual values of BB(n) being shown to be independent of ZFC but a) my time is up and b) I don't know how much contradiction those use.

          2. I'm trying to work out if I can just claim this comment is a proof by contradiction.

    3. I really like proof by contradiction. I still clearly remember in college when we worked through the proof that the reals are uncountably infinite, which was a proof by contradiction. When we got to the end, the final piece was so surprising and delightful to me that I actually went home from class and called my mom just to gush about it (and she tactfully listened and was happy for me even though I'm sure she doesn't care about math). Proof by contradiction feels to me like a plot twist that turns the story on its head and leaves you in awe at what you just witnessed.

      1. Strictly speaking the diagonal argument is a proof by negation, rather than a proof by contradiction. The difference being relevant here because the hilbert quote mentions the importance of the law of the excluded middle, but LEM isn't required for proofs by negation. And since the diagonal argument is effectively a constructive proof of something that doesn't exist, it retains the elegance of typical constructivist proofs. A proof by contradiction, by contrast, will prove that something exists while telling you nothing about what it looks like.

    4. Proof by contradiction is non-constructive in general.

      Unlike proof of negation. it can be used to "prove" things exist that cannot be obtained.

      A more accurate maxim would be: "Taking the principle of excluded middle from the mathematician would be the same, say, as proscribing astrology to the astronomer or to the boxer the use of nuclear weapons."

      https://math.andrej.com/2005/05/13/the-law-of-excluded-middl...

  10. I welcome the link to Cracking The Cryptic, which is a great channel — you can share in their excitement like you might share in Francis Borgeois's beautiful, joyful love of trains.

    If you do not believe me, I give you: the Miracle Sudoku video:

    https://www.youtube.com/watch?v=yKf9aUIxdb4

    It's about a Sudoku puzzle with additional chess-piece-style restrictions, that starts off with a seemingly impossibly empty board.

    If you don't share his glee as he goes about it, you may be a bit dead inside.

    1. "I have never solved a sudoku in my life and basically don't know anything about them, but I somehow just watched a 25 minute video because this guy's excitement is so contagious. Thanks for the link.

    2. iirc that was the video that went viral and catapulted the channel to the next level of viewership

  11. > If we assume the puzzle is valid, then we can also assume that no deadly pattern can ever exist in the puzzle since it has one and only one solution.

    With that assumption, then you can color code[1] the sudoku and see this a little better than with the numerical indicators.

    Making new Sudoku puzzles is a more fun exercise with computers than solving them.

    You can turn Sudoku-making into a graph coloring problem instead of a tabular version of it.

    [1] - https://notmysock.org/code/sudoku/

  12. The assumption of solution uniqueness and or existence can fast track other puzzles, eg.

    A hole of depth (or length) L is drilled through a sphere from pole to pole aligned and centred about an axis. What volume of material remains ?

    1. All the material remains, it’s just moved around. But assuming it’s not a joke question, doesn’t it depend on the width of the hole? From pole to pole means L is the diameter of the sphere and, I assume the hole is a cylinder so

      volume_of_sphere - volume_of_cylinder

      (4/3)π(L/2)³ - πLr²

      where r is cylinder radius or half the width of the hole. I can’t see an easy simple form so I asked WolframAlpha to simplify it and it doesn’t get nicer.

      What am I missing?

      1. There's a more concrete illustration here: https://en.wikipedia.org/wiki/Napkin_ring_problem

        1. So we need to know the height of the resulting band, or, equivalently, the width of the drill.

          I think the original question was asked/worded incorrectly, unless I'm missing something?

          1. The depth of the hole, from one rim to the other, is the width of the band.

            If the hole was very very wide, that depth, from rim to rim, is more clearly not the same as the diameter of the sphere.

            I tossed my OG comment off rapidly, perhaps I could have phrased it better .. although I was recalling it from first year high school calculus in the mid 1970s.

            1. "width of the band" is ambiguous way to refer to a dimension of the band that you are measuring.

              1. That's English for you.

                In the context of rings (wedding bands, engagement rings) that are fitted to fingers, narrow band vs wide band refers to the dimension in question, more or less as it goes for napkin rings at formal settings.

                Here, in the context of of a puzzle in a text only forum populated with all manner of of English speakers across the globe it proves difficult.

                As I mentioned some 4 hours past in a response to a peer comment to yours.

            2. You call the diameter of a hole its "depth"?

              In my experience, colloquially, a hole can be deep but that means something else.

              1. > You call the diameter of a hole its "depth"?

                No. I do not and did not.

                I did refer to both the depth of the hole and to the unspecified could be anything "wide"(-ness) of the hole though.

                What would have been confusing is I referred to the "width of the band" when responding to someone talking about a band (from the linked napkin ring problem) - there I was thinking of the diameter of a napkin ring and it's ?? width .. I should have typed height of band to match what they typed - but conventions about the world vary <shrug>

                You'll note I did describe the depth as being from one rim (let's say the top rim) to the other rim (which would be the bottom rim if we're doing top to bottom hole)

                Generally this is a problem presented with a diagram, HN being a text based forum . . .

          2. L is the height of the drill/resulting band.

            The reason that uniqueness fast-tracks you is that you can assume the drill has infinitesimal diameter and thus the resulting shape is just a sphere with radius L/2.

    2. That's wild, thanks for sharing.

    3. that puzzle (in one of martin gardner's books) was the first time I encountered the idea. I was quite delighted by it.

  13. The same hidden rule applies to Sunflowers game https://sunflowersgame.com/ (excellent game btw)

    1. I was going to say the same thing. Any two squares that are topologically equivalent must have the same answer, it comes up fairly often.

  14. By using uniqueness, the conclusion becomes "if this puzzle has an unique solution, it is ...", or equivalently, "This puzzle has a solution ..., while may have other solutions". But if you solve the game without depending on uniqueness, which is possible for most sudoku problems, the conclusion is "This puzzle has an unique solution, which is ..." The latter is obviously stronger.

  15. https://www.puzzle-minesweeper.com/ and https://www.puzzle-bridges.com/ and the other puzzles by the same people also have this 'hidden rule'. You can also exploit them, if you want to.

  16. In Sudoku competitions filling out the numbers quickly is the goal and players use these techniques and also try random numbers to see if they work.

    If you’re playing on your own, solving the sudoku may be more satisfying, in which case you can’t assume uniqueness because proving uniqueness is part of proving the solution.

  17. Sudoku is not the only puzzle game that you can “cheat“ using uniqueness. I’ve always thought it should be made an explicit solving technique, or been removed entirely by not guaranteeing that the solution is unique. Realistically, you only need one in every 10 puzzles or so to have non-unique solutions in order to remove uniqueness as a usable method for solving.

  18. Not sure this helps much. Usually the "deadly pattern" of a rectangle with each square allowing 2 numbers which is described by TFA appears when there are still other things to solve elsewhere in the Sodoku. If it is the only thing left to solve, then it doesn't really matter, whether there is only 1 or more than 1 solution, for the solver to arrive at a solution. You can simply pick any of the trivial solutions by then. But if there are other things to solve, then you often cannot immediately be sure, that they are completely disconnected from that "deadly pattern", so it might turn out to not be a "deadly pattern" in the end.

    1. > the "deadly pattern" of a rectangle with each square allowing 2 numbers which is described by TFA appears when there are still other things to solve elsewhere in the Sodoku

      The first pattern described can't be affected by anything else. If you insert a 2 or 3 elsewhere you go from 2 solutions to that square to 0.

      1. Yeah, it would have to be a variant sudoku where other rules allow numbers elsewhere to affect the squares in the deadly pattern.

      2. I see. Good point. Next time I solve a Sodoku, and I hit this situation, I need to think about this.

  19. That’s why you only do handcrafted puzzles, not generated ones. I’ve played sudoko for years and never used uniqueness, because in all of your examples, you can’t partially fill pencil marking and cry “uniqueness” so if the 1 or 4 had to be written there, then it would.

    1. Interesting. What does generated vs handcrafted have to do with uniqueness?

      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.

  20. For those who enjoy Sudoku and have a reMarkable device, I’ve been building an app that runs on the Paper Pro. IMO it’s a much better way to play, but of course I’m biased.

    https://garbles.github.io/sudoku/

    (Should work in the Pro Move too.)

  21. Star Battle (what the daily LinkedIn puzzle set calls Queens) has the same "rule" available to exploit. If you see that there are two regions having two possible solution slots each, and those available cells share the same two rows and two columns (that is to say, the empty cells which will contain the solution pair are the four corners of a square) there will be a third region whose solution will intrude on at least one of those cells, leaving only one unique pair.

  22. Some years back, on a plane, I tried a sudoku game on the integrated entertainment system. I was irritated to find out that I had a seemingly valid solution, but the game refused to consider it solved.

    Turns out it was a problem with more than one solution. Once I realized that, the game app immediately left distaste in my mouth, and started feeling like low-quality slop.

    After the flight, I immediately checked if sudokus with more than one solution are generally considered valid, and felt vindicated to find out that indeed, they _should_ have only one. The game app was indeed not only buggy, but the puzzle selection/design was also sloppy.

    1. As the article says the rule is “hidden” so to me it feels that for a digital sudoku puzzle it is ok to have multiple solutions, as long as the program check dynamically that the solution is valid (check all row/columns/3x3 all contains each numbers). For a paper sudoku of course you can only print one solution otherwise it quickly gets messy.

  23. Interesting. I used this exact reasoning multiple times in SunFlowers[1]. Feels a bit like cheating, but it is very convenient indeed. Never thought of using that on the Sudoku before!

    [1] https://pzlgames.com/games/sunflowersmaster/

  24. When I was into Sudoku, a few lustra ago, the uniqueness rule was explicitly stated in the magazine I used to buy. Nothing unwritten no obscure...

  25. Haven't played in years but I thought this was just standard puzzle solving.

  26. Is this not just normal Sudoku technique? What is the problem with employing such techniques? Who even completes Sudoku puzzles assuming that they have only one solution?

  27. The Artisan of Glimmith has the same rule, that every puzzle has a unique solution. In that game too, deduction based on uniqueness is a matter of taste.

  28. I'm confused, why would that be controversial? Surely you're just using what you know about a sudoku to deduce the answer

  29. I play a lot of Sudoku. (I claim it's for both relaxation and to keep my brain working).

    Just created a multiplayer version to play with my daughter.

    I have not implemented solving hints yet and some of the "easy" problems can be challenging.

    Maybe it would be fun to make a non unique version...

  30. Is this the same as https://youtu.be/pezlnN4X52g ?

  31. The NYT dominos game often does not have a unique solution and it bothers me so.

  32. love it. I think sudoku users have deliberated a lot of these patterns like x-wing, y-wing. Shameless plug for a one-hand version of sudoku i made https://apps.apple.com/us/app/one-hand-sudoku-logic-puzzle/i... I was sick if having to use both hands in train and while putting my toddler to sleep.

  33. It’s been a long time since I last played this game, and this post made me download it again to play it =))) nice

  34. Kind of related. I (Claude) built a little 2-player sudoku game hinging on the uniqueness aspect. The clues are split between each player, so initially the sudoku is not uniquely solvable for either player. Only after each player progresses the shared solves is there a unique solution for both sides.

    https://coopsudoku.xyz/

  35. AKA the Highlander rule: There can be only one.

  36. Very interesting to see this pop up now.

    I've used this "unspoken" rule for many years, and often had a hard time explaining it to others.

    I often called it "No two solutions", meaning that the puzzle was not allowed to have two solutions.

    Personally, I prefer solving sudoku on paper. Just my preference.

    So I've done a lot of sudoku appearing in newspapers. I found that many of the "harder", maybe they were called "5 star" newspaper sudoke, would fall to this rule of "No two solutions", so I generally avoid using it, unless the puzzle is _really- hard, and I can't find any other way.

    EDIT: I found this image from when I was emailing a friend about this.

    This is how I've typically used this rule:

    https://nullimage.org/6xvubQNs7D4zMteBvDRBGm#k=KACWzJ3qsPnoY...

    1. And yet the Sudoko in my daily paper occasionally breaks that rule and has multiple solutions ..... while it's annoying I consider both solutions valid

      1. I don't doubt your experience, but with all the Sudoku's I've played, if I end up with a degenerate solution, I know that I've made a mistake somewhere along the line.

        1. What do you mean by degenerate? A system of variables can be exactly determined, overdetermined or underdetermined.

          If the sudoku has an answer, it certainly can't be overdetermined. Assuming that, if you spot a contradiction, you know _you_, the solver, made a mistake somewhere.

          However, if you have no contradiction at all (each rule checks out: no duplicate numbers on rows, columns and within the 3x3 blocks), yet the answer is different from the "correct" one, you know that the system was underdetermined, and the sudoku had a flawed design, i.e. it wasn't "valid" to begin with.

      2. The definition of "valid" for a sudoku board includes the fact that it has a single unique solution. So by definition they are not valid sudokus. Of course that doesn't mean you can't enjoy them and play them anyway.

    2. Interesting, I've built up an intuition on sudoku over the years but have never used such a rule. Intuitively, I understand that sudokus must be unique (so that it's solvable without guessing), but how does one utilize this rule to solve puzzles?

      1. In my own "writing a Sudoku solver" explorations, I've used https://www.sudokuwiki.org/ for guides for the algorithms.

        https://www.sudokuwiki.org/Unique_Rectangles is the one that covers the unique solution rectangles with examples.

        https://www.sudokuwiki.org/sudoku.htm?bd=0008060002000100740...

            ... 8.6 ... 
            2.. .1. .74
            ..9 7.. .1.
            
            ..6 ... 2.1
            3.. ... 6.. 
            .2. ... ...
            
            .3. ..5 ...
            ..2 ... .8.
            81. ..2 953
        
        This is one such puzzle. Clicking on the 'Solve Path', you'll see the path with it. It is possible to still solve it with some more advanced techniques if rules 8 and 21 are unselected ... being able to solve it with the 'WXYZ-Wing'.

        It gets to the situation where box 9 has a [[14],[14]] pair and box 8 has a [[14],[1439]] pair. That forces box 8 to not have [[14], [14]], and so the second cell in question must be a [39] because a 1 or a 4 will cause it to fail uniqueness.

        This happens again with boxes 4 and 6 with a box 4 having [[158],[158]] and box 6 having [[15],[15]] forcing a 1 into one of those two cells and removing 1 from the other cells in box 4.

      2. I found this image from when I was emailing a friend about this.

        This is how I've typically used this rule:

        https://nullimage.org/6xvubQNs7D4zMteBvDRBGm#k=KACWzJ3qsPnoY...

        Sorry it's a pastebin'd image, re-creating it in text seemed, tedious 8-)

        Also, I also didn't find this rule to be intuitive. I just happened to stumble across a few instances where the conclusion was made obvious to me, and so I started using it when necessary.

        1. Thank you! Don't worry, the pastebin image is plenty clear to me. Will keep an eye out for possible solves using this in the future

    3. Is this just a shortcut? Or did puzzles end up in a state where you had to use it? For instance, the linked image doesn’t need this logic, since neither 6 nor 7 can go in R1C4, so it must be a 9 regardless.

      1. Yes, the image is just an example. Others aren't so obvious.

        And I think it would be fair to call this a shortcut.

        As I mentioned, after discovering it, I tried not to use it unless I could find no other way to solve the puzzle. It felt a little like cheating to me (just my personal impression).

        But I "think", there is always another way. It's just that sometimes it was beyond me.

        Some sudoku are REALLY hard 8-)

        I've looked at some of the the championship trial games and found it amazing that anyone could solve them...

  37. use z3 decoder, evil, hah...

  38. I love when I can apply this rule to math puzzles.

    For example when the puzzle is about finding some measurement of a geometric shape, knowing that it's exactly one value you can slide vertices of the shape (while preserving what's given in the puzzle) to make this value simpler to find.

    For example if the answer must exist for any angle, you can transform the question to assume the angle is 90deg which might make the setup way easier to reason about. Or sometimes even 0 or 180 deg.

  39. kinda intuitive and obvious but nice