(0) Obligation:

Clauses:

fold(X, .(Y, Ys), Z) :- ','(myop(X, Y, V), fold(V, Ys, Z)).
fold(X, [], X).
myop(a, b, c).

Query: fold(g,g,a)

(1) PrologDeterminacyProcessorProof (EQUIVALENT transformation)

The root node satisfies the determinacy criterion.

(2) YES