Skip to main content

The "Trapping problem". A Turing machine must eventually halt.



When Alan Turing noted in 1934 that the "Trapping problem" is the thing that slows Turing's machine, he made one of the most interesting findings in history. The Quanta magazine describes this problem like thins "As Turing noted in 1936, to compute something, a Turing machine must eventually halt — it can’t get trapped in an infinite loop. But he also proved that there’s no reliable, repeatable method for distinguishing machines that halt from machines that simply run forever — a fact known as the halting problem". (Quanta Magazine, How the Slowest Computer Programs Illuminate Math’s Fundamental Limits). 

"The trapping problem" has two ways to make computers slower. The first thing is as in the "Quanta Magazine" has been described," there is no way to distinguish machines, that halt from machines that work forever". How to avoid the case that the machine is stuck in the loop, that continues forever? 

The computer program must program the end code. And there must be a protocol for the case, that the data handling unit or server gets a higher priority code for handling. For the cases that some higher-level operators send data to the server, and the computer must cut the operation there must be points where the data is routed to storage. That thing guarantees that the computer can save processed data in the case of errors, and the data handling unit will not make unnecessary work. 

The problem is that only the halted machines are ready for taking new missions. The second is when the program is done the system halts for waiting for the new command. And the system must tell others that the work is done. 

So what this means? If the router sends the work to do for a group of Turing machines. There is the possibility that the router sends the data to the machine. Which is already working with some other problem. 

For avoiding the problem and making sure that the work is done, the router can send the problem to many units at one time. That guarantees the work is done, but if the busy computer takes the job to the middle of its work, that new data can cause a terrible mess in the computer programs. If that thing is made many times, there are the expanding error-areas in the system, because more and more data handling units are getting error code in the system. 

So how to avoid that thing? There must be a hierarchy in the data handling process. But there must also be a protocol for cases the higher priority of data is sent to the system. In the most urgent cases, the system must have a chance to stop the process and clean its memory before it will start the new process. 

But that kind of data should anyway send for free servers or data handling units. That means the system should know if the server is done its work that the router would not cut routines or processes unnecessarily. The routine processes like updates and other kinds of things are the same way important as special duties. And in the worst case, the high-priority data is sent in the middle of the updating process, which causes a terrible mess. 

As I just wrote, the data handling unit should tell the system, when it is done its work. That thing tells the router that the data handling unit is ready, to begin with, its new mission. And then what to do with fallen servers? There must be a protocol that the other servers would have a chance to clean the memory of some server if it is stuck with the loop, which continues forever. 

The system must also have values like the description of the endless decimal numbers. So that means the computer would not try to calculate the ratio of the circle ring length to the diameter which is π, the endless decimal number. In those cases, the system must recognize this kind of case and there should be a limited value like 15 decimal numbers that are acceptable accuracy. Or the computer continues with that thing forever, because computers cannot end their mission automatically. 


()https://www.quantamagazine.org/the-busy-beaver-game-illuminates-the-fundamental-limits-of-math-20201210/


Comments

Popular posts from this blog

Chinese innovations and space lasers are interesting combinations.

Above: "Tiangong is China's operational space station located in low Earth orbit. (Image credit: Alejomiranda via Getty Images)" (Scpace.com, China's space station, Tiangong: A complete guide) Chinese are close to making nuclear-powered spacecraft.  Almost every day, we can read about Chinese technical advances. So are, the Chinese more innovative than Western people? Or is there some kind of difference in culture and morale between Western and Chinese societies? The Chinese superiority in hypersonic technology is one of the things that tells something about the Chinese way of making things.  In China, the mission means. And the only thing that means is mission. That means that things like budgets and safety orders are far different from Western standards. If some project serves the Chinese communist party and PLA (People's Liberation Army) that guarantees unlimited resources for those projects. Chinese authorities must not care about the public opinion.  If we th

Iron Dome is one of the most effective air defense systems.

The Iron Dome is a missile defense system whose missiles operate with highly sophisticated and effective artificial intelligence. The power of this missile defense base is in selective fire. The system calculates the incoming missile's trajectory. And it shoots only missiles that will hit the inhabited area. The system saves missiles and focuses defense on areas that mean something. The system shares the incoming missiles in, maybe two groups. Another is harmless and another is harmful.  Things like killer drones are also problematic because their trajectories are harder to calculate than ballistic missiles. The thing that makes drones dangerous is that they can make masks for ballistic missiles. And even if those drones are slow, all of them must be shot down.  The thing is that the cooperation between drone swarms and ballistic missiles is the next danger in conflict areas. In the film, you can see how drones make light images of the skies. The killer drones can also carry LED li

The innovative shield that protects OSIRIS-APEX can also protect the new hypersonic aircraft.

"NASA’s OSIRIS-APEX spacecraft successfully completed its closest solar pass, protected by innovative engineering solutions and showing improvements in onboard instruments. Credit: NASA’s Goddard Space Flight Center/CI Lab" (ScitechDaily, Innovative Engineering Shields NASA’s OSIRIS-APEX During Close Encounter With the Sun) The OSIRIS-APEX probe travels close to the sun. The mission plan is to research the sun. And especially find things that can warn about solar storms. Solar storms are things that can danger satellites at the Earth orbiter. And the purpose of OSIRIS-APEX is to find the method of how to predict those solar storms. Another thing is that the OSIRIS-APEX tests the systems and materials that protect this probe against heat and plasma impacts.  The same technology. The researchers created for OSIRIS-APEX can used in the materials and structures. That protects satellites against nuclear explosions. That means this kind of system delivers information on how to prot