Re: Self-evidently I am not my grandpa

Liste des GroupesRevenir à s logic 
Sujet : Re: Self-evidently I am not my grandpa
De : janburse (at) *nospam* fastmail.fm (Mild Shock)
Groupes : sci.logic
Date : 30. Apr 2024, 12:11:22
Autres entêtes
Message-ID : <v0qg4e$704v$1@solani.org>
References : 1 2 3 4
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.2
Jeff/Barb you might be highly confused! This is Prolog:
grand_father(X,Y) :- father(X,Z), father(Z,Y).
But this is FOL:
∀X∀Y(∃Z(father(X,Z) & father(Z,Y)) <=> grand_father(X,Y)).
The manual method to go from Prolog to FOL is
the so called Clark Completion. It was recently
made popular again by SWI-Prolog's s(CASP),
but the method exists already quite long:
Logic Programming Theory Lecture 8: Clark Completion
https://www.inf.ed.ac.uk/teaching/courses/lp/2012/slides/lpTheory8.pdf
But I am using it manually as well here. You see
the FOL formula I used as input to the model finder
in the problem/2 fact:
% problem(+Integer, -Formula)
problem(1, (
   ![X]:![Y]:(?[Z]:(father(X,Z) & father(Z,Y)) <=> grand_father(X,Y)) =>
   ~ ?[X]:grand_father(X,X))).
Jeff Barnett schrieb:
You also forgot that you posed this as a Prolog, not an FOL, problem.

Date Sujet#  Auteur
27 Apr 24 * Self-evidently I am not my grandpa9Mild Shock
29 Apr 24 +* Re: Self-evidently I am not my grandpa6Barb Knox
29 Apr 24 i`* Re: Self-evidently I am not my grandpa5Mild Shock
29 Apr 24 i +- Re: Self-evidently I am not my grandpa1Mild Shock
29 Apr 24 i +- Re: Self-evidently I am not my grandpa1Barb Knox
30 Apr 24 i `* Re: Self-evidently I am not my grandpa2Jeff Barnett
30 Apr 24 i  `- Re: Self-evidently I am not my grandpa1Mild Shock
30 Apr 24 `* Re: Self-evidently I am not my grandpa2Mild Shock
2 May 24  `- Re: Self-evidently I am not my grandpa1Mild Shock

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal