Article View: comp.ai.philosophy
Article #297Re: How to make a generic halt decider? --- clarification
From: Python
Date: Wed, 11 Nov 2026 13:51
Date: Wed, 11 Nov 2026 13:51
77 lines
3418 bytes
3418 bytes
Peter,
"My HHH creates a whole separate process context
to simulate DD."
AND SO WHAT?
Creating a separate execution context does not magically abolish the
operational semantics of C.
You now have TWO possibilities.
CASE 1: A FRESH PROCESS CONTEXT.
The simulated program starts with its static storage correctly
initialized.
Therefore:
static int depth = 0;
means depth == 0.
Your trace, however, takes the branch corresponding to depth > 0.
WHY?
CASE 2: AN INVOCATION WITHIN THE EXISTING PROCESS STATE.
The outer HHHH has already executed:
depth++;
Therefore depth == 1 when DDDD invokes HHHH.
The nested HHHH returns 0.
DDDD then reaches its return statement.
END OF STORY.
You cannot simultaneously claim that the simulated execution has a fresh,
independent process state AND that it inherits arbitrary values from the
outer execution.
Nor can you silently change the execution context and pretend that you are
still simulating the same C execution.
And there is something even more elementary.
Your trace never executes:
call simulateXXX
or:
call DDDD
It establishes NOTHING about whether DDDD can reach its return statement.
It merely shows that your outer HHHH returns immediately because its
initial test evaluates depth > 0.
SO ANSWER THE ACTUAL QUESTION:
What is the initial value of depth in your simulated process, and WHY?
If it is zero, your trace is inconsistent with the source code.
If it is positive, explain precisely how that state was established and
which execution you are supposedly simulating.
STOP HIDING BEHIND THE WORD "SIMULATION".
A faithful simulator must preserve the semantics of the program it
simulates.
Technical Details
Message-ID:
<gDbGlVzg7_bd0a_GQXac1uI16c8@jntp>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!pasdenom.info!from-devjntpReferences:
<11cm17m$32os9$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> <8S3uaNJkZ29vrA-3qn9Sn9NIYgs@jntp> <11d1q7u$329cc$1@dont-email.me> <Ibncd-YiDvyr5CwEsQh3cPo1RjI@jntp> <11d1rku$1cnn1$1@solani.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!pasdenom.info!from-devjntp Message-ID: <gDbGlVzg7_bd0a_GQXac1uI16c8@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> <sIBp2ETzmxdStWXXK9BGjbXwblc@jntp> <11cvfud$29rks$1@dont-email.me> <SwiGWA_toSUrAbFADGlM_8NoeaM@jntp> <d4Yj2OQ_D_58YNHEkqC-RwNQopQ@jntp> <11d0rkt$2oioh$1@dont-email.me> <8S3uaNJkZ29vrA-3qn9Sn9NIYgs@jntp> <11d1q7u$329cc$1@dont-email.me> <Ibncd-YiDvyr5CwEsQh3cPo1RjI@jntp> <11d1rku$1cnn1$1@solani.org> Newsgroups: comp.theory,sci.logic,comp.ai.philosophy JNTP-HashClient: CDwwYoQpyP1B5cEP5CLGISUgBNo JNTP-ThreadID: 11cm17m$32os9$1@dont-email.me JNTP-Uri: https://www.nemoweb.net/?DataID=gDbGlVzg7_bd0a_GQXac1uI16c8@jntp User-Agent: Nemo/1.0 JNTP-OriginServer: nemoweb.net Date: Wed, 11 Nov 26 13:51: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-11-11T13:51:02Z/9873473"; 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>