🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.theory
Article #1037

Re: Halt Status of Halting Problem pathological input correctly determined

#1037
From: Mikko
Date: Mon, 02 Nov 2026 08:32
163 lines
6482 bytes
On 29/10/2026 15:05, olcott wrote:
> On 10/29/2026 7:43 AM, Python wrote:
>> Le 29/10/2026 à 09:01, Mikko a écrit :
>>> On 28/10/2026 14:31, olcott wrote:
>>>> On 10/28/2026 4:37 AM, Mikko wrote:
>>>>> No imput to the halting problem is really pathological. For every
>>>>> syntactically valid input there is a partial halting decider that
>>>>> can answer it correctly.
>>>>>
>>>>> On 26/10/2026 01:52, olcott wrote:
>>>>>> typedef int (*ptr)();
>>>>>> int HHH(ptr P);
>>>>>>
>>>>>> 01 int DD()
>>>>>> 02 {
>>>>>> 03   int Halt_Status = HHH(DD);
>>>>>> 04   if (Halt_Status)
>>>>>> 05     HERE: goto HERE;
>>>>>> 06   return Halt_Status;
>>>>>> 07 }
>>>>>> 08
>>>>>> 09 void main()
>>>>>> 10 {
>>>>>> 11  HHH(DD);
>>>>>> 12 }
>>>>>>
>>>>>> <MIT Professor Sipser agreed to ONLY these verbatim words 10/13/2022>
>>>>>>      If simulating halt decider H correctly simulates its
>>>>>>      input D until H correctly determines that its simulated D
>>>>>>      would never stop running unless aborted then
>>>>>>
>>>>>>      H can abort its simulation of D and correctly report that
>>>>>>      D specifies a non-halting sequence of configurations.
>>>>>> </MIT Professor Sipser agreed to ONLY these verbatim words 
>>>>>> 10/13/2022>
>>>>>
>>>>> Note that the expression "its simulated D" is ambiguous: it may either
>>>>> mean the original D that the simulation imitates or the imitation of D
>>>>> in the simulation. Fortunately the ambiguity does not matter here as
>>>>> if one runs forever unless aborted then so does the other.
>>>>>
>>>>
>>>> It is not ambiguous. It means the original finite string input.
>>>
>>> That is not obvious. You need to clarly specify it means that. You also
>>> must to specify what it means that a finite string would never stop
>>> unless aborted and what it means that a finite string is aborted, for
>>> those expressions don't make sense.
>>
>>
>> I think your distinction is exactly the important one here.
>>
>> Peter says that "its simulated D" means:
>>
>>     the original finite string input
>>
>> but expressions such as:
>>
>>     runs forever
>>     halts
>>     is aborted
>>     invokes HHH
>>
>> are properties of a COMPUTATION, not of the static finite string 
>> representing that computation.
>>
>> His own description immediately switches between the two:
>>
>>     the static finite string of machine code of DD
>>
>> and then:
>>
>>     simulated DD() invokes simulated HHH(DD)
>>
>> The static string invokes nothing. The computation represented by that 
>> string does.
>>
>> This is not merely terminological. It matters to the actual argument.
>>
>> I already gave Peter a concrete terminating example with no global state:
>>
>>     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);
>>     }
>>
>> Its execution is simply:
>>
>>     P
>>       -> F(0)
>>       -> G(0)
>>       -> F(1)
>>       -> G(1)
>>       -> Done(2)
>>       -> return
>>       -> return
>>       -> ...
>>       -> halt
>>
>> Thus a finite static string can describe an execution in which 
>> apparently repeated calls occur while the complete computational state 
>> changes and the computation eventually halts.
>>
>> Peter reported that his HHH returned 0 ("does not halt") on this 
>> input. When I pointed out that P plainly halts, his response was that 
>> P was therefore outside HHH's domain.
>>
>> So yes: distinguishing the finite representation from the computation 
>> it represents is not pedantry. It is essential here.
> 
> typedef int (*ptr)();
> int HHH(ptr P);
> 
> 01 int DD()
> 02 {
> 03   int Halt_Status = HHH(DD);
> 04   if (Halt_Status)
> 05     HERE: goto HERE;
> 06   return Halt_Status;
> 07 }
> 08
> 09 void main()
> 10 {
> 11  HHH(DD);
> 12 }
> 
> Simulation Trace
> Line 11: main() invokes HHH(DD);
> 
> Simulation invariant
> Line 03: simulated DD() invokes simulated HHH(DD) that simulates DD()
> DD simulated by HHH does not reach its own simulated final state.

That you just switch the topic instead of telling what you were talking
about is a good reasont to think that you don't know what you were and
are talking about.


-- 
Mikko
Technical Details
Message-ID: <11c9hqd$2mejk$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!peer05.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder3.feed.ams11.usenet.farm!feed.usenet.farm!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11bm4of$31d8$1@dont-email.me> <11bsfob$29ruf$1@dont-email.me> <11bspuc$2dl70$1@dont-email.me> <11buuhg$356ko$1@dont-email.me> <U8HQaX9psNMr5c5eXWR1mJtK81k@jntp> <11bvgas$3bqnh$3@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!peer01.iad!feed-me.highwinds-media.com!peer05.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder3.feed.ams11.usenet.farm!feed.usenet.farm!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Mikko <mikko.levanto@iki.fi>
Newsgroups: comp.theory,sci.logic
Subject: Re: Halt Status of Halting Problem pathological input correctly
 determined
Followup-To: comp.theory
Date: Mon, 2 Nov 2026 10:32:11 +0200
Organization: A noiseless patient Spider
Lines: 163
Message-ID: <11c9hqd$2mejk$1@dont-email.me>
References: <11bm4of$31d8$1@dont-email.me> <11bsfob$29ruf$1@dont-email.me>
 <11bspuc$2dl70$1@dont-email.me> <11buuhg$356ko$1@dont-email.me>
 <U8HQaX9psNMr5c5eXWR1mJtK81k@jntp> <11bvgas$3bqnh$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 02 Nov 2026 08:32:14 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2833012"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/o5IxYqNAga+138HiDtmwE"; posting-host="b952d18b5de291010e13ffde34b5fec3"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:wEnro1OUEobXhKq5WS/MakJuntw= sha256:cWXUIsxbJaCjPJkHXxxX9CygLUrPfjfZ21AAjmM20g0=
	sha1:NrzJBZFz9mSLm1ruYNURHTnYYxM= sha256:22mKSSmSa/jiGcrVSJ2AfiQb98ceIt3sOAPyhVoRi6A=
In-Reply-To: <11bvgas$3bqnh$3@dont-email.me>
X-Received-Bytes: 6325