Re:Introduction to Datalog
by sdbrady on Monday March 18, 2019 @02:32PM
(#19423730)
Thanks for sharing. There is one very significant conceptual error early on, however, and it is captured first in this statement: "The :- means if and only if, or iff". `:-` means if - or more precisely represents material conditional - where the consequent is on the left and the antecedent is on the right. iff is logical biconditional.
[ Parent
| on HN ]
Re:Introduction to Datalog
by YeGoblynQueenne on Monday March 18, 2019 @04:59PM
(#19425233)
Indeed, ":-" is meant to represent the left-facing arrow of implication. In logic programming papers it is common to typeset it as an actual arrow, for example:
p(X,Y) ← q(Y,X)
etc.Hi Stephen. You are absolutely right, thank you for the feedback! I have edited accordingly.