Sujet : Re: Halting Problem: What Constitutes Pathological Input
De : mikko.levanto (at) *nospam* iki.fi (Mikko)
Groupes : comp.theoryDate : 06. May 2025, 10:35:32
Autres entêtes
Organisation : -
Message-ID : <vvcl54$2lap7$1@dont-email.me>
References : 1 2 3 4 5
User-Agent : Unison/2.2
On 2025-05-05 17:37:20 +0000, olcott said:
On 5/5/2025 11:13 AM, Mr Flibble wrote:
On Mon, 05 May 2025 11:58:50 -0400, dbush wrote:
On 5/5/2025 11:51 AM, olcott wrote:
On 5/5/2025 10:17 AM, Mr Flibble wrote:
What constitutes halting problem pathological input:
Input that would cause infinite recursion when using a decider of the
simulating kind.
Such input forms a category error which results in the halting problem
being ill-formed as currently defined.
/Flibble
I prefer to look at it as a counter-example that refutes all of the
halting problem proofs.
Which start with the assumption that the following mapping is computable
and that (in this case) HHH computes it:
Given any algorithm (i.e. a fixed immutable sequence of instructions) X
described as <X> with input Y:
A solution to the halting problem is an algorithm H that computes the
following mapping:
(<X>,Y) maps to 1 if and only if X(Y) halts when executed directly
(<X>,Y) maps to 0 if and only if X(Y) does not halt when executed
directly
int DD()
{
int Halt_Status = HHH(DD);
if (Halt_Status)
HERE: goto HERE;
return Halt_Status;
}
https://github.com/plolcott/x86utm
The x86utm operating system includes fully operational HHH and DD.
https://github.com/plolcott/x86utm/blob/master/Halt7.c
When HHH computes the mapping from *its input* to the behavior of DD
emulated by HHH this includes HHH emulating itself emulating DD. This
matches the infinite recursion behavior pattern.
Thus the Halting Problem's "impossible" input is correctly determined
to be non-halting.
Which is a contradiction. Therefore the assumption that the above
mapping is computable is proven false, as Linz and others have proved
and as you have *explicitly* agreed is correct.
The category (type) error manifests in all extant halting problem proofs
including Linz. It is impossible to prove something which is ill-formed
in the first place.
/Flibble
The above example is category error because it asks
HHH(DD) to report on the direct execution of DD() and
the input to HHH specifies a different sequence of steps.
No, it does not. The input is DD specifides exactly the same sequence
of steps as DD. HHH just answers about a different sequence of steps
instead of the the seqeunce specified by its input.
-- Mikko