Article View: comp.theory
Article #593Re: Halt Status of Halting Problem pathological input correctly determined
From: Python
Date: Mon, 26 Oct 2026 16:13
Date: Mon, 26 Oct 2026 16:13
52 lines
2412 bytes
2412 bytes
Fair enough. Let's remove the globals.
Please try this instead:
typedef void (*fn)(unsigned);
void F(unsigned);
void G(unsigned);
void Done(unsigned);
void Done(unsigned n)
{
(void)n;
}
void G(unsigned n)
{
fn next[2] = { F, Done };
fn p = next[n];
p(n + 1);
}
void F(unsigned n)
{
G(n);
}
void P(void)
{
F(0);
}
There is no global state here.
Please run your unchanged HHH on:
HHH(P)
using the same compiler and simulation environment you use for your tests.
Again, I am not asking you to modify HHH, and I am deliberately not
predicting what it will return.
Just tell me:
1. what HHH(P) returns;
2. if it aborts, what pattern it reports;
3. the relevant execution trace.
If this program violates some other restriction on inputs to HHH, please
state that restriction precisely.
Technical Details
Message-ID:
<WFXL4pgxsaRmLrB57z9561dJx5E@jntp>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!pi2.pasdenom.info!from-devjntpReferences:
<11bm4of$31d8$1@dont-email.me> <ZUJyxfdkeJrwfgbtyooIfHVO5RU@jntp> <11bno59$lh6g$1@dont-email.me> <qqru-Yaxc9kWeXoXcyoMMo-2XW8@jntp> <11bnsqj$nguv$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: <WFXL4pgxsaRmLrB57z9561dJx5E@jntp> JNTP-Route: nemoweb.net JNTP-DataType: Article Subject: Re: Halt Status of Halting Problem pathological input correctly determined References: <11bm4of$31d8$1@dont-email.me> <ZUJyxfdkeJrwfgbtyooIfHVO5RU@jntp> <11bno59$lh6g$1@dont-email.me> <qqru-Yaxc9kWeXoXcyoMMo-2XW8@jntp> <11bnsqj$nguv$1@dont-email.me> Newsgroups: comp.theory,sci.logic JNTP-HashClient: tyaRJmyHhl0te8xPSTxr_Kc6Q40 JNTP-ThreadID: 11bm4of$31d8$1@dont-email.me JNTP-Uri: https://www.nemoweb.net/?DataID=WFXL4pgxsaRmLrB57z9561dJx5E@jntp User-Agent: Nemo/1.0 JNTP-OriginServer: nemoweb.net Date: Mon, 26 Oct 26 16:13:02 +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-10-26T16:13:02Z/9857131"; 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>