% example encoding
a :- not b. b :- not a.
c;d :- b.
e.
a b ~c
~a ~b ~d