Article View: comp.theory
Article #1403Re: How to make a generic halt decider? --- clarification
From: Python
Date: Wed, 11 Nov 2026 14:05
Date: Wed, 11 Nov 2026 14:05
52 lines
3117 bytes
3117 bytes
Peter,
"That means that your code seems to crash the stack."
SEEMS?
You have the source code. You have the machine code. You have the
emulator.
SHOW THE FUCKING STACK OVERFLOW.
Your previous trace executes exactly 19 instructions.
It never calls DDDD.
It never calls simulateXXX.
It never performs a recursive call.
THERE IS NO STACK OVERFLOW IN THAT TRACE.
Now, if your simulator creates a fresh process with depth initialized to
zero every time it encounters HHHH, you may indeed produce unbounded
recursion.
BUT THAT IS NOT THE EXECUTION I DESCRIBED.
In my example, the nested HHHH invocation observes depth == 1 and returns
0. Consequently, DDDD returns normally.
The crucial question is whether the simulated invocation shares the
existing program state or starts in a newly initialized state.
YOU MUST SPECIFY WHICH.
You cannot change the state semantics halfway through the argument and
then declare that my counterexample fails.
And you still haven't answered the simplest question of all:
WHY DOES YOUR PREVIOUS TRACE TAKE THE depth > 0 BRANCH AT THE VERY FIRST
HHHH CALL?
If depth starts at zero, it should not.
If depth starts above zero, explain why.
If your emulator crashes the stack in some other execution, provide THAT
trace, including the initial state and the sequence of nested calls.
Until then, "seems to crash the stack" is speculation, not a refutation.
Technical Details
Message-ID:
<WQppJrjZmcU5HyzXbooxYcD3rH4@jntp>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!pasdenom.info!from-devjntpReferences:
<11cm17m$32os9$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> <gDbGlVzg7_bd0a_GQXac1uI16c8@jntp> <11d1sft$333l6$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!pasdenom.info!from-devjntp Message-ID: <WQppJrjZmcU5HyzXbooxYcD3rH4@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> <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> <gDbGlVzg7_bd0a_GQXac1uI16c8@jntp> <11d1sft$333l6$1@dont-email.me> Newsgroups: comp.theory,sci.logic,comp.ai.philosophy JNTP-HashClient: IIF5FSbHrpkaGS_QxhUVzsLUg-0 JNTP-ThreadID: 11cm17m$32os9$1@dont-email.me JNTP-Uri: https://www.nemoweb.net/?DataID=WQppJrjZmcU5HyzXbooxYcD3rH4@jntp User-Agent: Nemo/1.0 JNTP-OriginServer: nemoweb.net Date: Wed, 11 Nov 26 14:05:01 +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-11T14:05:01Z/9873489"; 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>