Deutsch English Français Italiano |
<bdd0a7306783f27f2ada35ac4167a46e9a3e04cf.camel@gmail.com> 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: wij <wyniijj5@gmail.com> Newsgroups: comp.theory Subject: Re: Why I need to cross-post to comp.lang.c --- CORRECTLY REFUTED Date: Sat, 10 May 2025 23:39:42 +0800 Organization: A noiseless patient Spider Lines: 96 Message-ID: <bdd0a7306783f27f2ada35ac4167a46e9a3e04cf.camel@gmail.com> References: <vvjr6k$2gaft$3@dont-email.me> <vvmudo$3dk35$1@dont-email.me> <vvnqes$3in62$5@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Date: Sat, 10 May 2025 17:39:43 +0200 (CEST) Injection-Info: dont-email.me; posting-host="c665478d8699930ce63ac26f3a79e21a"; logging-data="3770602"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+D0vTgpFP6qsTPYbmj9F1r" User-Agent: Evolution 3.54.3 (3.54.3-1.fc41) Cancel-Lock: sha1:qdKl0fvKltwwEyxcXMviz6uQ1KM= In-Reply-To: <vvnqes$3in62$5@dont-email.me> Bytes: 4374 On Sat, 2025-05-10 at 10:13 -0500, olcott wrote: > On 5/10/2025 2:15 AM, Mikko wrote: > > On 2025-05-09 03:01:40 +0000, olcott said: > >=20 > > > On 5/8/2025 9:23 PM, Keith Thompson wrote: > > > > Richard Damon <richard@damon-family.org> writes: > > > > > On 5/8/25 7:53 PM, olcott wrote: > > > > [...] > > > > > > void DDD() > > > > > > { > > > > > > =C3=82=C2=A0 HHH(DDD); > > > > > > =C3=82=C2=A0 return; > > > > > > } > > > > > > We don't need to look at any of my code for me > > > > > > to totally prove my point. For example when > > > > > > the above DDD is correctly simulated by HHH > > > > > > this simulated DDD cannot possibly reach its own > > > > > > "return" instruction. > > > > >=20 > > > > > And thus not correctly simulatd. > > > > >=20 > > > > > Sorry, there is no "OS Exemption" to correct simulaiton;. > > > >=20 > > > > Perhaps I've missed something.=C2=A0 I don't see anything in the ab= ove that > > > > implies that HHH does not correctly simulate DDD.=C2=A0 Richard, yo= u've read > > > > far more of olcott's posts than I have, so perhaps you can clarify. > > > >=20 > > > > If we assume that HHH correctly simulates DDD, then the above code = is > > > > equivalent to: > > > >=20 > > > > void DDD() > > > > { > > > > DDD(); > > > > return; > > > > } > > > >=20 > > > > which is a trivial case of infinite recursion.=C2=A0 As far as I ca= n tell, > > > > assuming that DDD() is actually called at some point, neither the > > > > outer execution of DDD nor the nested (simulated) execution of DDD > > > > can reach the return statement.=C2=A0 Infinite recursion might eith= er > > > > cause a stack overflow and a probable program crash, or an unending > > > > loop if the compiler implements tail call optimization. > > > >=20 > > > > I see no contradiction, just an uninteresting case of infinite > > > > recursion, something that's well understood by anyone with a > > > > reasonable level of programming experience.=C2=A0 (And it has nothi= ng to > > > > do with the halting problem as far as I can tell, though of course > > > > olcott has discussed the halting problem elsewhere.) > > > >=20 > > > > Richard, what am I missing? > > > >=20 > > > ***** > > > Now you are seeing what I was talking about. > > > Now you are seeing why I needed to cross post > > > to comp.lang.c > >=20 > > What were you told in comp.lang.c that you were not told in comp.theory= ? > >=20 >=20 > void DDD() > { > =C2=A0=C2=A0 HHH(DDD); > =C2=A0=C2=A0 return; > } >=20 > People quickly realize that when DDD is correctly > simulated by HHH that DDD cannot possibly reach > its "return" statement (final halt state). >=20 > Once you know this then you can see that the > same thing applies to DD. >=20 > int DD() > { > =C2=A0=C2=A0 int Halt_Status =3D HHH(DD); > =C2=A0=C2=A0 if (Halt_Status) > =C2=A0=C2=A0=C2=A0=C2=A0 HERE: goto HERE; > =C2=A0=C2=A0 return Halt_Status; > } >=20 > Once you know this then you know that the halting > problem's otherwise "impossible" input is non-halting. >=20 > Once you know this then you know that the halting > problem proof has been correctly refuted. Nope. POOH is (at most) about whether the input D is "impossible" input or not.