Mutilated chessboard problem

From HandWiki
Revision as of 23:02, 6 February 2024 by AIposter (talk | contribs) (url)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: On domino tiling after removing two corners

The mutilated chessboard
Unsuccessful solution to the mutilated chessboard problem: as well as the two corners, two center squares remain uncovered.

The mutilated chessboard problem is a tiling puzzle posed by Max Black in 1946 that asks:

Suppose a standard 8×8 chessboard (or checkerboard) has two diagonally opposite corners removed, leaving 62 squares. Is it possible to place 31 dominoes of size 2×1 so as to cover all of these squares?

It is an impossible puzzle: there is no domino tiling meeting these conditions. One proof of its impossibility uses the fact that, with the corners removed, the chessboard has 32 squares of one color and 30 of the other, but each domino must cover equally many squares of each color. More generally, if any two squares are removed from the chessboard, the rest can be tiled by dominoes if and only if the removed squares are of different colors. This problem has been used as a test case for automated reasoning, creativity, and the philosophy of mathematics.

History

The mutilated chessboard problem is an instance of domino tiling of grids and polyominoes, also known as "dimer models", a general class of problems whose study in statistical mechanics dates to the work of Ralph H. Fowler and George Stanley Rushbrooke in 1937.[1] Domino tilings also have a long history of practical use in pavement design and the arrangement of tatami flooring.[2]

The mutilated chessboard problem itself was proposed by philosopher Max Black in his book Critical Thinking (1946), with a hint at the coloring-based solution to its impossibility.[3][4] It was popularized in the 1950s through later discussions by Solomon W. Golomb (1954),[5] George Gamow and Marvin Stern (1958),[6] Claude Berge (1958),[4][7] and Martin Gardner in his Scientific American column "Mathematical Games" (1957).[8]

The use of the mutilated chessboard problem in automated reasoning stems from a proposal for its use by John McCarthy in 1964.[9][10] It has also been studied in cognitive science as a test case for creative insight,[11][12][13] Black's original motivation for the problem.[3] In the philosophy of mathematics, it has been examined in studies of the nature of mathematical proof.[14][15][16][17]

Solution

The puzzle is impossible to complete. A domino placed on the chessboard will always cover one white square and one black square. Therefore, any collection of dominoes placed on the board will cover equal numbers of squares of each color. But any two opposite squares have the same color: both black or both white. If they are removed, there will be fewer squares of that color and more of the other color, making the numbers of squares of each color unequal and the board impossible to cover.[8] The same idea shows that no domino tiling can exist whenever any two squares of the same color (not just the opposite corners) are removed from the chessboard.[18]

Several other proofs of impossibility have also been found. A proof by Shmuel Winograd starts with induction. In a given tiling of the board, if a row has an odd number of squares not covered by vertical dominoes from the previous row, then an odd number of vertical dominoes must extend into the next row. The first row trivially has an odd number of squares (namely, 7) not covered by dominoes of the previous row. Thus, by induction, each of the seven pairs of consecutive rows houses an odd number of vertical dominoes, producing an odd total number. By the same reasoning, the total number of horizontal dominoes must also be odd. As the sum of two odd numbers, the total number of dominoes—vertical and horizontal—must be even. But to cover the mutilated chessboard, 31 dominoes are needed, an odd number.[19][20] Another method counts the edges of each color around the boundary of the mutilated chessboard. Their numbers must be equal in any tileable region of the chessboard, because each domino has three edges of each color, and each internal edge between dominoes pairs off boundaries of opposite colors. However, the mutilated chessboard has more edges of one color than the other.[21]

Gomory's theorem: Removing any two oppositely-colored squares of a chessboard leaves a region that can be tiled by dominoes. The two removed squares partition a Hamiltonian cycle through the squares into one (left) or two (right) paths through an even number of squares, allowing the modified chessboard to be tiled by dominoes laid along the paths.
A region of the chessboard that has no domino tiling, but for which coloring-based impossibility proofs do not work

If two squares of opposite colors are removed, then the remaining board can always be tiled with dominoes; this result is Gomory's theorem,[22] after mathematician Ralph E. Gomory, whose proof was published in 1973.[18][20] Gomory's theorem can be proven using a Hamiltonian cycle of the grid graph formed by the chessboard squares. The removal of any two oppositely colored squares splits this cycle into two paths with an even number of squares each. Both of these paths are easy to partition into dominoes by following them.[22] Gomory's theorem is specific to the removal of only one square of each color. Removing larger numbers of squares, with equal numbers of each color, can result in a region that has no domino tiling, but for which coloring-based impossibility proofs do not work.[23]

Application to automated reasoning

Domino tiling problems on polyominoes, such as the mutilated chessboard problem, can be solved in polynomial time, either by converting them into problems in group theory,[21][24] or as instances of bipartite matching. In the latter formulation, one obtains a bipartite graph with a vertex for each available chessboard square and an edge for every pair of adjacent squares; the problem is to find a system of edges that touches each vertex exactly once. As in the coloring-based proof of the impossibility of the mutilated chessboard problem, the fact that this graph has more vertices of one color than the other implies that it fails the necessary conditions of Hall's marriage theorem, so no matching exists.[23][25][26] The problem can also be solved by formulating it as a constraint satisfaction problem, and applying semidefinite programming to a relaxation.[27]

In 1964, John McCarthy proposed the mutilated chessboard as a hard problem for automated proof systems, formulating it in first-order logic and asking for a system that can automatically determine the unsolvability of this formulation.[9] Most considerations of this problem provide solutions "in the conceptual sense" that do not apply to McCarthy's logic formulation of the problem.[28] Despite the existence of general methods such as those based on graph matching, it is exponentially hard for resolution to solve McCarthy's logical formulation of the problem,[29][30][31] highlighting the need for methods in artificial intelligence that can automatically change to a more suitable problem representation[32] and for knowledge representation systems that can manage the equivalences between different representations.[10] Short proofs are possible using resolution with additional variables,[33] or in stronger proof systems allowing the expression of avoidable tiling patterns that can prune the search space.[34] Higher-level proof assistants are capable of handling the coloring-based impossibility proof directly; these include Isabelle,[35] the Mizar system,[36] and Nqthm.[37]

Related problems

Script error: No such module "Chessboard". A similar problem asks if a wazir starting at a corner square of an ordinary chessboard can visit every square exactly once, and finish at the opposite corner square. The wazir is a fairy chess piece that can move only one square vertically or horizontally (not diagonally). Using similar reasoning to the mutilated chessboard problem's classic solution, this wazir's tour does not exist. For example, if the initial square is white, as each move alternates between black and white squares, the final square of any complete tour is black. However, the opposite corner square is white.[38] This sort of tour of a chessboard also forms the basis of a type of puzzle called Numbrix, which asks for a tour in which the positions of certain squares match given clues.[39] The impossibility of a corner-to-corner tour shows the impossibility of a Numbrix puzzle with the clues 1 in one corner and 64 in the opposite corner.

De Bruijn's theorem concerns the impossibility of packing certain cuboids into a larger cuboid. For instance, it is impossible, according to this theorem, to fill a 6 × 6 × 6 box with 1 × 2 × 4 cuboids. The proof uses a similar chessboard-coloring argument to the mutilated chessboard problem.[40]

