View source with
formatted comments
or as
raw
1
p(X) :- not
q(X).
2
q(X) :- not
p(X).
3
r
(
X
)
:-
X
\=
3
,
X
\=
4
,
q
(X)
.
4
?-
p
(X)
,
r
(Y)
.