🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.logic
Article #1324

Re: One way that the Halting Theorem is coherent --- formalized Liar Paradox

#1324
From: olcott
Date: Mon, 16 Nov 2026 02:44
344 lines
11759 bytes
On 11/15/2026 2:13 PM, Python wrote:
> Le 15/11/2026 à 14:23, olcott a écrit :
>> On 11/15/2026 5:36 AM, Python wrote:
>>> Le 15/11/2026 à 04:21, olcott a écrit :
>>>> On 11/14/2026 11:03 AM, Python wrote:
>>>>> Peter,
>>>>>
>>>>>     "It never reaches the paradoxical code."
>>>>>
>>>>> WHAT PARADOXICAL CODE?
>>>>>
>>>>> Look at the actual query:
>>>>>
>>>>>     ?- unify_with_occurs_check(X, f(X)).
>>>>>     false.
>>>>>
>>>>> There is no paradox.
>>>>>
>>>>> There is no truth predicate.
>>>>>
>>>>> There is no recursive evaluation.
>>>>>
>>>>> There is no "paradoxical code" to reach.
>>>>>
>>>>> The unification algorithm simply detects that X occurs inside f(X) 
>>>>> and fails.
>>>>>
>>>>> END OF STORY.
>>>>>
>>>>> Now replace f(X) with not(true(X)):
>>>>>
>>>>>     ?- unify_with_occurs_check(X, not(true(X))).
>>>>>     false.
>>>>>
>>>>> THE SAME THING HAPPENS.
>>>>>
>>>>> Not because Prolog has discovered the Liar Paradox.
>>>>>
>>>>> Not because it has computed an undefined truth value.
>>>>>
>>>>> Not because it has detected an infinite execution.
>>>>>
>>>>> But because THE OCCURS CHECK REJECTS CYCLIC UNIFICATION.
>>>>>
>>>>
>>>> Bingo !!! Do you know the underlying details of this?
>>>>
>>>>> You are assigning philosophical significance to an operation that 
>>>>> does not even inspect the meaning of your predicate names.
>>>>>
>>>>> And your claim that the computation "never reaches the paradoxical 
>>>>> code" is especially revealing.
>>>>>
>>>>> THERE IS NO SUCH CODE IN THE QUERY.
>>>>>
>>>>> You have constructed a term, not implemented a truth evaluator.
>>>>>
>>>>> If you want to demonstrate a semantic result, DEFINE THE SEMANTICS.
>>>>>
>>>>> If you want to demonstrate infinite recursion, SHOW THE RECURSIVE 
>>>>> EVALUATION.
>>>>>
>>>>> If you want to refute the Halting Theorem, IDENTIFY THE INVALID 
>>>>> STEP IN ITS DIAGONAL PROOF.
>>>>>
>>>>> So far, you have done none of these things.
>>>>>
>>>>> You have merely confused three different problems and declared 
>>>>> victory over all of them.
>>>
>>> Peter,
>>>
>>>     "Bingo !!! Do you know the underlying details of this?"
>>>
>>> YES, PETER.
>>>
>>> DO YOU?
>>>
>>> The occurs check is a standard part of first-order term unification.
>>>
>>> When attempting to unify a variable X with a term t, it checks 
>>> whether X already occurs within t.
>>>
>>> If it does, the unification is rejected, because no finite first- 
>>> order term can satisfy that substitution.
>>>
>>> For example:
>>>
>>>     unify_with_occurs_check(X, f(X))
>>>
>>> fails.
>>>
>>> So does:
>>>
>>>     unify_with_occurs_check(X, not(true(X)))
>>>
>>> And so does:
>>>
>>>     unify_with_occurs_check(X, banana(X))
>>>
>>> SAME ALGORITHM.
>>>
>>> SAME RESULT.
>>>
>>> NO SEMANTIC INTERPRETATION REQUIRED.
>>>
>>> Now consider:
>>>
>>>     unify_with_occurs_check(X, f(Y))
>>>
>>> This succeeds, provided X and Y are distinct unbound variables.
>>>
>>> The algorithm is examining TERM STRUCTURE.
>>>
>>> It is not deciding whether f is true, false, paradoxical, or meaningful.
>>>
>>> And here is the crucial distinction:
>>>
>>> The occurs check does not detect infinite recursion in a program.
>>>
>>> It prevents the construction of a cyclic substitution in finite-term 
>>> unification.
>>>
>>> Those are NOT the same problem.
>>>
>>> So what exactly are you celebrating?
>>>
>>> That Prolog implements an occurs check?
>>>
>>> WE ALREADY KNEW THAT.
>>>
>>> That a self-referential term may be rejected by a particular 
>>> unification algorithm?
>>>
>>> WE ALREADY KNEW THAT TOO.
>>>
>>> That this somehow invalidates the diagonal proof of the Halting Theorem?
>>>
>>> THEN PROVE THE CONNECTION.
>>>
>>> Because a diagonal program is not a cyclic first-order term.
>>>
>>> And rejecting cyclic terms does not establish that a universal 
>>> halting decider exists.
>>>
>>> Your "Bingo" is not a mathematical argument.
>>>
>>> It's the sound of someone recognizing a familiar word without 
>>> understanding what it proves.
>>
>> Like my Minimal Type Theory unify_with_occurs_check()
>> detects a cycle in the directed graph of the
>> evaluation sequence.
>>
>> LP := ~True(LP) which expands into:
>> ~True(~True(~True(~True(...)))) infinite recursion.
>> https://philarchive.org/archive/PETMTT-4v8
>>
>> Cannot possibly get to a truth value is what
>> Saul Kripke meant by assigning ungrounded to it.
>>
>> Outline of a Theory of Truth --- Saul Kripke
>> The Journal of Philosophy, Vol. 72, No. 19,
>> Seventy-Second Annual Meeting American
>> Philosophical Association, Eastern Division.
>> (Nov. 6, 1975), pp. 690-716.
>>
>>
>> https://files.commons.gc.cuny.edu/wp-content/blogs.dir/1358/ 
>> files/2019/04/Outline-of-a-Theory-of-Truth.pdf
> 
> Peter,
> 
>     "Like my Minimal Type Theory unify_with_occurs_check()
>      detects a cycle in the directed graph of the
>      evaluation sequence."
> 
> YOU ARE STILL CONFUSING THREE DIFFERENT THINGS.
> 
> 1. A cyclic term.
> 2. A cyclic dependency between propositions.
> 3. An infinite computational evaluation.
> 
> THEY ARE NOT EQUIVALENT.
> 
>     "LP := ~True(LP) which expands into:
>      ~True(~True(~True(~True(...)))) infinite recursion."
> 
> No.
> 
> That is an infinite syntactic unfolding.
> 

Unless executed by a theorem prover without occurs_check()

> It is not, by itself, an execution trace of a truth-evaluation algorithm.
> 
> And detecting a cycle does not automatically establish nontermination.
> 
> Consider the ordinary recursive function:
> 
>     int f(int n) {
>         if (n == 0) return 0;
>         return f(n - 1);
>     }
> 
> Its call graph contains a cycle.
> 

It has conditional termination. The other one does not.

> YET IT TERMINATES FOR EVERY NONNEGATIVE INTEGER INPUT.
> 
> A cycle in a dependency graph does not prove that evaluation runs forever.
> 

I should have said an unconditional cycle.

> Now consider the sentence:
> 
>     P <-> True("P")
> 
> This sentence refers to its own truth, WITHOUT NEGATION.
> 
> Its dependency graph contains exactly the same kind of self-reference as 
> your Liar sentence.
> 
> But its semantic behavior is different.
> 

Not in Prolog or Minimal Type Theory.
It has an unconditional cycle.

> In Kripke's least fixed-point construction, both can remain ungrounded.
> 
> However, the positive truth-teller can receive TRUE or FALSE in suitable 
> other fixed points, whereas the Liar cannot receive either classical 
> truth value in a consistent fixed point.
> 

Not in MTT or Prolog.
These things ultimately anchor in Proof Theoretic Semantics.
Which is the way that
"true on the basis of meaning expressed in language"
actually works in actual reality.

> SAME SELF-REFERENCE.
> 
> DIFFERENT SEMANTIC CONSTRAINTS.
> 
> Therefore the existence of a cycle is NOT sufficient to determine the 
> semantic status of a sentence.
> 

Unconditional cycle.

>     "Cannot possibly get to a truth value is what
>      Saul Kripke meant by assigning ungrounded to it."
> 
> NO.
> 
> Kripke's notion of groundedness is defined through a semantic fixed- 
> point construction using a partial truth predicate.
> 

His system is much more convoluted that PTS
through MTT / Prolog.

> It is not defined by whether a Prolog unification algorithm detects a 
> cyclic term.
> 
> The Liar remains undefined 
> in the relevant fixed-point semantics because 
> neither assigning it TRUE nor assigning it FALSE is consistent with its 
> truth conditions.
> 
> THAT IS A SEMANTIC FACT.
> 
> Your occurs check, meanwhile, rejects:
> 
>     X = banana(X)
> 
> just as readily as:
> 
>     X = not(true(X))
> 
> IT HAS NO IDEA WHAT "TRUE" OR "BANANA" MEANS.
> 
> So here is the question:
> 
> Does your algorithm distinguish the Liar from the positive Truth-Teller?
> 
> If so, SHOW THE SEMANTIC RULES THAT MAKE THE DISTINCTION.
> 
> If not, you have not implemented Kripke's theory.
> 
> You have implemented a cycle detector.
> 

I have implemented Kripke's result through
an enormously simpler process.

> And once again, NONE OF THIS REFUTES THE HALTING THEOREM.
> 
> A diagonal program is a valid computation, not a malformed cyclic Prolog 
> term.
> 
> You cannot make undecidability disappear by confusing self-reference 
> with invalid syntax.


-- 
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.
Technical Details
Message-ID: <11ddqmt$38gv1$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11cjff8$26bu7$1@dont-email.me> <11d9qf6$20arh$1@dont-email.me> <meI_cwlaCQLhQZs5WLZ2qunfTgE@jntp> <11d9sa2$20tuq$1@dont-email.me> <ZPPrw3KR1co3iHtEmTn3kiMRCT4@jntp> <11da24f$230op$2@dont-email.me> <WDW1z9O0GW9Bpl5vJutrI10lUxc@jntp> <11db8et$2f7te$1@dont-email.me> <BKH29e9HfpSx0Wne6Ue7GyBv2jk@jntp> <11dcbp4$2pbui$1@dont-email.me> <z28Y6RV6aUELQZ6UtbVDUMMgv3c@jntp>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: olcott <polcott333@gmail.com>
Newsgroups: sci.logic,comp.theory,comp.ai.philosophy
Subject: Re: One way that the Halting Theorem is coherent --- formalized Liar
 Paradox
Date: Sun, 15 Nov 2026 20:44:44 -0600
Organization: A noiseless patient Spider
Lines: 344
Message-ID: <11ddqmt$38gv1$1@dont-email.me>
References: <11cjff8$26bu7$1@dont-email.me> <11d9qf6$20arh$1@dont-email.me>
 <meI_cwlaCQLhQZs5WLZ2qunfTgE@jntp> <11d9sa2$20tuq$1@dont-email.me>
 <ZPPrw3KR1co3iHtEmTn3kiMRCT4@jntp> <11da24f$230op$2@dont-email.me>
 <WDW1z9O0GW9Bpl5vJutrI10lUxc@jntp> <11db8et$2f7te$1@dont-email.me>
 <BKH29e9HfpSx0Wne6Ue7GyBv2jk@jntp> <11dcbp4$2pbui$1@dont-email.me>
 <z28Y6RV6aUELQZ6UtbVDUMMgv3c@jntp>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 16 Nov 2026 02:44:47 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3425249"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19B5bqTHzd4Mvl73QRZ5Lnq"; posting-host="ec2acc52da959946123c5d99f63cb993"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:f7L2GmvIBvw5AlhCI4UcMQOCQHQ= sha256:eylcXM/sWNrkceLSwNsdjkVrkODUOJQY+18M4x2a09g=
	sha1:4ZfScqHWpaFsDySgRZami04E9GM= sha256:kp6YSqByKk3dIwvYF2hl5pNwsJyGoHi28VUaVM2kFFI=
In-Reply-To: <z28Y6RV6aUELQZ6UtbVDUMMgv3c@jntp>
X-Antivirus: Norton (VPS 261115-10, 11/15/2026), Outbound message
Content-Language: en-US
X-Antivirus-Status: Clean