Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

In the long run, every program becomes rococco, and then rubble. -- Alan Perlis


computers / comp.ai.philosophy / Re: Halt deciders

Re: Halt deciders

<tiju0r$3fa79$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9914&group=comp.ai.philosophy#9914

  copy link   Newsgroups: comp.theory comp.ai.philosophy sci.logic
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: polco...@gmail.com (olcott)
Newsgroups: comp.theory,comp.ai.philosophy,sci.logic
Subject: Re: Halt deciders
Date: Mon, 17 Oct 2022 10:57:16 -0500
Organization: A noiseless patient Spider
Lines: 141
Message-ID: <tiju0r$3fa79$3@dont-email.me>
References: <tij7cg$123$1@gioia.aioe.org>
<67f2ef6c-5e44-4547-9bb0-564cf47b44ccn@googlegroups.com>
<tijpcd$gq2$4@gioia.aioe.org>
<26b119a5-8849-4f21-b33e-96ec8f501859n@googlegroups.com>
<tijr23$1jqj$1@gioia.aioe.org>
<9782b144-fbd3-4d5e-aabd-0241855e5d79n@googlegroups.com>
<tijsgq$b83$1@gioia.aioe.org>
<8e8854e9-76f6-40e6-a60d-8e3b7c5b91d5n@googlegroups.com>
<tijt7v$3fa79$2@dont-email.me>
<b5545288-1345-47cb-b0c2-ad92cbedcdb0n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 17 Oct 2022 15:57:15 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="82dceece589390cc81ee54b9db55b567";
logging-data="3647721"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18c1G6TkJneWEXWYdvsEkJB"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.3
Cancel-Lock: sha1:a9SgwA+FPh48cWNf1QRuSee4LG0=
Content-Language: en-US
In-Reply-To: <b5545288-1345-47cb-b0c2-ad92cbedcdb0n@googlegroups.com>
 by: olcott - Mon, 17 Oct 2022 15:57 UTC

