I. previously posted another answer (a long time ago), but it had flaws, so I've deleted it.
I gave some extra thought to your question (and Wikipedia's polynomial-time semi-algorithm).
I'll argue here in a similar way to the argument in the 2nd paragraph of @djechlin.
The semi-algorithm there (let's call it W) is an honest semi-algorithm because it shows that actual Cw1 and Cw2 exist (even though it can't show its actual values):
due to the assumption of P==NP,
there exists some semi-algorithm (let's call it X),
a poly-time semi-algorithm, solving any NP-complete algo (such as SSP)
Even though you don't know X, you can:
- try each and every number of steps K; and
- run each and every program, with an index M lower than K on S for K steps
(program are enumerable).
(this is the W presented in Wikipedia)
Since X exists and is a semi-algorithm it has a finite length, so its index is a finite number (b bits long).
If there's a solution for S, X will find it in a polynomial number of X-steps.
As @djechlin states, the number of W-steps, finally, depends on:
- number of X-steps (polynomial on the size of S), and
- index of X (independent of S)
As such, the index-of-X is O(1) with respect to the size of S.
So, W is a poly-time semi-algorithm.
That time complexity being:
(2ˆb - 1) * (Cx1 + Cx2 * size(S))ˆ2
You might try, at most:
and run each, at most, for:
- K-steps, from 1 up to the complexity of X (second term)
Using 1 + 2 + ... + n == 1/2 * n * (n + 1) ~ O(nˆ2)
Of course, you don't know Cx1, Cx2, b, but they are proven to exist.
With this, you can see that W is an honest semi-algorithm.
You don't have to look further.
The only caveat is that X and W are semi-algorithms, they answer yes in poly-time when there's a solution and might not halt for S without a solution. But that's already part of the definition of P==NP. The X in the demonstration of P==NP is required to be a semi-algorithm (only has to "accept" a given language in poly-time).
This was quite long, so it should be improved (presented in a more elegant way).
I hope this is correct and clear enough.