🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.theory
Article #1540

Re: How to make a generic halt decider? --- clarification

#1540
From: Python
Date: Fri, 13 Nov 2026 15:40
171 lines
6783 bytes
Peter,

    "Turing equivalent computation is utterly
     restricted to the former."

Of course a Turing-computable analyzer performs computational steps.

BUT SO DOES THE PROGRAM BEING ANALYZED.

You are confusing two distinct computations:

1. The computation performed by the analyzer H.
2. The computation performed by its input D.

Both are perfectly legitimate Turing computations.

There is NO requirement that their execution traces be identical.

    "In those cases where D does not call H(D)
     its own decider (1) is a proxy for (2)."

An analyzer can reason about a program without simulating it, whether or 
not that program calls the analyzer.

If H happens to simulate D, that is an implementation choice.

NOT A REQUIREMENT OF COMPUTABILITY THEORY.

    "And these results must be [...] equivalent
     to the behavior of f simulated by H."

YES!

The RESULT must agree with the actual termination behavior of f.

The COMPUTATION producing that result need not reproduce f's execution.

And you have just acknowledged that a ranking-function argument provides a 
shortcut to simulation.

GOOD.

THEN SIMULATION IS NOT REQUIRED.

    "If it is not examining the sequence of steps
     at least at some level of abstraction then it
     cannot possibly determine whether or not this
     sequence of steps does reach a final state."

You are now confusing ANALYZING a program's transition rules with 
RECONSTRUCTING its execution trace.

A ranking function proves termination by establishing a decreasing, 
well-founded measure.

An invariant can establish nontermination by proving that execution 
remains forever in a nonterminal region.

Neither technique requires enumerating the execution trace.

And both can be implemented by Turing-computable algorithms.

    "Since the bottom line of correctness must be
     equivalent to D simulated by H the actual
     behavior of D simulated by H would be the
     most definitive measure of this."

NO.

The definitive criterion is the behavior of D under its specified 
execution semantics.

A simulator is merely one method of investigating that behavior.

A simulator that aborts, changes the execution context, or fails to 
reproduce the relevant machine state cannot simply declare its 
observations definitive.

    "H1(D) derives the exact same steps as
     int main() { D(); }
     H(D) does not derive these exact same steps
     because D calls H(D) in recursive simulation."

THEN YOU ARE DESCRIBING TWO DIFFERENT EXECUTION CONTEXTS.

If H1 and H do not reproduce the same conditions, their execution traces 
need not coincide.

That is a property of your implementations.

NOT A LIMITATION OF TURING COMPUTATION.

And the standard Halting Theorem does not assume that H works by 
recursively simulating D.

It assumes that H is a TOTAL, CORRECT, COMPUTABLE halting decider.

HOW H OBTAINS ITS ANSWER IS IRRELEVANT.

    "In other cases H act like
     unify_with_occurs_check() and rejects
     the pathological self-reference."

AND HERE IS YOUR NEW CONFUSION.

In Prolog, `unify_with_occurs_check/2` prevents certain cyclic term 
constructions.

It does NOT establish that self-referential computations are impossible.

It does NOT establish that recursive programs are invalid.

And it certainly does NOT establish that diagonal computations lie outside 
Turing computation.

You are confusing a restriction on term unification with a theorem about 
computability.

A Turing machine can simulate recursive calls.

It can simulate programs that refer to their own descriptions.

It can simulate computations that never terminate.

THERE IS NOTHING "PATHOLOGICAL" ABOUT THESE COMPUTATIONS.

The limitation is that no Turing-computable algorithm can correctly DECIDE 
halting for every arbitrary program and input.

And now you propose that H should reject D because it recognizes 
self-reference.

REJECT IT AS WHAT, PETER?

If rejection means "D does not halt", then you must PROVE that conclusion 
correct.

If rejection means "D is invalid", then you have excluded a valid program 
from your alleged universal decider's domain.

If rejection means "H cannot decide", then H is not a total halting 
decider.

NONE OF THESE REFUTES THE HALTING THEOREM.

In fact, your analogy with `unify_with_occurs_check()` exposes your 
fundamental mistake.

You are treating an implementation-specific rejection rule as though it 
established a fundamental impossibility of computation.

IT DOES NOT.

And declaring the diagonal input "pathological" does not make the diagonal 
argument disappear.

It merely means that your proposed H refuses to handle precisely the case 
a universal decider MUST handle.

So here is ONE question:

WHEN H "REJECTS" D, DOES IT RETURN "DOES NOT HALT", "INVALID INPUT", OR 
"UNABLE TO DECIDE"?

WHICH ONE?

And please do not confuse the inability of YOUR simulator to process an 
input with the inability of a Turing machine to compute its behavior.

THEY ARE NOT THE SAME THING.
Technical Details
Message-ID: <hN1PnDta_q0YMuFleImfUhDj11Y@jntp>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!pasdenom.info!from-devjntp
References: <11cm17m$32os9$1@dont-email.me> <11d5nne$el93$1@dont-email.me> <bmGvgNB0YERuNi906NEgMqQX-dE@jntp> <11d5p01$evo3$1@dont-email.me> <REPxlLecv_5V5aMrpEWVV785FtY@jntp> <11d5pem$f4h6$1@dont-email.me> <nvINg_aqluhE1i70QQF0x31KuP0@jntp> <11d5q9i$fbhu$1@dont-email.me> <_pbhxBqQn4TT6cRV-oASvOa0LmE@jntp> <11d7a9r$1fd5d$1@solani.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!pasdenom.info!from-devjntp
Message-ID: <hN1PnDta_q0YMuFleImfUhDj11Y@jntp>
JNTP-Route: nemoweb.net
JNTP-DataType: Article
Subject: Re: How to make a generic halt decider? --- clarification
References: <11cm17m$32os9$1@dont-email.me> <11d5nne$el93$1@dont-email.me> <bmGvgNB0YERuNi906NEgMqQX-dE@jntp>
 <11d5p01$evo3$1@dont-email.me> <REPxlLecv_5V5aMrpEWVV785FtY@jntp> <11d5pem$f4h6$1@dont-email.me>
 <nvINg_aqluhE1i70QQF0x31KuP0@jntp> <11d5q9i$fbhu$1@dont-email.me> <_pbhxBqQn4TT6cRV-oASvOa0LmE@jntp>
 <11d7a9r$1fd5d$1@solani.org>
Newsgroups: comp.theory,sci.logic,comp.ai.philosophy
JNTP-HashClient: Ny48DblKXbpmxBSyg9vbz3UGwrc
JNTP-ThreadID: 11cm17m$32os9$1@dont-email.me
JNTP-Uri: https://www.nemoweb.net/?DataID=hN1PnDta_q0YMuFleImfUhDj11Y@jntp
User-Agent: Nemo/1.0
JNTP-OriginServer: nemoweb.net
Date: Fri, 13 Nov 26 15:40:31 +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="71962ec0b262db26e9002693f4d52627a6dd14a2"; logging-data="2026-11-13T15:40:31Z/9875529"; 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 <jpierre.messager@gmail.com>