Scientific Knowledge is NP
When analyzing algorithms, problems are classified by how complex the best known algorithm to solve a particular problem is. The complexity of an algorithm is a formula of the problem size. For example, if a sorting algorithm takes 1 second to sort 1 million entries, 4 seconds to sort 2 million entries, 9 seconds to sort 3 million entries, etc. we can see that the time the algorithm takes to solve the problem depends on the square of the number of entries. This algorithm is said to have a complexity of n squared. As long as the problem can be solved with an algorithm that has a complexity which is a polynomial of n, the problem is considered easy (tractable in complexity lingo) and it said to be a P problem, which stands for polynomial. There are problems for which the best algorithm we know is worse than any polynomial (for example exponential), but which can be verified in polynomial time. These problems are said to be NP, which stands for non-deterministic polynomial.
The cool thing about NP problems is that while they are hard to solve, it is easy to check whether a tentative solution is an actual solution to the problem. Factoring a very large number, for example, is very hard, but given the factors it is easy to verify if they produce the number when multiplied.
I was thinking about how knowledge about nature is very hard to obtain but easy to verify, just like an NP problem. It took the kind of genius that exists once in a century to discover gravitation, but given that Newton discovered it, it is very easy for everybody else to understand it when we read it from our physics books. The idea of natural selection seems so obvious that one sometimes wonders if people before Darwin were just stupid, but again coming up with the idea was the hard part, whereas understanding it is easy.
Now, where my analogy gets interesting is relating it to NP complete problems. By definition of NP complete, any NP problem can be transformed into an NP complete problem in polynomial time. So if we were to find a solution for an NP complete problem in polynomial time, that would mean that P=NP. This is because all NP problems can be transformed to the NP complete problem in polynomial time, and the problem would be solvable in polynomial time also. After this, the only hard problem would be how to protect our secrets, since our current encryption schemes are based on the assumption that NP problems are hard to solve.
In science, people sometimes reason by analogy, transforming a new problem into an old problem that they know how to solve. For example, physics and accounting share the same conservation principle, in fact physics could be described as energy accounting. The no free lunch (no arbitrage) principle in economics uses the same kind of argument as the no perpetual motion principle in physics. So the transformations between one kind of problem and another are similar to the polynomial transformations between two NP problems. The thing that I am wondering is whether there is a set of NP complete problems in the world, that if we solve them we can then solve all problems that come our way? Would that be how a unified theory of everything would look like? I would think that a unified theory of everything, in order to be useful, would have to have polynomial transformations from any problem we encounter into it. We already know some members of the NP complete set in mathematics, now it is time to find them in physics.
The cool thing about NP problems is that while they are hard to solve, it is easy to check whether a tentative solution is an actual solution to the problem. Factoring a very large number, for example, is very hard, but given the factors it is easy to verify if they produce the number when multiplied.
I was thinking about how knowledge about nature is very hard to obtain but easy to verify, just like an NP problem. It took the kind of genius that exists once in a century to discover gravitation, but given that Newton discovered it, it is very easy for everybody else to understand it when we read it from our physics books. The idea of natural selection seems so obvious that one sometimes wonders if people before Darwin were just stupid, but again coming up with the idea was the hard part, whereas understanding it is easy.
Now, where my analogy gets interesting is relating it to NP complete problems. By definition of NP complete, any NP problem can be transformed into an NP complete problem in polynomial time. So if we were to find a solution for an NP complete problem in polynomial time, that would mean that P=NP. This is because all NP problems can be transformed to the NP complete problem in polynomial time, and the problem would be solvable in polynomial time also. After this, the only hard problem would be how to protect our secrets, since our current encryption schemes are based on the assumption that NP problems are hard to solve.
In science, people sometimes reason by analogy, transforming a new problem into an old problem that they know how to solve. For example, physics and accounting share the same conservation principle, in fact physics could be described as energy accounting. The no free lunch (no arbitrage) principle in economics uses the same kind of argument as the no perpetual motion principle in physics. So the transformations between one kind of problem and another are similar to the polynomial transformations between two NP problems. The thing that I am wondering is whether there is a set of NP complete problems in the world, that if we solve them we can then solve all problems that come our way? Would that be how a unified theory of everything would look like? I would think that a unified theory of everything, in order to be useful, would have to have polynomial transformations from any problem we encounter into it. We already know some members of the NP complete set in mathematics, now it is time to find them in physics.

0 Comments:
Post a Comment
<< Home