📜 ⬆️ ⬇️

Let's play in life

Imagine a piece of paper in a cage. I suspect that already at this stage, some habraedy guessed what was going to be discussed. Well, my respect to them. The rest continue to imagine a piece of paper in the cell. In all details. In the smallest detail.

Now imagine that on this simple piece of paper we will create a simple, but therefore equally impressive life simulator. No more, no less. Of course, it will be very simplified, but in order to understand something difficult, you must start with a simple one, right? This simulator can be applied to a variety of sciences and with each of them it will have many interesting points of contact. From sociology to astronomy, from biology to electrical engineering.

Okay, enough zavlekalok. It's time to hit the math.
')



Once upon a time, in the 1940s, the notorious John von Neumann set out to design a machine that can reproduce itself. Oddly enough, but he succeeded. True, the rules of this car were so complex that it was not widely used.

After 30 years, another scientist named John Conway (yes, John is a very popular name) became interested in this machine and decided to simplify it. It is strange again, but he succeeded. Talented scientists, to be sure.

rules


So. Again we quickly draw a paper with cells in my head. The rules are very simple:


A simple example of the evolution of five variants of triplets (figures of three cells):

image


Nothing complicated, is it? By and large, only the initial arrangement of living cells depends on the player, after which they will live on their own, and the creator will only follow them. But then there is the very reason why this game has been interested in for almost 40 years.

Just imagine the number of cell placement options in a minimal field, even if at least 10 * 10 cells. This is 2 100 . And each of these options will evolve. Some - only a few dozen moves, and some can get stuck. What can we say then about large fields of type 100 * 100 or even more so about those closed according to the torus principle.

image


Figures


During field trials of this game, first on paper, and then using computer simulation, many figures were identified, which can be sorted out according to their behavior into several classes.


The simplest example of a moving figure is the glider (glider):

image


Not interested?
Then take a look at the gun:

image


In this form, with a small distance, when the boundaries between the cells are smeared, this animation already resembles something biological, doesn’t it? By the way, the gun "shoots" those same gliders.

Interest for science


Before I give you the opportunity to try to make figures yourself, let me say a few words about the benefits of all this stuff for science.

Generally speaking, in scientific terms, this game is a discrete dynamic system whose behavior is completely defined in terms of local dependencies , and in short, a cellular automaton. That is, the lattice, in which each cell has a finite number of states, and this state itself is determined through rigidly defined transition rules.

This game is almost the simplest cellular automaton. And imagine that each cell has not two, but about a dozen different states, and their changes depend not only on the neighboring 8 cells, but also on 16 on the “second perimeter”.

Such cellular automata are one of the simplest examples of what are sometimes called "self-organized systems." This subject area attracted the attention of scientists and mathematicians from various fields. It studies the construction of complex structures and behaviors based on very simple rules. For example, the appearance of rose petals or stripes on a zebra from growing near cells. Therefore, the study of finite automata can lead to completely unexpected results in completely different sciences. For example, the evolution of some complex colonies miraculously schematically repeat the stages of development of spiral galaxies. As well as they largely coincide with the laws of the behavior of populations of primitive organisms.

Practice


Well, now it is time to try it yourself.


Forward to the test. And yes be with you random))

Source: https://habr.com/ru/post/63848/


All Articles