🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.theory
Article #245

Re: Computation requires correct rather than arbitrary finite string transformations

#245
From: Python
Date: Mon, 19 Oct 2026 14:05
233 lines
6960 bytes
Peter,

I think your latest example makes the disagreement extremely precise:

    int main()
    {
       DD(); // is neither the input to HHH nor a finite static string
    }

I completely agree with the comment.

DD() executing in main is NOT the input to HHH.

But the Halting Theorem does not require it to be.

The input to HHH is a finite DESCRIPTION of DD.

Let me write that explicitly as:

    <DD>

Then the hypothetical decider is invoked as:

    HHH(<DD>)

and its specification is:

    HHH(<DD>) = 1 iff the computation described by <DD> halts
    HHH(<DD>) = 0 iff the computation described by <DD> does not halt.

So there are two different objects here:

    DD       the program/computation

    <DD>     a finite string encoding that program

You appear to be treating the proof as though it claims:

    the executing DD is itself the finite-string input to HHH.

It does not.

HHH receives <DD>.

This is not a minor technicality. The distinction between an object and a 
finite representation of that object is fundamental to the theorem.

In fact, we can delete main() entirely.

It plays no role.

Assume that HHH is a total computable function operating on finite program 
descriptions:

    HHH(<P>)

and returning the correct halt status of P.

Now construct the finite program DD:

    DD():
        if HHH(<DD>) == 1:
            loop forever
        else:
            halt

DD itself has a finite description:

    <DD>.

Therefore <DD> is a perfectly valid finite-string input to HHH under the 
assumed specification of HHH.

Now evaluate:

    HHH(<DD>).

There are two possibilities.

If:

    HHH(<DD>) = 1

then, by HHH's specification, DD halts.

But by DD's definition, DD loops.

So HHH is wrong.

If:

    HHH(<DD>) = 0

then, by HHH's specification, DD does not halt.

But by DD's definition, DD halts.

So HHH is wrong.

At no point was the dynamic call:

    DD();

passed to HHH.

At no point was an executing process used as HHH's finite-string input.

The input was <DD> throughout.

This is exactly compatible with your requirement:

    computation requires the application of finite string
    transformations to finite string inputs.

Fine.

<DD> is a finite string.

HHH is assumed to apply whatever finite-string transformations its 
algorithm specifies to <DD>.

The diagonal proof does not need to know what those transformations are.

It only assumes that after finitely many such transformations HHH returns 
the correct answer for every valid program description.

So I think your statement:

    The halting theorem essentially only says that it is impossible
    for any halt decider to return the halt status of its caller

is not an accurate description of the theorem.

The theorem says that no total computable HHH can correctly map EVERY 
finite program description <P> to the halt status of the computation 
denoted by <P>.

DD is constructed so that its own finite description <DD> is one such 
input.

The fact that DD contains a call to HHH does not turn DD itself into HHH's 
input.

Its DESCRIPTION is the input.

This is completely ordinary in computing.

A compiler receives:

    <program>

not the running program.

An interpreter receives:

    <program>

not the running program.

A static analyzer receives:

    <program>

not the running program.

A universal Turing machine receives:

    <machine>

not the physical execution of that machine.

Yet all of them compute properties or behavior from finite representations 
of programs.

So your observation:

    DD() is neither the input to HHH nor a finite static string

is correct.

But nobody needs DD() to be either of those things.

The relevant statement is:

    <DD> IS a finite static string
    and <DD> IS the input to HHH.

If you disagree with that, then I think we have finally isolated the exact 
issue.

Which of these statements do you reject?

    1. DD has a finite description <DD>.

    2. <DD> can be supplied as input to HHH.

    3. HHH, by hypothesis, returns the halt status of the
       computation denoted by its finite input description.

    4. DD's behavior can depend on the value returned by
       HHH(<DD>).

Because those four statements are sufficient for the diagonal 
contradiction.

There is no additional requirement that HHH somehow receive its 
dynamically executing caller as input.

And there is an even simpler way to see this.

Replace DD with an arbitrary program P that never calls HHH:

    P():
        halt

HHH receives <P>, not P's running process, and is asked whether P halts.

Surely you agree that this is a legitimate use of a halt decider.

The diagonal construction changes only one thing: we choose a particular P 
whose behavior depends on HHH(<P>).

That dependency makes the assumed universal specification of HHH 
contradictory.

It does not change <P> from a finite string into an executing process.

So I think the next step should be very concrete:

Please identify which of statements 1-4 above is false.

If all four are true, then your finite-string requirement is fully 
satisfied and the standard diagonal argument goes through.
Technical Details
Message-ID: <gVXxh1miQgSHiDuY3ku0ztIJzFY@jntp>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!pi2.pasdenom.info!from-devjntp
References: <11822bi$39m36$1@dont-email.me> <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> <oKYtq2GwQfvIczbpGwHEi9MprPs@jntp> <11b57so$248fe$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: <gVXxh1miQgSHiDuY3ku0ztIJzFY@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> <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> <oKYtq2GwQfvIczbpGwHEi9MprPs@jntp>
 <11b57so$248fe$1@dont-email.me>
Newsgroups: comp.theory
JNTP-HashClient: iZW7bktPg7XgVkoW6Ey-NfRvvi4
JNTP-ThreadID: 11822bi$39m36$1@dont-email.me
JNTP-Uri: https://www.nemoweb.net/?DataID=gVXxh1miQgSHiDuY3ku0ztIJzFY@jntp
User-Agent: Nemo/1.0
JNTP-OriginServer: nemoweb.net
Date: Mon, 19 Oct 26 14:05:30 +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-19T14:05:30Z/9847556"; 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>