Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Many Myths are based on truth -- Spock, "The Way to Eden", stardate 5832.3


devel / comp.theory / Re: Concise refutation of halting problem proofs V7 [ pure function ]

SubjectAuthor
* Concise refutation of halting problem proofs V7 [ pure function ]olcott
`- Concise refutation of halting problem proofs V7 [ pure function ]Richard Damon

1
Concise refutation of halting problem proofs V7 [ pure function ]

<r4Wdna6IAqQQ7RD8nZ2dnUU7-Q_NnZ2d@giganews.com>

  copy mid

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

  copy link   Newsgroups: comp.theory sci.logic sci.math comp.ai.philosophy
Followup: comp.theory
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 11 Nov 2021 13:35:41 -0600
Date: Thu, 11 Nov 2021 13:35:40 -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
Newsgroups: comp.theory,sci.logic,sci.math,comp.ai.philosophy
Content-Language: en-US
Followup-To: comp.theory
From: NoO...@NoWhere.com (olcott)
Subject: Concise refutation of halting problem proofs V7 [ pure function ]
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <r4Wdna6IAqQQ7RD8nZ2dnUU7-Q_NnZ2d@giganews.com>
Lines: 66
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-dbQWhvlvfs504oQ1CWDqwxzyB8yXAjo1fCH5gaKn6+a/nwA21jrgKC0zCcfuiQ7MhH8nw1OIuIKyvpj!LERbyir+04c9E1Wh4IfEI4bALUfeWiAN7n8BssJyiH0OCnL0g6UOywXE/Hro6BlFyeLZ3DRwMIK2!GA==
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: 3178
 by: olcott - Thu, 11 Nov 2021 19:35 UTC

Does the call from P() to H() specify infinite recursion?

#include <stdint.h>
#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]

Now we switch H executing its input to H simulating its input. H
simulates the x86 machine language of its input and sees that its
simulated P is calling H with the same parameters that H was called
with. On this basis H aborts its simulation of P and correctly reports
that P would never reach its final state at 1a72. Because H and P are
both pure functions we know that H(P,P)==0 is computable.

(a) P only halts if it reaches its final state at 1a72.
(b) If H does not abort its simulation of P then P never reaches its
final state at 1a72.
(c) If H aborts its simulation of P then P never reaches its final state
as 1a72.
(d) Because P never halts in all possible cases H(P,P)==0 is always
correct.

The fact that there are no errors in (a)(b)(c) and (d) is a necessary
consequence of (a)(b)(c) conclusively proves that (d) is correct.

Halting problem undecidability and infinitely nested simulation (V2)

https://www.researchgate.net/publication/356105750_Halting_problem_undecidability_and_infinitely_nested_simulation_V2

--
Copyright 2021 Pete Olcott

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

Re: Concise refutation of halting problem proofs V7 [ pure function ]

<MWejJ.21673$SW5.8450@fx45.iad>

  copy mid

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

  copy link   Newsgroups: comp.theory
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!feeder1.feed.usenet.farm!feed.usenet.farm!peer02.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx45.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.3.0
Subject: Re: Concise refutation of halting problem proofs V7 [ pure function ]
Content-Language: en-US
Newsgroups: comp.theory
References: <r4Wdna6IAqQQ7RD8nZ2dnUU7-Q_NnZ2d@giganews.com>
From: Rich...@Damon-Family.org (Richard Damon)
In-Reply-To: <r4Wdna6IAqQQ7RD8nZ2dnUU7-Q_NnZ2d@giganews.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 110
Message-ID: <MWejJ.21673$SW5.8450@fx45.iad>
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Thu, 11 Nov 2021 15:20:59 -0500
X-Received-Bytes: 4834
 by: Richard Damon - Thu, 11 Nov 2021 20:20 UTC

On 11/11/21 2:35 PM, olcott wrote:
> Does the call from P() to H() specify infinite recursion?
>
> #include <stdint.h>
> #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]
>
> Now we switch H executing its input to H simulating its input. H
> simulates the x86 machine language of its input and sees that its
> simulated P is calling H with the same parameters that H was called
> with. On this basis H aborts its simulation of P and correctly reports
> that P would never reach its final state at 1a72. Because H and P are
> both pure functions we know that H(P,P)==0 is computable.

Except that this 'transform' has only been shown to be correct if the
simulator is unconditional.

You are making the logical falicy of assuming the general case from a
proof of the specific.

It can be CLEARLY seen that if the outer H doing this simulation might
decide to abort its simulation, then when it simulates an exact copy of
itself (or even itself) that this copy will do the same thing, and thus
the execution will NOT be infinite.

FAIL.

>
> (a) P only halts if it reaches its final state at 1a72.

Right, in an ACTUAL running of P or a UNCONDITIONAL simulation of P.

A partial simulation that doesn't reach that instruction doesn't
actually prove anything.

> (b) If H does not abort its simulation of P then P never reaches its
> final state at 1a72.

Right, Hb that never aborts its simulation creates a Pb that will never
halt when computing Pb(Pb), but your problem is that it is also a fact
that Hb(Pb,Pb) never gets around to returning the 0 to say that this
happens, so Hb is not a valid counter example.

> (c) If H aborts its simulation of P then P never reaches its final state
> as 1a72.

WRONG. It may be true that the ABORTED simulation in Hc didn't reach
that final state, but as mentioned above, that doesn't matter. What does
matter is that Pc, built on this Hc when computing Pc(Pc) does Halt, you
have admited to this yourself.

> (d) Because P never halts in all possible cases H(P,P)==0 is always
> correct.

FALSE. Yes H(Pb,Pb) == 0 is true, but Hb(Pb,Pb) never returns that
answer. Yes Hc(Pb,Pb) return 0, but that is irrelevent.

As shown above the CORRECT answer for H(Pc,Pc) is 1, and it is infact a
case the Hb(Pc,Pc) will return that answer which helps to confirm it
(but doesn't help your claim). The fact that Hc(P,Pc) INCORRECTLY
returns 0 shows that Hc is wrong.

Your 'Proof' conflates the b and c versions of the functions, and gets
the wrong anser.

>
> The fact that there are no errors in (a)(b)(c) and (d) is a necessary
> consequence of (a)(b)(c) conclusively proves that (d) is correct.
>

But there are many error in (a) (b) (c) and (d).

>
> Halting problem undecidability and infinitely nested simulation (V2)
>
> https://www.researchgate.net/publication/356105750_Halting_problem_undecidability_and_infinitely_nested_simulation_V2
>
>


devel / comp.theory / Re: Concise refutation of halting problem proofs V7 [ pure function ]

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor