One very simple transformation of the problem into a solvable problem
is to convert the Boolean function DoesItHalt() into a tertiary response: True, False, Neither.
if (DoesItHalt() == True)
while(True) // loop forever
;
else if (DoesItHalt() == False)
return False;
else if (DoesItHalt() == NeitherTrueNorFalse)
return NeitherTrueNorFalse;
So the original Halting Problem was incorrectly formed specifically
because it was framed as a Boolean function, thus failing to account
for possible inputs that result in a reply other than True or False.
On 6/6/2004 9:11 AM, Peter Olcott wrote:
One very simple transformation of the problem into a solvable problem
is to convert the Boolean function DoesItHalt() into a tertiary response:
True, False, Neither.
if (DoesItHalt() == True)
˙˙ while(True)˙˙ // loop forever
˙˙˙˙ ;
else if (DoesItHalt() == False)
˙˙ return False;
else if˙ (DoesItHalt() == NeitherTrueNorFalse)
˙˙ return NeitherTrueNorFalse;
So the original Halting Problem was incorrectly formed specifically
because it was framed as a Boolean function, thus failing to account
for possible inputs that result in a reply other than True or False.
Sysop: | Tetrazocine |
---|---|
Location: | Melbourne, VIC, Australia |
Users: | 12 |
Nodes: | 8 (0 / 8) |
Uptime: | 52:10:27 |
Calls: | 173 |
Files: | 21,502 |
Messages: | 80,018 |