(0) Obligation:

Clauses:

p(X) :- ','(no(letter(X)), q(X)).
q(x) :- p(X1).
letter(x).
no(X) :- ','(X, ','(!, failure(a))).
no(X2).
failure(b).

Queries:

p(a).

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph.

(2) Obligation:

Clauses:

(3) PPisEmptyProof (EQUIVALENT transformation)

The Prolog program is empty. Hence, it trivially terminates.

(4) TRUE