🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.logic
Article #1101

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

#1101
From: Python
Date: Wed, 11 Nov 2026 12:23
359 lines
11666 bytes
Le 11/11/2026 à 05:41, olcott a écrit :
> On 11/10/2026 10:17 AM, Python wrote:
>> Le 10/11/2026 à 17:16, Python a écrit :
>>> Le 10/11/2026 à 17:15, olcott a écrit :
>>>> On 11/10/2026 9:38 AM, Python wrote:
>>>>> Le 10/11/2026 à 15:57, olcott a écrit :
>>>>>> On 11/10/2026 4:50 AM, Python wrote:
>>>>>>> Le 10/11/2026 à 02:02, olcott a écrit :
>>>>>>>> On 11/9/2026 3:29 PM, Python wrote:
>>>>>>>>> Le 09/11/2026 à 19:18, olcott a écrit :
>>>>>>>>>> On 11/9/2026 9:40 AM, Python wrote:
>>>>>>>>>>> Peter,
>>>>>>>>>>>
>>>>>>>>>>>     "simulated D would never stop running
>>>>>>>>>>>      unless [simulation is] aborted"
>>>>>>>>>>>
>>>>>>>>>>> becomes:
>>>>>>>>>>>
>>>>>>>>>>>     "simulated D would never stop running
>>>>>>>>>>>      while being simulated"
>>>>>>>>>>>
>>>>>>>>>>> FINE.
>>>>>>>>>>>
>>>>>>>>>>> And now?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> (1) [simulated D would never stop running unless aborted]
>>>>>>>>>>      is translated into
>>>>>>>>>>      "simulated D would never stop running while being simulated"
>>>>>>>>>>      [would never stop running]
>>>>>>>>>>      is translated into
>>>>>>>>>>      never halts
>>>>>>>>>>
>>>>>>>>>>      [simulated D would never stop running unless aborted]
>>>>>>>>>>      becomes
>>>>>>>>>>      "simulated D would never halt while being simulated"
>>>>>>>>>>
>>>>>>>>>> (2) On 11/2/2026 8:50 AM, Python wrote:
>>>>>>>>>>      > WHILE THE SIMULATION CONTINUES,
>>>>>>>>>>      > DD DOES NOT REACH ITS RETURN.
>>>>>>>>>>      >
>>>>>>>>>>      [REACH ITS RETURN]
>>>>>>>>>>      is translated into
>>>>>>>>>>      HALT
>>>>>>>>>>
>>>>>>>>>>      On 11/2/2026 8:50 AM, Python wrote:
>>>>>>>>>>      > WHILE THE SIMULATION CONTINUES,
>>>>>>>>>>      > DD DOES NOT REACH ITS RETURN.
>>>>>>>>>>      >
>>>>>>>>>>      is translated into
>>>>>>>>>>      WHILE THE SIMULATION CONTINUES DD DOES NOT HALT
>>>>>>>>>>
>>>>>>>>>> (1) "simulated D would never halt while being simulated"
>>>>>>>>>> (2) WHILE THE SIMULATION CONTINUES DD DOES NOT HALT
>>>>>>>>>
>>>>>>>>> Peter,
>>>>>>>>>
>>>>>>>>> FINALLY, you have written two statements that can be compared 
>>>>>>>>> directly.
>>>>>>>>>
>>>>>>>>>     (1) Simulated D would never halt
>>>>>>>>>         while being simulated.
>>>>>>>>>
>>>>>>>>>     (2) WHILE THE SIMULATION CONTINUES,
>>>>>>>>>         DD DOES NOT HALT.
>>>>>>>>>
>>>>>>>>> As English sentences, these CAN express the same proposition.
>>>>>>>>>
>>>>>>>> Show how they can express different propositions.
>>>>>>>> Otherwise acknowledge that they cannot express
>>>>>>>> different propositions.
>>>>>>>
>>>>>>> Peter,
>>>>>>>
>>>>>>>     "Show how they can express different propositions."
>>>>>>>
>>>>>>> I ALREADY FUCKING DID.
>>>>>>>
>>>>>>> Consider a program D that halts after 1,000 steps.
>>>>>>>
>>>>>>> Simulate D for 100 steps, then abort the simulation.
>>>>>>>
>>>>>>
>>>>>> That does not meet either one
>>>>>>
>>>>>> *This is the five way agreement* (Sunday November 1)
>>>>>> There does not exist any implementation of C function HHH
>>>>>> that simulates C function DD according to the operational
>>>>>> semantics of C such that the simulated C function DD reaches
>>>>>> its own simulated return statement in any N finite number of
>>>>>> steps.
>>>>>
>>>>> Peter,
>>>>>
>>>>>     "That does not meet either one."
>>>>>
>>>>> Of course it doesn't meet your alleged "five-way agreement".
>>>>>
>>>>> BECAUSE THE FIVE-WAY AGREEMENT IS NOT ABOUT WHAT YOU DISHONESTLY 
>>>>> PRETEND IT IS. :-)
>>>>>
>>>>> You have once again replaced what I ACTUALLY agreed to with a much 
>>>>> stronger proposition that I NEVER agreed to.
>>>>>
>>>>> Your alleged agreement now contains:
>>>>>
>>>>>     "There does not exist ANY implementation..."
>>>>>
>>>>>     "... in ANY N finite number of steps."
>>>>>
>>>>> WHERE THE FUCK DID I AGREE TO THAT?
>>>>>
>>>>> I agreed that DD does not reach its return WHILE THE SIMULATION 
>>>>> CONTINUES.
>>>>>
>>>>> You have transformed that into a universal claim about EVERY 
>>>>> possible implementation of HHH and EVERY finite number of steps.
>>>>>
>>>>> THAT IS PRECISELY THE FALSIFICATION I HAVE BEEN POINTING OUT FOR DAYS.
>>>>>
>>>>> And your counterexample objection is ridiculous.
>>>>>
>>>>> I provided a counterexample to YOUR CLAIMED LOGICAL EQUIVALENCE.
>>>>>
>>>>> You reject it because it does not satisfy the stronger proposition 
>>>>> whose derivation is precisely what is being challenged.
>>>>>
>>>>> CIRCULAR REASONING, AGAIN.
>>>>>
>>>>> Your alleged five-way agreement is not a proof.
>>>>>
>>>>> Your misrepresentation of my words is not a proof.
>>>>>
>>>>> And repeating both for another five years won't produce one.
>>>>
>>>> Do you agree with this?
>>>> There does not exist any implementation of C function HHH
>>>> that simulates C function DD according to the operational
>>>> semantics of C such that the simulated C function DD reaches
>>>> its own simulated return statement in any N finite number of
>>>> steps.
>>>
>>> Peter,
>>>
>>> NO.
>>>
>>> And FINALLY, you are asking whether I agree with this proposition 
>>> instead of dishonestly pretending that I already agreed to it.
>>>
>>> Your claim quantifies over ANY implementation of HHH.
>>>
>>> Consider an implementation of HHH that correctly simulates DD, but 
>>> whose simulated invocation of HHH returns 0.
>>>
>>> According to the operational semantics of C, DD then executes:
>>>
>>>     int Halt_Status = HHH(DD);
>>>
>>>     if (Halt_Status)
>>>         HERE: goto HERE;
>>>
>>>     return Halt_Status;
>>>
>>> HHH returns 0.
>>>
>>> The conditional branch is not taken.
>>>
>>> DD reaches its return.
>>>
>>> END OF FUCKING STORY.
>>>
>>> If you want to exclude such an implementation, you must specify 
>>> PRECISELY what additional constraints you impose on HHH.
>>>
>>> And then prove your proposition under those constraints.
>>>
>>> You cannot quantify over ANY implementation and silently restrict that 
>>> quantification whenever someone provides a counterexample.
>>>
>>> So, once again:
>>>
>>> NO, I DO NOT AGREE WITH YOUR PROPOSITION.
>>>
>>> And I NEVER DID.
>> 
>> 
>> A technical clarification concerning my previous message.
>> 
>> You might object that the HHH executing the simulation and the HHH 
>> invoked by the simulated DD must be the SAME implementation.
>> 
>> FINE.
>> 
>> Consider the following implementation, expressed in C-like pseudocode:
>> 
>>     int HHH(ptr P)
>>     {
>>         static int depth = 0;
>> 
>>         if (depth > 0)
>>             return 0;
>> 
>>         depth++;
>>         simulate(P);
>>         depth--;
>> 
>>         return 1;
>>     }
>> 
>> Here, simulate(P) faithfully simulates the execution of P, including the 
>> code of HHH itself and its access to the simulated state.
>> 
>> The execution proceeds as follows:
>> 
> int HHHH(ptr P);
> 
> int DDDD()
> {
>    int Halt_Status = HHHH(DDDD);
>    if (Halt_Status)
>      HERE: goto HERE;
>    return Halt_Status;
> }
> 
> int simulateXXX(ptr P)
> {
>    P();
>    return 1;
> }
> 
> int HHHH(ptr P)
> {
>    static int depth = 0;
> 
>    if (depth > 0)
>      return 0;
> 
>    depth++;
>    simulateXXX(P);
>    depth--;
>    return 1;
> }
> 
> int main()
> {
>    Output("Input_Halts = ", HHHH(DDDD));
>    return 0;
> }
> 
> I can give the the machine code trace.
> It is quite verbose. The simulated DDDD
> never reaches its own simulated return
> and HHHH returns the correct halt status.
> 
> dbush could see that the meaning of these words made them true:
> 
> There does not exist any implementation of C function HHH
> that simulates C function DD according to the operational
> semantics of C such that the simulated C function DD reaches
> its own simulated return statement in any N finite number of
> steps.
> 
> (1) This seems dead obvious to me.
> (2) The above words
> *There does not exist any implementation of C function HHH*
> that dbush composed are better than my own best words.

Peter,

THANK YOU.

You have just provided a concrete C program that REFUTES YOUR OWN CLAIM.

Let's execute YOUR code.

Initially:

    depth = 0

The outer HHHH(DDDD) executes:

    depth++;

Now:

    depth = 1

Then:

    simulateXXX(DDDD);

which executes:

    DDDD();

Inside DDDD:

    Halt_Status = HHHH(DDDD);

This nested invocation executes:

    if (depth > 0)
        return 0;

Since depth == 1, HHHH returns 0.

Back inside DDDD:

    Halt_Status == 0

Therefore:

    if (Halt_Status)
        HERE: goto HERE;

does NOT enter the loop.

And the very next statement is:

    return Halt_Status;

DDDD RETURNS ZERO.

The outer HHHH then decrements depth and returns 1.

So YOUR OWN PROGRAM establishes:

    DDDD reaches its return statement.

    HHHH(DDDD) returns 1.

    Both executions terminate.

    The returned halt status is correct.

And yet you write:

    "The simulated DDDD never reaches
     its own simulated return"

WHAT THE FUCK ARE YOU TALKING ABOUT?

Your simulateXXX calls DDDD directly rather than interpreting its machine 
instructions. But the actual C execution is perfectly clear.

YES, PLEASE PROVIDE THE MACHINE CODE TRACE.

