Re: Good Bye Stack-Overflow (Was: Highly bred Hackers: Wallowing in enlightenment)

Liste des GroupesRevenir à cl prolog 
Sujet : Re: Good Bye Stack-Overflow (Was: Highly bred Hackers: Wallowing in enlightenment)
De : janburse (at) *nospam* fastmail.fm (Mild Shock)
Groupes : comp.lang.prolog
Date : 15. Nov 2024, 03:28:38
Autres entêtes
Message-ID : <vh6bkn$6mlv$1@solani.org>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.19
My objection was then that Prolog didn't do
the proof only ChatGPT did it.
"But Prolog is supposed to search for proofs.
What is the proof?"
It then continued with attempts like:
what_if_befriend(Person, Friend, Goal) :-
     assert(friend(Person, Friend)),  % Assert the new friendship
     Goal,  % Check the goal with the new friendship
     retract(friend(Person, Friend)).  % Retract after checking the goal
Only the above will not work, since
assert/1 cannot return a variable binding.
So what is the magic behind lambda-Prolog
and hypothetical reasoning? lambda-Prolog
not being in the scope of ChatGPT?
Mild Shock schrieb:
But ChatGPT has still to learn a lot, it
cannot make the link from Prolog to
lambda-Prolog to natural deduction.
 Somehow after some questioning ChatGPT
presented me this Prolog code:
 likes(john, pizza).
likes(mary, sushi).
likes(sam, burgers).
 friend(john, mary).
friend(mary, sam).
 likes_what_friends_like(Person, Thing) :-
     friend(Person, Friend),
     likes(Friend, Thing).
 I then asked for a Prolog query that
solves the following question:
 "who should john befriend so that we
can assume he likes burgers"
 Interestingly ChatGPT strated using
Prolog and natural deduction on the meta
level, mentioning modus ponense, and answering
 Proof via Natural Deduction:
Assumption: Assume friend(john, X) (where X = sam).
 Apply the Rule: Since friend(john, sam) is true, and likes(sam, burgers) is also true, we apply the rule likes_what_friends_like(john, Thing) and infer likes_what_friends_like(john, burgers).
 Conclusion: Therefore, likes_what_friends_like(john, burgers) holds, which implies that John would like burgers if he befriends Sam.
  Mild Shock schrieb:
Hi,
>
The cest pool of bit rot is finally gone:
>
(Bit rot, because they did everything in a
facist way ignoring your copyright to prevent
you from deleting you own out dated stuff)
>
CoincidenceIDontThinkSo
https://9gag.com/gag/abAG4oE
>
The Fall of Stack Overflow
https://observablehq.com/@ayhanfuat/the-fall-of-stack-overflow
>
The downfall is related to the appearance of
ChatGPT. I feel pitty for Ulrich Neumerkel false
and others who spammed stackoverflow for years
>
with their infinite dif/2 nonsense.
>
Bye

Date Sujet#  Auteur
20 Jul 24 * Scryer Prolog is dead now? (Was: A harsh wind is blowing into the face of Prolog now…)16Mild Shock
21 Jul 24 `* What about the Holy Grail? (Was: Scryer Prolog is dead now?)15Mild Shock
22 Jul 24  `* Is Rust the culprit? (Was: What about the Holy Grail?)14Mild Shock
22 Jul 24   +* Re: Is Rust the culprit? (Was: What about the Holy Grail?)2Mild Shock
22 Jul 24   i`- Re: Is Rust the culprit? (Was: What about the Holy Grail?)1Mild Shock
18 Oct 24   +* Night Train to Lisbon (Re: Is Rust the culprit?)2Mild Shock
20 Nov 24   i`- Prolog System running on JS/Bun ? (Was: Night Train to Lisbon)1Mild Shock
26 Oct 24   `* Highly bred Hackers: Wallowing in enlightenment (Was: Is Rust the culprit?)9Mild Shock
15 Nov 24    `* Good Bye Stack-Overflow (Was: Highly bred Hackers: Wallowing in enlightenment)8Mild Shock
15 Nov 24     +* Re: Good Bye Stack-Overflow (Was: Highly bred Hackers: Wallowing in enlightenment)3Mild Shock
15 Nov 24     i`* Re: Good Bye Stack-Overflow (Was: Highly bred Hackers: Wallowing in enlightenment)2Mild Shock
15 Nov 24     i `- Re: Good Bye Stack-Overflow (Was: Highly bred Hackers: Wallowing in enlightenment)1Mild Shock
15 Nov 24     `* they shoot themselves into the foot (Re: Good Bye Stack-Overflow)4Mild Shock
15 Nov 24      `* Re: they shoot themselves into the foot (Re: Good Bye Stack-Overflow)3Mild Shock
15 Nov 24       `* Re: they shoot themselves into the foot (Re: Good Bye Stack-Overflow)2Mild Shock
15 Nov 24        `- Re: they shoot themselves into the foot (Re: Good Bye Stack-Overflow)1Mild Shock

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal