🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++
Article #717

Re: Why I post to the C / C++ groups

#717
From: Python
Date: Sun, 01 Nov 2026 21:46
171 lines
8119 bytes
Le 01/11/2026 à 22:42, olcott a écrit :
> On 11/1/2026 3:04 PM, dbush wrote:
>> On 11/1/2026 3:44 PM, olcott wrote:
>>> On 11/1/2026 2:38 PM, dbush wrote:
>>>> On 11/1/2026 3:21 PM, olcott wrote:
>>>>> On 11/1/2026 2:18 PM, dbush wrote:
>>>>>> On 11/1/2026 1:53 PM, olcott wrote:
>>>>>>> On 11/1/2026 11:59 AM, dbush wrote:
>>>>>>>> On 11/1/2026 12:44 PM, olcott wrote:
>>>>>>>>> On 11/1/2026 9:09 AM, dbush wrote:
>>>>>>>>>> On 11/1/2026 9:50 AM, olcott wrote:
>>>>>>>>>>> On 11/1/2026 8:01 AM, dbush wrote:
>>>>>>>>>>>> On 11/1/2026 8:35 AM, 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 }
>>>>>>>>>>>>>
>>>>>>>>>>>>> The C / C++ groups are the only people in the
>>>>>>>>>>>>> world that did not flat out lie about this question:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Does DD simulated by HHH ever reach its own "return"
>>>>>>>>>>>>> statement while DD is being simulated by HHH?
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>> The above statement is unclear as "DD" and "HHH" could be 
>>>>>>>>>>>> referring to:
>>>>>>>>>>>>
>>>>>>>>>>>> * an algorithm, i.e. a fixed immutable sequence of 
>>>>>>>>>>>> instructions that always generates the same output for a 
>>>>>>>>>>>> given input.
>>>>>>>>>>>> * a C function, i.e. a named address that can contain any 
>>>>>>>>>>>> arbitrary set of instructions in sequence
>>>>>>>>>>>> * a finite string, i.e. a 32-bit function pointer which is 
>>>>>>>>>>>> the starting address of a C function.
>>>>>>>>>>>>
>>>>>>>>>>>> So please clarify whether each use of "HHH" and "DD" in the 
>>>>>>>>>>>> above sentence refers to an algorithm, a C function, or a 
>>>>>>>>>>>> finite string.
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> DD is to be construed as a finite string of C source
>>>>>>>>>>> code of a C function. HHH is to be construed as a C
>>>>>>>>>>> interpreter that simulates C source code. HHH can
>>>>>>>>>>> simulate itself simulating DD if needed.
>>>>>>>>>>
>>>>>>>>>> So would the following be correct?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Does C function DD simulated by C function HHH ever reach its 
>>>>>>>>>> own "return" statement while C function DD is being simulated 
>>>>>>>>>> by C function HHH?
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Yes that seems correct.
>>>>>>>>>
>>>>>>>>> Does C function DD simulated by C function
>>>>>>>>> HHH ever reach its own [SIMULATED] "return" statement
>>>>>>>>> while C function DD is being simulated by
>>>>>>>>> C function HHH?
>>>>>>>>>
>>>>>>>>> Does there exist a finite number of N simulations
>>>>>>>>> such that DD simulated by HHH reaches its own
>>>>>>>>> simulated "return" statement while DD is being
>>>>>>>>> simulated by HHH?
>>>>>>>>
>>>>>>>> Let apply the same to the above, with a few more clarifications:
>>>>>>>>
>>>>>>>>  > Does there exist a finite number of N simulations that C 
>>>>>>>> function HHH
>>>>>>>>  > can be modified to perform such that C function DD simulated 
>>>>>>>> by C function HHH reaches its own
>>>>>>>>  > simulated "return" statement while C function DD is being
>>>>>>>>  > simulated by C function HHH?
>>>>>>>>
>>>>>>>> Yes?
>>>>>>>>
>>>>>>>
>>>>>>> There does not exist any HHH that simulates DD according
>>>>>>> to the operational semantics of the C programming language
>>>>>>> such that the simulated DD reaches its own simulated
>>>>>>> return statement in any N finite number of simulations.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>  > There does not exist any [algorithm|C function|finite string] 
>>>>>> HHH that simulates [algorithm|C function|finite string] DD according
>>>>>>  > to the operational semantics of the C programming language
>>>>>>  > such that the simulated [algorithm|C function|finite string] DD 
>>>>>> reaches its own simulated
>>>>>>  > return statement in any N finite number of simulations.
>>>>>>
>>>>>> For each instance of "[algorithm|C function|finite string]" above,
>>>>>> pick one and give the resulting sentence.
>>>>>>
>>>>>
>>>>>  >>>>>> DD is to be construed as a finite string of C source
>>>>>  >>>>>> code of a C function. HHH is to be construed as a C
>>>>>  >>>>>> interpreter that simulates C source code. HHH can
>>>>>  >>>>>> simulate itself simulating DD if needed.
>>>>>
>>>>
>>>> So would this be correct?
>>>>
>>>>  > There does not exist any *implementation of* C function HHH that 
>>>> simulates C function DD according
>>>>  > to the operational semantics of the C programming language
>>>>  > such that the simulated C function DD reaches its own simulated
>>>>  > return statement in any N finite number of simulations.
>>>>
>>>
>>> Yes [any *implementation of* C function HHH] is actually clearer.
>>>
>> 
>> Good.  Then *I agree that the above statement is correct*.
>> 
> 
> So within today's exchanges you have been very helpful.
> You forced me to make my words completely clear. That
> is exactly the kind of feedback that I have been looking
> for all along. Thanks again. I updated by published proof
> with these better words.

