Patrick Lühne
20112317fd
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.
8 lines
122 B
Plaintext
8 lines
122 B
Plaintext
{in(1..n, 1..r)}.
|
|
covered(I) :- in(I, S).
|
|
|
|
:- I = 1..n, not covered(I).
|
|
:- in(I, S), in(J, S), in(I + J, S).
|
|
|
|
#show in/2.
|