Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Mikko Newsgroups: comp.theory Subject: Re: DDD simulated by HHH cannot possibly halt (Halting Problem) Date: Sun, 6 Apr 2025 13:27:19 +0300 Organization: - Lines: 54 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 06 Apr 2025 12:27:20 +0200 (CEST) Injection-Info: dont-email.me; posting-host="c289a35489489d88fb7cd6e10493bedd"; logging-data="824263"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184CDZIAdKLOtYJCml3dTOw" User-Agent: Unison/2.2 Cancel-Lock: sha1:S6OSBH19DC7DIR0uCCT449hvUsA= On 2025-04-05 16:45:28 +0000, olcott said: > On 4/5/2025 2:05 AM, Mikko wrote: >> On 2025-04-05 06:18:06 +0000, olcott said: >> >>> On 4/4/2025 3:12 AM, Mikko wrote: >>>> On 2025-04-04 01:27:15 +0000, olcott said: >>>> >>>>> void DDD() >>>>> { >>>>>     HHH(DDD); >>>>>     return; >>>>> } >>>>> >>>>> Do you really think that anyone knowing the C >>>>> programming language is too stupid to see that >>>>> DDD simulated by HHH cannot possibly return? >>>> >>>> Anyone knowing the C language can see that if DDD() does not halt >>>> it means that HHH(DDD) does not halt. The knowledge that that >>>> means that HHH is not a decider is possible but not required. >>>> >>> >>> *Perpetually ignoring this is not any actual rebuttal at all* >>> >>> *Simulating termination analyzer Principle* >>> It is always correct for any simulating termination >>> analyzer to stop simulating and reject any input that >>> would otherwise prevent its own termination. The >>> only rebuttal to this is rejecting the notion that >>> deciders must always halt. >> >> Wrong, because a termination analyzer is not required to halt. > > Why say things that you know are untrue? The term "termination analyzer" is used about programs that do not halt on every input. There is no strict derfiniton of the term so there is no requirement about halting. On the first page of https://www.cs.princeton.edu/~zkincaid/pub/pldi21.pdf in the first parapgraph of Introduction: For example, termination analyzers may themselves fail to terminate on some input programs, or ... > A termination analyzer that doesn't halt > would flunk every proof of total program correctness. There are no total termination analyzers. -- Mikko