Article View: comp.lang.prolog
Article #20P(purity) just flipped back to zero [Ulrich Neumerkels Armageddon] (Was: Can the "Comparison of Prolog implementations" keep)
From: Mild Shock
Date: Sat, 17 Oct 2026 19:07
Date: Sat, 17 Oct 2026 19:07
123 lines
4708 bytes
4708 bytes
Hi,
When we have this here:
?- current_prolog_flag(occurs_check, X).
X = false.
Whats the secret sauce for dif/2 ?
Now I get:
/* Shumway Prolog 0.9.3 */
?- time(tidy(14900)), fail.
% 11.074 seconds, 938,780 heap cells
false.
Compare this to:
/* SWI-Prolog 10.1.15-46-gd7d2a2bb8 */
?- time(tidy(1040000)).
% % 32,244,992 inferences, 1.125 CPU in 1.159 seconds (97% CPU, 28662215
Lips)
% true.
Bye
P.S.: This is the test code:
/* Ulrich Neumerkels Armageddon */
tidy(N) :-
length(Xs, N),
dif(V, X), dif(V, Xs),
maplist(dif(_), Xs).
Mild Shock schrieb:
> Hi,
>
> Also the landscape is exploding with new WebPrologs:
>
> The Retina project began in 2021 and became EyeProlog in 2026
> https://github.com/eyereasoner/eyeprolog
>
> Shumway is a cross-platform Prolog engine for .NET**
> https://github.com/gusbro/Shumway
>
> So the ISO core standard payed off? Congratulations!
>
> Bye
>
> P.S.: This page probably lost it completely:
>
> Comparison of Prolog implementations
> https://en.wikipedia.org/wiki/Comparison_of_Prolog_implementations
>
> Mild Shock schrieb:
>> Hi,
>>
>> While there is a Prolog-Python interaction
>> PIP (*), there seems to be no AI-Prolog
>> interaction PIP. The prolog agent toolkit
>>
>> is surely an instance of the later hypothetical
>> PIP, but has also alternative takes, like here:
>>
>> An HTTP/MCP-Interface for Scryer Prolog
>> https://github.com/Christopher22/charon
>>
>> Also an alternative take for the former PIP “Janus”:
>>
>> ScryNeuro: A Prolog ↔ Python interface
>> https://github.com/sporeking/ScryNeuro
>>
>> Both projects are AI slop? One using mostlikely
>> Claude to a greater extend, the other using
>> sisyphus-dev-ai to a lesser extend. Neither
>> readme.MD has any transparency what was used,
>>
>> giving the pain of additional detective
>> work when forking.
>>
>> Bye
>>
>> (*)
>> https://prolog-lang.org/ImprovementsForum/0101-janus-index.html
>>
>> Mild Shock schrieb:
>>> Hi,
>>>
>>> Now I was testing:
>>>
>>> ?- format("~`*t NICE TABLE ~`*t~61|~n", []),
>>> format("*~t~d~20|~t~d~t~40|~d~t~40|~t*~61|~n", [123,45,678]).
>>>
>>> There is quite some discrepancy among Prolog systems:
>>>
>>> /* SWI-Prolog 10.1.5 */
>>> ************************ NICE TABLE *************************
>>> * 123 45 678 *
>>>
>>> /* Scryer Prolog 0.10 */
>>> ************************ NICE TABLE *************************
>>> * 123 45 678 *
>>>
>>> /* Trealla Prolog 2.94.3 */
>>> ************************ NICE TABLE ************************
>>> * 123 45 678 *
>>>
>>> Expected output would be, yes we can do it!
>>>
>>> /* Dogelog Player 2.2.2 */
>>> ************************ NICE TABLE *************************
>>> * 123 45 678 *
>>>
>>>
>>> See also:
>>> https://prolog-lang.org/ImprovementsForum/0110-format.html
>>>
>>> Bye
>>
>>
>
Technical Details
Message-ID:
<11b0h2g$1jrmp$1@solani.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mailReferences:
<104ld1i$1vsct$1@solani.org> <106qrno$3cht3$1@solani.org> <10sltd3$10qrq$1@solani.org> <11b01so$1ln18$1@solani.org> <11b01vj$1ln18$2@solani.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Mild Shock <janburse@fastmail.fm> Newsgroups: comp.lang.prolog Subject: P(purity) just flipped back to zero [Ulrich Neumerkels Armageddon] (Was: Can the "Comparison of Prolog implementations" keep) Date: Sat, 17 Oct 2026 21:07:59 +0200 Message-ID: <11b0h2g$1jrmp$1@solani.org> References: <104ld1i$1vsct$1@solani.org> <106qrno$3cht3$1@solani.org> <10sltd3$10qrq$1@solani.org> <11b01so$1ln18$1@solani.org> <11b01vj$1ln18$2@solani.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 17 Oct 2026 19:08:00 -0000 (UTC) Injection-Info: solani.org; logging-data="1699545"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0 SeaMonkey/2.53.24 Cancel-Lock: sha1:/9qMQ6c6lge7Mufd57+FvZibxGE= In-Reply-To: <11b01vj$1ln18$2@solani.org> X-User-ID: eJwNyMkBwDAIA7CVymWHcSiB/Udo9VQYBE1HwGNj9WbOYk6+FyxSWcH5zyxiF3nNnw5hF2HKWeZp1sqoP/IBWmMVYw==