On 10/17/2022 10:47 AM, Dennis Bush wrote:
> On Monday, October 17, 2022 at 11:44:10 AM UTC-4, olcott wrote:
>> On 10/17/2022 10:40 AM, Dennis Bush wrote:
>>> On Monday, October 17, 2022 at 11:31:41 AM UTC-4, olcott wrote:
>>>> On 10/17/2022 10:16 AM, Dennis Bush wrote:
>>>>> On Monday, October 17, 2022 at 11:06:45 AM UTC-4, olcott wrote:
>>>>>> On 10/17/2022 9:49 AM, Dennis Bush wrote:
>>>>>>> On Monday, October 17, 2022 at 10:38:09 AM UTC-4, olcott wrote:
>>>>>>>> On 10/17/2022 7:47 AM, Dennis Bush wrote:
>>>>>>>>> On Monday, October 17, 2022 at 5:30:59 AM UTC-4, Fred. Zwarts wrote:
>>>>>>>>>> I have been following the discussions about Halt deciders with interest.
>>>>>>>>>> As a retired software designer and developer, I have a lot of practical
>>>>>>>>>> experience, but not much theoretical education, although the theoretical
>>>>>>>>>> background is very interesting. I learned a lot. I would like to verify
>>>>>>>>>> that I understand it correctly. Could you point out any errors in the
>>>>>>>>>> summary below?
>>>>>>>>>>
>>>>>>>>>> 1) (Definition of halt) A program X with input Y is said to halt if it
>>>>>>>>>> reaches its end condition after a finite number of steps. It does not
>>>>>>>>>> halt if it continues to execute infinitely.
>>>>>>>>>> (So, X(Y) either halts, or it does not halt.)
>>>>>>>>>> (It is irrelevant whether the end condition is reached in the 'normal'
>>>>>>>>>> way, or by other means, e.g. an unhandled 'exception'.)
>>>>>>>>>>
>>>>>>>>>> 2) (Definition of halt decider) A halt decider H is a program that,
>>>>>>>>>> given a program X with input Y decides, after a finite number of steps,
>>>>>>>>>> whether X(Y) halts or not.
>>>>>>>>>> (H(X,Y) itself must halt after a finite number of steps. It must return
>>>>>>>>>> either 1 if X(Y) halts, or 0 if X(Y) does not halt, where 1 and 0 are a
>>>>>>>>>> convention, which could also be two other arbitrary values.)
>>>>>>>>>>
>>>>>>>>>> From 1 and 2 it follows:
>>>>>>>>>>
>>>>>>>>>> 3) If X(Y) halts, then H must return 1. If H does not return 1 in a
>>>>>>>>>> finite number of steps, it might return another interesting result, but
>>>>>>>>>> it is not a halt decider. (Not returning 1 includes returning other
>>>>>>>>>> values, not halting, or throwing 'exceptions'.)
>>>>>>>>>>
>>>>>>>>>> 4) If X(Y) does not halt, then H must return 0. If it does not return 0
>>>>>>>>>> in a finite number of steps, it might return another interesting result,
>>>>>>>>>> but it is not a halt decider. (Not returning 0 includes returning other
>>>>>>>>>> values, not halting, or throwing 'exceptions'.)
>>>>>>>>>>
>>>>>>>>>> Paradoxical program:
>>>>>>>>>>
>>>>>>>>>> 5) It is always possible to construct a program P, that uses code with
>>>>>>>>>> the same logic as H, in order to do the opposite of what H(P,P) returns.
>>>>>>>>>> (P does not necessarily need to use the exact same code as H does,
>>>>>>>>>> amongst others it could use a modified copy of H, or a simulation of H.)
>>>>>>>>>>
>>>>>>>>>> From 5 it follows that a general halt decider that works for any X and
>>>>>>>>>> Y does not exist:
>>>>>>>>>>
>>>>>>>>>> From 3, 4 and 5 it follows:
>>>>>>>>>>
>>>>>>>>>> 6) If P(P) halts, then H should return 1, but if H would do so, P(P)
>>>>>>>>>> would not halt.
>>>>>>>>>>
>>>>>>>>>> 7) If P(P) does not halt, H should return 0, but if H would do so, P(P)
>>>>>>>>>> would halt.
>>>>>>>>>>
>>>>>>>>>> 8) If P(P) halts and H does not return 1 after a finite number of steps,
>>>>>>>>>> then H is not a halt decider.
>>>>>>>>>> (The result could nevertheless be interesting for other purposes.)
>>>>>>>>>> (It is irrelevant what causes P(P) to halt.)
>>>>>>>>>>
>>>>>>>>>> 9) If P(P) does not halt and H does not return 0 after a finite number
>>>>>>>>>> of steps, then H is not a halt decider.
>>>>>>>>>> (The result could nevertheless be interesting for other purposes.)
>>>>>>>>>
>>>>>>>>> Your understanding is correct. To sum things up, the halting function (using the mathematical notion of a function), performs the following mapping:
>>>>>>>>>
>>>>>>>>> For *any* algorithm (i.e. a fixed immutable sequence of instructions) X and input Y:
>>>>>>>>> H(X,Y)==1 if and only if X(Y) halts, and
>>>>>>>>> H(X,Y)==0 if and only if X(Y) does not halt
>>>>>>>>>
>>>>>>>>> And the halting problem proofs show that this mapping is not computable, i.e. it is impossible for an algorithm to compute this mapping.
>>>>>>>>>
>>>>>>>> *Professor Sipser has agreed to these verbatim words* (and no more)
>>>>>>>> If simulating halt decider H correctly simulates its input D until H
>>>>>>>> correctly determines that its simulated D would never stop running
>>>>>>>> unless aborted then H can abort its simulation of D and correctly report
>>>>>>>> that D specifies a non-halting sequence of configurations.
>>>>>>>
>>>>>>> And he agreed to those words based on their commonly known meanings, not your alternate weasel-word meanings.
>>>>>>>
>>>>>>> The conventional definition of "correctly simulating" means that the simulated behavior EXACTLY matches the behavior of direct execution.
>>>>>> I have proven an exception to this rule:
>>>>>
>>>>> That's not a rule. It's a definition.
>>>>>
>>>>>
>>>>>>
>>>>>> int Sipser_D(int (*M)())
>>>>>> {
>>>>>> if ( Sipser_H(M, M) )
>>>>>> return 0;
>>>>>> return 1;
>>>>>> }
>>>>>>
>>>>>> For the infinite set of H/D pairs:
>>>>>> Every correct simulation of D by H will never reach the final state of D
>>>>>> because D specifies recursive simulation to H.
>>>>>
>>>>> So in other words your Sipser_H is computing the PO-halting function:
>>>>>
>>>> *The PO-halting function is now Sipser approved*
>>>
>>> No it's not, because he used the actual meaning of the words and not your weasel-worded definitions. Using the real definitions,
>>
>> *Professor Sipser has agreed to these verbatim words* (and no more)
>> If simulating halt decider H correctly simulates its input D until H
>> correctly determines that its simulated D would never stop running
>> unless aborted then H can abort its simulation of D and correctly report
>> that D specifies a non-halting sequence of configurations.
>> *A paraphrase of a portion of the above paragraph*
>> Would D correctly simulated by H ever stop running if not aborted?
>>
>> The answer of "no" is proved on page 3 of this paper.
>>
>> *Rebutting the Sipser Halting Problem Proof*
>> https://www.researchgate.net/publication/364302709_Rebutting_the_Sipser_Halting_Problem_Proof
>> *Still no rebuttal of page 3 because you know that page 3 is correct*
>
> You still seem to think that because you have an H that partially computes the PO-halting function that it has anything to do with the halting function. It does not.
>
> So anything that does not address whether the halting function is computable is irrelevant.

Anyone that is sufficiently technically competent can verify that H does
correctly determine the halt status of D correctly simulated by H.

This proves that the conventional proofs that rely on D doing the
opposite of whatever H decides have been refuted by the notion of a
simulating halt decider.

This does not prove that the halting problem has been solved.

--
Copyright 2022 Pete Olcott "Talent hits a target no one else can hit;
Genius hits a target no one else can see." Arthur Schopenhauer

SubjectRepliesAuthor
o Re: Halt deciders

By: olcott on Mon, 17 Oct 2022

21olcott
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor