YES(O(1), O(n^1)) 0.00/0.70 YES(O(1), O(n^1)) 0.00/0.71 0.00/0.71 0.00/0.71
0.00/0.71 0.00/0.710 CpxTRS0.00/0.71
↳1 CpxTrsToCdtProof (BOTH BOUNDS(ID, ID))0.00/0.71
↳2 CdtProblem0.00/0.71
↳3 CdtLeafRemovalProof (ComplexityIfPolyImplication)0.00/0.71
↳4 CdtProblem0.00/0.71
↳5 CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^1))))0.00/0.71
↳6 CdtProblem0.00/0.71
↳7 SIsEmptyProof (BOTH BOUNDS(ID, ID))0.00/0.71
↳8 BOUNDS(O(1), O(1))0.00/0.71
duplicate(Cons(x, xs)) → Cons(x, Cons(x, duplicate(xs))) 0.00/0.71
duplicate(Nil) → Nil 0.00/0.71
goal(x) → duplicate(x)
Tuples:
duplicate(Cons(z0, z1)) → Cons(z0, Cons(z0, duplicate(z1))) 0.00/0.71
duplicate(Nil) → Nil 0.00/0.71
goal(z0) → duplicate(z0)
S tuples:
DUPLICATE(Cons(z0, z1)) → c(DUPLICATE(z1)) 0.00/0.71
GOAL(z0) → c2(DUPLICATE(z0))
K tuples:none
DUPLICATE(Cons(z0, z1)) → c(DUPLICATE(z1)) 0.00/0.71
GOAL(z0) → c2(DUPLICATE(z0))
duplicate, goal
DUPLICATE, GOAL
c, c2
GOAL(z0) → c2(DUPLICATE(z0))
Tuples:
duplicate(Cons(z0, z1)) → Cons(z0, Cons(z0, duplicate(z1))) 0.00/0.71
duplicate(Nil) → Nil 0.00/0.71
goal(z0) → duplicate(z0)
S tuples:
DUPLICATE(Cons(z0, z1)) → c(DUPLICATE(z1))
K tuples:none
DUPLICATE(Cons(z0, z1)) → c(DUPLICATE(z1))
duplicate, goal
DUPLICATE
c
We considered the (Usable) Rules:none
DUPLICATE(Cons(z0, z1)) → c(DUPLICATE(z1))
The order we found is given by the following interpretation:
DUPLICATE(Cons(z0, z1)) → c(DUPLICATE(z1))
POL(Cons(x1, x2)) = [1] + x2 0.00/0.71
POL(DUPLICATE(x1)) = [3]x1 0.00/0.71
POL(c(x1)) = x1
Tuples:
duplicate(Cons(z0, z1)) → Cons(z0, Cons(z0, duplicate(z1))) 0.00/0.71
duplicate(Nil) → Nil 0.00/0.71
goal(z0) → duplicate(z0)
S tuples:none
DUPLICATE(Cons(z0, z1)) → c(DUPLICATE(z1))
Defined Rule Symbols:
DUPLICATE(Cons(z0, z1)) → c(DUPLICATE(z1))
duplicate, goal
DUPLICATE
c