Sudoku's Hidden Rule (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
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.
Replies (2)
But I operate at a high school level, so I could be wrong.
Replies (1)
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?