This updates the examples to showcase the scope of anthem’s feature set. New examples are added concerning placeholders, hiding predicates, and simplifications related to integer variables.
10 lines
113 B
Plaintext
10 lines
113 B
Plaintext
s(X) :- p(X).
|
|
s(X) :- q(X).
|
|
u(X) :- r(X), not s(X).
|
|
|
|
#show u/1.
|
|
|
|
#external p(1).
|
|
#external q(1).
|
|
#external r(1).
|