Article View: sci.logic
Article #1320Re: One way that the Halting Theorem is coherent --- formalized Liar Paradox
From: Python
Date: Sun, 15 Nov 2026 20:13
Date: Sun, 15 Nov 2026 20:13
276 lines
9188 bytes
9188 bytes
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.
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.
YET IT TERMINATES FOR EVERY NONNEGATIVE INTEGER INPUT.
A cycle in a dependency graph does not prove that evaluation runs forever.
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.
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.
SAME SELF-REFERENCE.
DIFFERENT SEMANTIC CONSTRAINTS.
Therefore the existence of a cycle is NOT sufficient to determine the
semantic status of a sentence.
"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.
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.
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.
Technical Details
Message-ID:
<z28Y6RV6aUELQZ6UtbVDUMMgv3c@jntp>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!pasdenom.info!from-devjntpReferences:
<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>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!pasdenom.info!from-devjntp Message-ID: <z28Y6RV6aUELQZ6UtbVDUMMgv3c@jntp> JNTP-Route: nemoweb.net JNTP-DataType: Article Subject: Re: One way that the Halting Theorem is coherent --- formalized Liar Paradox 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> Newsgroups: sci.logic,comp.theory JNTP-HashClient: QUalIx5BE3XvMKvPJcnuN_MkIuI JNTP-ThreadID: 11cjff8$26bu7$1@dont-email.me JNTP-Uri: https://www.nemoweb.net/?DataID=z28Y6RV6aUELQZ6UtbVDUMMgv3c@jntp User-Agent: Nemo/1.0 JNTP-OriginServer: nemoweb.net Date: Sun, 15 Nov 26 20:13:52 +0000 Organization: Nemoweb JNTP-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0 Injection-Info: nemoweb.net; posting-host="71962ec0b262db26e9002693f4d52627a6dd14a2"; logging-data="2026-11-15T20:13:52Z/9877461"; posting-account="190@nemoweb.net"; mail-complaints-to="julien.arlandis@gmail.com" JNTP-ProtocolVersion: 0.21.1 JNTP-Server: PhpNemoServer/0.94.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-JNTP-JsonNewsGateway: 0.96 From: Python <jpierre.messager@gmail.com>