Deutsch English Français Italiano |
<v1lrpm$1h1bd$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: olcott <polcott333@gmail.com> Newsgroups: comp.theory,sci.logic Subject: Re: Every D(D) simulated by H presents non-halting behavior to H ### Date: Fri, 10 May 2024 14:16:06 -0500 Organization: A noiseless patient Spider Lines: 173 Message-ID: <v1lrpm$1h1bd$1@dont-email.me> References: <v18e32$1vbql$1@dont-email.me> <v1b7gl$2ndka$1@dont-email.me> <v1cla9$34iis$1@dont-email.me> <v1d2mi$9f72$11@i2pn2.org> <v1di1h$3b2m5$1@dont-email.me> <v1dtdv$3dqg4$1@dont-email.me> <v1du2i$3dt7u$1@dont-email.me> <v1fetd$3s7jo$1@dont-email.me> <v1ft42$3vdau$2@dont-email.me> <-5Gdnf-nQvstC6b7nZ2dnZfqnPadnZ2d@brightview.co.uk> <v1gid8$4ilc$1@dont-email.me> <v1h9eu$9faf$1@dont-email.me> <v1iqli$nsva$1@dont-email.me> <v1ln3c$vfh$1@news.muc.de> <v1lndc$1g5g6$1@dont-email.me> <v1lpj7$vfh$2@news.muc.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 10 May 2024 21:16:07 +0200 (CEST) Injection-Info: dont-email.me; posting-host="7c0c43cbc173c29c782eabc90f798410"; logging-data="1607021"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/xvB4jZWDpZeIiYw6SX+5G" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:pJ6WexUW6Bb76KQSKeYrzxG77/o= In-Reply-To: <v1lpj7$vfh$2@news.muc.de> Content-Language: en-US Bytes: 7014 On 5/10/2024 1:38 PM, Alan Mackenzie wrote: > [ Followup-To: set ] > > In comp.theory olcott <polcott333@gmail.com> wrote: >> On 5/10/2024 12:55 PM, Alan Mackenzie wrote: > >>> In comp.theory olcott <polcott333@gmail.com> wrote: > >>> [ .... ] > >>> I've tried out your much spammed code on GCC (see below). It is clear >>> you have never built or run this code, which ironically can't reach Line >>> 06. It can't even reach line 00. > >>>> Richard tried to get away with D never simulated by H as an example >>>> of D simulated by H: > >>>> Message-ID: <v0ummt$2qov3$2@i2pn2.org> >>>> On 5/1/2024 7:28 PM, Richard Damon wrote: > >>>> *That people say they know I am wrong yet will not show the detailed* >>>> *steps of how I am wrong indicates that they are probably liars* > >>> You have said, or at least implied that your code fragment is runnable. >>> I think you are the liar, here. > >>>> 00 int H(ptr x, ptr x) // ptr is pointer to int function >>>> 01 int D(ptr x) >>>> 02 { >>>> 03 int Halt_Status = H(x, x); >>>> 04 if (Halt_Status) >>>> 05 HERE: goto HERE; >>>> 06 return Halt_Status; >>>> 07 } >>>> 08 >>>> 09 int main() >>>> 10 { >>>> 11 H(D,D); >>>> 12 } > >>> I removed the line numbers from your code, added in a "pointer to int >>> function" type (you should really learn how to do this yourself) and ran >>> the result on GCC. > >>> This is the file I submitted: > >>> typedef int (* ptr) (void); >>> int H(ptr x, ptr x) // ptr is pointer to int function >>> int D(ptr x) >>> { >>> int Halt_Status = H(x, x); >>> if (Halt_Status) >>> HERE: goto HERE; >>> return Halt_Status; >>> } > >>> int main() >>> { >>> H(D,D); >>> } > >>> . These are the diagnostics generated by GCC: > >>> olcott.c:2:18: error: redefinition of parameter ‘x’ >>> 2 | int H(ptr x, ptr x) // ptr is pointer to int function >>> | ~~~~^ >>> olcott.c:2:11: note: previous definition of ‘x’ with type ‘ptr’ {aka ‘int >>> (*)(void)’} >>> 2 | int H(ptr x, ptr x) // ptr is pointer to int function >>> | ~~~~^ >>> olcott.c: In function ‘H’: >>> olcott.c:4:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ >>> before ‘{’ token >>> 4 | { >>> | ^ >>> olcott.c:12:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ >>> before ‘{’ token >>> 12 | { >>> | ^ >>> olcott.c:15: error: expected ‘{’ at end of input > >>>> Any H/D pair matching the above template where D(D) is simulated >>>> by the same H(D,D) that it calls cannot possibly reach past its own >>>> line 03. Simple software engineering verified fact. > >>> The code for D is so full of errors that it cannot demonstrate anything, >>> beyond a lack of proficiency in C in its author. > > >> *I have fully operational code, yet this is* >> *not the code that the words below refer to* > > Why, then, have you been spamming the group with faulty code for so long? > Why did you not first check it and correct it before posting it? > > When I brought up the issue before, you "answered", in > > From: olcott <polcott333@gmail.com> > Newsgroups: comp.theory,sci.logic > Subject: Re: D simulated by H never halts no matter what H does V3 > Date: Sat, 4 May 2024 10:47:00 -0500 > > , that > >> There is no actual error in these lines of code. >> int main() >> { >> H(D,D); >> return 0; >> } > > . Why did you answer so evasively? Why did you not admit then that the > code was faulty, and thank me for pointing it out? > >> I had to change the wording for people that intentionally >> try as hard as possible to make sure to interpret my words >> incorrectly. > > There are no such people on this newsgroup. Most people here try to > answer your posts directly and honestly. You are the poster who attempts > to mislead, obfuscate, and evade. > >> 00 int H(ptr x, ptr x) // ptr is pointer to int function >> 01 int D(ptr x) >> 02 { >> 03 int Halt_Status = H(x, x); >> 04 if (Halt_Status) >> 05 HERE: goto HERE; >> 06 return Halt_Status; >> 07 } >> 08 >> 09 int main() >> 10 { >> 11 H(D,D); >> 12 } > >> Any H/D pair matching the above template where D(D) is simulated >> by the same H(D,D) that it calls cannot possibly reach past its own >> line 03. Simple software engineering verified fact. > > Why are you doing this again? Simple software engineering shows that the > above code is so broken as to be unusable. Why don't you correct it > first before posting it yet again? > *above template ---not code, code template* *I said it was a code template* *You knew it was a code template and pretend to not know* *isomorphic to this code template* rec routine P §L :if T[P] goto L Return § *An impossible program* C. Strachey The Computer Journal, Volume 7, Issue 4, January 1965, Page 313, https://doi.org/10.1093/comjnl/7.4.313 Published: 01 January 1965 https://academic.oup.com/comjnl/article/7/4/313/354243 >> -- >> Copyright 2024 Olcott "Talent hits a target no one else can hit; Genius >> hits a target no one else can see." Arthur Schopenhauer > -- Copyright 2024 Olcott "Talent hits a target no one else can hit; Genius ========== REMAINDER OF ARTICLE TRUNCATED ==========