Deutsch English Français Italiano |
<vssjlr$3gd7d$4@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Richard Heathfield <rjh@cpax.org.uk> Newsgroups: comp.lang.c Subject: Re: Proving the: Simulating termination analyzer Principle Date: Sun, 6 Apr 2025 01:59:39 +0100 Organization: Fix this later Lines: 78 Message-ID: <vssjlr$3gd7d$4@dont-email.me> References: <vss56v$375du$2@dont-email.me> <vss91c$3b1no$1@dont-email.me> <vssabb$3aqnp$2@dont-email.me> <vssavl$3b2j0$3@dont-email.me> <vssi7p$3ipb5$3@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 06 Apr 2025 02:59:40 +0200 (CEST) Injection-Info: dont-email.me; posting-host="dbe7ec1ac8ffd7a60b5ada94cfd55d95"; logging-data="3683565"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/RG+bjIN6tnU1Ezkf5M8b1bud2l6WNkuA49Ev3AhJW9w==" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:F/ScDpfI1mMyVMjBNYH94qY5LLc= Content-Language: en-GB In-Reply-To: <vssi7p$3ipb5$3@dont-email.me> Bytes: 3210 On 06/04/2025 01:35, olcott wrote: > On 4/5/2025 5:31 PM, Richard Heathfield wrote: >> On 05/04/2025 23:20, olcott wrote: >>> On 4/5/2025 4:58 PM, Richard Heathfield wrote: >> >> <snip> >> >>>> hp(arg candidate, arg testdata) >>>> { >>>> if(terminates(candidate(testdata))) >>>> { >>>> while(forever); >>>> } >>>> else >>>> { >>>> halt; >>>> } >>>> } >>>> >>>> We then invoke the program: >>>> >>>> hp(hp, hp) >>>> >>>> and try to predict what terminates() will report, and of >>>> course the answer is that we don't know, because neither does >>>> terminates(). The function cannot be written. >>>> >>> >>> Understanding my simpler example was a mandatory >>> prerequisite >> >> No, it wasn't. >> >> Understanding my example isn't mandatory either, which is just >> as well where you're concerned. >> >>> int DD() >>> { >>> int Halt_Status = HHH(DD); >>> if (Halt_Status) >>> HERE: goto HERE; >>> return Halt_Status; >>> } >> >> That's fine, but it does beg the HHH() question. You are >> handwaving it for the same reason I am, which is that it can't >> be written. The difference between us is that I know it and you >> don't. >> > > HHH(DDD) is isomorphic to HHH(DD), Irrelevant. > yet failing > to understand that HHH(DDD) meets the > *Simulating termination analyzer Principle* > prevents the significance of this from being seen. It has no significance. There are only two possibilities: either it always gives the right answer or it doesn't. If it gives the wrong answer, it's of no interest. If it is claimed always to give the right answer, it becomes possible (as shown above in the chevrons) to write a program for which it will not be able to work out the right answer - reductio ad absurdum. Your 'principle' doesn't matter a jot. -- Richard Heathfield Email: rjh at cpax dot org dot uk "Usenet is a strange place" - dmr 29 July 1999 Sig line 4 vacant - apply within