Deutsch English Français Italiano |
<v6ui6n$3n55j$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: olcott <polcott333@gmail.com> Newsgroups: comp.theory Subject: Re: What is the correct halt status for HHH(DDD) ? Date: Sat, 13 Jul 2024 13:48:55 -0500 Organization: A noiseless patient Spider Lines: 36 Message-ID: <v6ui6n$3n55j$1@dont-email.me> References: <v6ub4i$3luop$1@dont-email.me> <ad93b25297ec232cc5605c0979e3b3fe3c9283f2@i2pn2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 13 Jul 2024 20:48:55 +0200 (CEST) Injection-Info: dont-email.me; posting-host="52398669a80ff5113c36343403a598c9"; logging-data="3904691"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18DkFp9gLhq5JEhIAyBEchg" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:8uwXJKKl3laTHeF4bF5pwx2ajfc= In-Reply-To: <ad93b25297ec232cc5605c0979e3b3fe3c9283f2@i2pn2.org> Content-Language: en-US Bytes: 2015 On 7/13/2024 12:25 PM, Richard Damon wrote: > On 7/13/24 12:48 PM, olcott wrote: >> What is the correct halt status for an input to >> a simulating termination analyzer that calls its >> own termination analyzer? >> >> typedef void (*ptr)(); >> int HHH(ptr P); >> >> void DDD() >> { >> HHH(DDD); >> } >> >> int main() >> { >> HHH(DDD); >> } >> > > Halting. > > Since HHH defined to be a termination analyzer, by that definition it > must return to its caller. > > Since DDD has no inputs, its behavior isn't affected by any inputs, and > thus DDD will halt for ALL input conditions, Stupidly false. Its behavior is not affected by inputs because it has not inputs is the not stupid way to say it. -- Copyright 2024 Olcott "Talent hits a target no one else can hit; Genius hits a target no one else can see." Arthur Schopenhauer