Abstract
Tetris is a popular puzzle video game, invented in 1984. We formulate two versions of the game as a transformation semigroup and use this formulation to view the game through the lens of Krohn-Rhodes theory. In a variation of the game upon which it restarts if the player loses, we find permutation group structures, including the symmetric group \(S_5\) which contains a non-abelian simple group as a subgroup. This implies, at least in a simple case, that iterated Tetris is finitarily computationally universal.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Baccherini, D., Merlini, D.: Combinatorial analysis of Tetris-like games. Discrete Math. 308(18), 4165–4176 (2008)
Brzustowski, J.: Can you win at Tetris? Master’s thesis, University of British Columbia (1992)
Burgiel, H.: How to lose at Tetris. Math. Gaz. 81(491), 194–200 (1997)
Demaine, E., Hohenberger, S., Liben-Nowell, D.: Tetris is hard, even to approximate. In: Computing and Combinatorics, pp. 351–363. LNCS, vol. 2697. Springer (2003)
Egri-Nagy, A., Mitchell, J.D., Nehaniv, C.L.: SgpDec: cascade (de)compositions of finite transformation semigroups and permutation groups. In: International Congress on Mathematical Software, pp. 75–82. LNCS, vol. 8592. Springer (2014)
Egri-Nagy, A., Nehaniv, C.L.: Ideas of the holonomy decomposition of finite transformation semigroups. RIMS Kôkyûroku 2051, 43–45 (2017)
Eilenberg, S.: Automata, Languages, and Machines, Vol. B. Academic Press (1976)
Germundsson, R.: A Tetris Controller: An Example of a Discrete Event Dynamic System. Linköping University, Sweden (1991)
Hoad, P.: Tetris: how we made the addictive computer game (2014). https://www.theguardian.com/culture/2014/jun/02/how-we-made-tetris
Hoogeboom, H.J., Kosters, W.A.: The Theory of Tetris. Nieuwsbr. Ned. Ver. voor Theoret. Inform. 9, 14–21 (2005)
Jim Pattison Group: Guinness World Records: Gamer’s edition (2011)
Krohn, K., Rhodes, J.: Algebraic theory of machines. I. Prime decomposition theorem for finite semigroups and machines. Trans. Am. Math. Soc. 116, 450–464 (1965)
Maler, O.: On the Krohn-Rhodes cascaded decomposition theorem. In: Time for Verification: Essays in Memory of Amir Pnueli, pp. 260–278, LNCS, vol. 6200. Springer (2010)
Maurer, W.D., Rhodes, J.L.: A property of finite simple non-abelian groups. Proc. Am. Math. Soc. 16(3), 552–554 (1965)
Nehaniv, C.L., Rhodes, J., Egri-Nagy, A., Dini, P., Rothstein Morris, E., Horváth, G., Karimi, F., Schreckling, D., Schilstra, M.J.: Symmetry structure in discrete models of biochemical systems: natural subsystems and the weak control hierarchy in a new model of computation driven by interactions. Philos. Trans. R. Soc. A: Math. Phys. Eng. Sci. 373(2046), 20140,223 (2015)
Weisstein, E.W.: Tetromino. from Wolfram MathWorld (2003). https://mathworld.wolfram.com/Tetromino.html
Acknowledgements
We acknowledge the support of the Natural Sciences and Engineering Research Council of Canada (NSERC), funding reference number RGPIN-2019-04669. Cette recherche a été financée par le Conseil de recherches en sciences naturelles et en génie du Canada (CRSNG), numéro de référence RGPIN-2019-04669.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Appendix: Krohn-Rhodes Theory and the Holonomy Decomposition
Appendix: Krohn-Rhodes Theory and the Holonomy Decomposition
The Krohn-Rhodes (KR) theorem describes a general decomposition of transformation semigroups in terms of wreath products of the finite simple groups and the flip-flop monoid. A visualization of the flip-flop monoid is shown in Fig. 6.
Theorem 2
(Krohn-Rhodes decomposition [12]) A finite transformation semigroup (X, S), with states X and semigroup S acting on states by transformations, has a decomposition
with components \(H_1, H_2, \ldots , H_n\), such that each \(H_i\) is a finite simple group dividing S or the flip-flop monoid.
The decomposition given by this theorem tends to be far from optimal in practice. Therefore, most practical implementations of semigroup decomposition use the holonomy method described in [7].
We will reproduce the relevant definitions and theorems here. Define the set Q as
then we can define a relation on Q called subduction.
Definition 2
(Subduction) Let \(S^I\) denote S with a new identity element appended. Given, \(A,B \in Q\), we define an reflexive, transitive relation on Q,
Furthermore, let \(A < B\) if \(A \le B\) but not \(B \le A\). This relation, which we will call subduction, induces an equivalence relation on Q: \(A \equiv B \iff A \le B\) and \(B \le A\). For each equivalence class \(A /\!\!\equiv \) in \(Q /\!\!\equiv \), let \(\bar{A}\) be a unique representative.
Definition 3
(Tiles) Define A to be a tile of B if \(A \subsetneq B\) and
If \(A \in Q\) with \(|A|>1\), the set of tiles of A is \(\Theta _A \subset Q\)
Definition 4
(Holonomy group) The holonomy group, written \(H_A\), of A is the set of permutations of \(\Theta _A\) induced by the elements of \(S^I\). If we let \(H_A\) act on \(\Theta _A\), then \((\Theta _A,H_A)\) is the holonomy permutation group of A.
Definition 5
(Height of an Image Set) The height of \(A\in Q\) is h(A), where h(A) is the length of the longest strict subduction chain up to A.
We are now able to state the holonomy decomposition theorem, which asserts that the semigroup (X, S) divides a cascade product, from which the Krohn-Rhodes (KR) decomposition (Theorem 2) can be derived. The holonomy theorem describes the transformation semigroup (X, S) in terms of symmetries in the way transformations in S act on the set of tiles of the \(\bar{A} \in Q\).
Theorem 3
(Holonomy decomposition [7]) Let (X, S) be a finite transformation semigroup, with \(h = h(X)\) the height of X. For each i with \(1\le i \le h\), let
\((\Phi _i, \mathfrak {H_i})\) is a permutation group and \((\Phi _i, \overline{\mathfrak {H_i}})\) is the permutation-reset transformation semigroup obtained by appending all constant maps to \(\mathfrak {H_i}\). Then
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Jentsch, P.C., Nehaniv, C.L. (2021). Exploring Tetris as a Transformation Semigroup. In: Kilgour, D.M., Kunze, H., Makarov, R., Melnik, R., Wang, X. (eds) Recent Developments in Mathematical, Statistical and Computational Sciences. AMMCS 2019. Springer Proceedings in Mathematics & Statistics, vol 343. Springer, Cham. https://doi.org/10.1007/978-3-030-63591-6_7
Download citation
DOI: https://doi.org/10.1007/978-3-030-63591-6_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-63590-9
Online ISBN: 978-3-030-63591-6
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)