🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.logic
Article #1314

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

#1314
From: Python
Date: Sun, 15 Nov 2026 11:36
147 lines
5202 bytes
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.
Technical Details
Message-ID: <BKH29e9HfpSx0Wne6Ue7GyBv2jk@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-devjntp
References: <11cjff8$26bu7$1@dont-email.me> <11d8lr2$1kv5r$1@dont-email.me> <11d98fu$1qfkj$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>

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: <BKH29e9HfpSx0Wne6Ue7GyBv2jk@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> <11d8lr2$1kv5r$1@dont-email.me> <11d98fu$1qfkj$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>
Newsgroups: sci.logic,comp.theory
JNTP-HashClient: zvEroG6rVkrFB1TmSiq-ppkOK94
JNTP-ThreadID: 11cjff8$26bu7$1@dont-email.me
JNTP-Uri: https://www.nemoweb.net/?DataID=BKH29e9HfpSx0Wne6Ue7GyBv2jk@jntp
User-Agent: Nemo/1.0
JNTP-OriginServer: nemoweb.net
Date: Sun, 15 Nov 26 11:36:25 +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-15T11:36:25Z/9877063"; 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>