Abstract
The Mini-Rubik is the 2x2x2 version of the famous Rubik’s cube. How many moves are required to solve the 3x3x3 cube is still unknown. The Mini-Rubik, being simpler, is always solvable in a maximum of 11 moves. This is the result that is formalised in this paper. From this formalisation, a solver is also derived inside the Coq prover. This rather simple example illustrates how safe computation can be used to do state exploration in order to derive non-trivial properties inside a prover.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Cooperman, G., Finkelstein, L.: New Methods for Using Cayley Graphs in Interconnection Networks. Discrete Applied Mathematics 37(38), 95–118 (1992)
Frey, A.H., Singmaster, D.: Handbook of Cubik Math. Enslow Publishers (1982)
Gordon, M.J.C.: Reachability Programming in HOL98 using BDDs. In: Aagaard, M.D., Harrison, J. (eds.) TPHOLs 2000. LNCS, vol. 1869, pp. 179–196. Springer, Heidelberg (2000)
Michael J. C. Gordon and Thomas F. Melham. Introduction to HOL : a theorem proving environment for higher-order logic. Cambridge University Press, 1993.
Kunkle, D., Cooperman, G.: Twenty-Six Moves Suffice for Rubik’s Cube. In: ISSAC 2007, pp. 235–242 (2007)
Leroy, X.: Objective Caml (1997), http://pauillac.inria.fr/ocaml/
Spiwack, A.: Efficient Integer Computation in Type Theory, Draft paper (2007)
The Coq development team. The Coq Proof Assistant Reference Manual v7.2. Technical Report 255, INRIA (2002), http://coq.inria.fr/doc
Théry, L., Hanrot, G.: Primality proving with elliptic curves. In: Schneider, K., Brandt, J. (eds.) TPHOLs 2007. LNCS, vol. 4732, pp. 319–333. Springer, Heidelberg (2007)
Valmari, A.: What the small Rubik’s cube taught me about data structures, information theory, and randomisation. International Journal for Software Tools Technology 8(3), 180–194 (2006)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Théry, L. (2008). Proof Pearl: Revisiting the Mini-rubik in Coq. In: Mohamed, O.A., Muñoz, C., Tahar, S. (eds) Theorem Proving in Higher Order Logics. TPHOLs 2008. Lecture Notes in Computer Science, vol 5170. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-71067-7_25
Download citation
DOI: https://doi.org/10.1007/978-3-540-71067-7_25
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-71065-3
Online ISBN: 978-3-540-71067-7
eBook Packages: Computer ScienceComputer Science (R0)