Article View: sci.philosophy.tech
Article #1Re: DD simulated by HHH and DD simulated by HHH1
From: olcott
Date: Mon, 24 Nov 2025 18:08
Date: Mon, 24 Nov 2025 18:08
78 lines
4543 bytes
4543 bytes
On 11/24/2025 11:55 AM, Kaz Kylheku wrote:
> On 2025-11-24, olcott <polcott333@gmail.com> wrote:
>> On 11/24/2025 10:32 AM, Kaz Kylheku wrote:
>>> On 2025-11-24, olcott <polcott333@gmail.com> wrote:
>>>> On 11/22/2025 11:24 PM, Kaz Kylheku wrote:
>>>>> That's just the thing! If this were correctly implemented then in fact
>>>>> DD /wold be/ calling HHH1, using the name HHH.
>>>>>
>>>>
>>>> You are trying to get away with this lie
>>>> about the semantics of C?
>>>>
>>>> int main()
>>>> {
>>>> HHH(DD);
>>>> HHH1(DD);
>>>> return 0;
>>>> }
>>>>
>>>> _main()
>>>> [000022c4] 55 push ebp
>>>> [000022c5] 8bec mov ebp,esp
>>>> [000022c7] 6834220000 push 00002234 ; push DD
>>>> [000022cc] e833f3ffff call 00001604 ; call HHH
>>>> [000022d1] 83c404 add esp,+04
>>>> [000022d4] 6834220000 push 00002234 ; push DD
>>>> [000022d9] e856f2ffff call 00001534 ; call HHH1
>>>> [000022de] 83c404 add esp,+04
>>>> [000022e1] 33c0 xor eax,eax
>>>> [000022e3] 5d pop ebp
>>>> [000022e4] c3 ret
>>>> Size in bytes:(0033) [000022e4]
>>>
>>> That's right; even if HHH and HHH1 are separately realized and given
>>> different adddresses, not recognized as identical by the compiler and
>>> not folded into one copy, in a correct implementation of your software,
>>> HHH(DD) and HHH1(DD) would behave as indistinguishable, mutually
>>> interchangeable operations.
>>>
>>> The problem is that you have logic which concludes that HHH1 != HHH (low
>>> level pointer comparison), they are different functions.
>>>
>>
>> Except when their input calls themself.
>
> That makes no difference.
>
typedef int (*ptr)();
int HHH(ptr P);
int HHH1(ptr P);
int DD()
{
int Halt_Status = HHH(DD);
if (Halt_Status)
HERE: goto HERE;
return Halt_Status;
}
int main()
{
HHH(DD);
HHH1(DD);
}
HHH simulates DD that calls HHH(DD)
that simulates DD that calls HHH(DD)...
HHH1 simulates DD that calls HHH(DD) that
returns to DD that returns to HHH1.
--
Copyright 2025 Olcott
My 28 year goal has been to make
"true on the basis of meaning" computable.
Technical Details
Message-ID:
<10g26vs$2lph1$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!eternal-september.org!.POSTED!not-for-mailReferences:
<10ej1i4$1dbgr$1@dont-email.me> <10f1c0f$196cr$1@dont-email.me> <10f2054$1ekh0$2@dont-email.me> <10f466c$21e0d$1@dont-email.me> <10f4v32$28kuq$1@dont-email.me> <10f6sfs$2o92q$1@dont-email.me> <10f7gtn$2tpfv$1@dont-email.me> <10fcr85$2nun$2@dont-email.me> <10fctbf$8n9b$2@dont-email.me> <10fencv$nign$1@dont-email.me> <10ff8a1$sc5b$1@dont-email.me> <10fhhlb$1fvnj$1@dont-email.me> <10fi7rl$1mdfm$3@dont-email.me> <10fk3ss$25ddh$1@dont-email.me> <10fkf2v$28e73$2@dont-email.me> <10fmm0l$2r9lg$1@dont-email.me> <10fqg10$3ul8g$2@dont-email.me> <20251121135437.115@kylheku.com> <10frgib$7dl0$2@dont-email.me> <20251121230057.590@kylheku.com> <10fse3k$fio4$1@dont-email.me> <20251122095251.485@kylheku.com> <10ft2vf$ojq2$1@dont-email.me> <20251122195436.296@kylheku.com> <10fu4gm$14bba$1@dont-email.me> <10fu5pj$14h3k$2@dont-email.me> <10g0ik5$21u1a$1@dont-email.me> <10g21b9$2j3uj$2@dont-email.me> <10g21jg$2jb19$1@dont-email.me> <20251124094728.243@kylheku.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: olcott <polcott333@gmail.com> Newsgroups: comp.theory,comp.lang.c++,comp.lang.c,sci.philosophy.tech Subject: Re: DD simulated by HHH and DD simulated by HHH1 Date: Mon, 24 Nov 2025 12:08:59 -0600 Organization: A noiseless patient Spider Lines: 78 Message-ID: <10g26vs$2lph1$1@dont-email.me> References: <10ej1i4$1dbgr$1@dont-email.me> <10f1c0f$196cr$1@dont-email.me> <10f2054$1ekh0$2@dont-email.me> <10f466c$21e0d$1@dont-email.me> <10f4v32$28kuq$1@dont-email.me> <10f6sfs$2o92q$1@dont-email.me> <10f7gtn$2tpfv$1@dont-email.me> <10fcr85$2nun$2@dont-email.me> <10fctbf$8n9b$2@dont-email.me> <10fencv$nign$1@dont-email.me> <10ff8a1$sc5b$1@dont-email.me> <10fhhlb$1fvnj$1@dont-email.me> <10fi7rl$1mdfm$3@dont-email.me> <10fk3ss$25ddh$1@dont-email.me> <10fkf2v$28e73$2@dont-email.me> <10fmm0l$2r9lg$1@dont-email.me> <10fqg10$3ul8g$2@dont-email.me> <20251121135437.115@kylheku.com> <10frgib$7dl0$2@dont-email.me> <20251121230057.590@kylheku.com> <10fse3k$fio4$1@dont-email.me> <20251122095251.485@kylheku.com> <10ft2vf$ojq2$1@dont-email.me> <20251122195436.296@kylheku.com> <10fu4gm$14bba$1@dont-email.me> <10fu5pj$14h3k$2@dont-email.me> <10g0ik5$21u1a$1@dont-email.me> <10g21b9$2j3uj$2@dont-email.me> <10g21jg$2jb19$1@dont-email.me> <20251124094728.243@kylheku.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 24 Nov 2025 18:09:01 +0000 (UTC) Injection-Info: dont-email.me; posting-host="1c909ac78b9331ae39038c86187beee7"; logging-data="2811425"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+or6xTWoHGk+x4QMqkXcVI" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:7BZR3c4RHPaZJ+y1ktwPo6SCyug= In-Reply-To: <20251124094728.243@kylheku.com> Content-Language: en-US X-Antivirus: Norton (VPS 251124-8, 11/24/2025), Outbound message X-Antivirus-Status: Clean