References

  1. "An attempt to extend the statistical theory of perfect solutions", Transactions of the Faraday Society 33: 1272, 1937, doi:10.1039/tf9373301272 
  2. Erickson, Alejandro (2010), "Auspicious tatami mat arrangements", Computing and Combinatorics, 16th Annual International Conference, COCOON 2010, Nha Trang, Vietnam, July 19–21, 2010, Proceedings, Lecture Notes in Computer Science, 6196, Springer, pp. 288–297, doi:10.1007/978-3-642-14031-0_32 
  3. 3.0 3.1 Critical Thinking: An Introduction To Logic And Scientific Method, Prentice Hall, 1946, p. 157, 433 
  4. 4.0 4.1 Robinson, J. A. (1991), "Formal and Informal Proofs", in Boyer, Robert S., Automated Reasoning: Essays in Honor of Woody Bledsoe, Automated Reasoning Series, 1, Springer Netherlands, pp. 267–282, doi:10.1007/978-94-011-3488-0_13 ; see especially Section 13.1, "The mutilated chess board problem", pp. 271–274 .
  5. "Checker boards and polyominoes", The American Mathematical Monthly 61 (10): 675–682, 1954, doi:10.1080/00029890.1954.11988548 
  6. "Domino game", Puzzle-Math, Viking Press, 1958, pp. 87–90, ISBN 978-0-333-08637-7 
  7. (in fr) Théorie des graphes et ses applications, Dunod, 1958, p. 176 
  8. 8.0 8.1 "An assortment of maddening puzzles", Scientific American 196 (2): 152–158, February 1957, doi:10.1038/scientificamerican0257-152 ; for solution, see "Some old and new versions of ticktacktoe, plus the answers to last month's puzzles", Scientific American 196 (3): 160–168, March 1957, doi:10.1038/scientificamerican0357-160 . Reprinted in My Best Mathematical and Logic Puzzles (Dover Publications, 1994), pages 2 and 39.
  9. 9.0 9.1 McCarthy, John (July 17, 1964), A tough nut for proof procedures, Stanford AI Memo, 16, https://jmc.stanford.edu/articles/toughnut.html, retrieved July 18, 2022 
  10. 10.0 10.1 Kerber, Manfred; Pollet, Martin (2005), "A tough nut for mathematical knowledge management", in Kohlhase, Michael, Mathematical Knowledge Management, 4th International Conference, MKM 2005, Bremen, Germany, July 15-17, 2005, Revised Selected Papers, Lecture Notes in Computer Science, 3863, Springer, pp. 81–95, doi:10.1007/11618027_6, https://www.cs.bham.ac.uk/~mmk/papers/05-MKM.html 
  11. Kaplan, Craig A. (July 1990), "In search of insight", Cognitive Psychology 22 (3): 374–419, doi:10.1016/0010-0285(90)90008-r 
  12. Akin, Ömer; Akin, Cem (January 1998), "On the process of creativity in puzzles, inventions, and designs", Automation in Construction 7 (2–3): 123–138, doi:10.1016/s0926-5805(97)00057-5 
  13. Bilalić, Merim; Graf, Mario; Vaci, Nemanja; Danek, Amory H. (August 2019), "When the solution is on the doorstep: Better solving performance, but diminished aha! experience for chess experts on the mutilated checkerboard problem", Cognitive Science 43 (8): e12771, doi:10.1111/cogs.12771, PMID 31446653 
  14. MacKenzie, Donald (2005), "Computing and the cultures of proving", Philosophical Transactions of the Royal Society 363 (1835): 2335–2350, doi:10.1098/rsta.2005.1649, PMID 16188609, Bibcode2005RSPTA.363.2335M 
  15. Kerber, Manfred (2014), "A proof and some representations", in Wyatt, Jeremy L.; Petters, Dean D.; Hogg, David C., From Animals to Robots and Back: Reflections on Hard Problems in the Study of Cognition, A Collection in Honour of Aaron Sloman, Cognitive Systems Monographs, 22, Springer International Publishing, pp. 65–73, doi:10.1007/978-3-319-06614-1_5 
  16. Tanswell, Fenner (2015), "A problem with the dependence of informal proofs on formal proofs", Philosophia Mathematica, Series III 23 (3): 295–310, doi:10.1093/philmat/nkv008 
  17. Starikova, Irina; Van Bendegem, Jean Paul (2021), "Revisiting the mutilated chessboard or the many roles of a picture", Logique et Analyse 64 (255): 289–312, doi:10.2143/LEA.255.0.3290192, https://www.researchgate.net/publication/341220441, retrieved 2022-07-19 
  18. 18.0 18.1 "Gomory's theorem", Mathematical Gems I, Mathematical Association of America, 1973, pp. 65–67 
  19. McCarthy, John (1999), "Creative Solutions to Problems", AISB Workshop on Artificial Intelligence and Creativity, http://jmc.stanford.edu/articles/creative.html, retrieved 2007-04-27 
  20. 20.0 20.1 Mendelsohn, N. S. (2004), "Tiling with dominoes", The College Mathematics Journal 35 (2): 115–120, doi:10.2307/4146865 . Mendelsohn credits the original publication of Gomory's theorem to (Honsberger 1973).
  21. 21.0 21.1 "Conway's influence on the study of random tilings", The Mathematical Intelligencer 43 (2): 40–46, 2021, doi:10.1007/s00283-021-10089-3 
  22. 22.0 22.1 Watkins, John J. (2004), Across the Board: The Mathematics of Chessboard Problems, Princeton University Press, pp. 12–14, ISBN 978-0-691-11503-0 
  23. 23.0 23.1 Wright, Colin (2014), "The mutilated chess board (revisited)", Recreational Mathematics Magazine (1): 4–9, https://www.solipsys.co.uk/Writings/TheMutilatedChessBoardRevisited.pdf, retrieved 2022-07-18 
  24. "Conway's tiling groups", The American Mathematical Monthly 97 (8): 757–773, 1990, doi:10.2307/2324578 
  25. Urquhart, Alasdair (2003), "Resolution proofs of matching principles", Annals of Mathematics and Artificial Intelligence 37 (3): 241–250, doi:10.1023/A:1021231610627 
  26. Codel, Cayden R.; Reeves, Joseph E.; Heule, Marijn J. H.; Bryant, Randal E. (2021), "Bipartite perfect matching benchmarks", in Balyo, Tomáš; Froleyks, Nils; Heule, Marijn et al., Proceedings of SAT Competition 2021: Solver and Benchmark Descriptions, Department of Computer Science Report Series B, B-2021-1, Helsinki: Department of Computer Science, University of Helsinki, pp. 52–53, https://www.cs.cmu.edu/~jereeves/research/bipart-paper.pdf, retrieved 2022-07-18 
  27. de Klerk, Etienne; Van Maaren, Hans; Warners, Joost P. (2000), "Relaxations of the satisfiability problem using semidefinite programming", Journal of Automated Reasoning 24 (1–2): 37–65, doi:10.1023/A:1006362203438, https://research.tilburguniversity.edu/en/publications/relaxations-of-the-satisfiability-problem-using-semidefinite-prog, retrieved 2022-07-19 
  28. Andrews, Peter B.; Bishop, Matthew (1996), "On sets, types, fixed points, and checkerboards", in Miglioli, Pierangelo; Moscato, Ugo; Mundici, Daniele et al., Theorem Proving with Analytic Tableaux and Related Methods, 5th International Workshop, TABLEAUX '96, Terrasini, Palermo, Italy, May 15–17, 1996, Proceedings, Lecture Notes in Computer Science, 1071, Springer, pp. 1–15, doi:10.1007/3-540-61208-4_1, https://gtps.math.cmu.edu/tw96.ps.Z, retrieved 2022-07-18, "most treatments of the problem in the literature solve it in the conceptual sense, but do not actually provide proofs of the theorem in either of McCarthy's original formulations" 
  29. Dantchev, Stefan S.; Riis, Søren (2001), "'Planar' tautologies hard for resolution", 42nd Annual Symposium on Foundations of Computer Science, FOCS 2001, 14–17 October 2001, Las Vegas, Nevada, USA, IEEE Computer Society, pp. 220–229, doi:10.1109/SFCS.2001.959896, https://dro.dur.ac.uk/670/1/, retrieved 18 July 2022 
  30. Alekhnovich, Michael (2004), "Mutilated chessboard problem is exponentially hard for resolution", Theoretical Computer Science 310 (1–3): 513–525, doi:10.1016/S0304-3975(03)00395-5 
  31. Razborov, Alexander A. (2004), "Resolution lower bounds for perfect matching principles", Journal of Computer and System Sciences 69 (1): 3–27, doi:10.1016/j.jcss.2004.01.004, http://people.cs.uchicago.edu/~razborov/files/matching.pdf, retrieved 2022-07-19 
  32. Korf, Richard E. (1980), "Toward a model of representation changes", Artificial Intelligence 14 (1): 41–78, doi:10.1016/0004-3702(80)90033-8 
  33. Krishnamurthy, Balakrishnan (1985), "Short proofs for tricky formulas", Acta Informatica 22 (3): 253–275, doi:10.1007/BF00265682 
  34. Badger, Julia M., ed. (2019), "Clausal proofs of mutilated chessboards", NASA Formal Methods – 11th International Symposium, NFM 2019, Houston, TX, USA, May 7–9, 2019, Proceedings, Lecture Notes in Computer Science, 11460, Springer, pp. 204–210, doi:10.1007/978-3-030-20652-9_13 
  35. Paulson, Lawrence C. (2001), "A simple formalization and proof for the mutilated chess board", Logic Journal of the IGPL 9 (3): 475–485, doi:10.1093/jigpal/9.3.475, https://www.cl.cam.ac.uk/~lp15/papers/Reports/mutil.pdf, retrieved 2022-07-18 
  36. Rudnicki, Piotr (1996), The Mutilated Checkerboard Problem in the Lightweight Set Theory of Mizar, Technical Report, TR96-09, University of Alberta Department of Computer Science, doi:10.7939/R3QV3C738, https://era.library.ualberta.ca/items/ae7346a0-6a95-433b-bb8c-5a35900329d1, retrieved 2022-07-18 
  37. Subramanian, Sakthi (1996), "An interactive solution to the [math]\displaystyle{ n\times n }[/math] mutilated checkerboard problem", Journal of Logic and Computation 6 (4): 573–598, doi:10.1093/logcom/6.4.573 
  38. Bivens, Irl C.; Holshouser, Arthur L.; Klein, Benjamin G. (October 2008), "Wazir circuits on an obstructed chessboard", Mathematics Magazine 81 (4): 276–284, doi:10.1080/0025570X.2008.11953562 
  39. Hanson, Mary Grace; Nash, David A. (Spring 2018), "Minimal and maximal Numbrix puzzles", Pi Mu Epsilon Journal 14 (8): 505–514 
  40. "Filling boxes with bricks", The American Mathematical Monthly 76 (1): 37–40, 1969, doi:10.2307/2316785, https://research.tue.nl/nl/publications/filling-boxes-with-bricks(e45f1645-f5f4-4f3c-8370-0a8d26d470d8).html 

External links