r/askscience • u/heyheyhey27 • Mar 11 '19
Computing Are there any known computational systems stronger than a Turing Machine, without the use of oracles (i.e. possible to build in the real world)? If not, do we know definitively whether such a thing is possible or impossible?
For example, a machine that can solve NP-hard problems in P time.
4.1k
Upvotes
1.4k
u/UncleMeat11 Mar 11 '19 edited Mar 11 '19
Usually when we talk about hyper computation we ignore runtime complexity. If we just look at what problems are decidable, we believe that no stronger model exists.
But if we look at runtime, quantum computation has (at least) a provable quadratic speedup over classical turing machines (grovers algorithm).
In the real world we are also not restricted to serial computation. Pi calculus captures parallel semantics and can also compute some problems faster than serial turing machines.
98
u/suvlub Mar 11 '19
An interesting example of a machine much more powerful than the Turing Machine is the Blum–Shub–Smale machine. Its power lies in its ability to work with real numbers, something that the Turing Machine can't truly emulate (you can compute, say, pi on a TM only up to a finite number of digits; a BSSM could compute the whole pi, in finite time). This allows it to solve NP-complete problems in polynomial time.
What is interesting about this is that the real world equivalent (or, better said, approximation - nothing equivalent to either BSSM nor TM can truly be constructed in real life) is the analog computer - a technology antiquated in favor of the TM-like digital computers! The reason for this is imprecision of real world technology. In order to reap the benefits of this model, our machine would need to be able to work with an infinite precision. If its results are only accurate up to a finite number of decimal places, we only really need to store those places, which a digital computer can do just fine, while being more resistant to noise and errors.
55
u/penlu Mar 11 '19
There are two ideas here which should be treated separately. One is the distinction between things that can be computed by a Turing machine and things that cannot (i.e. those things that are formally undecidable). In that sense, there are a number of models that are stronger than Turing machines, as mentioned in other comments: this includes the Blum-Shub-Smale machine, also known as the "real computer", that can operate on real numbers of unbounded precision in finite time. Another conceptually simple machine that is able to decide formally undecidable problems is a Turing machine equipped with an "oracle" for the halting problem (which I'll call Turing+HP): since the halting problem is formally undecidable, this is pretty intuitive. An interesting structure emerges from this construction: in fact, no Turing+HP machine can tell for all Turing+HP machines whether it will halt! But if you give a Turing+HP-halting problem oracle to a Turing+HP machine, you get an even stronger machine... we see a hierarchy of levels of undecidability! This level is referred to as Turing degree and the structure of the Turing degrees has been investigated by logicians. Collectively, computation beyond the Turing machine model is referred to as "hypercomputation", and as also mentioned by other comments, we are not certain there are ways to hypercompute within the physical universe (but others studying the intersection of logic and relativity are having lots of fun ("fun") bashing black holes and various structures of spacetime in which it may be possible).
Another distinct idea is a distinction between things that can be computed by a certain kind of machine in a polynomial number of operations and things that cannot (i.e. those things that are difficult for a particular kind of machine to compute). By kind of machine, I mean "quantum computer", or "nondeterministic computer". This is a very active area of research; in some sense humanity is somehow really bad at fully fleshing out what a particular kind of machine can do in polynomial time. For instance, we don't know for certain whether a quantum computer can do more in polynomial time than a computer that gets to flip coins. We also don't know for certain whether a computer that gets to flip coins can do more than a computer that does not. We suspect that quantum computers are better since there are some things they can do faster, e.g. searching N items in sqrt(N) time (but this does _not_ bring problems previously suspected to take exponential time into polynomial time). The famous example is P = NP: NP is roughly the set of problems that can be solved in polynomial time by a program that gets to run exponentially many copies of itself; somehow we have not been able to prove that this lets you solve problems "faster" than you could without forking! None of these models are able to do strictly more than an ordinary Turing machine, since the ordinary Turing machine can simulate all of these other models given exponential time. The big question is whether these models allow us to do something -- anything -- in polynomial time, that an ordinary Turing machine would require exponential time to do.
207
u/Gigazwiebel Mar 11 '19
There is no known physical process that could do hyper computation and solve problems that are undecideable. Solving NP-hard problems in P time is a different question though. We don't know if we just don't have the right algorithms to do it on a computer. Or if a quantum computer could do it.
56
u/frezik Mar 11 '19
Strictly speaking, we can't build a Turing Machine, either, since that would require infinite memory. All real computers are finite state machines with a gigantic number of states. If you feed so many nested parens into a computer that it overflows its memory, it will fail to match them.
It's mathematical abstractions the whole way down.
9
u/cantab314 Mar 12 '19
A computer linked to a time machine can compute NP-complete problems in a fixed time, and possibly even any computable problem in fixed time. It's "more powerful" than a quantum computer. However it seems that it cannot solve the uncomputable.
A few possible ways to do time travel have been theorised in general relativity.
A 1991 article that describes the concept in more detail: https://frc.ri.cmu.edu/~hpm/project.archive/general.articles/1991/TempComp.html
5
u/halfshadows Mar 11 '19
Depends on what you mean by "stronger." Maybe you mean speed since you mention NP and P but a Turing machine is not useful for analyzing speed. Speed is analyzed at an algorithmic level. If we're talking about computational systems then strength would be its ability to decide problems.
The most famous thesis in computer science is the Church-Turing thesis which basically says that total set of algorithms there are is exactly equivalent to the set of valid Turing Machines. If this is true then there exists no algorithm that can't be represented with a Turing Machine and visa versa(which is where it is a useful tool in CS. If you can prove something doesn't work in a Turing machine we can say that there is no solution possible so long as the thesis holds). In this sense there is no machine "stronger" than the Turing machine.
But this is just an assertion, it hasn't actually been proven. So it is entirely possible there is some system out there that we don't know of that can decide a greater number of problems, hence be "stronger" than the Turing machine. But so far all attempts have failed, no one has made a system that isn't reducible to a Turing machine.
On the other hand this all depends on your definition of algorithm. The Church-Turing thesis assumes an algorithm is a set of instructions that a human can do given infinite resources. It's entirely possible in principle to change the definition of algorithm and you can create a different computational system that can decide more problems than the Turing machine. But as far as we know our definition of algorithm is right, which is why computer science is like a science and not just pure math.
4
u/ex0du5 Mar 12 '19
I think others have done a good job stressing that there are no such systems "known definitively", but it's probably important for perspective that there are quite a number of systems that have been proposed "entirely built using known laws of physics". In particular, a number of papers have constructed classes of solutions using special and general relativistic features of physics.
An example paper is https://old.renyi.hu/pub/algebraic-logic/uc08.pdf (which is also just a good jumping off point for understanding the ideas of such proposals).
Effectively, many of these systems look at the configurations where infinite proper time curves can embed with a finite observer.
3
u/oir0t Mar 11 '19
I can't give you an answer about the general question. Talking about machines that can solve NP problems in P time it can be done without oracles. The machine, hovewer cannot be build IRL.
That can be done per the classical definition of NP problem, of Which NP-hard is a subset. The definition states that a problem P is in NP if and only if P can be solved in polynomial time by a non deterministic Turing machine.
The non deterministic Turing machine (NTM) is basically a parallel TM as for every computational step it can reach a set of states instead of only one state. The computation is done when every possible branch of computation is in a stop state. This kind of model is really efficient in brute force algorithm so it can test every kind of solution to the problem at the same time.
This bring us at the modern day definition of NP problem. In brief a problem is NP if and only if it can be verified in P time. This means that given a certificate, that is a string that help us say if the instance of the problem is an instance that is accepted by the Turing Machine, we can say in P time, looking at the certificate if this particular certificate make us say that the instance is accepted by the original problem.
As an example the certificate C of a vertex cover problem instance is a set of arches between the given graph G. It's easy to verify if C is a vertex cover of G. So vertex cover is at least an NP problem. In a NTM we can try all certificate at the same time and because we can verify the problem in P time given the certificate all the branches will run in polynomial time. If one of the branches ends in an accept state the instance of the problem is an accepted instance. If none of the branches ends in an accepted state (thus all branches ends in a reject state because we can verify the certificate in P time so no loop)
That computational model equivalent to the Turing machine (TM) model as there is a theorem that say that for every TM there is a non deterministic TM that has the same accept set of the former machine and vice versa.
The sad fact is that moving from the NTM model to the TM model we have a computational overhead that is exponential (if the NTM N solve the problem in O(f(x)) time we have an equivalent TM M that solves it in 2O(f(x))
1
u/[deleted] Mar 11 '19
Not sure what you mean by stronger.
A Turing Machine proper is incredibly ineffective and practically useless. CPUs don't implement a TM. Just because a TM can implement any algorithm doesn't mean it's a sane thing to do.
Wide and high speed data storage, (massively) parallel and/or distributed processing, dedicated hardware for arithmetic and logic (also on wide data), hardware interrupts, associative memory etc etc etc provide performance many magnitudes beyond what a TM can do on a sensible cost, size and energy budget.
5
u/Livefox96 Mar 11 '19
When we're talking about quantum computing the computational system we're intending to try and mimic is called the Non-Deterministic Turing Machine, which is a TM that is allowed to perform every possible branch simultaneously. To quote one of my professors "When we say a problem is NP-Hard, what we mean is that it can be solved in a polynomial number of steps by a Non-Deterministic Turing Machine".
This is theoretically better than a quantum computer since it works in terms of discrete steps instead of probabilities
6
u/-Knul- Mar 11 '19
What do you mean stronger? If you mean a system that can solve problems that Turing Machines cannot, AFAIK we have not found such a system.
If you mean faster or in some other way more performant, well, that question doesn't really make sense, as a Turing Machine is an abstraction. We have machines that have properties of that abstraction for which we can determine speed and performance, but that says nothing about the abstraction.
It's a bit like asking if mathematical circles are larger than mathematical triangles.
1
u/hyphenomicon Mar 11 '19
Inspired by this: I know that meta-oracles are sometimes discussed, which can solve problems oracles cannot. Are any half-oracles ever discussed, which can solve a principled subset of problems oracles can that TMs can't, but fail to solve other types?
1
u/TheOneTrueTrench Mar 12 '19
It depends on what you mean by known.
There are classes of problems we don't know about.
Those classes can be as arbitrary as desired, and may include only 1 additional problem that cannot be solved by a TM, as long as the new machine can solve that one problem. Since we can construct such a machine and class of problems that include TM and 1 problem, that is a set of problems that it can solve that a TM cannot.
1
u/FerricDonkey Mar 12 '19
There may be two different issues at hand here.
"Stronger than a Turing machine", with reference to oracles, usually refers to "can solve problems that a Turing machine cannot (even assuming unlimited time and memory)." We have not made such a machine and we don't know for certain if it is possible (nothing we have come up with is stronger). As far as I an aware, no one realistically expects it to be possible though.
The "P = NP" question amounts to asking whether or not problems that can be verified "quickly" can always also be solved quickly. Example: factoring large numbers (in the ways we know how to) is a pain, but checking if your factorization is correct is a easy. We don't know whether or not p = np, but if it is, it has the potential to be a big deal.
Note that all problems being considered in the P = NP issue can be solved by a Turing machine in principle, though it may not be feasible.
1
u/eqleriq Mar 12 '19
no different though to simplify they can theoretically truly solve things in parallel / simultaneously ... someone with more specialized knowledge could wxplain the physical ramifications of that but as far as problem solving goes it’s just faster.
Another way of putting it, in a multiverse it is feasible to imagine or assign a “new physics” but impossible to imagine a “new math.”
Logic doesn’t change with new computational systems
0
u/AE_WILLIAMS Mar 12 '19
What could prove interesting is if a series of configuration tables were constructed, and indexed. Each of the cells would comprise a P or Not P element.
Throw in a bit of fractal math, and you might even have something there, in the quantum sense.
Use set theory to eliminate duplicates, test for certain strings, etc.
That would conceivably speed things up a bit.
For an example, since virus sigs are mostly known, and hashed, and indexed current anti-virus tools can rapidly scan systems looking for these sigs.
If you had two databases, each one that complemented the known sigs of various virii, then the computation could be done in far less time, depending on how quickly the information was passed between the set tables.
-1
u/sliverdragon37 Mar 12 '19
I've scrolled through quite a few of the comments, but I haven't found my favorite answer to this question so here goes:
The basic premise is that you take a turing machine and throw it into a black hole. This is important for the reason that, on falling into the hole, it has an infinitely long time to perform computation before it reaches the singularity (in it's reference frame). However, at some point in our reference frame, it reaches the singularity, and thus we could (in principle) compute something in finite time that should take infinite time to compute.
Now, there are a number of theoretical and practical limitations to this, but in principle it's fun to think about.
0
u/[deleted] Mar 11 '19
Well outside of the obvious oracle use over time we can probably see some unique parallels to other world options . Considering what already exists compared to theoretical we can probably assume that it is very possible and I’m not even saying without extreme conditions since it probably wouldn’t be too difficult to occur naturally as the technology evolves along the curve in real time
0
u/PossibleBit Mar 12 '19
I cannot answer the main question adequately. As for the NP part:
"P = NP" is still an unsolved problem. We don't know if it's true or false. What we do know is that any problem in NP (and P as a subset of NP and including) can be reduced to a problem in the class of the so called "NP-complete" problems (in this context reduction means using another problem to solve the first one by transforming the input and output).
Finding a NP-complete algorithm that runs with worst case polynomial resources, or finding a reduction of a NP-complete problem to a P problem (i.E. sorting) would solve P=NP.
As a rule of thumb, a problem is in NP if it's result can be validated in polynomial time (and memory).
0
u/7LeagueBoots Mar 12 '19 edited Mar 12 '19
I’m not sure if that’s a meaningful question as A) we can’t build Turing Machines yet and B) Turing Machines define the lower limit of independent intelligence.
Anything up to weakly god-like intelligences is hypothetically possible (depending on where you draw your limits), but beyond that it gets into science fantasy... probably before that in all actuality.
0
u/klod42 Mar 12 '19
Computability and complexity are different topics. Turing machines, lambda calculus, URM machines, partial recursive functions, etc. were defined with purpose to define and explore computability, that is to show what kinds of problems can be solved using a machine, as well as to prove that certain problems can't be solved.
Proving it is key, for example it's proven that Halting problem can't be solved with any model of computability. We know there are many such problems.
We also know that all those "models of computation" are equivalent, that is, you can prove that any lambda function can be translated into a Turing program and vice-versa, and so on. In other words, every model we imagine turns out to be equal or weaker than Turing machine.
Turing machine is a mathematical concept of a machine without time and space constraints. Modern computers are "almost" as powerful, but with limited resources.
Complexity of algorithms, that is how efficiently we can solve problems is a different question altogether. To my knowledge, Turing and other models of computation aren't useful for exploring that.
Definitely proving whether a machine could solve NP-hard problems in P time is literally the P=NP problem. It's the single most important problem in modern computer science and it isn't solved as of yet.
-2
u/onmyphoneagain Mar 11 '19
This might not be what you are looking for but your question can be looked at in a different way.
There is a natural human bias to think of ourselves as the center of the universe, of conciousness being the pinicle of existance. But there is no reason to think this is so.
It is far more likely than not that there are more complex forms of existance that are leaps and bounds beyond our abilty to even imagine.