Education, study and knowledge

Turing machine: what it is and how it works

click fraud protection

We cannot conceive of the historical moment in which we live without paying attention to the importance of computing. In just a few years it has gone from being used in specific areas to being an omnipresent entity, and not only in the computers, but also mobile phones and almost all commonly used technologies (such as so-called "wearables").

In fact, the computer or mobile you use to read this article has such technology that it makes few decades it would have needed a huge space to function (or it would have been totally non-viable). And it is that today we are moving towards an extraordinary miniaturization of computer components, which will expand their use and facilitate their expansion to all areas of life.

The advance to which technology submits us is unstoppable, to the point that without it we could no longer live optimally. Our species depends on computing, because today's society is of such complexity that functions Naked cognitive factors no longer allow it to be managed successfully, requiring external help to compensate for our shortcomings.

instagram story viewer

In this text we will see what is the concept of the Turing machine, created in the middle of the 30th century. His contribution to computing as it is known today is evident, considering it the model on which the logic and architecture of today's computers are based. This is: the mother of a technology that has not only changed the world, but also the horizon of humanity.

  • Related article: "John Dewey's functionalist theory"

What is the Turing machine?

The Turing machine is a device created in 1936, which represents an idealized model of computing capable of storing / processing virtually infinite information. The system is a mathematical abstraction that is built in an extraordinarily simple way, but that facilitates the empiricist verification of a wide range of questions on computability and / or complexity theories. His ideation marked a great milestone in the history of computing, to the point of being considered the origin of today's computers (and related technologies, such as tablets or telephones mobile).

The architect of this was Alan M. Turing, English logician and mathematician that he tried all his life the conception of a theoretical model with which to answer the unknowns of his discipline, automatically and accessible to all.

This British genius, whose historical importance cannot be questioned, also contributed (together with several Polish scientists) to unraveling the codes cryptographies that the Nazi military used to secretly communicate with each other during the sad second world war (through what became known as enigma machine). For this he devised an electromagnetic cut-off device (bombe), whose use shortened the duration of the conflict and saved countless human lives, by allowing the regime's plans to unravel during the time the hostilities.

The Turing machine is the historical precursor of modern "stored program computers", which allow both the saving of the data and the algorithms on which they are built. Its advantage, and one of the factors by which it generates fascination among computer theorists, is its simplicity and its enormous technical configuration possibilities; and it is that it enables experimentation through how its physical elements are arranged and the "question" is posed with the that its use is programmed (by means of algorithms, which are translated into a "succession" of codes that are inspired by the language logical). This versatile capacity is due to the very nature of the data it operates on, subject to an enormous level of abstraction.

In this way, the Turing machine It can be programmed to execute specific instructions that answer more or less complex questions.. All this implies that its particular language must be known, in order to adapt the algorithm to it for its operation, aware that it does not there is a universal code to clarify the totality of the mathematical unknowns that doze in nature itself (as indicated by the law of Church-Turing). Therefore, the system requires a human mind behind it, asking itself the question to be formulated and knowing how it has to "go" to the device to solve it.

The raw material of the Turing machine is computable numbers, that is, those that can be calculated objectively by means of a mathematical formula, and within the threshold of a reasonable time. In this context, it is essential that it adapts to two specific "problems": that of the decision (each answer is preceded by a series of previous calculation elements that can be answered dichotomously as yes / no) and the stop (recognize if the final answers are really possible, or if the system will be "condemned" to process the order in a cycle infinite / unsolvable). That is, that there is a specific algorithm for what it is intended to know and that its technology can respond to it with the necessary precision to "stop" and offer a solution.

Up to this point the theoretical logics of a Turing machine have been discussed in detail. The following lines will delve into the core of its physical and / or functional characteristics, with which the algorithm or standard of operation that the user has arranged (and that can range from simple equations to the very heart of the law of abstraction mathematics).

  • You may be interested: "The Chinese room experiment: computers with a mind?"

Description of the Turing machine

