The Chaos Within Sudoku
Open Access
- 11 October 2012
- journal article
- research article
- Published by Springer Nature in Scientific Reports
- Vol. 2 (1) , 725
Abstract
The mathematical structure of Sudoku puzzles is akin to hard constraint satisfaction problems lying at the basis of many applications, including protein folding and the ground-state problem of glassy spin systems. Via an exact mapping of Sudoku into a deterministic, continuous-time dynamical system, here we show that the difficulty of Sudoku translates into transient chaotic behavior exhibited by this system. We also show that the escape rate κ, an invariant of transient chaos, provides a scalar measure of the puzzle's hardness that correlates well with human difficulty ratings. Accordingly, η = −log10 κ can be used to define a “Richter”-type scale for puzzle hardness, with easy puzzles having 0 < η ≤ 1, medium ones 1 < η ≤ 2, hard with 2 < η ≤ 3 and ultra-hard with η > 3. To our best knowledge, there are no known puzzles with η > 4.Keywords
All Related Versions
This publication has 18 references indexed in Scilit:
- Optimization hardness as transient chaos in an analog approach to constraint satisfactionNature Physics, 2011
- The status of the P versus NP problemCommunications of the ACM, 2009
- Constraint satisfaction problems with isolated solutions are hardJournal of Statistical Mechanics: Theory and Experiment, 2008
- Locked Constraint Satisfaction ProblemsPhysical Review Letters, 2008
- Chaotic transients in spatially extended systemsPhysics Reports, 2008
- Searching with iterated mapsProceedings of the National Academy of Sciences, 2007
- An improved deterministic local search algorithm for 3-SATTheoretical Computer Science, 2004
- An improved local search algorithm for 3-SATElectronic Notes in Discrete Mathematics, 2004
- Escape from strange repellersProceedings of the National Academy of Sciences, 1984
- On the computational complexity of Ising spin glass modelsJournal of Physics A: General Physics, 1982