Article View: comp.theory
Article #244Re: Computation requires correct rather than arbitrary finite string transformations
From: Python
Date: Mon, 19 Oct 2026 10:32
Date: Mon, 19 Oct 2026 10:32
432 lines
12154 bytes
12154 bytes
I think your three recent replies now identify the exact point on which we
disagree.
You say:
A halt decider is required to derive its result through
the application of finite string transformations to its
finite string input. The halting theorem totally ignores
this.
and:
A halt decider is also implicitly required to limit these
finite string transformations to those relevant to determining
the halting property specified by this finite string input.
The halting theorem totally ignores this.
and:
The halting theorem is framed as the impossibility of
a halt decider returning a correct value to its caller
that is not even its input.
I don't think the Halting Theorem ignores any of these issues.
I think you are conflating three different things:
1. the finite representation of a program P,
2. the computation denoted by that representation,
3. the context in which that computation is executed.
These are related, but they are not identical.
Consider an ordinary static analyzer A.
I can give A the finite source code:
int f() {
return 17;
}
The INPUT to A is a finite string representing f.
What A is asked to determine is a property of the computation denoted by
that finite string.
There is no contradiction here between:
static finite string input
and:
executing process.
The finite string REPRESENTS the program whose possible execution we are
reasoning about.
That distinction is fundamental to essentially all program analysis.
Likewise, there is no "mutual exclusivity" between a program being the
caller of a function during one execution and a representation of that
same program being the input data of that function.
For example:
char *my_source = ...;
analyze(my_source);
The running program is the caller of analyze(), while a representation of
that program can simultaneously be data supplied to analyze().
More abstractly, programs can manipulate representations of programs.
That is not an anomaly introduced by the Halting Theorem.
It is one of the fundamental facts of computability theory.
Compilers do it.
Interpreters do it.
Debuggers do it.
Static analyzers do it.
Theorem provers do it.
Universal machines do it.
So when D calls:
H(<D>)
the input to H is not "the caller".
The input is:
<D>
a finite representation of D.
The fact that D happens also to be the program executing the call does not
make <D> cease to be H's input.
This also addresses your comparison with:
What time is it (yes or no)?
and:
What is the color of your car in feet and inches?
Those questions are malformed independently of any hypothetical answerer.
The requested answer type does not correspond to the property being asked
for.
But:
Does program D halt?
is perfectly well typed.
Its answer space is exactly:
HALTS
DOES_NOT_HALT.
There is nothing analogous to asking for a color in feet and inches.
The difficulty appears only after we assume the existence of a particular
universal H and construct D using that assumed H.
That difference is crucial.
Before assuming H:
"Does D halt?"
is not even available in this particular form because D is constructed
from H.
Assume H exists.
Then construct D:
D():
if H(<D>) == HALTS:
loop forever
else:
halt
Now ask H(<D>).
If H says HALTS, D does not halt.
If H says DOES_NOT_HALT, D halts.
You call this an "incorrect question".
But the contradiction did not exist before the assumption that H exists.
It was DERIVED FROM that assumption.
That is exactly what a reductio ad absurdum is supposed to do.
Your analogy would need to have this structure:
Assume object X exists and satisfies specification S.
Using X, construct Y.
S applied to Y implies both a proposition and its negation.
The ordinary logical conclusion is:
no X satisfying S exists.
It is not:
Y was an incorrect question.
The latter conclusion would require an additional independent reason why Y
is outside S's domain.
But in the Halting Theorem, the assumed specification of H explicitly says
that its domain contains every program representation.
So excluding <D> changes the assumed specification.
This becomes even clearer in your statement:
The halting theorem is framed as the impossibility of
a halt decider returning a correct value to its caller
that is not even its input.
No.
H is not required to determine a property of its caller.
It is required to determine a property of its INPUT:
<D>.
The property is:
does the computation represented by <D> terminate?
That D happens to be the caller in the diagonal construction is part of
the construction, not a substitution of caller for input.
Now to your finite-string-transformation requirement.
You say:
A halt decider is required to derive its result through
the application of finite string transformations to its
finite string input.
Fine.
For the sake of argument, I can accept that description.
Suppose H is implemented entirely by finite string transformations.
Then H itself is an effective procedure.
The Halting Theorem applies to it.
The proof does not need to know WHICH finite string transformations H
performs.
It quantifies over all possible effective H.
This is an important point:
abstraction from the internal algorithm
does not mean:
ignoring computation.
For example, if I prove that no sorting algorithm can satisfy some
impossible specification, I do not need to enumerate every comparison
performed by every possible sorting algorithm.
Likewise the Halting Theorem says:
Assume ANY effective H satisfying the HALT specification exists.
It deliberately leaves H's internal method unrestricted.
You then add:
A halt decider is also implicitly required to limit these
finite string transformations to those relevant to determining
the halting property specified by this finite string input.
Again, let us accept that additional condition.
Call the set of all total correct halt deciders:
H
and the subset using only your semantically relevant transformations:
R.
Then:
R subseteq H.
The diagonal proof establishes:
H = empty set.
Therefore:
R = empty set.
Adding semantic relevance cannot help.
It restricts the candidate deciders further.
There is also a separate problem with "semantically relevant".
Relevance is not correctness.
A transformation can be completely relevant to termination without being
sufficient to determine termination.
For example, an analyzer might inspect:
loops,
branches,
recursion,
control flow,
reachable states.
All of those are semantically relevant to termination.
That does not imply that the analyzer decides termination for every
possible program.
So if your requirement is merely:
semantically relevant transformations,
it does not establish correctness.
If your requirement is instead:
transformations that semantically entail
the correct halt status,
then the difficult part of HALT has simply been inserted into the
requirement.
You would then need to show that such a finite derivation exists for every
P.
That is precisely what is in dispute.
There is one more point where I think your x86utm argument makes the
distinction particularly visible.
You say that DD has:
only a single unique sequence.
Suppose that is true.
It does not follow that HHH must discover the termination property by
reproducing that sequence.
These are different functions:
execute(P)
and:
determine_whether_execute(P)_terminates.
For some P we can determine the second without completing the first.
For example:
P:
while (1) {}
A static analyzer can prove that P loops without waiting forever for P to
execute.
So the fact that DD has one operational execution sequence places no
requirement on HHH to have the same computational sequence.
If your Axiom 2 specifically requires HHH to simulate that execution
sequence, then your Axiom 2 restricts HHH to a particular analysis
methodology.
That is your new theory.
It is not a missing assumption in the Halting Theorem.
Finally, consider the Hehner/Carol question:
Can Carol correctly answer "no" to this (yes/no) question?
I agree that self-reference can create interesting semantic pathologies.
But merely observing an analogy does not establish that the diagonal HALT
construction has the same semantic status.
There is a crucial formal difference.
The Halting Theorem is a conditional argument about the existence of H:
IF total correct H exists,
THEN D can be constructed,
THEN H fails on <D>,
THEREFORE total correct H does not exist.
You are instead reading the middle contradiction as:
THEREFORE <D> is an incorrect question.
But that conclusion preserves the original assumption by removing its
counterexample from the domain.
That is exactly the step that needs justification.
Otherwise any universal claim could be protected from contradiction in the
same way:
Assume X works for every input.
Produce input Y on which X cannot satisfy its specification.
Declare Y an "incorrect input".
Therefore X still works for every correct input.
That is not a refutation of the counterexample.
It is a redefinition of the domain.
So I think we have reduced the disagreement to one very precise logical
question.
Given:
Assume H is total and correct for EVERY program representation.
and given that the diagonal construction produces <D> such that no answer
from H can satisfy that assumption, why should we conclude:
<D> is an incorrect question
rather than the ordinary reductio conclusion:
the assumed H does not exist?
Your examples establish that malformed questions can exist.
I agree.
What they do not establish is that the diagonal question is malformed
independently of the assumption whose impossibility the diagonal argument
is designed to prove.
That is the missing step.
Technical Details
Message-ID:
<oKYtq2GwQfvIczbpGwHEi9MprPs@jntp>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!pi2.pasdenom.info!from-devjntpReferences:
<11822bi$39m36$1@dont-email.me> <11atj6p$3f2pf$1@dont-email.me> <Ep32suqtHMSdCHbtdZ7ti3h5OR8@jntp> <11auo2k$3rm6e$1@dont-email.me> <ZjLFbGT-d0iPHRHcODIiIDGvs8s@jntp> <11avv0k$8d8k$1@dont-email.me> <fcER2wjkih8mOAAQ6DF0Jrvv_Yw@jntp> <11b07la$ck0e$1@dont-email.me> <lKo0CqR6SHEkUPmyWqmJ1I9oWW8@jntp> <11b36uq$1eedq$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!pi2.pasdenom.info!from-devjntp Message-ID: <oKYtq2GwQfvIczbpGwHEi9MprPs@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> <11atj6p$3f2pf$1@dont-email.me> <Ep32suqtHMSdCHbtdZ7ti3h5OR8@jntp> <11auo2k$3rm6e$1@dont-email.me> <ZjLFbGT-d0iPHRHcODIiIDGvs8s@jntp> <11avv0k$8d8k$1@dont-email.me> <fcER2wjkih8mOAAQ6DF0Jrvv_Yw@jntp> <11b07la$ck0e$1@dont-email.me> <lKo0CqR6SHEkUPmyWqmJ1I9oWW8@jntp> <11b36uq$1eedq$1@dont-email.me> Newsgroups: comp.theory JNTP-HashClient: R6MkQagyJh1kdpgiDfj1Bm7F5PM JNTP-ThreadID: 11822bi$39m36$1@dont-email.me JNTP-Uri: https://www.nemoweb.net/?DataID=oKYtq2GwQfvIczbpGwHEi9MprPs@jntp User-Agent: Nemo/1.0 JNTP-OriginServer: nemoweb.net Date: Mon, 19 Oct 26 10:32:01 +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-19T10:32:01Z/9847260"; 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>