(0) Obligation:

Clauses:

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

Query: p()

(1) PrologDeterminacyProcessorProof (EQUIVALENT transformation)

The root node satisfies the determinacy criterion.

(2) YES