I'm thinking about the P vs. NP problem. Take the Hamiltonian graph problem, for example. If I make a Hamiltonian graph-finding algorithm which goes through every edge of a given graph and deductively excludes as many possible Hamiltonian graphs as possible in each step, and then analyze its complexity with respect to the size of the input, could that be a solution to the P vs. NP problem? Or would a solution have to consider all possible elementary operations and show (logically/deductively) that no finite set of polynomial-time operations executed a polynomial number of times can solve the Hamiltonian graph decision problem?
2026-03-27 21:23:32.1774646612
Solving P vs. NP by writing a deductive solution-excluding algorithm
59 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
If your algorithm can be proven to have polynomial-time complexity, then that would prove $P=NP$.
If your algorithm can be shown not to have polynomial-time complexity, that doesn't, in and of itself, prove $P \ne NP$, since there might be a better algorithm. However if you can also show your algorithm has complexity no worse than any other algorithm (good luck with that!), then that would prove $P \ne NP$.