From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c42dbf68f5320193 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-08 02:16:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!skynet.be!skynet.be!fu-berlin.de!uni-berlin.de!pec-19-122.tnt6.hh2.uunet.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: Turing-undecidable languages (OT) Date: Wed, 08 May 2002 11:16:37 +0200 Message-ID: References: <7mWB8.6827$0z6.115522658@newssvr21.news.prodigy.com> NNTP-Posting-Host: pec-19-122.tnt6.hh2.uunet.de (149.225.19.122) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1020849360 17308352 149.225.19.122 (16 [77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:23709 Date: 2002-05-08T11:16:37+02:00 List-Id: On Tue, 7 May 2002 17:05:50 -0400, "Chad R. Meiners" wrote: > wrote in message >news:7mWB8.6827$0z6.115522658@newssvr21.news.prodigy.com... >> If someone says "I'll write a program to do such and such", how should >> he act differently if told: >> a) that's recursively undecidable >> or >> b) your program may get stuck in an infinite loop > >This is an excellent question. First, let's rephrase your question to: > >If some says, "I'll am going to write a program Y that solves problem X", >how should he act if told > >a) X is not recursive. (This is the same as Robert's recursively >undecidable) >b) Program Y may get stuck in an infinite loop. > >In case a, Y cannot exist. Surely but only if Y would do no I/O and thus have no connection to some external sources of knowledge. Consider a program that insolently asks the operator, "hey, maybe you know the answer"? (:-)) --- Regards, Dmitry Kazakov www.dmitry-kazakov.de