News for hackers. Stuff that matters.
Re:A New Provable Factoring Algorithm by algorias on Thursday October 23, 2014 @07:46AM (#8497650)
Well, in math some things are true but not provable unless our formal system is inconsistent. This is one of Gödel's incompleteness theorems.

It's therefore not far fetched that some algorithms might in fact always work correctly, but at the same time a proof for their correctness doesn't exist. You can never be sure (literally!) that you're not just confusing it with an algorithm that's wrong but happens to work on all problem instances you've thrown at it so far.

IIUC, when the article says unprovable, what it actually means is unproven. To correctly describe an algorithm as unprovable, you would have to have a proof of its unprovability, which would be quite something.

Re:A New Provable Factoring Algorithm by thaumasiotes on Thursday October 23, 2014 @11:17AM (#8498560)
There's no obstacle in principle to proving that something can't be proved. As far as I understand things, the continuum hypothesis has been shown to be unprovable within ZFC (since ZFC is consistent with both the truth and the falsity of the continuum hypothesis, obviously it is unable to prove the hypothesis true or false), and theoretical computer science produces results of the form "to prove X, the following kinds of approaches cannot work".
Re:A New Provable Factoring Algorithm by JadeNB on Thursday October 23, 2014 @01:17PM (#8499372)
"ZFC is consistent with …" must, of course, be replaced by "If ZFC is consistent, then so are …".

In fact, singling out ZFC gives you another example of this kind of result: if ZF is consistent, then so are ZF+C and ZF-C.

Re:A New Provable Factoring Algorithm by thaumasiotes on Thursday October 23, 2014 @10:08PM (#8501800)
That all depends whether you're comfortable saying a contradiction is "consistent" with an unrelated proposition; I don't see much of a problem with it. Contradictions, being impossible, are logically consistent with everything else. I guess unprovable propositions would switch over to being provable, though.
Re:A New Provable Factoring Algorithm by JadeNB on Friday October 24, 2014 @10:08PM (#8506936)
> That all depends whether you're comfortable saying a contradiction is "consistent" with an unrelated proposition; I don't see much of a problem with it. Contradictions, being impossible, are logically consistent with everything else. I guess unprovable propositions would switch over to being provable, though.

Oh, I see. I read "A is consistent with B" as "A+B is consistent", but I can see the validity of the reading "A+B is 'as consistent as' A".

Re:A New Provable Factoring Algorithm by dvt on Thursday October 23, 2014 @02:32PM (#8499866)
What he means when he says "unprovable" is "not provably guaranteed to run in O(x)" since the entire discussion is about complexity. A "provable" algorithm, then, is one where the running time can be calculated.

In a deterministic algorithm, this bound will always exist. In a non-deterministic algorithm (e.g. one that uses a random walk), this bound will not. The funny thing is that in the real world (and for big data) the latter algorithms generally run faster than the former.

If you're wondering why a non-deterministic algorithm can't have bounds, it's simple! Because it would range from a trivial best case of I get really lucky and randomly hit every "good" factor in constant time O(1) to the trivial worst cast of I get really unlucky and keep guessing the wrong numbers ad infinitum.