Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

It is not every question that deserves an answer. -- Publilius Syrus


devel / comp.lang.c / Halting problem proofs refuted on the basis of software engineering ?

SubjectAuthor
o Halting problem proofs refuted on the basis of software engineering ?olcott

1
Halting problem proofs refuted on the basis of software engineering ?

<tgcq1m$1hr5j$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=23237&group=comp.lang.c#23237

  copy link   Newsgroups: comp.lang.c comp.lang.c++
Followup: comp.theory
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: polco...@gmail.com (olcott)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Halting problem proofs refuted on the basis of software engineering ?
Followup-To: comp.theory
Date: Tue, 20 Sep 2022 11:33:58 -0500
Organization: A noiseless patient Spider
Lines: 80
Message-ID: <tgcq1m$1hr5j$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 20 Sep 2022 16:33:59 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="a5e11db0ff9c1cfef29bf88c21e5a8f0";
logging-data="1633459"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18KyqREWg9HUoaow8YkuOVu"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Cancel-Lock: sha1:/6/SzLUDdF19NhzFkfLUocyxZFM=
Content-Language: en-US
 by: olcott - Tue, 20 Sep 2022 16:33 UTC

This is an explanation of a possible new insight into the halting
problem provided in the language of software engineering. Technical
computer science terms are explained using software engineering terms.
No knowledge of the halting problem is required.

When the conventional “pathological” input (that does the opposite of
whatever the halt decider decides) is the first argument to a simulating
halt decider then this input becomes decidable as specifying infinitely
recursive simulation.

This paper is based on fully operational software executed in the x86utm
operating system. The x86utm operating system (based on an excellent
open source x86 emulator) was created to study the details of the
halting problem proof counter-examples at the much higher level of
abstraction of C/x86.

typedef void (*ptr)();
int H(ptr p, ptr i); // simulating halt decider

// P does the opposite of whatever H decides
void P(ptr x)
{ int Halt_Status = H(x, x);
if (Halt_Status) // if H(P,P) reports that its input halts
HERE: goto HERE; // P loops and never halts
return; // else P halts
}

int main()
{ Output("Input_Halts = ", H(P, P));
}

// This H(P,P) specifies the direct execution of P(P)
// which obviously never stops running
int H(ptr x, ptr y)
{ x(y);
}

Halting: is defined as:
*reaching the last instruction (AKA final state) and stopping*

When an H is defined that correctly determines that the above direct
execution of P(P) would never reach its “return” instruction (AKA final
state) the conventional halting problem proofs are refuted.

All halt deciders are intended to predict the behavior of their inputs
without actually executing these inputs because the halt decider itself
must always halt. The method used to determine that the above P(P) never
halts is a slight adaptation of a similar method that correctly detects
infinite recursion.

When a correct non-halting behavior pattern is matched a simulating halt
decider (SHD) aborts its simulation and returns 0. Halting does not mean
stops running, halting only means reaching the last instruction and
stops running.

Because we can see that the direct execution of P(P) from H would never
reach the last “return” instruction of P we know that no complete or
partial simulation of P by H would ever reach this last instruction of
P. From this we know that P is non-halting.

*Complete halt deciding system including*
*(a) x86utm operating system*
*(b) complete x86 emulator*
*(c) Several halt deciders and their inputs contained within Halt7.c*
https://liarparadox.org/2022_09_07.zip

*Currently compiles under*
Microsoft Visual Studio Community 2017
https://visualstudio.microsoft.com/vs/older-downloads/

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

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor