Thread View: comp.ai.philosophy
254 messages
254 total messages
Page 6 of 6
Started by olcott
Sat, 07 Nov 2026 02:08
Page 6 of 6 • 254 total messages
Re: How to make a halt decider?
Author: olcott
Date: Mon, 16 Nov 2026 14:48
Date: Mon, 16 Nov 2026 14:48
214 lines
10289 bytes
10289 bytes
On 11/16/2026 3:36 AM, Mikko wrote:
> On 14/11/2026 16:31, olcott wrote:
>> On 11/14/2026 3:18 AM, Mikko wrote:
>>> On 13/11/2026 16:47, olcott wrote:
>>>> On 11/13/2026 3:17 AM, Mikko wrote:
>>>>> On 11/11/2026 16:07, olcott wrote:
>>>>>> On 11/11/2026 3:03 AM, Mikko wrote:
>>>>>>> On 10/11/2026 16:58, olcott wrote:
>>>>>>>> On 11/10/2026 2:25 AM, dart200 wrote:
>>>>>>>>> On 11/9/26 11:59 PM, Mikko wrote:
>>>>>>>>>> On 09/11/2026 15:38, olcott wrote:
>>>>>>>>>>> On 11/9/2026 2:50 AM, Mikko wrote:
>>>>>>>>>>>> On 07/11/2026 04:08, olcott wrote:
>>>>>>>>>>>>> Suppose there is a decider H that takes a finite
>>>>>>>>>>>>> string of source code S. H applies inference steps
>>>>>>>>>>>>> to S according to the operational semantics of the
>>>>>>>>>>>>> language of S.
>>>>>>>>>>>>>
>>>>>>>>>>>>> What exactly would that entail?
>>>>>>>>>>>>
>>>>>>>>>>>> At least that H knows the operational semantics of every
>>>>>>>>>>>> language that
>>>>>>>>>>>> has operational semantics. For example, it knows what the
>>>>>>>>>>>> string
>>>>>>>>>>>> "#&%#%#&&#" operational means according to my specification
>>>>>>>>>>>> of the
>>>>>>>>>>>> operational semantics of my language.
>>>>>>>>>>>
>>>>>>>>>>> Yes it must know the operational semantics of
>>>>>>>>>>> the language of computation of the input static
>>>>>>>>>>> finite string.
>>>>>>>>>>
>>>>>>>>>> Which is impossible. It simply can't know what "#&%#%#&&#"
>>>>>>>>>> means in
>>>>>>>>>> my language. I don't even know myself yet as I havn't
>>>>>>>>>> specified all details of my semantics.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> u can't expect a decider to decide on an unknown language, since
>>>>>>>>
>>>>>>>> There does not exist any implementation of C function HHH
>>>>>>>> that simulates C function DD according to the operational
>>>>>>>> semantics of C such that the simulated C function DD reaches
>>>>>>>> its own simulated return statement in any N finite number of
>>>>>>>> steps.
>>>>>>>
>>>>>>> Who cares whether a function that is not intended to serve any
>>>>>>> useful
>>>>>>> purpose can be implemented or not?
>>>>>>
>>>>>> The HP proof has not correct basis
>>>>>
>>>>> The basis of the proof is the definition of Turing machine.
>>>>
>>>> Yet the string rewrite system that I propose is Turing
>>>> Equivalent and has far less extraneous details.
>>>
>>> The usual formulation of the halting problen speifically requires a
>>> Turing machine.
>>
>> Of course I know that yet all of the tedious implementation details
>> distract attention away from the most basic essence of Turing
>> equivalent computation:
>>
>> All Turing equivalent computations can be reduced to applying
>> finite string transformation rules to finite string inputs to
>> derive any and all outputs.
>
> Not very surprising as a Turing machine is a set of finite string
> transformation rules.
>
Along with a bunch of extraneous inessential details.
>>> Of course the proog that no Turing machinte can
>>> solve the halting problem of Turing machines implies that no Turing
>>> equivalent system can do that, either.
>>
>> Unless one pays enormously much better attention than
>> anyone has ever paid.
>
> Even then. Proof checking is fairly simple and does not require any
> extraordinay attention. Therefore it easy to verify that Turing's
> proof is correct. Modern proofs use a simplified Turing machine so
> their correctness is even easier to varify.
>
Computation defined
Turing equivalent Post canonical systems and semi-Thue
systems are simplified and made generic as follows:
All Turing equivalent computations can be reduced to
applying finite string transformation rules to finite string
inputs to derive any and all outputs.
Deciders only apply finite string transformation/inference
steps to their finite strings AS INPUTS.
They must only apply inference steps that are relevant to
the decision criterion.
For halt deciders these inference steps are restricted to
the operational semantics of the language of computation
of the input.
Concretely applied to the HHH/DD decider/input pair DD
is simulated by HHH according to the operational semantics
of the C programming language.
Simulation Trace
Line 11: main() invokes HHH(DD);
Line 03: DD calls HHH(DD); HHH simulates DD;
Line 03: DD calls HHH(DD); HHH simulates DD;
Line 03: DD calls HHH(DD); HHH simulates DD;
Line 03: DD calls HHH(DD); HHH simulates DD;
>> No one here wants to follow my
>> steps of showing these details because they have
>> already made up their mind and closed it treating the
>> dogma of textbooks as the infallible word of God.
>
> If your "proof" violates any dogma of the ordinary logic it is not
> a proof and has not the effect a proof would have.
>
>>> The Turing machine as defined by Turing indeed has unnecessary details.
>>> Therefore the most often used model is the simplified Turing machine
>>> defined by Post or someting similar. But in general any Turing
>>> equivalent system can be used. And the halting problem can be adapted
>>> even to systems that are not Turing equivalent.
>>
>> By applying finite string transformation rules to finite
>> string inputs to derive any and all outputs.
>> We see two things:
>>
>> (1) Any result that cannot be derived this way is outside
>> the scope of Turing commutable functions the same way that
>> filling your tires with air is outside the scope of your
>> toaster.
>
> However, that does not mean that it would be outside of the
> scope of interesting functions.
>> (2) Within this simplest Turing equivalent model of
>> computation we can examine the notion of deciders more
>> deeply.
>
> In particular, we would like to see how the halting problem for that
> model and its unsolvability proof would look like.
>
It has always only been that anything that cannot be
computed by applying finite string transformation rules
to finite string inputs is outside the scope of Turing
equivalent computation in the same way that filling your
tires with air is outside the scope of your toaster.
When the halting theorem requires that HHH(DD) reports
on the behavior of int main() { DD(); } this is a
category error.
>> the set of all finite strings over Σ, including the empty
>> string ε, and let L ⊆ Σ* be a language Decider.
> > A Turing machine M decides a language L ⊆ Σ*> if and only if, for
> every input w ∈ Σ*, M halts, accepting
>> if w ∈ L and rejecting if w ∉ L.
>
>> All non-trivial deciders must inherently apply finite string
>> transformations that are relevant to their decision criteria.
>
> Not sure about "must" but that is at least a possible way to do it.
>
>> All halt deciders must inherently apply finite string
>> transformations that are relevant to the behavior specified
>> by their input finite string.
>
> The relevance may be hard to define and check but that hardly matters.
>
> Anyway, you have not shown any finite string transformation machine
> that can solve any halting problem.
>
--
Copyright 2026 Olcott
Computation(Olcott)
Paraphrase of Emil Post definition of computation
All computations are equivalent to the application of finite
string transformation rules to finite string inputs to derive
any and all outputs.
Because Post canonical systems are Turing-equivalent, anything
that cannot be derived by applying finite string transformations
to finite strings is outside the scope of Church–Turing computation.
Decider(Olcott)
Correcting the misnomer term-of-the-art: decider
Every Decider(Olcott) must apply finite string transformation
inference steps to their finite string inputs that are relevant
to the decision criteria. It must make its decision on this basis.
Halt Decider(Olcott)
Decider(Olcott) entails that Halt Decider(Olcott) H(D) must apply
finite-string inference steps according to the operational semantics
of the source-code computation language of D. The only way to determine
the halting property of a finite string input is to examine the same
behavior as the behavior of D simulated by H.
*Succinct refutation of the Halting Theorem*
https://github.com/plolcott/x86utm/blob/master/README.md
My 28 year goal has been to make
"true on the basis of meaning expressed in language"
reliably computable for the entire body of general knowledge.
The complete structure of this system is now defined.
Re: How to make a halt decider?
Author: Mikko
Date: Tue, 17 Nov 2026 09:09
Date: Tue, 17 Nov 2026 09:09
80 lines
4974 bytes
4974 bytes
On 16/11/2026 16:48, olcott wrote: > On 11/16/2026 3:36 AM, Mikko wrote: >> On 14/11/2026 16:31, olcott wrote: >>> On 11/14/2026 3:18 AM, Mikko wrote: >>>> On 13/11/2026 16:47, olcott wrote: >>>>> On 11/13/2026 3:17 AM, Mikko wrote: >>>>>> On 11/11/2026 16:07, olcott wrote: >>>>>>> On 11/11/2026 3:03 AM, Mikko wrote: >>>>>>>> On 10/11/2026 16:58, olcott wrote: >>>>>>>>> On 11/10/2026 2:25 AM, dart200 wrote: >>>>>>>>>> On 11/9/26 11:59 PM, Mikko wrote: >>>>>>>>>>> On 09/11/2026 15:38, olcott wrote: >>>>>>>>>>>> On 11/9/2026 2:50 AM, Mikko wrote: >>>>>>>>>>>>> On 07/11/2026 04:08, olcott wrote: >>>>>>>>>>>>>> Suppose there is a decider H that takes a finite >>>>>>>>>>>>>> string of source code S. H applies inference steps >>>>>>>>>>>>>> to S according to the operational semantics of the >>>>>>>>>>>>>> language of S. >>>>>>>>>>>>>> >>>>>>>>>>>>>> What exactly would that entail? >>>>>>>>>>>>> >>>>>>>>>>>>> At least that H knows the operational semantics of every >>>>>>>>>>>>> language that >>>>>>>>>>>>> has operational semantics. For example, it knows what the >>>>>>>>>>>>> string >>>>>>>>>>>>> "#&%#%#&&#" operational means according to my specification >>>>>>>>>>>>> of the >>>>>>>>>>>>> operational semantics of my language. >>>>>>>>>>>> >>>>>>>>>>>> Yes it must know the operational semantics of >>>>>>>>>>>> the language of computation of the input static >>>>>>>>>>>> finite string. >>>>>>>>>>> >>>>>>>>>>> Which is impossible. It simply can't know what "#&%#%#&&#" >>>>>>>>>>> means in >>>>>>>>>>> my language. I don't even know myself yet as I havn't >>>>>>>>>>> specified all details of my semantics. >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> u can't expect a decider to decide on an unknown language, since >>>>>>>>> >>>>>>>>> There does not exist any implementation of C function HHH >>>>>>>>> that simulates C function DD according to the operational >>>>>>>>> semantics of C such that the simulated C function DD reaches >>>>>>>>> its own simulated return statement in any N finite number of >>>>>>>>> steps. >>>>>>>> >>>>>>>> Who cares whether a function that is not intended to serve any >>>>>>>> useful >>>>>>>> purpose can be implemented or not? >>>>>>> >>>>>>> The HP proof has not correct basis >>>>>> >>>>>> The basis of the proof is the definition of Turing machine. >>>>> >>>>> Yet the string rewrite system that I propose is Turing >>>>> Equivalent and has far less extraneous details. >>>> >>>> The usual formulation of the halting problen speifically requires a >>>> Turing machine. >>> >>> Of course I know that yet all of the tedious implementation details >>> distract attention away from the most basic essence of Turing >>> equivalent computation: >>> >>> All Turing equivalent computations can be reduced to applying >>> finite string transformation rules to finite string inputs to >>> derive any and all outputs. >> >> Not very surprising as a Turing machine is a set of finite string >> transformation rules. > > Along with a bunch of extraneous inessential details. In Turing's original formulation there are more details than necessary. In Post's simplified Turing machine there is no detail that could be called extraneous or inessential. -- Mikko
Re: Augmenting the definition of decider to include inherent requirements
Author: olcott
Date: Wed, 18 Nov 2026 03:49
Date: Wed, 18 Nov 2026 03:49
349 lines
12494 bytes
12494 bytes
On 11/15/2026 2:14 PM, Python wrote:
> Le 15/11/2026 à 15:11, olcott a écrit :
>> On 11/15/2026 5:37 AM, Python wrote:
>>> Le 15/11/2026 à 04:38, olcott a écrit :
>>>> On 11/14/2026 11:02 AM, Python wrote:
>>>>> Peter,
>>>>>
>>>>> We have finally made some progress.
>>>>>
>>>>> You explicitly concede:
>>>>>
>>>>> "I will grant you that."
>>>>>
>>>>> And:
>>>>>
>>>>> "Yes I will grant you that."
>>>>>
>>>>> In particular, you now acknowledge that static analysis can
>>>>> establish termination WITHOUT executing every step of the program.
>>>>>
>>>>> GOOD.
>>>>>
>>>>
>>>> I knew that.
>>>>
>>>>> But then you write:
>>>>>
>>>>> "These are all simply short cuts to reduce the
>>>>> time that it takes to perform an actual simulation."
>>>>>
>>>>> NO.
>>>>>
>>>>
>>>> It is only behavior that is consistent with the behavior
>>>> of input I simulated by H that measures the behavior of
>>>> I AS AN INPUT TO H.
>>>>
>>>>> A mathematical proof of termination is not necessarily an
>>>>> abbreviated simulation.
>>>>>
>>>>> It can establish a property of ALL possible executions without
>>>>> reconstructing ANY complete execution trace.
>>>>>
>>>>
>>>> An input that takes no arguments eliminates the
>>>> Frederick Brooks (No Silver Bullet Essence and
>>>> Accidents of Software Engineering) inessential
>>>> complexity of an input with arguments.
>>>>
>>>>> You are confusing reasoning ABOUT a computation with PERFORMING
>>>>> that computation.
>>>>>
>>>>> "These short-cuts must remain consistent with
>>>>> what the behavior of the simulation would be"
>>>>>
>>>>> OF COURSE.
>>>>>
>>>>> That is called CORRECTNESS.
>>>>>
>>>>
>>>> Great we are back to mutual agreement.
>>>> DD simulated by HHH provides the ultimate basis of
>>>> the behavior that DD (AS AN INPUT) specifies to HHH.
>>>>
>>>> Deciders apply finite string transformation /
>>>> inference steps to finite string inputs according
>>>> to a decision criteria.
>>>>
>>>>> It does not imply that the analysis must simulate the program.
>>>>>
>>>>> Now to your latest escape hatch:
>>>>>
>>>>> "Type mismatch error."
>>>>>
>>>>> WHAT TYPE MISMATCH?
>>>>>
>>>>> The halting problem concerns encoded programs and their inputs.
>>>>>
>>>>> A hypothetical universal decider H accepts such encodings and
>>>>> returns a Boolean answer.
>>>>>
>>>>> The diagonal program D is itself a valid program.
>>>>>
>>>>> Its encoding is a valid input to H.
>>>>>
>>>>> And D calls H on that encoding.
>>>>>
>>>>> THERE IS NO TYPE MISMATCH.
>>>>>
>>>>
>>>> The type mismatch is the expectation that HHH
>>>> reports on the behavior of the executable
>>>> process DD() instead of the behavior that the
>>>> finite string (AS AN INPUT) specifies to HHH.
>>>>
>>>>> Here is the argument, stripped of every irrelevant implementation
>>>>> detail.
>>>>>
>>>>> Assume H is total and correct.
>>>>>
>>>>> Define D(x) as follows:
>>>>>
>>>>> if H(x, x) says "halts":
>>>>> loop forever
>>>>> else:
>>>>> halt
>>>>>
>>>>> Now consider D(D).
>>>>>
>>>>> If H(D, D) says "halts", D(D) does not halt.
>>>>>
>>>>> If H(D, D) says "does not halt", D(D) halts.
>>>>>
>>>>> CONTRADICTION.
>>>>
>>>> // eliminate inessential argument to DD
>>>>
>>>> typedef int (*ptr)();
>>>> int HHH(ptr P);
>>>>
>>>> 01 int DD()
>>>> 02 {
>>>> 03 int Halt_Status = HHH(DD);
>>>> 04 if (Halt_Status)
>>>> 05 HERE: goto HERE;
>>>> 06 return Halt_Status;
>>>> 07 }
>>>> 08
>>>> 09 void main()
>>>> 10 {
>>>> 11 HHH(DD);
>>>> 12 }
>>>>
>>>> Simulation Trace
>>>> Line 11: main() invokes HHH(DD);
>>>>
>>>> Line 03: DD calls HHH(DD); HHH simulates DD;
>>>> Line 03: DD calls HHH(DD); HHH simulates DD;
>>>> Line 03: DD calls HHH(DD); HHH simulates DD;
>>>> Line 03: DD calls HHH(DD); HHH simulates DD; ...
>>>>
>>>> <snip>
>>>
>>> Peter,
>>>
>>> "The type mismatch is the expectation that HHH
>>> reports on the behavior of the executable
>>> process DD() instead of the behavior that the
>>> finite string (AS AN INPUT) specifies to HHH."
>>>
>>> THERE IS NO TYPE MISMATCH.
>>>
>>> A program's encoding is a finite string.
>>>
>>> That string describes a program.
>>>
>>> The program has an operational semantics.
>>>
>>> And the halting problem asks whether the computation described by
>>> that encoding terminates.
>>>
>>
>> It asks about the behavior of a machine that no
>> halt decider has direct access to.
>>
>> The finite string encoding of the machine (as an input)
>> does specify the behavior of the static finite string
>> input EXCEPT WHEN THE INPUT CALLS ITS OWN DECIDER,
>> otherwise it is a valid proxy for the behavior of the
>> underlying machine.
>>
>> **Computation defined**
>> Turing equivalent Post canonical systems and semi-Thue
>> systems are simplified and made generic as follows:
>>
>> All Turing equivalent computations can be reduced to
>> applying finite string transformation rules to finite
>> string inputs to derive any and all outputs.
>>
>> Deciders only apply finite string transformation/inference
>> steps to their finite strings AS INPUTS.
>>
>> They must only apply inference steps that are relevant
>> to the decision criterion.
>>
>> Thus for halt deciders these inference steps are restricted
>> to the operational semantics of the language of computation
>> of the input.
>>
>>
>>> THAT IS THE ENTIRE POINT OF ENCODING PROGRAMS.
>>>
>>> You are inventing a distinction between the behavior of a program and
>>> the behavior specified by its encoding.
>>>
>>> Those are not two different decision problems.
>>>
>>> Now consider your simulation trace:
>>>
>>> main() calls HHH(DD)
>>> DD calls HHH(DD)
>>> DD calls HHH(DD)
>>> DD calls HHH(DD)
>>> ...
>>>
>>> YES, PETER.
>>>
>>> YOUR HHH GETS STUCK IN INFINITE RECURSION.
>>>
>>> CONGRATULATIONS.
>>>
>>> YOU HAVE DEMONSTRATED THAT YOUR HHH IS NOT A TOTAL HALTING DECIDER.
>>>
>>
>> There are at least two ways that this can be correctly understood:
>> (1) The behavior that the the input finite string DD
>> specifies to its halt decider HHH is non-halting behavior.
>>
>> ?- LP = not(true(LP)).
>> LP = not(true(LP)).
>> ?- unify_with_occurs_check(LP, not(true(LP))).
>> false.
>>
>> (2) When we hypothesize that HHH is applying a Prolog
>> unify_with_occurs_check() to its input the DD is rejected
>> as bad input. I report this one because it is exactly the
>> same process as unify_with_occurs_check(LP, not(true(LP))).
>>
>>> That is perfectly consistent with the Halting Theorem.
>>>
>>> In fact, it is exactly the kind of failure the theorem tells us is
>>> unavoidable for any proposed universal decider.
>>>
>>> But the diagonal proof does not assume that H works by recursively
>>> simulating its input.
>>>
>>> IT ASSUMES THAT H IS TOTAL AND CORRECT.
>>>
>>> Under that hypothesis, H(DD) returns an answer.
>>>
>>> Therefore DD reaches its conditional branch.
>>>
>>> And whichever answer H returns, DD does the opposite.
>>>
>>> THAT IS THE CONTRADICTION.
>>>
>>> You cannot refute a proof about ALL possible computable deciders by
>>> exhibiting ONE PARTICULAR DECIDER THAT FAILS.
>>>
>>> And your attempt to make the simulator's behavior the "ultimate
>>> basis" of the program's semantics is circular.
>>>
>>> A simulator is supposed to reproduce the semantics of the program.
>>>
>>> THE SEMANTICS IS NOT DEFINED BY WHETHER YOUR SIMULATOR SUCCEEDS.
>>>
>>
>> The semantics is the operational semantics of C applied
>> to the decision criteria as inference steps.
>>
>>> If your simulator gets stuck, that tells us something about your
>>> simulator.
>>>
>>> It does not establish that the program is invalid.
>>>
>>> Nor does it establish that a hypothetical total H could avoid the
>>> diagonal contradiction.
>>>
>>> Your entire argument amounts to:
>>>
>>> "My implementation of H cannot decide D."
>>>
>>> YES.
>>>
>>> THAT IS WHAT THE HALTING THEOREM PREDICTS.
>>>
>>> You have spent 28 years demonstrating an example of the theorem you
>>> claim to have refuted.
>
> Peter,
>
> "The finite string encoding of the machine
> does specify the behavior [...] EXCEPT WHEN
> THE INPUT CALLS ITS OWN DECIDER"
>
> THERE IT IS.
>
> YOUR ENTIRE "REFUTATION" IN ONE SENTENCE.
>
> You accept that program encodings describe program behavior.
>
> EXCEPT WHEN DIAGONALIZATION BECOMES INCONVENIENT.
>
---AXIOM 1 --- COMPUTATION DEFINED ---
All Turing equivalent computations can be reduced to
applying finite string transformation rules applied
to static finite strings AS INPUTS.
---AXIOM 2 --- DECIDERS DEFINED ---
Deciders apply finite string transformation/inference
steps (relevant to their decision criterion) to their
finite strings AS INPUTS.
---AXIOM 3 --- HALT DECIDERS DEFINED ---
Halt Deciders restrict these inference steps to the
operational semantics of the language of computation
of the input.
The mathematical mapping from the input to HHH(DD) to
the behavior that this input specifies is this:
Simulation Trace
Line 11: main() invokes HHH(DD);
Line 03: DD calls HHH(DD); HHH simulates DD;
Line 03: DD calls HHH(DD); HHH simulates DD;
Line 03: DD calls HHH(DD); HHH simulates DD;
Line 03: DD calls HHH(DD); HHH simulates DD;
Expecting or requiring it to be something else is
the same as expecting or requiring your toaster to
fill your tires with air, a category error.
--
Copyright 2026 Olcott
---AXIOM 1 --- COMPUTATION DEFINED ---
All Turing equivalent computations can be reduced to
applying finite string transformation rules applied
to static finite strings AS INPUTS.
---AXIOM 2 --- DECIDERS DEFINED ---
Deciders apply finite string transformation/inference
steps (relevant to their decision criterion) to their
finite strings AS INPUTS.
---AXIOM 3 --- HALT DECIDERS DEFINED ---
Halt Deciders restrict these inference steps to the
operational semantics of the language of computation
of the input.
*Succinct refutation of the Halting Theorem*
https://github.com/plolcott/x86utm/blob/master/README.md
My 28 year goal has been to make
"true on the basis of meaning expressed in language"
reliably computable for the entire body of general knowledge.
The complete structure of this system is now defined.
Page 6 of 6 • 254 total messages
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads