| ▲ | pgreenwood 4 hours ago |
| 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." |
|
| ▲ | Agentlien 3 hours ago | parent | next [-] |
| 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 |
| |
| ▲ | Scarblac an hour ago | parent [-] | | 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. | | |
| ▲ | Agentlien 28 minutes ago | parent [-] | | 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. | | |
| ▲ | Scarblac 9 minutes ago | parent [-] | | 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. |
|
|
|
|
| ▲ | thaumasiotes 3 hours ago | parent | prev | next [-] |
| > 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. |
| |
| ▲ | peterbb_net 2 hours ago | parent | next [-] | | 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? | |
| ▲ | gsinclair 3 hours ago | parent | prev [-] | | 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. | | |
|
|
| ▲ | bigstrat2003 2 hours ago | parent | prev [-] |
| 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. |
| |
| ▲ | f33d5173 2 hours ago | parent [-] | | 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. |
|