(0) Obligation:

Clauses:

p :- q(','(r, !)).
q(X) :- X.
r.
r :- r.

Query: p()

(1) PrologDeterminacyProcessorProof (EQUIVALENT transformation)

The root node satisfies the determinacy criterion.

(2) YES