2 ms·
FWIW, here's what I call "Boring Sudoku" in Prolog. It is just 81 vars constrained to be 1..9 and then twenty-seven applications of the Pigeonhole principle.
by carapace 7y ago
FWIW, here's what I call "Boring Sudoku" in Prolog.
It is just 81 vars constrained to be 1..9 and then twenty-seven applications of the Pigeonhole principle.
https://swish.swi-prolog.org/p/Boring%20Sudoku.swinb https://swish.swi-prolog.org/p/Boring%20Sudoku.swinb