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-07 19:17:48 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: Generation of permutations Date: 7 May 2002 19:17:47 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0205071817.6ee63d1c@posting.google.com> References: <5ee5b646.0205041652.63032ba6@posting.google.com> NNTP-Posting-Host: 205.232.38.14 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1020824268 29043 127.0.0.1 (8 May 2002 02:17:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 8 May 2002 02:17:48 GMT Xref: archiver1.google.com comp.lang.ada:23687 Date: 2002-05-08T02:17:48+00:00 List-Id: tmoran@acm.org wrote in message news:.. > So "recursively undecidable" is a fancy way of saying > it may get stuck in an infinite loop. Nope! That's quite wrong. In fact it is quite easy to detect if you are in an infinite loop. You use the same technique as you use in a chess match to limit repeated positions, you just remember all previous states, and if a state is repeated, you know you are in a non-halting situation. So if this was all that halting was about, there would not be a problem.