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.
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)
>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.