An unofficial, read-only Hacker News reader.

Rumors swirling that labs might have cracked Factoring in P (opens external site)

516 points by lilytweed 4 days ago | www.reddit.com | 384 comments on HN

View full thread · View on Hacker News

Comment thread (4)

  1. Integer factoring is in NP and coNP so, unless P=NP, factoring is not NP-Complete [0].

    That is, integer factoring has a decidable, deterministic, "is this number (only) a prime", 'yes' and 'no' variant. Deciding whether it's composite doesn't mean you're given the divisor.

    If P=NP, then integer factoring is in P trivially, because the polynomial hierarchy collapses, but the other way doesn't hold. To be clear, I think there's essentially no chance P=NP.

    [0] https://en.wikipedia.org/wiki/Integer_factorization#Time_com...

    Replies (3)
    1. P is a subset of NP. P?=NP is a different question.
    2. Nothing happens complexity class wise if Integer Factorization is shown to be in P.
    3. You're wrong on multiple counts.

      >Integer factoring is in NP and coNP so, unless P=NP, factoring is not NP-Complete

      No. We don't know if the intersection of NP and coNP equals to P.

      >"is this number (only) a prime", 'yes' and 'no' variant.

      This is primality testing, which was proven to be in P in 2002 via the AKS algorithm.