In particular, show us where DDDD supposedly fails to execute its return 
instruction.

Because according to the C code YOU JUST POSTED, it MUST reach that 
return.

You have managed to construct a counterexample to your own universal 
claim, POST IT YOURSELF, and then declare that it proves the exact 
opposite.

That is quite an achievement.
Technical Details
Message-ID: <8S3uaNJkZ29vrA-3qn9Sn9NIYgs@jntp>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!pasdenom.info!from-devjntp
References: <11cm17m$32os9$1@dont-email.me> <Wu3nSdBhoJdB3NG0M_aQi0FC9dc@jntp> <11ctqfp$1om78$1@dont-email.me> <Qtsacsv6HXg1byeuq2OEL2hbLNM@jntp> <11cvbcb$281ga$1@dont-email.me> <sIBp2ETzmxdStWXXK9BGjbXwblc@jntp> <11cvfud$29rks$1@dont-email.me> <SwiGWA_toSUrAbFADGlM_8NoeaM@jntp> <d4Yj2OQ_D_58YNHEkqC-RwNQopQ@jntp> <11d0rkt$2oioh$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!pasdenom.info!from-devjntp
Message-ID: <8S3uaNJkZ29vrA-3qn9Sn9NIYgs@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> <Wu3nSdBhoJdB3NG0M_aQi0FC9dc@jntp> <11ctqfp$1om78$1@dont-email.me>
 <Qtsacsv6HXg1byeuq2OEL2hbLNM@jntp> <11cvbcb$281ga$1@dont-email.me> <sIBp2ETzmxdStWXXK9BGjbXwblc@jntp>
 <11cvfud$29rks$1@dont-email.me> <SwiGWA_toSUrAbFADGlM_8NoeaM@jntp> <d4Yj2OQ_D_58YNHEkqC-RwNQopQ@jntp>
 <11d0rkt$2oioh$1@dont-email.me>
Newsgroups: comp.theory,sci.logic,comp.ai.philosophy
JNTP-HashClient: hnOhRz_0WKcmEyGMJsFtSPXHT6c
JNTP-ThreadID: 11cm17m$32os9$1@dont-email.me
JNTP-Uri: https://www.nemoweb.net/?DataID=8S3uaNJkZ29vrA-3qn9Sn9NIYgs@jntp
User-Agent: Nemo/1.0
JNTP-OriginServer: nemoweb.net
Date: Wed, 11 Nov 26 12:23: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="71962ec0b262db26e9002693f4d52627a6dd14a2"; logging-data="2026-11-11T12:23:30Z/9873361"; 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>