Answer set programming: Difference between revisions

Content deleted Content added
Line 113:
</syntaxhighlight>
 
If the extension of q is {q(a1); ,q(a2);, ... ; ,q(aN)}, the above condition is semantically equivalent to writing {p(a1), p(a2), ... , p(aN)} in the place of the condition. For example,
 
<syntaxhighlight lang="prolog">