(0) Obligation:

Clauses:

even(X) :- ','(eq(Y, f(e, f(o, Y))), c(Y, X)).
c(f(e, X1), 0).
c(f(X2, X), s(Y)) :- c(X, Y).
eq(X, X).

Query: even(g)

(1) LPReorderTransformerProof (EQUIVALENT transformation)

Reordered facts before rules in definite LP [PROLOG].

(2) Obligation:

Clauses:

c(f(e, X1), 0).
eq(X, X).
even(X) :- ','(eq(Y, f(e, f(o, Y))), c(Y, X)).
c(f(X2, X), s(Y)) :- c(X, Y).

Query: even(g)

(3) PrologToCdtProblemTransformerProof (UPPER BOUND (ID) transformation)

Built complexity over-approximating cdt problems from derivation graph.

(4) Obligation:

Complexity Dependency Tuples Problem
Rules:none
Tuples:none
S tuples:none
K tuples:none
Defined Rule Symbols:none

Defined Pair Symbols:none

Compound Symbols:none

(5) SIsEmptyProof (EQUIVALENT transformation)

The set S is empty

(6) BOUNDS(O(1), O(1))

(7) PrologToCdtProblemTransformerProof (UPPER BOUND (ID) transformation)

Built complexity over-approximating cdt problems from derivation graph.

(8) Obligation:

Complexity Dependency Tuples Problem
Rules:none
Tuples:none
S tuples:none
K tuples:none
Defined Rule Symbols:none

Defined Pair Symbols:none

Compound Symbols:none