Along with the logical / mathematical foundation that has been described, the Turing machine requires a series of physical elements, which have the function of executing the commands entered with anteriority. Their arrangement can be diverse, since there would be almost infinite designs of this system, but the following are necessarily required: a tape of paper or a material similarly, a moving head whose end is capable of making traces (symbols or numbers) and a central processor in which to encode the algorithms that are required or that facilitate the analysis.

The tape is the most essential element of them all. It is nothing more than a longitudinal strip, which is divided into a succession of squares of equal size (or squares), and whose length will largely depend of the "effort" that must be carried out to solve the question posed by the user (which can be as short or as long as estimated relevant). The boxes are reserved for the head to draw different symbols (like 0-1 in the binary code) in each one, and constitute the calculation product that will have to be checked after its shutdown. In computer terms, these tapes could be the memory of a modern computer. The first cells usually have a content already established (input), leaving the rest empty and ready to be used after the computation process.

Likewise, the Turing machine It consists of a head, a mechanical appendage (mobile) that moves to the left or right following the order that the system has for it. At its end it has an elongation capable of engraving a trace on the tape, giving its shape to the corresponding numbers or figures according to the code that determines the movement. The original model had a rudimentary technology head, but advances in robotics have allowed the emergence of new, more advanced and precise designs. The head "reads" the contents of the cells and moves a single box to either side (depending on its specific state) to continue executing the instruction.

Third, there is a central processor for the purpose of storing code and algorithms containing instructions for the activity of the apparatus, expressed following mathematical and logical terms. This language has a universal nuance, although it allows a certain degree of maneuver to introduce operational expressions formulated by the user (provided that the meaning has been made operational). In this way, its head would facilitate the execution of instructions stored in the processor, which would be equivalent to what is known today as programs or applications (app). This system would allow to reproduce any possible calculation and would rise as the predecessor of any of the current computers.

  • You may be interested: "Computational theory of mind: what does it consist of?"

Operation of this device

A Turing machine is designed to engrave a specific sample of symbols or numbers, the possible universe of which is often called the "alphabet." When it works with binary code, its total alphabet is two (0 or 1), but it can be as wide as is deemed appropriate for the function to be performed. The head will only be able to reproduce in the cells of the tape what has been previously indicated in such system, so a calculation (number "pi", for example) will require the full spectrum of numbers (from 0 to 9).

In addition to this, what is known in practice as states (Q), which are also programmed by the user during the code description (and they are labeled as q1, q2, q3, q4… qn). The total range depends on abstract mathematical hypotheses, and reviews the conditional nuances of the logical formula of the code, in order that the head moves in the corresponding direction and carry out the pertinent action ("if you are in position q2, write" 0 "and do not move", e.g.).

Finally, there would be a "transition" function (delta), in which the total sequence (step by step) of the processing is summarized. mathematical, and that expresses the complete instruction: cell reading, new symbol writing, state changes (or not) and movement of the head; in a recurring cycle that stops when finding the answer to the initial question, or also at the moment when that the user has foreseen it within their code (often by an exclamation, which is read as "stop"). As soon as the machine stops moving, the tape is retrieved and the response it has provided is analyzed in detail.

As can be seen, there is a clear similarity between the Turing machine and the computers we use today. His contribution has been key to advancing exponentially in all subsequent computer design, up to the point that its spirit resides at the very heart of a technology that allows us to stay interconnected.

Bibliographic references:

  • Khan, S. and Khiyal, M. (2006). Turing Model for Distributed Computing. Information Technology Journal. 5, 305-313.
  • Qu, P., Yan, J., Zhang, Y. and Gao, G. (2017). Parallel Turing Machine, a Proposal. Journal of Computer Science and Technology, 32, 269-285.
Teachs.ru
Are video games art?

Are video games art?

Videogames have been part of our lives for many decades (more than we imagine a priori). Many gen...

Read more

Since when does Nationalism exist?

Currently, we have a very concrete idea of ​​what nationalism is. We could define it as the feeli...

Read more

The 7 most important human values: what they are and how to develop them

It may seem normal to us today, but considering that all human beings have a series of inviolable...

Read more

instagram viewer