Yes, so proving factorization is in P doesn't prove that P=NP.
Integer factorization is in NP though (it's just not proven to be NP-hard). So proving that you can't factorize in polynomial time would prove that P!=NP.