Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

I was attacked by dselect as a small child and have since avoided debian. -- Andrew Morton


computers / comp.theory / Re: Olcott wrong about infinite recursion [ simplest rebuttal of halting theorem ] [ Ben's changes ]

Re: Olcott wrong about infinite recursion [ simplest rebuttal of halting theorem ] [ Ben's changes ]

<Ztqdnd_gcOaMMhD8nZ2dnUU7-Q-dnZ2d@giganews.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23370&group=comp.theory#23370

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 11 Nov 2021 18:02:25 -0600
Date: Thu, 11 Nov 2021 18:02:23 -0600
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0
Subject: Re: Olcott wrong about infinite recursion [ simplest rebuttal of halting theorem ] [ Ben's changes ]
Content-Language: en-US
Newsgroups: comp.theory
References: <20211110215316.0000221e@reddwarf.jmc> <ApydnX6D6fN31RH8nZ2dnUU7-UXNnZ2d@giganews.com> <PFZiJ.19745$cW6.10169@fx08.iad> <20211111175240.00000a3b@reddwarf.jmc> <upSdnfNv4q1S8RD8nZ2dnUU7-WXNnZ2d@giganews.com> <rdejJ.20399$SW5.15061@fx45.iad> <tIqdncrf0fM86xD8nZ2dnUU7-XednZ2d@giganews.com> <NZejJ.21674$SW5.667@fx45.iad> <hL6dnfx6kfTkHBD8nZ2dnUU7-ROdnZ2d@giganews.com> <PNfjJ.21676$SW5.20549@fx45.iad> <CpidnX-XCpQlEBD8nZ2dnUU7-QWdnZ2d@giganews.com> <lAgjJ.30976$3q9.23015@fx47.iad> <jtadnVpTvr8HABD8nZ2dnUU7-d_NnZ2d@giganews.com> <ahhjJ.16203$b%.15269@fx24.iad> <-JOdnabQjsW9PhD8nZ2dnUU7-W3NnZ2d@giganews.com> <3JhjJ.16204$b%.2566@fx24.iad>
From: NoO...@NoWhere.com (olcott)
In-Reply-To: <3JhjJ.16204$b%.2566@fx24.iad>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Message-ID: <Ztqdnd_gcOaMMhD8nZ2dnUU7-Q-dnZ2d@giganews.com>
Lines: 233
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-5s5bYIZcsXO7s7zvXX3sgNQtBJ3eEN2ZNbcytLspyVJ8JhV/Kx8e0aaEm41mf4dQEGqMAFRUpFOPYDv!V6/F/UnKRkPNwfUQMauV4wpMOCIQhzH0Xev5LsPfRJ0xfIuAEKdc0Xtf6Vlx8GiSupFKcinXJind!9g==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 11465
 by: olcott - Fri, 12 Nov 2021 00:02 UTC

On 11/11/2021 5:31 PM, Richard Damon wrote:
> On 11/11/21 6:11 PM, olcott wrote:
>> On 11/11/2021 5:01 PM, Richard Damon wrote:
>>> On 11/11/21 5:47 PM, olcott wrote:
>>>> On 11/11/2021 4:13 PM, Richard Damon wrote:
>>>>> On 11/11/21 4:40 PM, olcott wrote:
>>>>>> On 11/11/2021 3:19 PM, Richard Damon wrote:
>>>>>>> On 11/11/21 3:47 PM, olcott wrote:
>>>>>>>> On 11/11/2021 2:24 PM, Richard Damon wrote:
>>>>>>>>> On 11/11/21 3:01 PM, olcott wrote:
>>>>>>>>>> On 11/11/2021 1:32 PM, Richard Damon wrote:
>>>>>>>>>>>
>>>>>>>>>>> On 11/11/21 2:19 PM, olcott wrote:
>>>>>>>>>>>> On 11/11/2021 11:52 AM, Mr Flibble wrote:
>>>>>>>>>>>>> On Wed, 10 Nov 2021 19:42:23 -0500
>>>>>>>>>>>>> Richard Damon <Richard@Damon-Family.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 11/10/21 5:34 PM, olcott wrote:
>>>>>>>>>>>>>>> On 11/10/2021 3:53 PM, Mr Flibble wrote:
>>>>>>>>>>>>>>>> Olcott is barking up the wrong tree re infinite
>>>>>>>>>>>>>>>> recursion: there
>>>>>>>>>>>>>>>> is only a need to detect a single recursive call into
>>>>>>>>>>>>>>>> the halt
>>>>>>>>>>>>>>>> decider and signal an exception.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Yes, I figured that out. That eliminates the need for
>>>>>>>>>>>>>>> static local
>>>>>>>>>>>>>>> data thus allowing the halt decider to be a pure function.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Except that this logic is only correct if the function is
>>>>>>>>>>>>>> being
>>>>>>>>>>>>>> executed under unconditional execution.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> If the 'simulation' is being run under condition that
>>>>>>>>>>>>>> can/will
>>>>>>>>>>>>>> terminate its execution, then the detection of this
>>>>>>>>>>>>>> recursion is NOT
>>>>>>>>>>>>>> proof that the execution will be non-halting.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> All you have show is that IF the decider would never abort
>>>>>>>>>>>>>> its
>>>>>>>>>>>>>> 'simulation' then the program would be non-halting.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Since it turns out that the decider DOES abort its
>>>>>>>>>>>>>> 'simulation', the
>>>>>>>>>>>>>> assumptions that the analysis was done under are not in
>>>>>>>>>>>>>> fact true, so
>>>>>>>>>>>>>> the analysis is invalid.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> https://en.wikipedia.org/wiki/Pure_function
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> But Software Engineering 'Pure Function' is NOT the
>>>>>>>>>>>>>> Compution Theory
>>>>>>>>>>>>>> 'Computation', so you need to be aware of the difference.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> That is why I needed my source-code analyzer to provide
>>>>>>>>>>>>>>> the exact
>>>>>>>>>>>>>>> number of parameters to every function.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> As long as the currently executing function (H) is called
>>>>>>>>>>>>>>> again
>>>>>>>>>>>>>>> with the same parameters then we know that this call will be
>>>>>>>>>>>>>>> infinitely recursive unless this infinite recursion is
>>>>>>>>>>>>>>> aborted at
>>>>>>>>>>>>>>> some point.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Right, it would be infinite if NEVER aborted, but it IS
>>>>>>>>>>>>>> aborted, so
>>>>>>>>>>>>>> it is not infinite, and since the machine uses a copy of
>>>>>>>>>>>>>> the decider,
>>>>>>>>>>>>>> that same fact applies to it being run as an indepent
>>>>>>>>>>>>>> computation,
>>>>>>>>>>>>>> since the decider inside it does abort its internal
>>>>>>>>>>>>>> simulation, it
>>>>>>>>>>>>>> return the answer that allows the actual computation to be
>>>>>>>>>>>>>> finint.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> When H aborts this call to itself made by P then P never
>>>>>>>>>>>>>>> reaches
>>>>>>>>>>>>>>> its final state. If H never aborts this call made by P
>>>>>>>>>>>>>>> then P never
>>>>>>>>>>>>>>> reaches its final state. This conclusively proves that H
>>>>>>>>>>>>>>> can abort
>>>>>>>>>>>>>>> this call to itself and report that its input never halts.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> But it doensn't matter that H's PARTIAL simulation of P
>>>>>>>>>>>>>> reached the
>>>>>>>>>>>>>> halting point. When we run the actual computation, or give
>>>>>>>>>>>>>> this input
>>>>>>>>>>>>>> to a REAL pure simulator, it will Halt.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Here is the reference to my NumParams system:
>>>>>>>>>>>>>>> On 10/23/2021 8:27 PM, olcott wrote:
>>>>>>>>>>>>>>> [I finally completed my lexical analyzer generator
>>>>>>>>>>>>>>> (needed by my
>>>>>>>>>>>>>>> halt decider)]
>>>>>>>>>>>>>>> This system uses a DFA lexical analyzer to recognize
>>>>>>>>>>>>>>> the pattern of function declarations. This pattern is
>>>>>>>>>>>>>>> specified as 15 DFA states. The output is a C header
>>>>>>>>>>>>>>> file that looks up the function name specified in the
>>>>>>>>>>>>>>> COFF object file and returns its number of parameters.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> And where does this code get the source code of the
>>>>>>>>>>>>>> program whose
>>>>>>>>>>>>>> COMPILED form has been given to H?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Or, is H now being given the source code as the
>>>>>>>>>>>>>> representation?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Remember, if you do that, then that source code needs to
>>>>>>>>>>>>>> contain the
>>>>>>>>>>>>>> FULL description of the program, which includes the code
>>>>>>>>>>>>>> for H, and
>>>>>>>>>>>>>> everything it uses, which includes your NumParams and the
>>>>>>>>>>>>>> compiler
>>>>>>>>>>>>>> you are going to put that code into.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Nope, H needs to be a black box so its implementation is
>>>>>>>>>>>>> unknown to
>>>>>>>>>>>>> everyone but the creator of H.  If H is a black box it can
>>>>>>>>>>>>> safely
>>>>>>>>>>>>> detect recursion into it and signal an exception.
>>>>>>>>>>>>
>>>>>>>>>>>> That won't work because someone could write the same H as a
>>>>>>>>>>>> whitebox.
>>>>>>>>>>>>
>>>>>>>>>>>> Here is my current enormously simplified proof:
>>>>>>>>>>>> Does the call from P() to H() specify infinite recursion?
>>>>>>>>>>>>
>>>>>>>>>>>> #define ptr uintptr_t
>>>>>>>>>>>>
>>>>>>>>>>>> void P(ptr x)
>>>>>>>>>>>> {
>>>>>>>>>>>>    H(x, x);
>>>>>>>>>>>> }
>>>>>>>>>>>>
>>>>>>>>>>>> int H(ptr x, ptr y)
>>>>>>>>>>>> {
>>>>>>>>>>>>    ((void(*)(ptr))x)(y);
>>>>>>>>>>>>    return 1;
>>>>>>>>>>>> }
>>>>>>>>>>>>
>>>>>>>>>>>> int main()
>>>>>>>>>>>> {
>>>>>>>>>>>>    H((ptr)P, (ptr)P);
>>>>>>>>>>>>    return 0;
>>>>>>>>>>>> }
>>>>>>>>>>>>
>>>>>>>>>>>> Yes it does.
>>>>>>>>>>>>
>>>>>>>>>>>> _P()
>>>>>>>>>>>> [00001a5e](01)  55              push ebp
>>>>>>>>>>>> [00001a5f](02)  8bec            mov ebp,esp
>>>>>>>>>>>> [00001a61](03)  8b4508          mov eax,[ebp+08]
>>>>>>>>>>>> [00001a64](01)  50              push eax        // push P
>>>>>>>>>>>> [00001a65](03)  8b4d08          mov ecx,[ebp+08]
>>>>>>>>>>>> [00001a68](01)  51              push ecx        // push P
>>>>>>>>>>>> [00001a69](05)  e810000000      call 00001a7e   // call H
>>>>>>>>>>>> [00001a6e](03)  83c408          add esp,+08
>>>>>>>>>>>> [00001a71](01)  5d              pop ebp
>>>>>>>>>>>> [00001a72](01)  c3              ret
>>>>>>>>>>>> Size in bytes:(0021) [00001a72]
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> YOU TOTALLY IGNORED ALL OF THESE NEXT WORDS
>>>>>>>>>> YOU TOTALLY IGNORED ALL OF THESE NEXT WORDS
>>>>>>>>>> YOU TOTALLY IGNORED ALL OF THESE NEXT WORDS
>>>>>>>>>> YOU TOTALLY IGNORED ALL OF THESE NEXT WORDS
>>>>>>>>>
>>>>>>>>> You can not use the 'proof' for the H that doesn't abort for
>>>>>>>>> the H that does, they are different Hs and create different Ps.
>>>>>>>> If in every H in the universe P never halts then P never halts.
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> Except most do.
>>>>>>>
>>>>>>> For Any H that returns the value of 0 from H(P,P), then P(P) will
>>>>>>> halt.
>>>>>>>
>>>>>>
>>>>>> For every H in the universe no P ever reaches its machine code
>>>>>> address of 1a72, thus no P ever halts.
>>>>>
>>>>> Except that you are too dumb to realize that they do. They may not
>>>>> reach that point in the PARTIAL simulation that H does, but they do
>>>>> in the REAL simulation by a proper PURE simulation, or by the
>>>>> direct running of the machine.
>>>> Ben did an absolutely brilliant job of simplifying the syntax of my
>>>> code. Perhaps you can comprehend that the printf is never reached?
>>>
>>> Except that doesn't matter.
>>>
>>
>> It totally matters you claimed that P reaches its machine address of 1a72
>
> No, It does NOT matter what happens in the simulation inside H, what
> matters is what the actual machine does.
>
> You don't know the meaning of the words.
>
>>
>>  >>> in the REAL simulation by a proper PURE simulation, or by the direct
>>  >>> running of the machine.
>>
>> I have proven this is pure bullshit and you said that my proof doesn't
>> matter. This is dishonesty is the reason why I usually ignore most of
>> your posts.
>
> No, you haven't. You use wrong words to try to claim it, but you are
> wrong, BY DEFINITION.
>

I say that P never reaches 1a72.
You say that it does.
I prove that it doesn't
You say that my proof doesn't matter

That behavior matches the pattern of a liar.

--
Copyright 2021 Pete Olcott

"Great spirits have always encountered violent opposition from mediocre
minds." Einstein

SubjectRepliesAuthor
o Olcott wrong about infinite recursion

By: Mr Flibble on Wed, 10 Nov 2021

35Mr Flibble
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor