Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Do not use the blue keys on this terminal.


devel / comp.lang.prolog / Re: Is this correct Prolog?

SubjectAuthor
* Is this correct Prolog?olcott
+* Re: Is this correct Prolog?Mikko
|+* Re: Is this correct Prolog?Aleksy Grabowski
||+* Re: Is this correct Prolog?olcott
|||`* Re: Is this correct Prolog?Mikko
||| `* Re: Is this correct Prolog?olcott
|||  `* Re: Is this correct Prolog?Aleksy Grabowski
|||   `* Re: Is this correct Prolog?olcott
|||    `* Re: Is this correct Prolog?Aleksy Grabowski
|||     +* Re: Is this correct Prolog?olcott
|||     |`* Re: Is this correct Prolog?Aleksy Grabowski
|||     | `* Re: Is this correct Prolog?olcott
|||     |  +* Re: Is this correct Prolog?Aleksy Grabowski
|||     |  |`* Re: Is this correct Prolog?olcott
|||     |  | `* Re: Is this correct Prolog?Aleksy Grabowski
|||     |  |  +- Re: Is this correct Prolog?olcott
|||     |  |  `* Re: Is this correct Prolog?Julio Di Egidio
|||     |  |   `* Re: Is this correct Prolog?Aleksy Grabowski
|||     |  |    +* Re: Is this correct Prolog?Julio Di Egidio
|||     |  |    |`- Re: Is this correct Prolog?olcott
|||     |  |    +- Re: Is this correct Prolog?olcott
|||     |  |    `* Re: Is this correct Prolog?olcott
|||     |  |     `* Re: Is this correct Prolog?Aleksy Grabowski
|||     |  |      `* Re: Is this correct Prolog?olcott
|||     |  |       `* Re: Is this correct Prolog?Aleksy Grabowski
|||     |  |        `* Re: Is this correct Prolog?olcott
|||     |  |         +- Re: Is this correct Prolog?olcott
|||     |  |         `* Re: Is this correct Prolog?Aleksy Grabowski
|||     |  |          `* Re: Is this correct Prolog?olcott
|||     |  |           `* Re: Is this correct Prolog?Aleksy Grabowski
|||     |  |            `- Re: Is this correct Prolog?olcott
|||     |  `* Re: Is this correct Prolog?Jeff Barnett
|||     |   +* Re: Is this correct Prolog?Mr Flibble
|||     |   |`- Re: Is this correct Prolog?olcott
|||     |   `* Re: Is this correct Prolog?olcott
|||     |    `* Re: Is this correct Prolog?Richard Damon
|||     |     `* Re: Is this correct Prolog?Aleksy Grabowski
|||     |      +* Re: Is this correct Prolog?Julio Di Egidio
|||     |      |`* Re: Is this correct Prolog?Aleksy Grabowski
|||     |      | `- Re: Is this correct Prolog?Julio Di Egidio
|||     |      +* Re: Is this correct Prolog?Ben
|||     |      |+- Re: Is this correct Prolog?Julio Di Egidio
|||     |      |`* Re: Is this correct Prolog?olcott
|||     |      | +* Re: Is this correct Prolog?Ben
|||     |      | |`* Re: Is this correct Prolog?olcott
|||     |      | | +- Re: Is this correct Prolog?Julio Di Egidio
|||     |      | | +* Re: Is this correct Prolog?Richard Damon
|||     |      | | |`* Re: Is this correct Prolog? [ Tarski ]olcott
|||     |      | | | `* Re: Is this correct Prolog? [ Tarski ]Richard Damon
|||     |      | | |  +* Re: Is this correct Prolog? [ Tarski ]olcott
|||     |      | | |  |`- Re: Is this correct Prolog? [ Tarski ]Richard Damon
|||     |      | | |  `* Re: Is this correct Prolog? [ Tarski ]olcott
|||     |      | | |   +* Re: Is this correct Prolog? [ Tarski ]André G. Isaak
|||     |      | | |   |`- Re: Is this correct Prolog? [ Tarski ]olcott
|||     |      | | |   `* Re: Is this correct Prolog? [ Tarski ]Richard Damon
|||     |      | | |    `* Re: Is this correct Prolog? [ Tarski ]olcott
|||     |      | | |     `* Re: Is this correct Prolog? [ Tarski ]Richard Damon
|||     |      | | |      `- Re: Is this correct Prolog? [ Tarski ]olcott
|||     |      | | `- Re: Is this correct Prolog?Ben
|||     |      | `* Re: Is this correct Prolog?André G. Isaak
|||     |      |  +* Re: Is this correct Prolog?olcott
|||     |      |  |`* Re: Is this correct Prolog?André G. Isaak
|||     |      |  | +* Re: Is this correct Prolog?olcott
|||     |      |  | |`* Re: Is this correct Prolog?André G. Isaak
|||     |      |  | | `* Re: Is this correct Prolog?olcott
|||     |      |  | |  `* Re: Is this correct Prolog?André G. Isaak
|||     |      |  | |   `* Re: Is this correct Prolog?olcott
|||     |      |  | |    `* Re: Is this correct Prolog?André G. Isaak
|||     |      |  | |     `* Re: Is this correct Prolog?olcott
|||     |      |  | |      +- Re: Is this correct Prolog?André G. Isaak
|||     |      |  | |      `- Re: Is this correct Prolog?Richard Damon
|||     |      |  | `- Re: Is this correct Prolog? [ André didn't lolcott
|||     |      |  `* Re: Is this correct Prolog?Jeff Barnett
|||     |      |   `* Re: Is this correct Prolog?olcott
|||     |      |    +* Re: Is this correct Prolog?André G. Isaak
|||     |      |    |`* Re: Is this correct Prolog?olcott
|||     |      |    | `* Re: Is this correct Prolog?Richard Damon
|||     |      |    |  +- Re: Is this correct Prolog?olcott
|||     |      |    |  `* Re: Is this correct Prolog?André G. Isaak
|||     |      |    |   `* Re: Is this correct Prolog?olcott
|||     |      |    |    `* Re: Is this correct Prolog?André G. Isaak
|||     |      |    |     `* Re: Is this correct Prolog?olcott
|||     |      |    |      `- Re: Is this correct Prolog?Richard Damon
|||     |      |    `* Re: Is this correct Prolog?Jeff Barnett
|||     |      |     `- Re: Is this correct Prolog?olcott
|||     |      `* Re: Is this correct Prolog?olcott
|||     |       +- Re: Is this correct Prolog?olcott
|||     |       `- Re: Is this correct Prolog?Richard Damon
|||     `* Re: Is this correct Prolog?Julio Di Egidio
|||      +- Re: Is this correct Prolog?Aleksy Grabowski
|||      `* Re: Is this correct Prolog?olcott
|||       `* Re: Is this correct Prolog?Julio Di Egidio
|||        `- Re: Is this correct Prolog?olcott
||`* Re: Is this correct Prolog?Mikko
|| `* Re: Is this correct Prolog?olcott
||  `* Re: Is this correct Prolog?Richard Damon
||   `* Re: Is this correct Prolog?olcott
||    `* Re: Is this correct Prolog?Richard Damon
||     `* Re: Is this correct Prolog?olcott
||      `- Re: Is this correct Prolog?Richard Damon
|`* Re: Is this correct Prolog?olcott
`* Re: Is this correct Prolog?Richard Damon

Pages:1234567
Re: Is this correct Prolog?

<47081f7d-d863-4cf3-9e91-6d05824997a8n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1411&group=comp.lang.prolog#1411

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:6214:2349:b0:444:2a7b:cd5c with SMTP id hu9-20020a056214234900b004442a7bcd5cmr10499644qvb.77.1651510288032;
Mon, 02 May 2022 09:51:28 -0700 (PDT)
X-Received: by 2002:a25:2e4e:0:b0:648:6652:ca6e with SMTP id
b14-20020a252e4e000000b006486652ca6emr10705552ybn.345.1651510287875; Mon, 02
May 2022 09:51:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.prolog
Date: Mon, 2 May 2022 09:51:27 -0700 (PDT)
In-Reply-To: <t4p1dg$5pd$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=93.41.97.234; posting-account=F3H0JAgAAADcYVukktnHx7hFG5stjWse
NNTP-Posting-Host: 93.41.97.234
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me> <rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ljnn$5k0$1@dont-email.me> <KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com>
<t4ogft$8dt$1@dont-email.me> <t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me> <t4ot2r$o65$1@dont-email.me>
<t4ou99$g2g$3@dont-email.me> <t4ovec$duq$1@dont-email.me> <t4p1dg$5pd$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <47081f7d-d863-4cf3-9e91-6d05824997a8n@googlegroups.com>
Subject: Re: Is this correct Prolog?
From: julio@diegidio.name (Julio Di Egidio)
Injection-Date: Mon, 02 May 2022 16:51:28 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 23
 by: Julio Di Egidio - Mon, 2 May 2022 16:51 UTC

On Monday, 2 May 2022 at 18:38:10 UTC+2, Aleksy Grabowski wrote:
> On 5/2/22 18:04, olcott wrote:
>
> > Is there any Prolog that can detect that the above will not terminate
> > prior to executing it?
>
> As I have said previously, my example is naïve.

And as I have pointed out to you, your "solution" solves nothing at all.

> Maybe if you will think
> hard enough you can make it detect such conditions, probably by writing
> meta-interpreter of some sort, and terminate. Personally, I don't think
> that using Prolog can be accepted as a "rigorous proof" of anything.

That's just nonsense: Prolog is a formal language no less than any other.
Plus you too must think you have a solution to the halting problem...

Enough said.

Julio

Re: Is this correct Prolog?

<t4p4br$b81$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1412&group=comp.lang.prolog#1412

  copy link   Newsgroups: comp.lang.prolog comp.theory comp.ai.philosophy
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jbb@notatt.com (Jeff Barnett)
Newsgroups: comp.lang.prolog,comp.theory,comp.ai.philosophy
Subject: Re: Is this correct Prolog?
Date: Mon, 2 May 2022 11:28:23 -0600
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <t4p4br$b81$1@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 2 May 2022 17:28:27 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="ed778c511e6ee7d3960b96da8b859b29";
logging-data="11521"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+HIg/dthGFhQ4WytfKSnXALnS3jzzmj9I="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Cancel-Lock: sha1:gd1t4Dmbfs02v6I2PYKdQMBaNh4=
In-Reply-To: <t4ot2r$o65$1@dont-email.me>
Content-Language: en-US
 by: Jeff Barnett - Mon, 2 May 2022 17:28 UTC

On 5/2/2022 9:24 AM, olcott wrote: NOTHING OF VALUE

I will attempt to summarize the level of the idiot's understanding of
Prolog: The level is the same as of his understanding of math, logic, C,
C++, software engineering, programming, programming methodology, Turing
Machines, and other specific topics in these general categories. He is
capable of moving his eyes through a few paragraphs but not reading
anything. This is a common learning disability. He can cut and paste
from what little is eyes scan but, in general, he can neither comprehend
the little he's seen nor can he amalgamate concepts from the bits and
pieces he has visited.

His approach to gaining and demonstrating understanding is best
represented by a comic's view of monkeys exploring objects new to them:
biting things, hitting other objects with the new one, stirring feces
and seeing if it will stick and can be thrown etc. The problem with this
metaphor is that monkeys are intelligent and our idiot is not. When the
monkey is done with initial exploration, it has an idea whether the new
object can serve some useful purpose; in any event, the monkey had fun.
The idiot, on the other hand, never discoveries the usefulness of the
potential new knowledge because he doesn't have the attention span or
curiosity to do so. That's why he is an idiot and not as smart or as
wise as the monkey though he too has fun.
--
Jeff Barnett

Re: Is this correct Prolog?

<t4p4vj$5pd$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1413&group=comp.lang.prolog#1413

  copy link   Newsgroups: comp.lang.prolog
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: hurufu@gmail.com (Aleksy Grabowski)
Newsgroups: comp.lang.prolog
Subject: Re: Is this correct Prolog?
Date: Mon, 2 May 2022 19:38:59 +0200
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <t4p4vj$5pd$2@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4ou99$g2g$3@dont-email.me>
<t4ovec$duq$1@dont-email.me> <t4p1dg$5pd$1@dont-email.me>
<47081f7d-d863-4cf3-9e91-6d05824997a8n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 2 May 2022 17:38:59 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a6568d70f53fb3c7501baf4d09c7115e";
logging-data="5933"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5cl+yHMmCmHG1IwdNbErY"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101
Thunderbird/98.0
Cancel-Lock: sha1:Vp8Cj3+r2+IVaGIJ+1QHJpkqfQE=
In-Reply-To: <47081f7d-d863-4cf3-9e91-6d05824997a8n@googlegroups.com>
Content-Language: en-US
 by: Aleksy Grabowski - Mon, 2 May 2022 17:38 UTC

On 5/2/22 18:51, Julio Di Egidio wrote:
> On Monday, 2 May 2022 at 18:38:10 UTC+2, Aleksy Grabowski wrote:
>> On 5/2/22 18:04, olcott wrote:
>>
>>> Is there any Prolog that can detect that the above will not terminate
>>> prior to executing it?
>>
>> As I have said previously, my example is naïve.
>
> And as I have pointed out to you, your "solution" solves nothing at all.

The request from topic poster was — how would I represent sentence "This
sentence is not provable". I came up with some small example of "not
provable sentence" which happens to be a simple infinite loop. I did
*not* claim that it captures anything deep and solves halting problem,
that would've been absurd. If you have any better idea please write it.

>> Maybe if you will think
>> hard enough you can make it detect such conditions, probably by writing
>> meta-interpreter of some sort, and terminate. Personally, I don't think
>> that using Prolog can be accepted as a "rigorous proof" of anything.
>
> That's just nonsense: Prolog is a formal language no less than any other.
> Plus you too must think you have a solution to the halting problem...

No, I don't have a solution for a halting problem, I'm not a freak, but
also solving termination for _some_ specially designed simple programs
doesn't require halting problem. It's some first grader stuff, c'mon.

Like this random example from my head (in C++):

int sum = 0;
for (int i = 5; i > 0; i--)
sum += i;

Can be proved to always terminate, because loop's variant `i` has lower
bound, has total ordering and it's value decreases on each iteration. In
some cases you can automatically detect such loop variants, and
automatically prove termination of _some_ loops.

--
Alex Grabowski

Re: Is this correct Prolog?

<a888214d-b77e-48e7-8454-b4ea7f0a3df3n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1414&group=comp.lang.prolog#1414

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a05:620a:178d:b0:69f:fb4a:683a with SMTP id ay13-20020a05620a178d00b0069ffb4a683amr1131800qkb.685.1651514654998;
Mon, 02 May 2022 11:04:14 -0700 (PDT)
X-Received: by 2002:a81:7d46:0:b0:2f8:f29:c9ea with SMTP id
y67-20020a817d46000000b002f80f29c9eamr12360689ywc.362.1651514654818; Mon, 02
May 2022 11:04:14 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.prolog
Date: Mon, 2 May 2022 11:04:14 -0700 (PDT)
In-Reply-To: <t4p4vj$5pd$2@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=93.41.97.234; posting-account=F3H0JAgAAADcYVukktnHx7hFG5stjWse
NNTP-Posting-Host: 93.41.97.234
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me> <rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ljnn$5k0$1@dont-email.me> <KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com>
<t4ogft$8dt$1@dont-email.me> <t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me> <t4ot2r$o65$1@dont-email.me>
<t4ou99$g2g$3@dont-email.me> <t4ovec$duq$1@dont-email.me> <t4p1dg$5pd$1@dont-email.me>
<47081f7d-d863-4cf3-9e91-6d05824997a8n@googlegroups.com> <t4p4vj$5pd$2@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a888214d-b77e-48e7-8454-b4ea7f0a3df3n@googlegroups.com>
Subject: Re: Is this correct Prolog?
From: julio@diegidio.name (Julio Di Egidio)
Injection-Date: Mon, 02 May 2022 18:04:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Julio Di Egidio - Mon, 2 May 2022 18:04 UTC

On Monday, 2 May 2022 at 19:39:01 UTC+2, Aleksy Grabowski wrote:
> On 5/2/22 18:51, Julio Di Egidio wrote:
> > On Monday, 2 May 2022 at 18:38:10 UTC+2, Aleksy Grabowski wrote:
> >> On 5/2/22 18:04, olcott wrote:
> >>
> >>> Is there any Prolog that can detect that the above will not terminate
> >>> prior to executing it?
> >>
> >> As I have said previously, my example is naïve.
> >
> > And as I have pointed out to you, your "solution" solves nothing at all..
> The request from topic poster was — how would I represent sentence "This
> sentence is not provable". I came up with some small example

No, you didn't, and I have said why twice by now.

> >> Maybe if you will think
> >> hard enough you can make it detect such conditions, probably by writing
> >> meta-interpreter of some sort, and terminate. Personally, I don't think
> >> that using Prolog can be accepted as a "rigorous proof" of anything.
> >
> > That's just nonsense: Prolog is a formal language no less than any other.
> > Plus you too must think you have a solution to the halting problem...
>
> No, I don't have a solution for a halting problem, I'm not a freak, but
> also solving termination for _some_ specially designed simple programs
> doesn't require halting problem. It's some first grader stuff, c'mon.

You bring it up: and it is in fact irrelevant here, as long as the
original question is the question you noticed it is.

Anyway, discussing with Olcott's interlocutors is always even
worse than discussing with Olcott himself...

(EOD.)

Julio

Re: Is this correct Prolog?

<20220502194142.00001a3c@reddwarf.jmc>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1415&group=comp.lang.prolog#1415

  copy link   Newsgroups: comp.lang.prolog comp.theory comp.ai.philosophy
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx03.ams4.POSTED!not-for-mail
From: flibble@reddwarf.jmc (Mr Flibble)
Newsgroups: comp.lang.prolog,comp.theory,comp.ai.philosophy
Subject: Re: Is this correct Prolog?
Message-ID: <20220502194142.00001a3c@reddwarf.jmc>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me>
<t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com>
<t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me>
<t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me>
<t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me>
<t4p4br$b81$1@dont-email.me>
Organization: Jupiter Mining Corp
X-Newsreader: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-w64-mingw32)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Lines: 36
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Mon, 02 May 2022 18:41:42 UTC
Date: Mon, 2 May 2022 19:41:42 +0100
X-Received-Bytes: 2900
 by: Mr Flibble - Mon, 2 May 2022 18:41 UTC

On Mon, 2 May 2022 11:28:23 -0600
Jeff Barnett <jbb@notatt.com> wrote:

> On 5/2/2022 9:24 AM, olcott wrote: NOTHING OF VALUE
>
>
> I will attempt to summarize the level of the idiot's understanding of
> Prolog: The level is the same as of his understanding of math, logic,
> C, C++, software engineering, programming, programming methodology,
> Turing Machines, and other specific topics in these general
> categories. He is capable of moving his eyes through a few paragraphs
> but not reading anything. This is a common learning disability. He
> can cut and paste from what little is eyes scan but, in general, he
> can neither comprehend the little he's seen nor can he amalgamate
> concepts from the bits and pieces he has visited.
>
> His approach to gaining and demonstrating understanding is best
> represented by a comic's view of monkeys exploring objects new to
> them: biting things, hitting other objects with the new one, stirring
> feces and seeing if it will stick and can be thrown etc. The problem
> with this metaphor is that monkeys are intelligent and our idiot is
> not. When the monkey is done with initial exploration, it has an idea
> whether the new object can serve some useful purpose; in any event,
> the monkey had fun. The idiot, on the other hand, never discoveries
> the usefulness of the potential new knowledge because he doesn't have
> the attention span or curiosity to do so. That's why he is an idiot
> and not as smart or as wise as the monkey though he too has fun.

The ad hominem attack is a logical fallacy: so it is in fact YOU who is
throwing excrement at the walls, not Olcott. Attack the argument not the
person, dear.

https://en.wikipedia.org/wiki/Ad_hominem

/Flibble

Re: Is this correct Prolog?

<t4pajk$66n$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1416&group=comp.lang.prolog#1416

  copy link   Newsgroups: comp.lang.prolog
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: polcott2@gmail.com (olcott)
Newsgroups: comp.lang.prolog
Subject: Re: Is this correct Prolog?
Date: Mon, 2 May 2022 14:14:58 -0500
Organization: A noiseless patient Spider
Lines: 68
Message-ID: <t4pajk$66n$1@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4ou99$g2g$3@dont-email.me>
<t4ovec$duq$1@dont-email.me> <t4p1dg$5pd$1@dont-email.me>
<47081f7d-d863-4cf3-9e91-6d05824997a8n@googlegroups.com>
<t4p4vj$5pd$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 2 May 2022 19:15:00 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d3e0e423381921f0d6386f2137e81510";
logging-data="6359"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19nZe1RkkKKTeoZkVL/zRJy"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Cancel-Lock: sha1:xzqGKh8b11dISbYo9kEcOP6/6wg=
In-Reply-To: <t4p4vj$5pd$2@dont-email.me>
Content-Language: en-US
 by: olcott - Mon, 2 May 2022 19:14 UTC

On 5/2/2022 12:38 PM, Aleksy Grabowski wrote:
> On 5/2/22 18:51, Julio Di Egidio wrote:
>> On Monday, 2 May 2022 at 18:38:10 UTC+2, Aleksy Grabowski wrote:
>>> On 5/2/22 18:04, olcott wrote:
>>>
>>>> Is there any Prolog that can detect that the above will not terminate
>>>> prior to executing it?
>>>
>>> As I have said previously, my example is naïve.
>>
>> And as I have pointed out to you, your "solution" solves nothing at all.
>
> The request from topic poster was — how would I represent sentence "This
> sentence is not provable". I came up with some small example of "not
> provable sentence" which happens to be a simple infinite loop. I did
> *not* claim that it captures anything deep and solves halting problem,
> that would've been absurd. If you have any better idea please write it.
>

?- LP = not(LP).
LP = not(LP).

?- unify_with_occurs_check(LP, not(LP)).
false.

I simplified it because the "not" of Prolog "negation as failure"
already means not(true(LP)) when we assume that true(LP) means
provable(LP).

This version precisely captures the pathological self-reference of the
Liar Paradox in a way that Prolog detects and rejects.

"equal" converted to = for SWI Prolog

?- =(foo(Y), Y).
Y = foo(Y).

?- unify_with_occurs_check(Y, foo(Y)).
false

>>> Maybe if you will think
>>> hard enough you can make it detect such conditions, probably by writing
>>> meta-interpreter of some sort, and terminate. Personally, I don't think
>>> that using Prolog can be accepted as a "rigorous proof" of anything.
>>
>> That's just nonsense: Prolog is a formal language no less than any other.
>> Plus you too must think you have a solution to the halting problem...
>
> No, I don't have a solution for a halting problem, I'm not a freak, but
> also solving termination for _some_ specially designed simple programs
> doesn't require halting problem. It's some first grader stuff, c'mon.
>
> Like this random example from my head (in C++):
>
>     int sum = 0;
>     for (int i = 5; i > 0; i--)
>         sum += i;
>
> Can be proved to always terminate, because loop's variant `i` has lower
> bound, has total ordering and it's value decreases on each iteration. In
> some cases you can automatically detect such loop variants, and
> automatically prove termination of _some_ loops.
>

--
Copyright 2022 Pete Olcott "Talent hits a target no one else can hit;
Genius hits a target no one else can see." Arthur Schopenhauer

Re: Is this correct Prolog?

<t4pb2h$al3$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1417&group=comp.lang.prolog#1417

  copy link   Newsgroups: comp.lang.prolog
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: polcott2@gmail.com (olcott)
Newsgroups: comp.lang.prolog
Subject: Re: Is this correct Prolog?
Date: Mon, 2 May 2022 14:22:56 -0500
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <t4pb2h$al3$1@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4ou99$g2g$3@dont-email.me>
<t4ovec$duq$1@dont-email.me> <t4p1dg$5pd$1@dont-email.me>
<47081f7d-d863-4cf3-9e91-6d05824997a8n@googlegroups.com>
<t4p4vj$5pd$2@dont-email.me>
<a888214d-b77e-48e7-8454-b4ea7f0a3df3n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 2 May 2022 19:22:58 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d3e0e423381921f0d6386f2137e81510";
logging-data="10915"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18rYw4gcdjDx0PqyWioVwS1"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Cancel-Lock: sha1:I4HxViNIr73K/Id1/Wv5Cnj/Qao=
In-Reply-To: <a888214d-b77e-48e7-8454-b4ea7f0a3df3n@googlegroups.com>
Content-Language: en-US
 by: olcott - Mon, 2 May 2022 19:22 UTC

On 5/2/2022 1:04 PM, Julio Di Egidio wrote:
> On Monday, 2 May 2022 at 19:39:01 UTC+2, Aleksy Grabowski wrote:
>> On 5/2/22 18:51, Julio Di Egidio wrote:
>>> On Monday, 2 May 2022 at 18:38:10 UTC+2, Aleksy Grabowski wrote:
>>>> On 5/2/22 18:04, olcott wrote:
>>>>
>>>>> Is there any Prolog that can detect that the above will not terminate
>>>>> prior to executing it?
>>>>
>>>> As I have said previously, my example is naïve.
>>>
>>> And as I have pointed out to you, your "solution" solves nothing at all.
>> The request from topic poster was — how would I represent sentence "This
>> sentence is not provable". I came up with some small example
>
> No, you didn't, and I have said why twice by now.
>

Encoding "This sentence is not true" in Prolog:

?- LP = not(LP).
LP = not(LP).

?- unify_with_occurs_check(LP, not(LP)).
false.

The "not" of Prolog's "negation as failure" already means not(true(LP))
when we assume that true(LP) means provable(LP).

>>>> Maybe if you will think
>>>> hard enough you can make it detect such conditions, probably by writing
>>>> meta-interpreter of some sort, and terminate. Personally, I don't think
>>>> that using Prolog can be accepted as a "rigorous proof" of anything.
>>>
>>> That's just nonsense: Prolog is a formal language no less than any other.
>>> Plus you too must think you have a solution to the halting problem...
>>
>> No, I don't have a solution for a halting problem, I'm not a freak, but
>> also solving termination for _some_ specially designed simple programs
>> doesn't require halting problem. It's some first grader stuff, c'mon.
>
> You bring it up: and it is in fact irrelevant here, as long as the
> original question is the question you noticed it is.
>
> Anyway, discussing with Olcott's interlocutors is always even
> worse than discussing with Olcott himself...
>
> (EOD.)
>
> Julio

--
Copyright 2022 Pete Olcott "Talent hits a target no one else can hit;
Genius hits a target no one else can see." Arthur Schopenhauer

Re: Is this correct Prolog?

<t4pb63$al3$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1418&group=comp.lang.prolog#1418

  copy link   Newsgroups: comp.lang.prolog
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: polcott2@gmail.com (olcott)
Newsgroups: comp.lang.prolog
Subject: Re: Is this correct Prolog?
Date: Mon, 2 May 2022 14:24:50 -0500
Organization: A noiseless patient Spider
Lines: 61
Message-ID: <t4pb63$al3$2@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4ou99$g2g$3@dont-email.me>
<t4ovec$duq$1@dont-email.me> <t4p1dg$5pd$1@dont-email.me>
<47081f7d-d863-4cf3-9e91-6d05824997a8n@googlegroups.com>
<t4p4vj$5pd$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 2 May 2022 19:24:51 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d3e0e423381921f0d6386f2137e81510";
logging-data="10915"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/qzMG9OC4/cqONiKg8TI6C"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Cancel-Lock: sha1:1xU9BiJY/HmMwXzZdeiK1MTm8JQ=
In-Reply-To: <t4p4vj$5pd$2@dont-email.me>
Content-Language: en-US
 by: olcott - Mon, 2 May 2022 19:24 UTC

On 5/2/2022 12:38 PM, Aleksy Grabowski wrote:
> On 5/2/22 18:51, Julio Di Egidio wrote:
>> On Monday, 2 May 2022 at 18:38:10 UTC+2, Aleksy Grabowski wrote:
>>> On 5/2/22 18:04, olcott wrote:
>>>
>>>> Is there any Prolog that can detect that the above will not terminate
>>>> prior to executing it?
>>>
>>> As I have said previously, my example is naïve.
>>
>> And as I have pointed out to you, your "solution" solves nothing at all.
>
> The request from topic poster was — how would I represent sentence "This
> sentence is not provable". I came up with some small example of "not
> provable sentence"

I would say that you did an excellent job of that.
What do you think of this version:

?- LP = not(LP).
LP = not(LP).

?- unify_with_occurs_check(LP, not(LP)).
false.

The "not" of Prolog's "negation as failure" already means not(true(LP))
when we assume that true(LP) means provable(LP).

> which happens to be a simple infinite loop. I did
> *not* claim that it captures anything deep and solves halting problem,
> that would've been absurd. If you have any better idea please write it.
>
>>> Maybe if you will think
>>> hard enough you can make it detect such conditions, probably by writing
>>> meta-interpreter of some sort, and terminate. Personally, I don't think
>>> that using Prolog can be accepted as a "rigorous proof" of anything.
>>
>> That's just nonsense: Prolog is a formal language no less than any other.
>> Plus you too must think you have a solution to the halting problem...
>
> No, I don't have a solution for a halting problem, I'm not a freak, but
> also solving termination for _some_ specially designed simple programs
> doesn't require halting problem. It's some first grader stuff, c'mon.
>
> Like this random example from my head (in C++):
>
>     int sum = 0;
>     for (int i = 5; i > 0; i--)
>         sum += i;
>
> Can be proved to always terminate, because loop's variant `i` has lower
> bound, has total ordering and it's value decreases on each iteration. In
> some cases you can automatically detect such loop variants, and
> automatically prove termination of _some_ loops.
>

--
Copyright 2022 Pete Olcott "Talent hits a target no one else can hit;
Genius hits a target no one else can see." Arthur Schopenhauer

Re: Is this correct Prolog?

<t4pb9e$al3$3@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1419&group=comp.lang.prolog#1419

  copy link   Newsgroups: comp.lang.prolog comp.theory comp.ai.philosophy
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: polcott2@gmail.com (olcott)
Newsgroups: comp.lang.prolog,comp.theory,comp.ai.philosophy
Subject: Re: Is this correct Prolog?
Date: Mon, 2 May 2022 14:26:38 -0500
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <t4pb9e$al3$3@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4p4br$b81$1@dont-email.me>
<20220502194142.00001a3c@reddwarf.jmc>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 2 May 2022 19:26:38 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d3e0e423381921f0d6386f2137e81510";
logging-data="10915"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/8bqDZnfKadFVZ4qaZfaEB"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Cancel-Lock: sha1:iDaIWJOWHNRQr9TWcqc3Zvk0+3k=
In-Reply-To: <20220502194142.00001a3c@reddwarf.jmc>
Content-Language: en-US
 by: olcott - Mon, 2 May 2022 19:26 UTC

On 5/2/2022 1:41 PM, Mr Flibble wrote:
> On Mon, 2 May 2022 11:28:23 -0600
> Jeff Barnett <jbb@notatt.com> wrote:
>
>> On 5/2/2022 9:24 AM, olcott wrote: NOTHING OF VALUE
>>
>>
>> I will attempt to summarize the level of the idiot's understanding of
>> Prolog: The level is the same as of his understanding of math, logic,
>> C, C++, software engineering, programming, programming methodology,
>> Turing Machines, and other specific topics in these general
>> categories. He is capable of moving his eyes through a few paragraphs
>> but not reading anything. This is a common learning disability. He
>> can cut and paste from what little is eyes scan but, in general, he
>> can neither comprehend the little he's seen nor can he amalgamate
>> concepts from the bits and pieces he has visited.
>>
>> His approach to gaining and demonstrating understanding is best
>> represented by a comic's view of monkeys exploring objects new to
>> them: biting things, hitting other objects with the new one, stirring
>> feces and seeing if it will stick and can be thrown etc. The problem
>> with this metaphor is that monkeys are intelligent and our idiot is
>> not. When the monkey is done with initial exploration, it has an idea
>> whether the new object can serve some useful purpose; in any event,
>> the monkey had fun. The idiot, on the other hand, never discoveries
>> the usefulness of the potential new knowledge because he doesn't have
>> the attention span or curiosity to do so. That's why he is an idiot
>> and not as smart or as wise as the monkey though he too has fun.
>
> The ad hominem attack is a logical fallacy: so it is in fact YOU who is
> throwing excrement at the walls, not Olcott. Attack the argument not the
> person, dear.
>
> https://en.wikipedia.org/wiki/Ad_hominem
>
> /Flibble
>

Yes Jeff is mostly a Jackass. Once in a very great while he says
something interesting. This is very rare yet thankfully more often than
never.

--
Copyright 2022 Pete Olcott "Talent hits a target no one else can hit;
Genius hits a target no one else can see." Arthur Schopenhauer

Re: Is this correct Prolog?

<t4pbl5$g28$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1420&group=comp.lang.prolog#1420

  copy link   Newsgroups: comp.lang.prolog comp.theory comp.ai.philosophy
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: polcott2@gmail.com (olcott)
Newsgroups: comp.lang.prolog,comp.theory,comp.ai.philosophy
Subject: Re: Is this correct Prolog?
Date: Mon, 2 May 2022 14:32:51 -0500
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <t4pbl5$g28$1@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4p4br$b81$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 2 May 2022 19:32:53 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d3e0e423381921f0d6386f2137e81510";
logging-data="16456"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18BhnYi/zbhFQ3E0e7mAWrh"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Cancel-Lock: sha1:bKHak64qOzLGs8OVZn5MWSykWd8=
In-Reply-To: <t4p4br$b81$1@dont-email.me>
Content-Language: en-US
 by: olcott - Mon, 2 May 2022 19:32 UTC

On 5/2/2022 12:28 PM, Jeff Barnett wrote:
> On 5/2/2022 9:24 AM, olcott wrote: NOTHING OF VALUE
>
>
> I will attempt to summarize the level of the idiot's understanding of
> Prolog: The level is the same as of his understanding of math, logic, C,
> C++, software engineering, programming, programming methodology, Turing
> Machines, and other specific topics in these general categories. He is
> capable of moving his eyes through a few paragraphs but not reading
> anything. This is a common learning disability. He can cut and paste
> from what little is eyes scan but, in general, he can neither comprehend
> the little he's seen nor can he amalgamate concepts from the bits and
> pieces he has visited.
>
> His approach to gaining and demonstrating understanding is best
> represented by a comic's view of monkeys exploring objects new to them:
> biting things, hitting other objects with the new one, stirring feces
> and seeing if it will stick and can be thrown etc. The problem with this
> metaphor is that monkeys are intelligent and our idiot is not. When the
> monkey is done with initial exploration, it has an idea whether the new
> object can serve some useful purpose; in any event, the monkey had fun.
> The idiot, on the other hand, never discoveries the usefulness of the
> potential new knowledge because he doesn't have the attention span or
> curiosity to do so. That's why he is an idiot and not as smart or as
> wise as the monkey though he too has fun.

My key more important understanding of the fundamental architecture of
Prolog is that it is anchored in sound deductive inference thus
correctly all of the errors that have crept into logic since Aristotle's
syllogism.

Start with known truths (Prolog facts) and only apply truth preserving
operations (Prolog rules) to derive conclusions that can be relied on as
true.

Also helpful is Prolog's negation as failure that does not make the huge
mistake of assuming that every expression that is not true must be false.

--
Copyright 2022 Pete Olcott "Talent hits a target no one else can hit;
Genius hits a target no one else can see." Arthur Schopenhauer

Re: Is this correct Prolog?

<t4pc9p$4f6$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1421&group=comp.lang.prolog#1421

  copy link   Newsgroups: comp.lang.prolog
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: hurufu@gmail.com (Aleksy Grabowski)
Newsgroups: comp.lang.prolog
Subject: Re: Is this correct Prolog?
Date: Mon, 2 May 2022 21:43:53 +0200
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <t4pc9p$4f6$1@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4ou99$g2g$3@dont-email.me>
<t4ovec$duq$1@dont-email.me> <t4p1dg$5pd$1@dont-email.me>
<47081f7d-d863-4cf3-9e91-6d05824997a8n@googlegroups.com>
<t4p4vj$5pd$2@dont-email.me> <t4pb63$al3$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 2 May 2022 19:43:53 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a6568d70f53fb3c7501baf4d09c7115e";
logging-data="4582"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19PfgEVBVj5kaZAcpMKqet2"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101
Thunderbird/98.0
Cancel-Lock: sha1:605x+kWkVAiZZQm0THa6smFjDbU=
In-Reply-To: <t4pb63$al3$2@dont-email.me>
Content-Language: en-US
 by: Aleksy Grabowski - Mon, 2 May 2022 19:43 UTC

On 5/2/22 21:24, olcott wrote:
> What do you think of this version:
>
> ?- LP = not(LP).
> LP = not(LP).

In this expression, `not` is treated as a term — a symbol without any
meaning, just text "not", and not the _negation_.

If you want to check if a variable can be different from itself you can
try this:

?- dif(X, X).

But, remember that dif/2 isn't available in all Prolog implementations.

--
Alex Grabowski

Re: Is this correct Prolog?

<t4pdsd$4jk$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1422&group=comp.lang.prolog#1422

  copy link   Newsgroups: comp.lang.prolog
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: polcott2@gmail.com (olcott)
Newsgroups: comp.lang.prolog
Subject: Re: Is this correct Prolog?
Date: Mon, 2 May 2022 15:10:51 -0500
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <t4pdsd$4jk$1@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4ou99$g2g$3@dont-email.me>
<t4ovec$duq$1@dont-email.me> <t4p1dg$5pd$1@dont-email.me>
<47081f7d-d863-4cf3-9e91-6d05824997a8n@googlegroups.com>
<t4p4vj$5pd$2@dont-email.me> <t4pb63$al3$2@dont-email.me>
<t4pc9p$4f6$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 2 May 2022 20:10:53 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d3e0e423381921f0d6386f2137e81510";
logging-data="4724"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ykx3rDct0SbCBO9Ip1s4A"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Cancel-Lock: sha1:bZG5ZaT5GYQhGy8gs3/tg/SicmE=
In-Reply-To: <t4pc9p$4f6$1@dont-email.me>
Content-Language: en-US
 by: olcott - Mon, 2 May 2022 20:10 UTC

On 5/2/2022 2:43 PM, Aleksy Grabowski wrote:
> On 5/2/22 21:24, olcott wrote:
>> What do you think of this version:
>>
>> ?- LP = not(LP).
>> LP = not(LP).
>
> In this expression, `not` is treated as a term — a symbol without any
> meaning, just text "not", and not the _negation_.
>

(SWI-Prolog (threaded, 64 bits, version 7.6.4)
Predicate not/1

not(:Goal)
True if Goal cannot be proven. Retained for compatibility only. New code
should use \+/1.

https://www.swi-prolog.org/pldoc/man?predicate=not/1

SWI Prolog does not accept this, did I say it incorrectly?
?- g :- \+ g.
?- g.

> If you want to check if a variable can be different from itself you can
> try this:
>
>     ?- dif(X, X).
>
> But, remember that dif/2 isn't available in all Prolog implementations.
>

--
Copyright 2022 Pete Olcott "Talent hits a target no one else can hit;
Genius hits a target no one else can see." Arthur Schopenhauer

Re: Is this correct Prolog?

<t4pfef$unr$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1423&group=comp.lang.prolog#1423

  copy link   Newsgroups: comp.lang.prolog
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: hurufu@gmail.com (Aleksy Grabowski)
Newsgroups: comp.lang.prolog
Subject: Re: Is this correct Prolog?
Date: Mon, 2 May 2022 22:37:35 +0200
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <t4pfef$unr$1@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4ou99$g2g$3@dont-email.me>
<t4ovec$duq$1@dont-email.me> <t4p1dg$5pd$1@dont-email.me>
<47081f7d-d863-4cf3-9e91-6d05824997a8n@googlegroups.com>
<t4p4vj$5pd$2@dont-email.me> <t4pb63$al3$2@dont-email.me>
<t4pc9p$4f6$1@dont-email.me> <t4pdsd$4jk$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 2 May 2022 20:37:35 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a6568d70f53fb3c7501baf4d09c7115e";
logging-data="31483"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Po5WEL0xiQZjnKx24yN8G"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101
Thunderbird/98.0
Cancel-Lock: sha1:qWUv/FcLfUg5BDTHZMnQiRiEy/o=
In-Reply-To: <t4pdsd$4jk$1@dont-email.me>
Content-Language: en-US
 by: Aleksy Grabowski - Mon, 2 May 2022 20:37 UTC

On 5/2/22 22:10, olcott wrote:
> (SWI-Prolog (threaded, 64 bits, version 7.6.4)
> Predicate not/1
>
> not(:Goal)
> True if Goal cannot be proven. Retained for compatibility only. New code
> should use \+/1.
>
> https://www.swi-prolog.org/pldoc/man?predicate=not/1
>
> SWI Prolog does not accept this, did I say it incorrectly?
> ?- g :- \+ g.
> ?- g.

You have said it incorrectly. Prolog program has two different parts:
knowledge base and a query.

Knowledge base is usually loaded from the text file before starting
Prolog runtime.

Query can be asked using interactive prompt.

The general distinction is that knowledge base should contain everything
that is known, and query is used to ask questions to that database.

> ?- g :- \+ g.

This expression asks a question (note question mark), which isn't
correct, it should be stated as a fact.

Quick and dirty way to add facts dynamically is to use very special
`assertz/1` predicate. Like this:

?- assertz( (g :- \+ g) ).
true.

Then you can normally ask a question:

?- g.

This question causes infinite loop, so you will never see an answer,
which is correct.

There are couple of strategies to detect infinite recursion in some very
limited number of predicates, but they are quite advanced and probably
we don't want to go there.

--
Alex Grabowski

Re: Is this correct Prolog?

<t4pgm8$sri$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1424&group=comp.lang.prolog#1424

  copy link   Newsgroups: comp.lang.prolog
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: polcott2@gmail.com (olcott)
Newsgroups: comp.lang.prolog
Subject: Re: Is this correct Prolog?
Date: Mon, 2 May 2022 15:58:46 -0500
Organization: A noiseless patient Spider
Lines: 71
Message-ID: <t4pgm8$sri$1@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4ou99$g2g$3@dont-email.me>
<t4ovec$duq$1@dont-email.me> <t4p1dg$5pd$1@dont-email.me>
<47081f7d-d863-4cf3-9e91-6d05824997a8n@googlegroups.com>
<t4p4vj$5pd$2@dont-email.me> <t4pb63$al3$2@dont-email.me>
<t4pc9p$4f6$1@dont-email.me> <t4pdsd$4jk$1@dont-email.me>
<t4pfef$unr$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 2 May 2022 20:58:48 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d3e0e423381921f0d6386f2137e81510";
logging-data="29554"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+URuGpr3M4/LdeN+Nl8d9r"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Cancel-Lock: sha1:BGyjCPlkGTUcl+C34IG8EE9npWw=
In-Reply-To: <t4pfef$unr$1@dont-email.me>
Content-Language: en-US
 by: olcott - Mon, 2 May 2022 20:58 UTC

On 5/2/2022 3:37 PM, Aleksy Grabowski wrote:
> On 5/2/22 22:10, olcott wrote:
>> (SWI-Prolog (threaded, 64 bits, version 7.6.4)
>> Predicate not/1
>>
>> not(:Goal)
>> True if Goal cannot be proven. Retained for compatibility only. New
>> code should use \+/1.
>>
>> https://www.swi-prolog.org/pldoc/man?predicate=not/1
>>
>> SWI Prolog does not accept this, did I say it incorrectly?
>> ?- g :- \+ g.
>> ?- g.
>
> You have said it incorrectly. Prolog program has two different parts:
> knowledge base and a query.
>
> Knowledge base is usually loaded from the text file before starting
> Prolog runtime.
>
> Query can be asked using interactive prompt.
>
> The general distinction is that knowledge base should contain everything
> that is known, and query is used to ask questions to that database.
>
>> ?- g :- \+ g.
>
> This expression asks a question (note question mark), which isn't
> correct, it should be stated as a fact.
>
> Quick and dirty way to add facts dynamically is to use very special
> `assertz/1` predicate. Like this:
>
>     ?- assertz( (g :- \+ g) ).
>     true.
>
> Then you can normally ask a question:
>
>     ?- g.
>
> This question causes infinite loop, so you will never see an answer,
> which is correct.
>

I do see that it is rejected by SWI Prolog:

?- assertz( (g :- \+ g) ).
true.

?- g.
ERROR: Out of local stack
?-

> There are couple of strategies to detect infinite recursion in some very
> limited number of predicates, but they are quite advanced and probably
> we don't want to go there.
>

This one seems to work:

?- LP = \+(true(LP)).
LP = (\+true(LP)).

?- unify_with_occurs_check(LP, \+(true(LP))).
false.

--
Copyright 2022 Pete Olcott "Talent hits a target no one else can hit;
Genius hits a target no one else can see." Arthur Schopenhauer

Re: Is this correct Prolog?

<t4pih2$e3a$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1425&group=comp.lang.prolog#1425

  copy link   Newsgroups: comp.lang.prolog
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: polcott2@gmail.com (olcott)
Newsgroups: comp.lang.prolog
Subject: Re: Is this correct Prolog?
Date: Mon, 2 May 2022 16:30:09 -0500
Organization: A noiseless patient Spider
Lines: 73
Message-ID: <t4pih2$e3a$1@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4ou99$g2g$3@dont-email.me>
<t4ovec$duq$1@dont-email.me> <t4p1dg$5pd$1@dont-email.me>
<47081f7d-d863-4cf3-9e91-6d05824997a8n@googlegroups.com>
<t4p4vj$5pd$2@dont-email.me> <t4pb63$al3$2@dont-email.me>
<t4pc9p$4f6$1@dont-email.me> <t4pdsd$4jk$1@dont-email.me>
<t4pfef$unr$1@dont-email.me> <t4pgm8$sri$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 2 May 2022 21:30:10 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d3e0e423381921f0d6386f2137e81510";
logging-data="14442"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX180G54yWQ+AUGgfvQ+zv5VI"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Cancel-Lock: sha1:pGDeA6gw7vVErfVyvQrTKUW+KcE=
In-Reply-To: <t4pgm8$sri$1@dont-email.me>
Content-Language: en-US
 by: olcott - Mon, 2 May 2022 21:30 UTC

On 5/2/2022 3:58 PM, olcott wrote:
> On 5/2/2022 3:37 PM, Aleksy Grabowski wrote:
>> On 5/2/22 22:10, olcott wrote:
>>> (SWI-Prolog (threaded, 64 bits, version 7.6.4)
>>> Predicate not/1
>>>
>>> not(:Goal)
>>> True if Goal cannot be proven. Retained for compatibility only. New
>>> code should use \+/1.
>>>
>>> https://www.swi-prolog.org/pldoc/man?predicate=not/1
>>>
>>> SWI Prolog does not accept this, did I say it incorrectly?
>>> ?- g :- \+ g.
>>> ?- g.
>>
>> You have said it incorrectly. Prolog program has two different parts:
>> knowledge base and a query.
>>
>> Knowledge base is usually loaded from the text file before starting
>> Prolog runtime.
>>
>> Query can be asked using interactive prompt.
>>
>> The general distinction is that knowledge base should contain
>> everything that is known, and query is used to ask questions to that
>> database.
>>
>>> ?- g :- \+ g.
>>
>> This expression asks a question (note question mark), which isn't
>> correct, it should be stated as a fact.
>>
>> Quick and dirty way to add facts dynamically is to use very special
>> `assertz/1` predicate. Like this:
>>
>>      ?- assertz( (g :- \+ g) ).
>>      true.
>>
>> Then you can normally ask a question:
>>
>>      ?- g.
>>
>> This question causes infinite loop, so you will never see an answer,
>> which is correct.
>>
>
> I do see that it is rejected by SWI Prolog:
>
> ?- assertz( (g :- \+ g) ).
> true.
>
> ?- g.
> ERROR: Out of local stack
> ?-
>
>> There are couple of strategies to detect infinite recursion in some
>> very limited number of predicates, but they are quite advanced and
>> probably we don't want to go there.
>>
>

Here it is even simpler:

?- LP = \+(LP).
LP = (\+LP).

?- unify_with_occurs_check(LP, \+(LP)).
false.

--
Copyright 2022 Pete Olcott "Talent hits a target no one else can hit;
Genius hits a target no one else can see." Arthur Schopenhauer

Re: Is this correct Prolog?

<t4pin9$unr$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1426&group=comp.lang.prolog#1426

  copy link   Newsgroups: comp.lang.prolog
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: hurufu@gmail.com (Aleksy Grabowski)
Newsgroups: comp.lang.prolog
Subject: Re: Is this correct Prolog?
Date: Mon, 2 May 2022 23:33:29 +0200
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <t4pin9$unr$2@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4ou99$g2g$3@dont-email.me>
<t4ovec$duq$1@dont-email.me> <t4p1dg$5pd$1@dont-email.me>
<47081f7d-d863-4cf3-9e91-6d05824997a8n@googlegroups.com>
<t4p4vj$5pd$2@dont-email.me> <t4pb63$al3$2@dont-email.me>
<t4pc9p$4f6$1@dont-email.me> <t4pdsd$4jk$1@dont-email.me>
<t4pfef$unr$1@dont-email.me> <t4pgm8$sri$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 2 May 2022 21:33:29 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a6568d70f53fb3c7501baf4d09c7115e";
logging-data="31483"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18zorRxv9+Xi36GwBNnM9jR"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101
Thunderbird/98.0
Cancel-Lock: sha1:5T5JEynZdIaPC6lsARI4GnlZDkE=
In-Reply-To: <t4pgm8$sri$1@dont-email.me>
Content-Language: en-US
 by: Aleksy Grabowski - Mon, 2 May 2022 21:33 UTC

On 5/2/22 22:58, olcott wrote:
> This one seems to work:
>
> ?- LP = \+(true(LP)).
> LP =  (\+true(LP)).
>
> ?- unify_with_occurs_check(LP, \+(true(LP))).
> false.

Sadly you aren't using Prolog correctly. You still have to *execute*
predicates, because right now they don't mean anything. You can try to
enable predicate tracer and see for yourself that neither \+ nor `true`
is ever executed.

To enable tracer issue following command in the prompt:

?- trace.
true.

Then you can run your queries again. Then don't forget to disable
tracer, by issuing command:

?- notrace.
true.

Also, Prolog doesn't define true/1 predicate it defines only true/0
without any arguments. First of all you need to define it:

?- assertz( (true(X) :- call(X)) ).

Then still you need to execute your goals by using special call/1 predicate.

?- LP = \+(true(LP)), call(LP).

With occurs check you will see that it will fail even sooner, and it
wont be even executed.

--
Alex Grabowski

Re: Is this correct Prolog?

<t4pj7t$j5q$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1427&group=comp.lang.prolog#1427

  copy link   Newsgroups: comp.lang.prolog
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: polcott2@gmail.com (olcott)
Newsgroups: comp.lang.prolog
Subject: Re: Is this correct Prolog?
Date: Mon, 2 May 2022 16:42:20 -0500
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <t4pj7t$j5q$1@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4ou99$g2g$3@dont-email.me>
<t4ovec$duq$1@dont-email.me> <t4p1dg$5pd$1@dont-email.me>
<47081f7d-d863-4cf3-9e91-6d05824997a8n@googlegroups.com>
<t4p4vj$5pd$2@dont-email.me> <t4pb63$al3$2@dont-email.me>
<t4pc9p$4f6$1@dont-email.me> <t4pdsd$4jk$1@dont-email.me>
<t4pfef$unr$1@dont-email.me> <t4pgm8$sri$1@dont-email.me>
<t4pin9$unr$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 2 May 2022 21:42:21 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d3e0e423381921f0d6386f2137e81510";
logging-data="19642"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/pOXJ4AWqcu/VnaJOoRl4f"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Cancel-Lock: sha1:3+s+eN+i60H2TlnK5N8uDdfheyI=
In-Reply-To: <t4pin9$unr$2@dont-email.me>
Content-Language: en-US
 by: olcott - Mon, 2 May 2022 21:42 UTC

On 5/2/2022 4:33 PM, Aleksy Grabowski wrote:
> On 5/2/22 22:58, olcott wrote:
>> This one seems to work:
>>
>> ?- LP = \+(true(LP)).
>> LP =  (\+true(LP)).
>>
>> ?- unify_with_occurs_check(LP, \+(true(LP))).
>> false.
>
> Sadly you aren't using Prolog correctly. You still have to *execute*
> predicates, because right now they don't mean anything. You can try to
> enable predicate tracer and see for yourself that neither \+ nor `true`
> is ever executed.
>
> To enable tracer issue following command in the prompt:
>
>     ?- trace.
>     true.
>
> Then you can run your queries again. Then don't forget to disable
> tracer, by issuing command:
>
>     ?- notrace.
>     true.
>
> Also, Prolog doesn't define true/1 predicate it defines only true/0
> without any arguments. First of all you need to define it:
>
>    ?- assertz( (true(X) :- call(X)) ).
>
> Then still you need to execute your goals by using special call/1
> predicate.
>
>    ?- LP = \+(true(LP)), call(LP).
>
> With occurs check you will see that it will fail even sooner, and it
> wont be even executed.
>

That is why I updated it to this:

?- LP = \+(LP).
LP = (\+LP).

?- unify_with_occurs_check(LP, \+(LP)).
false.

--
Copyright 2022 Pete Olcott "Talent hits a target no one else can hit;
Genius hits a target no one else can see." Arthur Schopenhauer

Re: Is this correct Prolog?

<t4pl2b$4f6$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1428&group=comp.lang.prolog#1428

  copy link   Newsgroups: comp.lang.prolog
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: hurufu@gmail.com (Aleksy Grabowski)
Newsgroups: comp.lang.prolog
Subject: Re: Is this correct Prolog?
Date: Tue, 3 May 2022 00:13:31 +0200
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <t4pl2b$4f6$2@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4ou99$g2g$3@dont-email.me>
<t4ovec$duq$1@dont-email.me> <t4p1dg$5pd$1@dont-email.me>
<47081f7d-d863-4cf3-9e91-6d05824997a8n@googlegroups.com>
<t4p4vj$5pd$2@dont-email.me> <t4pb63$al3$2@dont-email.me>
<t4pc9p$4f6$1@dont-email.me> <t4pdsd$4jk$1@dont-email.me>
<t4pfef$unr$1@dont-email.me> <t4pgm8$sri$1@dont-email.me>
<t4pin9$unr$2@dont-email.me> <t4pj7t$j5q$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 2 May 2022 22:13:31 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="4b907a72124f2b1ddcabbea6b8d013f1";
logging-data="4582"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19PhilZJxyVxulCU34MPOPD"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101
Thunderbird/98.0
Cancel-Lock: sha1:fbT+/J/5zNTl2SBznUHqLrrn4AU=
In-Reply-To: <t4pj7t$j5q$1@dont-email.me>
Content-Language: en-US
 by: Aleksy Grabowski - Mon, 2 May 2022 22:13 UTC

On 5/2/22 23:42, olcott wrote:
> That is why I updated it to this:
>
> ?- LP = \+(LP).
> LP =  (\+LP).
>
> ?- unify_with_occurs_check(LP, \+(LP)).
> false.
>

This still is incorrect.

First of all, enable tracing:

?- trace.
true.

Then *execute* the predicates that you are trying to use:

[trace] ?- LP = \+(LP), call(LP).
Call: (11) _6566=(\+_6566) ? creep
Exit: (11) (\+ \+ \+ \+ \+ \+ \+ \+ \+ ...)=(\+ \+ \+ \+ \+ \+
\+ \+ \+ ...) ? creep
ERROR: Cannot represent due to `cyclic_term'
ERROR: In:
ERROR: [10] '<meta-call>'(user:user: ...)
ERROR: [9] toplevel_call(user:user: ...)

Which will throw an exception, because Prolog can't deal with it.

If you will try to unify without occurs check:

[trace] ?- unify_with_occurs_check(LP, \+(LP)), call(LP).
Call: (11) unify_with_occurs_check(_1010, \+_1010) ? creep
Fail: (11) unify_with_occurs_check(_1010, \+_1010) ? creep
false.

Then you will see, that your operator \+ isn't even mentioned, as it
wasn't executed by the Prolog system, because unification with occurs
check doesn't work for self referential terms. The whole reason of
occurs check is to reject such terms, this is why this check was added
in the first place.

--
Alex Grabowski

Re: Is this correct Prolog?

<pWYbK.48$UWx1.17@fx41.iad>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1429&group=comp.lang.prolog#1429

  copy link   Newsgroups: comp.lang.prolog comp.theory comp.ai.philosophy
Path: i2pn2.org!i2pn.org!news.swapon.de!news.uzoreto.com!npeer.as286.net!npeer-ng0.as286.net!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx41.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.8.1
Subject: Re: Is this correct Prolog?
Content-Language: en-US
Newsgroups: comp.lang.prolog,comp.theory,comp.ai.philosophy
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4p4br$b81$1@dont-email.me>
<t4pbl5$g28$1@dont-email.me>
From: Richard@Damon-Family.org (Richard Damon)
In-Reply-To: <t4pbl5$g28$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 52
Message-ID: <pWYbK.48$UWx1.17@fx41.iad>
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Mon, 2 May 2022 18:28:39 -0400
X-Received-Bytes: 4111
 by: Richard Damon - Mon, 2 May 2022 22:28 UTC

On 5/2/22 3:32 PM, olcott wrote:
> On 5/2/2022 12:28 PM, Jeff Barnett wrote:
>> On 5/2/2022 9:24 AM, olcott wrote: NOTHING OF VALUE
>>
>>
>> I will attempt to summarize the level of the idiot's understanding of
>> Prolog: The level is the same as of his understanding of math, logic,
>> C, C++, software engineering, programming, programming methodology,
>> Turing Machines, and other specific topics in these general
>> categories. He is capable of moving his eyes through a few paragraphs
>> but not reading anything. This is a common learning disability. He can
>> cut and paste from what little is eyes scan but, in general, he can
>> neither comprehend the little he's seen nor can he amalgamate concepts
>> from the bits and pieces he has visited.
>>
>> His approach to gaining and demonstrating understanding is best
>> represented by a comic's view of monkeys exploring objects new to
>> them: biting things, hitting other objects with the new one, stirring
>> feces and seeing if it will stick and can be thrown etc. The problem
>> with this metaphor is that monkeys are intelligent and our idiot is
>> not. When the monkey is done with initial exploration, it has an idea
>> whether the new object can serve some useful purpose; in any event,
>> the monkey had fun. The idiot, on the other hand, never discoveries
>> the usefulness of the potential new knowledge because he doesn't have
>> the attention span or curiosity to do so. That's why he is an idiot
>> and not as smart or as wise as the monkey though he too has fun.
>
> My key more important understanding of the fundamental architecture of
> Prolog is that it is anchored in sound deductive inference thus
> correctly all of the errors that have crept into logic since Aristotle's
> syllogism.
>
> Start with known truths (Prolog facts) and only apply truth preserving
> operations (Prolog rules) to derive conclusions that can be relied on as
> true.
>
> Also helpful is Prolog's negation as failure that does not make the huge
> mistake of assuming that every expression that is not true must be false.
>

IF you are defining that your logic system is limited to what Prolog can
"Prove", that is fine. Just realize that you have just defined that your
logic system can't handle a lot of the real problems in the world, and
in particular, it is very limited in the mathematics it can handle.

I am pretty sure that Prolog is NOT up to handling the logic needed to
handle the mathematics needed to express Godel's G, or the Halting Problem.

Thus, your "Proof" that these Theorems are "Wrong" is incorrect, you
have only proven that your limited logic system can't reach them in
expressibility.

Re: Is this correct Prolog?

<34ZbK.18092$h6X.14491@fx04.iad>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1430&group=comp.lang.prolog#1430

  copy link   Newsgroups: comp.theory comp.ai.philosophy comp.lang.prolog
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.uzoreto.com!npeer.as286.net!npeer-ng0.as286.net!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx04.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.8.1
Subject: Re: Is this correct Prolog?
Content-Language: en-US
Newsgroups: comp.theory,comp.ai.philosophy,comp.lang.prolog
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<20220501185933.000045ad@reddwarf.jmc>
<d9KdnQdt_bnfTPP_nZ2dnUU7_8zNnZ2d@giganews.com> <t4mjq0$7nf$1@dont-email.me>
<hYKdnb4ZyYB0RfP_nZ2dnUU7_83NnZ2d@giganews.com> <t4mmmg$t4u$1@dont-email.me>
<APOdndfNnIH7ffP_nZ2dnUU7_83NnZ2d@giganews.com> <t4mnu6$96k$1@dont-email.me>
<GYmdnUXY8oBkfvP_nZ2dnUU7_83NnZ2d@giganews.com> <t4moi2$cct$1@dont-email.me>
<Z6edncOlEsUXevP_nZ2dnUU7_83NnZ2d@giganews.com> <t4mr1h$1q0$1@dont-email.me>
<SJGdnZf-9cUobfP_nZ2dnUU7_8xh4p2d@giganews.com> <t4mrsh$871$1@dont-email.me>
<Q56dnS17EP9PnvL_nZ2dnUU7_8xh4p2d@giganews.com>
<xxDbK.161779$Kdf.72054@fx96.iad> <t4n275$mr8$1@dont-email.me>
<2zEbK.452500$t2Bb.336668@fx98.iad> <t4nabt$5s4$2@dont-email.me>
<CwGbK.162528$Kdf.21366@fx96.iad> <t4ndjk$sn3$1@dont-email.me>
<n8HbK.388178$f2a5.198381@fx48.iad> <t4nf25$51n$1@dont-email.me>
<HCHbK.487830$SeK9.17961@fx97.iad> <t4nho0$ks6$1@dont-email.me>
<G_ObK.690634$LN2.672813@fx13.iad> <t4olod$mce$1@dont-email.me>
From: Richard@Damon-Family.org (Richard Damon)
In-Reply-To: <t4olod$mce$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 321
Message-ID: <34ZbK.18092$h6X.14491@fx04.iad>
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Mon, 2 May 2022 18:38:57 -0400
X-Received-Bytes: 16199
 by: Richard Damon - Mon, 2 May 2022 22:38 UTC

On 5/2/22 9:19 AM, olcott wrote:
> On 5/2/2022 6:10 AM, Richard Damon wrote:
>> On 5/1/22 11:04 PM, olcott wrote:
>>> On 5/1/2022 9:47 PM, Richard Damon wrote:
>>>> On 5/1/22 10:18 PM, olcott wrote:
>>>>> On 5/1/2022 9:14 PM, Richard Damon wrote:
>>>>>>
>>>>>> On 5/1/22 9:53 PM, olcott wrote:
>>>>>>> On 5/1/2022 8:32 PM, Richard Damon wrote:
>>>>>>>> On 5/1/22 8:58 PM, olcott wrote:
>>>>>>>>> On 5/1/2022 6:18 PM, Richard Damon wrote:
>>>>>>>>>> On 5/1/22 6:39 PM, olcott wrote:
>>>>>>>>>>> On 5/1/2022 5:08 PM, Richard Damon wrote:
>>>>>>>>>>>> On 5/1/22 6:04 PM, olcott wrote:
>>>>>>>>>>>>> On 5/1/2022 3:51 PM, André G. Isaak wrote:
>>>>>>>>>>>>>> On 2022-05-01 14:42, olcott wrote:
>>>>>>>>>>>>>>> On 5/1/2022 3:37 PM, André G. Isaak wrote:
>>>>>>>>>>>>>>>> On 2022-05-01 14:03, olcott wrote:
>>>>>>>>>>>>>>>>> On 5/1/2022 2:54 PM, André G. Isaak wrote:
>>>>>>>>>>>>>>>>>> On 2022-05-01 13:48, olcott wrote:
>>>>>>>>>>>>>>>>>>> On 5/1/2022 2:44 PM, André G. Isaak wrote:
>>>>>>>>>>>>>>>>>>>> On 2022-05-01 13:32, olcott wrote:
>>>>>>>>>>>>>>>>>>>>> On 5/1/2022 2:22 PM, André G. Isaak wrote:
>>>>>>>>>>>>>>>>>>>>>> On 2022-05-01 13:00, olcott wrote:
>>>>>>>>>>>>>>>>>>>>>>> On 5/1/2022 1:33 PM, André G. Isaak wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> So which categories are you claiming are
>>>>>>>>>>>>>>>>>>>>>>>> involved? Claiming something is a 'category
>>>>>>>>>>>>>>>>>>>>>>>> error' means nothing if you don't specify the
>>>>>>>>>>>>>>>>>>>>>>>> actual categories involved.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> André
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> My original thinking was that (1) and (2) and the
>>>>>>>>>>>>>>>>>>>>>>> Liar Paradox all demonstrate the exact same
>>>>>>>>>>>>>>>>>>>>>>> error. I only have considered (3) in recent
>>>>>>>>>>>>>>>>>>>>>>> years, prior to that I never heard of (3).
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> The category error would be that none of them is
>>>>>>>>>>>>>>>>>>>>>>> in the category of truth bearers. For Gödel's G
>>>>>>>>>>>>>>>>>>>>>>> and Tarski's p it would mean that the category
>>>>>>>>>>>>>>>>>>>>>>> error is that G and p are not logic sentences.
>>>>>>>>>>>>>>>>>>>>>>> https://en.wikipedia.org/wiki/Sentence_(mathematical_logic)
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> And how can you possibly justify your claim that
>>>>>>>>>>>>>>>>>>>>>> Gödel's G is not a truth bearer?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Do I have to say the same thing 500 times before
>>>>>>>>>>>>>>>>>>>>> you bother to notice that I said it once?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 14 Every epistemological antinomy can likewise be
>>>>>>>>>>>>>>>>>>>>> used for a similar undecidability proof
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Therefore LP ↔ ~True(LP) can be used for a similar
>>>>>>>>>>>>>>>>>>>>> undecidability proof, and LP ↔ ~True(LP) is clearly
>>>>>>>>>>>>>>>>>>>>> semantically ill-formed.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> ?- LP = not(true(LP)).
>>>>>>>>>>>>>>>>>>>>> LP = not(true(LP)).
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> ?- unify_with_occurs_check(LP, not(true(LP))).
>>>>>>>>>>>>>>>>>>>>> false. // false means semantically ill-formed.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> And what does any of the above have to do with what
>>>>>>>>>>>>>>>>>>>> I state below? That's your faulty attempt at
>>>>>>>>>>>>>>>>>>>> expressing The Liar in Prolog, which has nothing to
>>>>>>>>>>>>>>>>>>>> do with Gödel's G. G has *a relationship* to The
>>>>>>>>>>>>>>>>>>>> Liar, but G is *very* different from The Liar in
>>>>>>>>>>>>>>>>>>>> crucial ways.
>>>>>>>>>>>>>>>>>>> 14 Every epistemological antinomy can likewise be
>>>>>>>>>>>>>>>>>>> used for a similar
>>>>>>>>>>>>>>>>>>> undecidability proof
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Therfore the liar paradox can likewise be used for a
>>>>>>>>>>>>>>>>>>> similar
>>>>>>>>>>>>>>>>>>> undecidability proof, nitwit.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I would not call you a nitwit except that you so
>>>>>>>>>>>>>>>>>>> persistently make sure to ignore my key points, thus
>>>>>>>>>>>>>>>>>>> probably making you a jackass rather than a nitwit.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> And again, you snipped all of the
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> God damned attempt to get away with the dishonest dodge
>>>>>>>>>>>>>>>>> of the strawman error.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 14 Every epistemological antinomy can likewise be used
>>>>>>>>>>>>>>>>> for a similar undecidability proof
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Do you not know what the word "every" means?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Do you understand the difference between 'close
>>>>>>>>>>>>>>>> relationship' and 'the same'?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> You freaking dishonest bastard
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> The only one being dishonest here is you as you keep
>>>>>>>>>>>>>> snipping the substance of my post.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Gödel claims there is a *close relationship* between The
>>>>>>>>>>>>>> Liar and G. He most certainly does *not* claim that they
>>>>>>>>>>>>>> are the same. (That one can construct similar proofs which
>>>>>>>>>>>>>> bear a similar close relationship to other antinomies is
>>>>>>>>>>>>>> hardly relevant since it is The Liar which is under
>>>>>>>>>>>>>> discussion).
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> There are two crucial differences between G and The Liar:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> (a) G does *not* assert its own unprovability whereas The
>>>>>>>>>>>>>> Liar *does* assert its own falsity.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> (b) G is most definitely a truth-bearer even if The Liar
>>>>>>>>>>>>>> is not.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Your claim the Gödel's theorem is a 'category error' is
>>>>>>>>>>>>>> predicated on the fact that you don't grasp (b) above. I'm
>>>>>>>>>>>>>> not going to retype my explanation for this as I have
>>>>>>>>>>>>>> already given it in a previous post. You're more than
>>>>>>>>>>>>>> welcome to go back and read that post. Unless you actually
>>>>>>>>>>>>>> have some comment on that explanation, there's no point
>>>>>>>>>>>>>> repeating yourself.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> André
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 14 Every epistemological antinomy can likewise be used for
>>>>>>>>>>>>> a similar undecidability proof
>>>>>>>>>>>>>
>>>>>>>>>>>>> and the Liar Paradox is and is an epistemological antinomy
>>>>>>>>>>>>> you lying bastard.
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> So, there is a difference between being used for and being
>>>>>>>>>>>> just like.
>>>>>>>>>>>
>>>>>>>>>>> sufficiently equivalent
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> You can PROVE it?
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> I backed André into a corner and forced him to quit lying
>>>>>>>>>
>>>>>>>>
>>>>>>>> So, No. Note a trimming to change meaning, the original was:
>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> 14 Every epistemological antinomy can likewise be used for a
>>>>>>>>>>>> similar undecidability proof
>>>>>>>>>>>>
>>>>>>>>>>>> and the Liar Paradox is and is an epistemological antinomy
>>>>>>>>>>>> you lying bastard.
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> So, there is a difference between being used for and being
>>>>>>>>>>> just like.
>>>>>>>>>>
>>>>>>>>>> sufficiently equivalent
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> You can PROVE it?
>>>>>>>>
>>>>>>>> So, clearly the requested proof was that about USING the
>>>>>>>> epistemolgocal antinomy and it being just like one so not a
>>>>>>>> Truth Bearer. Note, the comment that you claimed you backed him
>>>>>>>> into isn't about that, so you are just proving yourself to be a
>>>>>>>> deciver.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> On 5/1/2022 6:44 PM, André G. Isaak wrote:
>>>>>>>>>  > Yes. The Liar and the Liar can be used for similar
>>>>>>>>> undecidability
>>>>>>>>>  > proofs. I have no idea what it is you hope to achieve by
>>>>>>>>> arguing for a
>>>>>>>>>  > truism.
>>>>>>>>>
>>>>>>>>
>>>>>>>> Nice out of context quoting, showing again you are the deciver.
>>>>>>>
>>>>>>> If you look at the full context of many messages you will see
>>>>>>> that he kept continuing to deny that the Liar Paradox can be used
>>>>>>> for similar undecidability proofs at least a half dozen times.
>>>>>>> Only when I made denying this look utterly ridiculously foolish
>>>>>>> did he finally quit lying about it.
>>>>>>>
>>>>>>
>>>>>> No, he says that the use of the Liar Paradox in the form that
>>>>>> Godel does doesn't make the Godel Sentence a non-truth holder.
>>>>>>
>>>>>
>>>>> If you look at the actual facts you will see that he continued to
>>>>> deny that kept continuing to deny that the Liar Paradox can be used
>>>>> for similar undecidability proofs at least a half dozen times.
>>>>>
>>>>> If you make sure to knowingly contradict the verified facts then
>>>>> Revelations 21:8 may eventually apply to you.
>>>>>
>>>>
>>>> You mean like when he said (and you snipped):
>>>>
>>>>>
>>>>> The only one being dishonest here is you as you keep snipping the
>>>>> substance of my post.
>>>>>
>>>>> Gödel claims there is a *close relationship* between The Liar and
>>>>> G. He most certainly does *not* claim that they are the same. (That
>>>>> one can construct similar proofs which bear a similar close
>>>>> relationship to other antinomies is hardly relevant since it is The
>>>>> Liar which is under discussion).
>>>>>
>>>>> There are two crucial differences between G and The Liar:
>>>>>
>>>>> (a) G does *not* assert its own unprovability whereas The Liar
>>>>> *does* assert its own falsity.
>>>>>
>>>>> (b) G is most definitely a truth-bearer even if The Liar is not.
>>>>>
>>>>> Your claim the Gödel's theorem is a 'category error' is predicated
>>>>> on the fact that you don't grasp (b) above. I'm not going to retype
>>>>> my explanation for this as I have already given it in a previous
>>>>> post. You're more than welcome to go back and read that post.
>>>>> Unless you actually have some comment on that explanation, there's
>>>>> no point repeating yourself.
>>>>>
>>>>
>>>> Maybe you should check your OWN facts.
>>>>
>>>
>>> He is focusing on the dishonest dodge of the strawman error by making
>>> sure to ignore that in another quote Gödel said that Gödel's G is
>>> sufficiently equivalent to the Liar Paradox on the basis that the
>>> Liar Paradox is an epistemological antinomy, whereas the quote he
>>> keeps switching back to is less clear on this point.
>>>
>>> Since I focused on correcting his mistake several times it finally
>>> got down to the point where it was clear that he was a lying bastard.
>>>
>>> I am utterly immune to gas lighting.
>>>
>>>> He is CLEARLY not saying that the Liar Paradox can't be used for
>>>> this sort of proof, because he talks about its form being used.
>>>>
>>>
>>> He continued to refer to the other quote of Gödel that is much more
>>> vague on the equivalence between Gödel's G as his basis that
>>> equivalence cannot be be determined even when I kept focusing him
>>> back on the quote that does assert sufficient equivalence exists. I
>>> did this six times.
>>>
>>> At this point my assessment that he was a lying bastard was
>>> sufficiently validated.
>>>
>>> Are you a lying bastard too, or will you acknowledge that my
>>> assessment is correct?
>>>
>>
>> I will acknowledge that you have proven yourself to be the lying bastard.
>>
>> YOU have REPEADTEDLY trimmed out important parts of the conversation
>> either to INTENTIONALLY be deceptive, or because you are so
>> incompetent at this material that you don't know what is important.
>>
>
> I trim so that we can stay focused on the point at hand and not diverge
> into many unrelated points. The main way that all of the rebuttals of my
> work are formed is changing the subject to another different subject and
> the rebutting this different subject. I cut all that bullshit out.


Click here to read the complete article
Re: Is this correct Prolog?

<t4pmmd$4f6$3@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1431&group=comp.lang.prolog#1431

  copy link   Newsgroups: comp.lang.prolog comp.theory comp.ai.philosophy
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: hurufu@gmail.com (Aleksy Grabowski)
Newsgroups: comp.lang.prolog,comp.theory,comp.ai.philosophy
Subject: Re: Is this correct Prolog?
Date: Tue, 3 May 2022 00:41:16 +0200
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <t4pmmd$4f6$3@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4p4br$b81$1@dont-email.me>
<t4pbl5$g28$1@dont-email.me> <pWYbK.48$UWx1.17@fx41.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 2 May 2022 22:41:17 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="4b907a72124f2b1ddcabbea6b8d013f1";
logging-data="4582"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/F5+Xq4vkxQOgbSkWmurvW"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101
Thunderbird/98.0
Cancel-Lock: sha1:xlHUFUkMef4L7b+Lu6S5PoHKYYw=
In-Reply-To: <pWYbK.48$UWx1.17@fx41.iad>
Content-Language: en-US
 by: Aleksy Grabowski - Mon, 2 May 2022 22:41 UTC

> IF you are defining that your logic system is limited to what Prolog can
> "Prove", that is fine. Just realize that you have just defined that your
> logic system can't handle a lot of the real problems in the world, and
> in particular, it is very limited in the mathematics it can handle.
>
> I am pretty sure that Prolog is NOT up to handling the logic needed to
> handle the mathematics needed to express Godel's G, or the Halting Problem.
>
> Thus, your "Proof" that these Theorems are "Wrong" is incorrect, you
> have only proven that your limited logic system can't reach them in
> expressibility.
>

Thanks for confirmation, that's what exactly what I was trying to tell
to topic poster in one of my previous posts. Prolog in it's bare form is
a bad theorem solver. It wasn't designed a such.

If you want to deal with such problems maybe it is better to use Coq
theorem prover, I've never used it by myself, but it looks like one of
the best proving assistants out there.

--
Alex Grabowski

Re: Is this correct Prolog?

<16f8132d-a221-452a-b109-31ccdd02e012n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1432&group=comp.lang.prolog#1432

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:ad4:5cae:0:b0:45a:90ea:43e with SMTP id q14-20020ad45cae000000b0045a90ea043emr4206980qvh.46.1651532405752;
Mon, 02 May 2022 16:00:05 -0700 (PDT)
X-Received: by 2002:a05:6902:1c2:b0:63e:6bd:3a5b with SMTP id
u2-20020a05690201c200b0063e06bd3a5bmr11748516ybh.424.1651532405554; Mon, 02
May 2022 16:00:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.prolog
Date: Mon, 2 May 2022 16:00:05 -0700 (PDT)
In-Reply-To: <t4pmmd$4f6$3@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=93.41.97.234; posting-account=F3H0JAgAAADcYVukktnHx7hFG5stjWse
NNTP-Posting-Host: 93.41.97.234
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me> <rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ljnn$5k0$1@dont-email.me> <KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com>
<t4ogft$8dt$1@dont-email.me> <t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me> <t4ot2r$o65$1@dont-email.me>
<t4p4br$b81$1@dont-email.me> <t4pbl5$g28$1@dont-email.me> <pWYbK.48$UWx1.17@fx41.iad>
<t4pmmd$4f6$3@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <16f8132d-a221-452a-b109-31ccdd02e012n@googlegroups.com>
Subject: Re: Is this correct Prolog?
From: julio@diegidio.name (Julio Di Egidio)
Injection-Date: Mon, 02 May 2022 23:00:05 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 29
 by: Julio Di Egidio - Mon, 2 May 2022 23:00 UTC

On Tuesday, 3 May 2022 at 00:41:18 UTC+2, Aleksy Grabowski wrote:
> On Tuesday, 3 May 2022 at 00:38:57 UTC+2, Richard Damon wrote:
> > IF you are defining that your logic system is limited to what Prolog can
> > "Prove", that is fine. Just realize that you have just defined that your
> > logic system can't handle a lot of the real problems in the world, and
> > in particular, it is very limited in the mathematics it can handle.
> >
> > I am pretty sure that Prolog is NOT up to handling the logic needed to
> > handle the mathematics needed to express Godel's G, or the Halting Problem.
> >
> > Thus, your "Proof" that these Theorems are "Wrong" is incorrect, you
> > have only proven that your limited logic system can't reach them in
> > expressibility.
> >
> Thanks for confirmation, that's what exactly what I was trying to tell
> to topic poster in one of my previous posts. Prolog in it's bare form is
> a bad theorem solver. It wasn't designed a such.
>
> If you want to deal with such problems maybe it is better to use Coq
> theorem prover, I've never used it by myself, but it looks like one of
> the best proving assistants out there.

Prolog is a Turing-complete language, duh.
When Dunning-Kruger is a compliment...

Get the fuck out of comp.lang.prolog.

*Plonk*

Julio

Re: Is this correct Prolog?

<t4pq46$unr$3@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1433&group=comp.lang.prolog#1433

  copy link   Newsgroups: comp.lang.prolog
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: hurufu@gmail.com (Aleksy Grabowski)
Newsgroups: comp.lang.prolog
Subject: Re: Is this correct Prolog?
Date: Tue, 3 May 2022 01:39:50 +0200
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <t4pq46$unr$3@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4p4br$b81$1@dont-email.me>
<t4pbl5$g28$1@dont-email.me> <pWYbK.48$UWx1.17@fx41.iad>
<t4pmmd$4f6$3@dont-email.me>
<16f8132d-a221-452a-b109-31ccdd02e012n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 2 May 2022 23:39:51 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="4b907a72124f2b1ddcabbea6b8d013f1";
logging-data="31483"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX180VfZKVTjulsxcLM1HskhE"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101
Thunderbird/98.0
Cancel-Lock: sha1:edK+px/duFBax6VHhOf4KZf4Wu8=
In-Reply-To: <16f8132d-a221-452a-b109-31ccdd02e012n@googlegroups.com>
Content-Language: en-US
 by: Aleksy Grabowski - Mon, 2 May 2022 23:39 UTC

On 5/3/22 01:00, Julio Di Egidio wrote:
> Prolog is a Turing-complete language, duh.
> When Dunning-Kruger is a compliment...
>
> Get the fuck out of comp.lang.prolog.
>
> *Plonk*
>
> Julio

I've already wrote it in one of my previous posts, I just didn't want to
repeat myself:

> Prolog *by itself* is a very bad theorem prover and it is very limited
> framework for formal logic, because it implements only Horn clauses.
> However it is a very good programming language and you can implement
> any theorem prover in it, like you can implement any theorem prover
> in C++ or Java.

I probably have found your profile on the internet and I conclude that
your arrogance directly stems from your lack of any formal education.
You didn't graduate from any high school and that's why you want to show
everybody your perceived superiority.

I'll just ignore you for the time being.

--
Alex Grabowski

Re: Is this correct Prolog?

<87a6bzfqkz.fsf@bsb.me.uk>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1434&group=comp.lang.prolog#1434

  copy link   Newsgroups: comp.lang.prolog comp.theory comp.ai.philosophy
Followup: comp.theory
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ben.usenet@bsb.me.uk (Ben)
Newsgroups: comp.lang.prolog,comp.theory,comp.ai.philosophy
Subject: Re: Is this correct Prolog?
Followup-To: comp.theory
Date: Tue, 03 May 2022 00:43:40 +0100
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <87a6bzfqkz.fsf@bsb.me.uk>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com>
<t4ogft$8dt$1@dont-email.me> <t4ol6v$hpr$1@dont-email.me>
<t4ommc$8dt$2@dont-email.me> <t4ontc$93n$1@dont-email.me>
<t4opqo$g2g$1@dont-email.me> <t4ot2r$o65$1@dont-email.me>
<t4p4br$b81$1@dont-email.me> <t4pbl5$g28$1@dont-email.me>
<pWYbK.48$UWx1.17@fx41.iad> <t4pmmd$4f6$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="c3b430b0661d1b9b2cecb246d558f065";
logging-data="31813"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182kUopmJ7i+N93Luz0iZPhGs0PPJG73Co="
Cancel-Lock: sha1:Z1mZgnHVQB0JsjKhVLadO0fIndA=
sha1:fLFWte0sQR4nQLWyAz2jcJiCJGI=
X-BSB-Auth: 1.f455c024d4cd63ab6cbb.20220503004340BST.87a6bzfqkz.fsf@bsb.me.uk
 by: Ben - Mon, 2 May 2022 23:43 UTC

Aleksy Grabowski <hurufu@gmail.com> writes:

>> IF you are defining that your logic system is limited to what Prolog can "Prove", that is fine. Just realize that you have just defined that your
>> logic system can't handle a lot of the real problems in the world, and in particular, it is very limited in the mathematics it can handle.
>> I am pretty sure that Prolog is NOT up to handling the logic needed to
>> handle the mathematics needed to express Godel's G, or the Halting Problem.
>> Thus, your "Proof" that these Theorems are "Wrong" is incorrect, you
>> have only proven that your limited logic system can't reach them in expressibility.
>
> Thanks for confirmation, that's what exactly what I was trying to tell
> to topic poster in one of my previous posts. Prolog in it's bare form
> is a bad theorem solver. It wasn't designed a such.
>
> If you want to deal with such problems maybe it is better to use Coq
> theorem prover, I've never used it by myself, but it looks like one of
> the best proving assistants out there.

And indeed there is a fully formalised proof of GIT in Coq (though I
think it's the slightly tighter Gödel-Rosser version).

--
Ben.

Re: Is this correct Prolog?

<t4prvg$oc2$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1435&group=comp.lang.prolog#1435

  copy link   Newsgroups: comp.lang.prolog comp.theory comp.ai.philosophy
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: polcott2@gmail.com (olcott)
Newsgroups: comp.lang.prolog,comp.theory,comp.ai.philosophy
Subject: Re: Is this correct Prolog?
Date: Mon, 2 May 2022 19:11:26 -0500
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <t4prvg$oc2$1@dont-email.me>
References: <qcOdndRse-RjQ_H_nZ2dnUU7_83NnZ2d@giganews.com>
<t4ivm8$c4v$1@dont-email.me> <t4jubn$r31$1@dont-email.me>
<rcadndtC6vGrOPD_nZ2dnUU7_83NnZ2d@giganews.com> <t4ljnn$5k0$1@dont-email.me>
<KtadnUFsIcTQ9fP_nZ2dnUU7_8xh4p2d@giganews.com> <t4ogft$8dt$1@dont-email.me>
<t4ol6v$hpr$1@dont-email.me> <t4ommc$8dt$2@dont-email.me>
<t4ontc$93n$1@dont-email.me> <t4opqo$g2g$1@dont-email.me>
<t4ot2r$o65$1@dont-email.me> <t4p4br$b81$1@dont-email.me>
<t4pbl5$g28$1@dont-email.me> <pWYbK.48$UWx1.17@fx41.iad>
<t4pmmd$4f6$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 3 May 2022 00:11:28 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="e4ddfd19553b2d0386451423b6459edd";
logging-data="24962"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19uE/jGHc59zf+9APs4iR0/"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Cancel-Lock: sha1:s58uUmpTj2wogxf9BwhSyHJz8hM=
In-Reply-To: <t4pmmd$4f6$3@dont-email.me>
Content-Language: en-US
 by: olcott - Tue, 3 May 2022 00:11 UTC

On 5/2/2022 5:41 PM, Aleksy Grabowski wrote:
>> IF you are defining that your logic system is limited to what Prolog
>> can "Prove", that is fine. Just realize that you have just defined
>> that your logic system can't handle a lot of the real problems in the
>> world, and in particular, it is very limited in the mathematics it can
>> handle.
>>
>> I am pretty sure that Prolog is NOT up to handling the logic needed to
>> handle the mathematics needed to express Godel's G, or the Halting
>> Problem.
>>
>> Thus, your "Proof" that these Theorems are "Wrong" is incorrect, you
>> have only proven that your limited logic system can't reach them in
>> expressibility.
>>
>
> Thanks for confirmation, that's what exactly what I was trying to tell
> to topic poster in one of my previous posts. Prolog in it's bare form is
> a bad theorem solver. It wasn't designed a such.
>
> If you want to deal with such problems maybe it is better to use Coq
> theorem prover, I've never used it by myself, but it looks like one of
> the best proving assistants out there.
>

I might take a look at it. The key advantage of Prolog that that by
basing its analysis on facts and rules and having negation as failure it
corrects all of the errors of formal logic systems.

Prolog does not make the mistake of assuming that when an expression is
not true that it must be false. Because of this Prolog can detect
semantically ill-formed expressions that formal logic simply assumes are
correct.

--
Copyright 2022 Pete Olcott "Talent hits a target no one else can hit;
Genius hits a target no one else can see." Arthur Schopenhauer


devel / comp.lang.prolog / Re: Is this correct Prolog?

Pages:1234567
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor