Liste des Groupes | Revenir à s logic |
On 2024-09-11 12:14:53 +0000, olcott said:When a Prolog Fact is specified that cats are animals
On 9/11/2024 2:05 AM, Mikko wrote:X may represent a real world claim that is either true or false butOn 2024-09-10 13:23:39 +0000, olcott said:>
>>>
They all have negation as failure, the key element
required to reject self-contradictory expressions.
The not operator of Prolog is not a part of Horn clause system. It is
not the same as the not operator of ordinary logic. Therefore one nust
be careful with its use and interpretation.
>
You have not defined what you mean with "reject" and how that relates
to the behaviour of Prolog programs.
>
https://en.wikipedia.org/wiki/Negation_as_failure
The failure to prove X from Facts and Rules
means that X is untrue yet not necessarily false.
>
The failure to prove X or ~X from Facts and Rules
means that X is untrue and unfalse, thus not a
truth bearer.
cannot be determined either way with Prolog rules.
I have defined this at least 100 times.Anyway, you still have not defined what you mean with "reject" and howx = "this sentence is not true">
if ~True(L,x) & ~True(L,~x) "x is rejected as invalid input"
What connection that has to Prolog?
that relates to the behaviour of Prolog programs, and you have not
answered the last question.
Les messages affichés proviennent d'usenet.