Article View: comp.theory
Article #241Re: Computation requires correct rather than arbitrary finite string transformations
From: Python
Date: Sat, 17 Oct 2026 17:56
Date: Sat, 17 Oct 2026 17:56
334 lines
10998 bytes
10998 bytes
Peter,
I followed the x86utm link and read the README, and I think this finally
gives us a very precise technical point to examine.
Your README says:
The key mistake of the halting problem proofs is that they
require a halt decider to report on the behavior of something
other than the behavior specified by its finite string input.
and Axiom 2 says:
The only correct finite string transformation rules that HHH
is allowed to apply to its finite string input DD is specified
by the operational semantics of the C programming language.
This requires DD to be simulated by HHH according to these rules.
I think the second statement is exactly where your argument departs from
the Halting Theorem.
A hypothetical halt decider is NOT required to determine termination by
simulating its input.
The assumption is only that there exists some total effective procedure H
such that:
H(P) = 1 iff P halts
H(P) = 0 iff P does not halt.
Nothing in the theorem requires H to obtain its answer by executing or
simulating P step by step.
In fact, we already know that simulation alone cannot decide halting in
general. If P runs forever, straightforward simulation runs forever too.
So when your x86utm trace establishes that simulated DD reaches:
simulated DD
-> simulated HHH(DD)
-> simulated DD
-> simulated HHH(DD)
-> ...
you have demonstrated that this particular recursive simulation does not
terminate.
I agree.
But that does not establish:
HHH(DD) = 0.
It establishes:
this simulation of DD does not terminate.
Those are very different statements.
This becomes particularly clear in your latest reply:
As INPUT to HHH there is only a single unique sequence.
There may be a unique execution sequence of DD under the operational
semantics of C.
But HHH's computation is not required to be that sequence.
There are two different computations:
execution of DD
and:
analysis of DD by HHH.
An analyzer is not required to reproduce the execution trace of the
program it analyzes.
For a trivial example:
int P() {
while (1) {}
}
I can determine by static inspection that P does not terminate.
I do not have to run:
while (1) {}
forever before reaching that conclusion.
Likewise, compilers, abstract interpreters, model checkers, static
analyzers and theorem provers routinely derive properties of program
executions without reproducing those executions step by step.
The Halting Theorem deliberately makes NO assumption about how H works.
It quantifies over every possible effective H.
This is essential.
Your Axiom 2 therefore adds a restriction that the theorem itself does not
contain:
H must determine the behavior of P by transformations
corresponding to P's operational execution semantics.
Once you impose that restriction, you are no longer analyzing arbitrary
hypothetical halt deciders.
You are analyzing a particular class of simulation-based analyzers.
And yes, that class fails on DD.
But the Halting Theorem already says something much stronger:
EVERY possible effective total analyzer fails somewhere.
There is another important point.
You say:
HHH(DD)==0 on that basis.
But if the basis is the infinite recursive simulation trace, when does HHH
obtain the knowledge that the trace is infinite?
After one recursive call?
Ten?
A billion?
No finite prefix establishes, merely by simulation, that the execution
will never eventually terminate.
Your README therefore adds another mechanism:
As soon as the outermost HHH sees a repeating state
it aborts its simulation and rejects its input.
That can establish nontermination when an identical complete machine state
repeats in a deterministic system.
But that is a special case of nontermination detection, not a general halt
decider.
Many nonterminating computations never repeat a complete machine state.
For example, a program can increment an unbounded counter forever:
n = 0;
while (1)
n++;
At the abstract mathematical-machine level its successive states can all
be distinct.
More generally, if every nonterminating computation necessarily repeated a
detectable finite state, HALT would already be decidable by ordinary cycle
detection.
So the interesting question about HHH is not whether its cycle detection
correctly identifies SOME infinite executions.
It can.
The question is whether it correctly decides EVERY possible input program.
That is the specification required for a halt decider.
This also clarifies the diagonal argument.
Assume, without making ANY assumption about its internal method, that H is
total and correct:
H(P) = 1 iff P halts
H(P) = 0 iff P does not halt.
Then construct:
D():
if H(D):
loop forever
else:
halt
Now ask H(D).
You characterize this as an "incorrect question":
Provide the halt status of any machine that does the
opposite of whatever halt status is returned.
But that description reverses the logical order of the argument.
D is a perfectly ordinary finite program.
The question:
Does D halt?
has a perfectly ordinary objective answer for any actual execution of D.
The contradiction does not show that this question was malformed.
It shows that our ASSUMPTION that a total correct H exists was false.
That distinction is fundamental.
This is exactly how proof by contradiction works.
We assume:
H exists.
Using that assumption, we construct D.
The assumed properties of H then imply:
if H(D)=1, H(D) must equal 0
and:
if H(D)=0, H(D) must equal 1.
The conclusion is not:
D is an incorrect question.
The conclusion is:
no H satisfying the original assumption exists.
Compare:
Assume there exists an integer n such that n > n.
We derive a contradiction.
We do not conclude that "is n > n?" is an incorrect question.
We conclude that the assumed n does not exist.
Your "incorrect question" interpretation appears to preserve H by
assigning the contradiction to D.
But the diagonal proof was specifically constructed to test the assumption
that H exists.
So you cannot simply transfer the contradiction from that assumption to
the input without independently proving that this transfer is valid.
There is also an important point concerning Hehner.
I read "Objective and Subjective Specifications".
Hehner does not present the position you cite as an established refutation
of the Halting Theorem.
He explicitly presents two alternatives, which he calls Answer O and
Answer S.
Answer O is essentially the conventional position: halting is an objective
specification and no program in any language can compute it for all
programs.
Answer S explores the alternative that the specification is subjective
because of the relation between the language of the analyzed program and
the language of the analyzer.
Hehner explicitly says that Answer O has been almost unanimously accepted
and that he FAVORS Answer S, giving what he himself calls a "weak reason".
That is an interesting philosophical argument about self-referential
specifications.
It is not a theorem establishing that the standard Halting Theorem is
false.
More importantly, it does not establish the crucial claim made by your HHH
argument:
HHH(DD) = 0.
So I think we now have something concrete enough that we can temporarily
put Post, Prawitz, epistemology and even the general definition of
computation aside.
Your x86utm argument appears to depend on this implication:
HHH simulates DD according to C operational semantics
the simulation recursively reproduces HHH(DD)
therefore DD does not halt
therefore HHH(DD) = 0.
I accept the first two statements for your implementation.
I do not accept the implication to the third and fourth as establishing a
general halt decision.
At most, your mechanism recognizes a particular form of nontermination.
And even more fundamentally, I reject the premise that an arbitrary
hypothetical halt decider is required to determine termination by
following the operational execution trace of its input.
So here is what I think is now the most precise question I can ask:
Why must EVERY possible halt decider determine HALT(P) by simulating the
unique operational execution sequence of P?
Not why YOUR HHH does so.
Why must ANY possible total computable H do so?
Because unless you can establish that implication, your x86utm experiment
is a demonstration about HHH's chosen analysis method, not a refutation of
the Halting Theorem.
And if your answer is instead that your epistemological notion of semantic
relevance REQUIRES H to follow that execution sequence, then we are back
to the distinction we just clarified:
you have imposed an additional requirement on what you are willing to call
a justified decider.
That cannot invalidate a theorem quantifying over the larger class of all
computable deciders.
Technical Details
Message-ID:
<M4Ttp6PknWTPmxHJr_ZZZcMRoYQ@jntp>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.goja.nl.eu.org!pasdenom.info!from-devjntpReferences:
<11822bi$39m36$1@dont-email.me> <11atfck$3di1o$1@dont-email.me> <l8dd9SdodJtdB3bYrBX54ROsr0w@jntp> <11atj6p$3f2pf$1@dont-email.me> <11avghj$1v6l6$2@dont-email.me> <11avosd$6409$1@dont-email.me> <8Svc2wL3DdPnpGCkPd58JFdywOE@jntp> <11b019j$9a6r$1@dont-email.me> <ZsT9oUlbfwqB_JP00a-d3Xk8N3M@jntp> <11b0c70$f38p$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.goja.nl.eu.org!pasdenom.info!from-devjntp Message-ID: <M4Ttp6PknWTPmxHJr_ZZZcMRoYQ@jntp> JNTP-Route: nemoweb.net JNTP-DataType: Article Subject: Re: Computation requires correct rather than arbitrary finite string transformations References: <11822bi$39m36$1@dont-email.me> <11atfck$3di1o$1@dont-email.me> <l8dd9SdodJtdB3bYrBX54ROsr0w@jntp> <11atj6p$3f2pf$1@dont-email.me> <11avghj$1v6l6$2@dont-email.me> <11avosd$6409$1@dont-email.me> <8Svc2wL3DdPnpGCkPd58JFdywOE@jntp> <11b019j$9a6r$1@dont-email.me> <ZsT9oUlbfwqB_JP00a-d3Xk8N3M@jntp> <11b0c70$f38p$1@dont-email.me> Newsgroups: comp.theory JNTP-HashClient: 4vQysLX7LD4WHmlKfrX77FtIEug JNTP-ThreadID: 11822bi$39m36$1@dont-email.me JNTP-Uri: https://www.nemoweb.net/?DataID=M4Ttp6PknWTPmxHJr_ZZZcMRoYQ@jntp User-Agent: Nemo/1.0 JNTP-OriginServer: nemoweb.net Date: Sat, 17 Oct 26 17:56:11 +0000 Organization: Nemoweb JNTP-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0 Injection-Info: nemoweb.net; posting-host="015e86291b1007b16f54d53426d34429e43f015a"; logging-data="2026-10-17T17:56:11Z/9845594"; posting-account="190@nemoweb.net"; mail-complaints-to="julien.arlandis@gmail.com" JNTP-ProtocolVersion: 0.21.1 JNTP-Server: PhpNemoServer/0.94.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-JNTP-JsonNewsGateway: 0.96 From: Python <python@cccp.invalid>