Remix.run Logo
▲ analog31 4 hours ago

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.

▲GolDDranks 4 hours ago | parent [-]

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.