As with proving RH, proving that factoring is in P would not have any practical consequences. If, as some confused people imagine, proving that factoring in P allows one to break cryptography, then one could simply assume that factoring is in P and then go break cryptography.
Proofs don't yield algorithms, they only verify algorithms already in hand. Maybe the labs have found a polynomial-time algorithm that breaks cryptography, but that's a totally different subject. Knuth thinks that NP = P and that therefore there is such an algorithm, but the constants are immense and so the algorithms aren't usable.
Plot twist: cryptography is broken so in the singularity all payments and communication of confidential information must be done in person and on paper- and suddenly it's 1980 again! Bank offices reopen, mall and local shops thrive, long queues at government offices!
I think this is false. If it's a fully formalized proof one can get a computational program out of it. Look up 'program extraction from proofs'. The catch is that the properties of the resulting program depend on the exact mathematical statements and also the exact proof, e.g. whether it's fully constructive or relies on classical mathematics. I'm not up to date on this field, haven't looked at this for many years. So that's why I'm vague here and point to looking it up yourself if you're interested in the details. I can't judge at the moment how practical this is, especially for very large proofs.
> If, as some confused people imagine, proving that factoring in P allows one to break cryptography (...)
Confused person here. Isn't it that a nonconstructive and/or galactic proof is indeed not gonna break any crypto, but a constructive and nongalactic one very much so? So that it's a lot more of an "it depends" rather than the "absolutely not" that I took away from your comment?
> proving that factoring is in P would not have any practical consequences.
I would change that to "might not have any practical consequences". It could very well be that the proof that factoring is in P is made by discovering a polynomial-time algorithm for factoring. In fact that would be my default assumption if you told me "someone proved factoring is in P": they must have found an algorithm that does it. (I'm aware there's other ways to prove it, but to my dumb brain, proving the existence of X is easiest done by finding X.)
There's been lots of times in history where we thought a problem was in NP, then someone found a P solution for it. In fact that's one of the very reasons we don't know if P=NP or not.
Proofs don't yield algorithms, they only verify algorithms already in hand. Maybe the labs have found a polynomial-time algorithm that breaks cryptography, but that's a totally different subject. Knuth thinks that NP = P and that therefore there is such an algorithm, but the constants are immense and so the algorithms aren't usable.
Replies (4)
Replies (3)
I think this is false. If it's a fully formalized proof one can get a computational program out of it. Look up 'program extraction from proofs'. The catch is that the properties of the resulting program depend on the exact mathematical statements and also the exact proof, e.g. whether it's fully constructive or relies on classical mathematics. I'm not up to date on this field, haven't looked at this for many years. So that's why I'm vague here and point to looking it up yourself if you're interested in the details. I can't judge at the moment how practical this is, especially for very large proofs.
Confused person here. Isn't it that a nonconstructive and/or galactic proof is indeed not gonna break any crypto, but a constructive and nongalactic one very much so? So that it's a lot more of an "it depends" rather than the "absolutely not" that I took away from your comment?
Replies (1)
I would change that to "might not have any practical consequences". It could very well be that the proof that factoring is in P is made by discovering a polynomial-time algorithm for factoring. In fact that would be my default assumption if you told me "someone proved factoring is in P": they must have found an algorithm that does it. (I'm aware there's other ways to prove it, but to my dumb brain, proving the existence of X is easiest done by finding X.)
There's been lots of times in history where we thought a problem was in NP, then someone found a P solution for it. In fact that's one of the very reasons we don't know if P=NP or not.