For the record, before Peter starts counting this as another endorsement 
of his proof:

dbush agreed to ONE explicitly negotiated statement:

    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 simulations.

That is what dbush agreed to.

It does NOT follow that dbush agreed that:

    the recursion must continue forever,

or:

    no nested HHH invocation can ever return,

or:

    HHH correctly determines DD to be non-halting,

or:

    Peter's proof refutes the halting theorem.

Peter has repeatedly turned agreement with A into supposed agreement with 
B because Peter himself considers A => B obvious.

So this time let's record the boundary BEFORE it happens:

    dbush agreed with the quoted proposition.

Anything stronger requires dbush's own agreement, not Peter's inference.
Technical Details
Message-ID: <fHbna6WDKg54cJF3456kKIuYv3c@jntp>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!pasdenom.info!from-devjntp
References: <11c7f6i$20cva$1@dont-email.me> <11c7tpd$2644j$1@dont-email.me> <11c7umo$26ffh$1@dont-email.me> <11c81qd$27klt$1@dont-email.me> <11c86r0$29k6t$1@dont-email.me> <11c8708$29m8c$1@dont-email.me> <11c8800$2a1d1$1@dont-email.me> <11c88au$2a5k5$1@dont-email.me> <11c89g2$2ao0o$1@dont-email.me> <11c8bo8$2bsht$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!weretis.net!feeder8.news.weretis.net!pasdenom.info!from-devjntp
Message-ID: <fHbna6WDKg54cJF3456kKIuYv3c@jntp>
JNTP-Route: nemoweb.net
JNTP-DataType: Article
Subject: Re: Why I post to the C / C++ groups
References: <11c7f6i$20cva$1@dont-email.me> <11c7tpd$2644j$1@dont-email.me> <11c7umo$26ffh$1@dont-email.me>
 <11c81qd$27klt$1@dont-email.me> <11c86r0$29k6t$1@dont-email.me> <11c8708$29m8c$1@dont-email.me>
 <11c8800$2a1d1$1@dont-email.me> <11c88au$2a5k5$1@dont-email.me> <11c89g2$2ao0o$1@dont-email.me>
 <11c8bo8$2bsht$1@dont-email.me>
Newsgroups: comp.theory,comp.lang.c,comp.lang.c++
JNTP-HashClient: 6vYXQE7jlpETBP3rj3DMlGohwVQ
JNTP-ThreadID: 11c7f6i$20cva$1@dont-email.me
JNTP-Uri: https://www.nemoweb.net/?DataID=fHbna6WDKg54cJF3456kKIuYv3c@jntp
User-Agent: Nemo/1.0
JNTP-OriginServer: nemoweb.net
Date: Sun, 01 Nov 26 21:46:13 +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-01T21:46:13Z/9864392"; 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>