Article View: sci.logic
Article #1311Re: Simulation trace of a simple C function
From: Mikko
Date: Sun, 15 Nov 2026 09:49
Date: Sun, 15 Nov 2026 09:49
178 lines
10290 bytes
10290 bytes
On 14/11/2026 15:08, olcott wrote:
> On 11/14/2026 3:01 AM, Mikko wrote:
>> On 13/11/2026 16:44, olcott wrote:
>>> On 11/13/2026 3:10 AM, Mikko wrote:
>>>> On 12/11/2026 16:57, polcott wrote:
>>>>> On 11/12/2026 3:12 AM, Mikko wrote:
>>>>>> On 11/11/2026 16:10, olcott wrote:
>>>>>>> On 11/11/2026 3:13 AM, Mikko wrote:
>>>>>>>> On 10/11/2026 17:06, olcott wrote:
>>>>>>>>> On 11/10/2026 2:18 AM, Mikko wrote:
>>>>>>>>>> On 31/10/2026 14:51, olcott wrote:
>>>>>>>>>>> On 10/31/2026 3:12 AM, Mikko wrote:
>>>>>>>>>>>> On 30/10/2026 14:54, olcott wrote:
>>>>>>>>>>>>> On 10/30/2026 4:04 AM, Mikko wrote:
>>>>>>>>>>>>>> On 29/10/2026 14:36, olcott wrote:
>>>>>>>>>>>>>>> On 10/29/2026 3:45 AM, Mikko wrote:
>>>>>>>>>>>>>>>> On 24/10/2026 16:53, olcott wrote:
>>>>>>>>>>>>>>>>> On 10/24/2026 2:55 AM, Mikko wrote:
>>>>>>>>>>>>>>>>>> On 07/10/2026 15:25, polcott wrote:
>>>>>>>>>>>>>>>>>>> On 10/7/2026 5:40 AM, Mikko wrote:
>>>>>>>>>>>>>>>>>>>> On 02/10/2026 15:28, olcott wrote:
>>>>>>>>>>>>>>>>>>>>> On 10/1/2026 10:05 PM, dart200 wrote:
>>>>>>>>>>>>>>>>>>>>>> On 10/1/26 5:28 PM, Chris M. Thomasson wrote:
>>>>>>>>>>>>>>>>>>>>>>> On 10/1/2026 3:54 PM, dart200 wrote:
>>>>>>>>>>>>>>>>>>>>>>> [...]
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Are you saying that the halting problem is not
>>>>>>>>>>>>>>>>>>>>>>> solvable? If so, so what?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> it is solvable for an enumerable set of machines
>>>>>>>>>>>>>>>>>>>>>> that includes all possible output sequences, it is
>>>>>>>>>>>>>>>>>>>>>> not solvable for all possible machines
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> The key mistake of the halting theorem is that
>>>>>>>>>>>>>>>>>>>>> it requires a halt decider to report on the behavior
>>>>>>>>>>>>>>>>>>>>> of the direct execution of DD() from main()
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> No, it isn't. The halting problem says nothing about
>>>>>>>>>>>>>>>>>>>> "DD()" or "main()".
>>>>>>>>>>>>>>>>>>>> The halting problem asks "How can one determine
>>>>>>>>>>>>>>>>>>>> whether a computation
>>>>>>>>>>>>>>>>>>>> halts?"
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Here is the same thing from Linz where H and
>>>>>>>>>>>>>>>>>>> Ĥ.embedded_H are
>>>>>>>>>>>>>>>>>>> also based on UTM simulation of their inputs.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> *From the bottom of page 319 has been adapted to this*
>>>>>>>>>>>>>>>>>>> https://www.liarparadox.org/Peter_Linz_HP_317-320.pdf
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Ĥ.q0 ⟨Ĥ⟩ ⊢* Ĥ.embedded_H ⟨Ĥ⟩ ⟨Ĥ⟩ ⊢* Ĥ.∞, // accept state
>>>>>>>>>>>>>>>>>>> Ĥ.q0 ⟨Ĥ⟩ ⊢* Ĥ.embedded_H ⟨Ĥ⟩ ⟨Ĥ⟩ ⊢* Ĥ.qn // reject state
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I.e., there is nothing about "DD()" or "main()", just
>>>>>>>>>>>>>>>>>> as I said.
>>>>>>>>>>>>>>>>>> Though Linz says nothing about "embedded_H", either;
>>>>>>>>>>>>>>>>>> that is
>>>>>>>>>>>>>>>>>> your own interpolation. And you omitted important
>>>>>>>>>>>>>>>>>> parts of the
>>>>>>>>>>>>>>>>>> definition.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Ĥ.q0 ⟨Ĥ⟩ // plays the same role as DD() executed from
>>>>>>>>>>>>>>>>> main()
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Having the same role does not mean being the same.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> It means isomorphic that means that the Linz proof
>>>>>>>>>>>>>>> can be explained by my proof.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> There is no need to explain Linz's proof. Readers are
>>>>>>>>>>>>>> assumed to already
>>>>>>>>>>>>>> know what a proof is (if necessary, they can find that in
>>>>>>>>>>>>>> other boods).
>>>>>>>>>>>>>> It is easy to see that that proof is correct. Similar
>>>>>>>>>>>>>> proofs with the
>>>>>>>>>>>>>> same conclusion are shown in other books, and some people
>>>>>>>>>>>>>> may find one
>>>>>>>>>>>>>> of them even easier to check.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> What may need to an explanation is the exact meaning of
>>>>>>>>>>>>>> the conclusion.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Ĥ.q0 ⟨Ĥ⟩ ⊢* Ĥ.embedded_H ⟨Ĥ⟩ ⟨Ĥ⟩ ⊢* Ĥ.∞, // accept state
>>>>>>>>>>>>> Ĥ.q0 ⟨Ĥ⟩ ⊢* Ĥ.embedded_H ⟨Ĥ⟩ ⟨Ĥ⟩ ⊢* Ĥ.qn // reject state
>>>>>>>>>>>>>
>>>>>>>>>>>>> I show that DD correctly simulated by HHH
>>>>>>>>>>>>> cannot possibly reach its own final state.
>>>>>>>>>>>>
>>>>>>>>>>>> In the other diecussions we have already noted tyat you only
>>>>>>>>>>>> "show"
>>>>>>>>>>>> that with the fallacy of equivocation.
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 01 int DD()
>>>>>>>>>>> 02 {
>>>>>>>>>>> 03 int Halt_Status = HHH(DD);
>>>>>>>>>>> 04 if (Halt_Status)
>>>>>>>>>>> 05 HERE: goto HERE;
>>>>>>>>>>> 06 return Halt_Status;
>>>>>>>>>>> 07 }
>>>>>>>>>>>
>>>>>>>>>>> DD simulated by HHH according to the operational semantics
>>>>>>>>>>> of the C programming language cannot possibly reach its own
>>>>>>>>>>> simulated return statement while being simulated by HHH.
>>>>>>>>>>> *If you don't know what a C interpreter is then say so*
>>>>>>>>>>
>>>>>>>>>> A C interpreter is a program that reads a C program (usually
>>>>>>>>>> from a
>>>>>>>>>> file or a set of files) and behaves as that C program specifies.
>>>>>>>>>> It is significantly less efficient than a compiler based
>>>>>>>>>> implementation
>>>>>>>>>> so rarely used if ever.
>>>>>>>>>>
>>>>>>>>>> A more practical implementation is to translate a C program to an
>>>>>>>>>> intermediate language that can be interpreted with a fast
>>>>>>>>>> interpreter
>>>>>>>>>> like Java Virtual Machine.
>>>>>>>>>
>>>>>>>>> The actual system uses x86 yet no one knows x86
>>>>>>>>> so simply imagine what happens at the C level.
>>>>>>>>
>>>>>>>> Although I havn't worked woth any x86 since long ago I still know
>>>>>>>> quite a lot about it. But details of the machine code are
>>>>>>>> irrelevant
>>>>>>>> to the genral topics discussed in comp.theory.
>>>>>>>
>>>>>>> HHH works on the basis of the x86 code because the
>>>>>>> x86 code provides a ready made directly graph of
>>>>>>> all control flow. This same thing can be understood
>>>>>>> much more easily at the C level is one knows C. If
>>>>>>> one does not know C then they cannot possibly understand
>>>>>>> what I am saying.
>>>>>>
>>>>>> If you can express your claims so in a way that a respectable journal
>>>>>> accepts you will be understood. Otherwise it does not matter.
>>>>>
>>>>> People have been indoctrinated into accepting the
>>>>> Halting Theorem as equivalent to the infallible
>>>>> word of God thus dismiss any challenges out-of-hand
>>>>> without even glancing at the reasoning.
>>>>
>>>> A mathematical proof is not exactly the same as an indoctrination
>>>> although they tend to have similar effects on peoples beliefs.
>>>
>>> Some aspects of math do seem to be infallible.
>>
>> The impression is misleading. Mathematicians check each others work
>> so errors can be detected and corrected before publication.
>
> Unless the errors are so subtle that they cannot
> be detected unless and until someone pays more
> attention to the exact details than anyone ever
> paid.
Occasionally such subtle errors have been detected but not often.
For example, Euclid thought that if the ceter of one circle is
at the circumference of another then those two cirecles intersect.
But he did not prove it and did not notice that he cannot prove it
from his axioms and postulates.
>>> Things such as the principle of explosion and
>>> Disjunction introduction are simply wrong headed.
>>
>> No, they are not.
>
> They are wrong headed because they violate the underlying
> semantics.
They don't. The intended semantics is that the conclusion is true
whenever every premise is true, i.e., if the conclusion is false
then at least one of the premises is false. Both the priciple of
explosion and disjunction induction satisfy this requirement. But
neither of them is necessary. You can always use tautologies and
modus ponens instead.
--
Mikko
Technical Details
Message-ID:
<11dbv7v$2l8da$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11822bi$39m36$1@dont-email.me> <1194mqo$37fnf$3@dont-email.me> <1194n56$37l0j$2@dont-email.me> <1199stm$vm49$1@dont-email.me> <119eq53$2p50h$1@dont-email.me> <119kgfh$ple9$1@dont-email.me> <119mnt0$1jq2u$2@dont-email.me> <119moan$1h3k2$2@dont-email.me> <119mtri$1lo77$1@dont-email.me> <119n71q$1o804$1@dont-email.me> <119o80v$23d10$1@dont-email.me> <11a57ic$2pftu$1@dont-email.me> <11a5don$12kle$2@solani.org> <11bho9q$2h4cg$1@dont-email.me> <11bid7v$2oko5$1@dont-email.me> <11bv13i$3632a$1@dont-email.me> <11bvekq$3b74j$1@dont-email.me> <11c1mjk$3l74$1@dont-email.me> <11c242a$8i9c$1@dont-email.me> <11c47tb$uevr$2@dont-email.me> <11c4o8v$13vfm$1@dont-email.me> <11cuk1e$1vkd3$1@dont-email.me> <11cvbu4$281ga$7@dont-email.me> <11d1bkq$2sulc$1@dont-email.me> <11d1t0l$33810$4@dont-email.me> <11d3vu0$3pj3f$1@dont-email.me> <11d4k47$1em1b$1@solani.org> <11d6k6h$m9e9$1@dont-email.me> <11d77o5$tk2g$1@dont-email.me> <11d9828$1qb69$1@dont-email.me> <11d9mg9$1uuro$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!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Mikko <mikko.levanto@iki.fi> Newsgroups: sci.logic,comp.theory Subject: Re: Simulation trace of a simple C function Followup-To: sci.logic Date: Sun, 15 Nov 2026 11:49:50 +0200 Organization: A noiseless patient Spider Lines: 178 Message-ID: <11dbv7v$2l8da$1@dont-email.me> References: <11822bi$39m36$1@dont-email.me> <1194mqo$37fnf$3@dont-email.me> <1194n56$37l0j$2@dont-email.me> <1199stm$vm49$1@dont-email.me> <119eq53$2p50h$1@dont-email.me> <119kgfh$ple9$1@dont-email.me> <119mnt0$1jq2u$2@dont-email.me> <119moan$1h3k2$2@dont-email.me> <119mtri$1lo77$1@dont-email.me> <119n71q$1o804$1@dont-email.me> <119o80v$23d10$1@dont-email.me> <11a57ic$2pftu$1@dont-email.me> <11a5don$12kle$2@solani.org> <11bho9q$2h4cg$1@dont-email.me> <11bid7v$2oko5$1@dont-email.me> <11bv13i$3632a$1@dont-email.me> <11bvekq$3b74j$1@dont-email.me> <11c1mjk$3l74$1@dont-email.me> <11c242a$8i9c$1@dont-email.me> <11c47tb$uevr$2@dont-email.me> <11c4o8v$13vfm$1@dont-email.me> <11cuk1e$1vkd3$1@dont-email.me> <11cvbu4$281ga$7@dont-email.me> <11d1bkq$2sulc$1@dont-email.me> <11d1t0l$33810$4@dont-email.me> <11d3vu0$3pj3f$1@dont-email.me> <11d4k47$1em1b$1@solani.org> <11d6k6h$m9e9$1@dont-email.me> <11d77o5$tk2g$1@dont-email.me> <11d9828$1qb69$1@dont-email.me> <11d9mg9$1uuro$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 15 Nov 2026 09:49:52 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2793898"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19p9rhALCUyN3bEH1+Acnpw"; posting-host="aa2a6c7a0ba32a93a01323a2ab4d5c02" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:80A71S8CQ6zFJ4tpBKQGY5qmI+I= sha256:28APwRGrFhIkuejYjLZckmqY6dMIVtpMVIBPXI7OlAY= sha1:fkQUIJWs15gudsdiDzpHSygtFBQ= sha256:ibyfeEYuHz1lOpNorzHkMLsMNCDghL1KhTZZrKS9VIE= In-Reply-To: <11d9mg9$1uuro$1@dont-email.me>