🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.logic
Article #974

Re: How to make a halt decider?

#974
From: dart200
Date: Sat, 07 Nov 2026 07:47
123 lines
6556 bytes
On 11/6/26 8:56 PM, Lawrence D’Oliveiro wrote:
> On Fri, 6 Nov 2026 20:08:54 -0600, olcott wrote:
> 
>> Suppose there is a decider H that takes a finite string of source
>> code S.
> 
> Let us say “program S”. Forget the distinction between “source code”
> and “machine code” or whatever other kinds of “code” you are thinking
> of. Forget about specific machine architectures and programming
> languages and other such irrelevant details. The principles of
> computability theory are far more universal than that. If your
> reasoning depends on such specific details, then there is something
> wrong with your reasoning.
> 
>> H applies inference steps to S according to the operational
>> semantics of the language of S.
>>
>> What exactly would that entail?
> 
> Program H and program S can run on the same underlying universal
> machine. “Code” can be “data”, too. A program is simply some finite
> string of symbols in the machine language, that, given some input
> which is some other string of symbols, does something “useful” (i.e.
> what somebody wants it to do).
> 
> Of course, the string of symbols being finite is itself no guarantee
> that the execution of that program will terminate in finite time; it
> is trivially easy to construct any number of examples of programs that
> will never terminate execution.
> 
> Consider a run of a given program S(D) with some given input data D;
> can you determine in general, for any S and D, that that run will
> terminate after a finite number of steps or not?
> 
> Assume there is a program H(S, D) that can make that determination for
> any combination of S and D: it returns true if S(D) terminates, and
> false if it does not.
> 
> Now let us define a program H'(S, D) as follows:
> 
>      if H(S, D) then
>          get stuck in an endless loop
>      else
>          return true
> 
> Now the question is: what result will H(H', H') return? Substituting

i think the better question is what is H's behavior in response to such 
an input

- it cannot return correctly as per this proof. halting and always being 
correct is not a implementation option.

- it could just not return. this might preserve the integrity of both 
outputs when they are output, at the cost of diverging necessarily on 
some inputs. i call this behavior a /partial decider/

- it could be like polcott's HHH, return 0 and accept the fact that it 
will inherently miss out on returning 1 to some halting machines (lie 
DD). this preserves the integrity of the true return, and never needs to 
diverge on such a provably paradoxical input, at the cost of only 
correctly recognizing a subset of all halting machines, and recognizing 
no particular semantic behavior with it false return. i call this 
behavior a /partial recognizer/

polcott has spent quite a lot of time trying to define his partial 
recognizer as a the true nature of computing, but like it's just not a 
refutation of the halting theorem. it's rather a concession to it.

but even with that, personally i think there's an incredibly amount of 
missed value in perusing the partial recognizer more thoroughly as a 
paradigm. like we shouldn't be using the halting theorem as an excuse to 
not be proving what our programs are doing. like what kind of program do 
u think u can reasonably understand that a machine cannot compute the 
output semantics of??? lol

> those values into the definition of H' gives:
> 
>      if H(H', H') then
>          get stuck in an endless loop
>      else
>          return true
> 
> In other words, if H says that H' will terminate with H' as input,
> then H' will not terminate; and if H says H' will *not* terminate with
> H' as input, then H' *will* terminate.
> 
> This is a logical contradiction. It indicates there is something wrong
> with our reasoning. And the only obvious thing wrong is the assumption
> that H exists.
> 
> Therefore no H fitting the definition can exist. QED.

i think the core of my problem with the halting problem is this:

sure, for any H that can exist we can prove, in a finite series of 
steps, the existent of some D that must exist conceptually in relation 
to H that H cannot decide "correctly" on.

and in fact not only can we prove it exists, we can necessarily compute 
that existence in a finite series of steps, because building it from 
whatever variation of H that might exist, requires rather trivial logic

this can be encapsulated by a high-order machine (that outputs a machine 
derived from the input)

   und = (h: machine) -> {
     u = () -> if (h(u)) loop() else halt()
     return u
   }

und(h) is an input machine that h() cannot halt and decide on correctly. 
this is true for any variation of h and associated und(h)

i think what rubs me the wrong way here is the semantics of und(h) is 
trivially derivable from the behavior of h(und, h), yet no h could ever 
compute that associated value. meaning that we are able to compute a set 
of values no h ever could ... and that's just strikingly odd to me

-- 
arising us out of the computing dark ages,
please excuse my pseudo-pyscript,
~ the lil crank that could
Technical Details
Message-ID: <11cml28$37s6h$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11cm17m$32os9$1@dont-email.me> <11cmb15$352as$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: dart200 <user7160@newsgrouper.org.invalid>
Newsgroups: comp.theory,sci.logic
Subject: Re: How to make a halt decider?
Date: Fri, 6 Nov 2026 23:47:20 -0800
Organization: A noiseless patient Spider
Lines: 123
Message-ID: <11cml28$37s6h$1@dont-email.me>
References: <11cm17m$32os9$1@dont-email.me> <11cmb15$352as$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 07 Nov 2026 07:47:21 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3403985"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX186duAqPIJz8VnNNlJyI5C8"; posting-host="55226f41fbb27790ba9371c43afaa730"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:bqH0pYja6U/6x5f1ScO4cXixd1k= sha256:GSmutsuzcBkuAp+vNyUn/uxGqxR2RJ4zMciL+Of3jzU=
	sha1:VZuTjMbzcqlS9Yfa8oyWXprV38w= sha256:dhgCGm19JcG9+JBvtmahVG1Crt1EnPZT7kAPoKestUw=
Content-Language: en-US
In-Reply-To: <11cmb15$352as$1@dont-email.me>