If P=NP, then mathematics as a field would be destroyed.
claymath.org
claymath.org
For example, it would transform mathematics by allowing a computer to find a formal proof of any theorem which has a proof of reasonable length, since formal proofs can easily be recognized in polynomial time. Example theorems may well include all of the CMI prize problems. Although the formal proofs may not be initially intelligible to humans, the problem of finding intelligible proofs would be reduced to that of finding a recognition algorithm for intelligible proofs. Similar remarks apply to diverse creative human endeavors, such as designing airplane wings, creating physical theories, or even composing music. The question in each case is to what extent an efficient algorithm for recognizing a good result can be found. This is a fundamental problem in artificial intelligence, and one whose solution itself would be aided by the NP-solver by allowing easy testing of recognition theories.
For any calculable n, n^n is less than n^50. Ok, if computing power doubled every year, for the next 200 years we would still not be able do 50^50 calculations. But in 250 years of doubling each year it would be easy.
The statement, '...allowing a computer to find a formal proof of any theorem which has a proof of reasonable length...' is where the problem lies. How does one determine which statements have proofs of reasonable length? I believe this is tied in with the Halting Problem. You just can't tell when something will be provable formally and when it can't. A proof of P=NP is not going to destroy mathematics.
NP is the set of problems with solutions that are verifiable in polynomial time. If the problem size is n, imagine a non-deterministic Turing machine that can make one of 2 choices at each step. After n steps there are 2^n possible configurations of the machine, and your polynomial time verifier can check each of these configurations (in parallel, thanks to the non-determinism).
So there's n steps for the guessing and O(n^k) steps for the verification, so you've just been through an exponential search space in polynomial time.
That's why exponential search spaces are the bread and butter of NP. And also why many view P = NP as unlikely.
The language used to encode the search space will be under constant development and expansion.
The creation of the axioms of any proof system is not a search problem.
Recognition of "meaningful" proofs will be extremely hard to automate. The checking of statements does not create mathematical theory, but it is the collection of related statementswhich do.
The search space is likely to be still much too large for proof systems to exhaustly enumerate all meaningful statements in any person's lifetime.
If mathematical statements could be easily checked, it would make mathematical study quite different. But likely much more interesting and fast paced.
As an example, the knapsack problem with n objects and weight W is solvable in O(n*W) time, but it's known to be NP-hard. This doesn't prove P=NP, because W is exponential in its length. This is called a pseudopolynomial algorithm.
Coincidental too since I just read about the AKS algorithm on Terrence Tao's blog. http://terrytao.wordpress.com/2009/08/11/the-aks-primality-t...
With a bit of luck you might also be able to come up with a scheme to generate optimal nonuniform circuits for smaller problem sizes, which would ammortize nicely if you had enough of the smaller instances to solve.
A large portion of Computer Science is the study of algorithms including their complexity.
How can you say something is going to be destroyed by something that isn't even a question in the field?
If anything Mathematics is going to be improved by getting rid of some grunt work and giving way for some more creativity. Not to mention the theorems that if P=NP would come about which could be used for even further results.
All-in-all it's a win-win for Mathematics.
Algorithms and proofs have many interconnections. (You can usually abstract one out of the other with a bit of creativity. I.e. the classic proof for infinity of primes gives a basic algorithm for creating new primes.)
But the headline sounds a bit too dramatic. We've been using and expanding applied mathematics for thousands of years. A proof of P=NP will not retro-actively make Roman aqueducts collapse, let alone destroy the infrastructure we're all using day-to-day. Which in turn means that whatever flawed assumptions have been made (and there's plenty of gray space to be found), the field of mathematics will not be destroyed.
QED. (Don't I feel smug).
[edit : I clicked on the scribd link initially but have now saved the PDF link for tomorrow's reading]