0 CpxTRS
↳1 RcToIrcProof (BOTH BOUNDS(ID, ID), 12 ms)
↳2 CpxTRS
↳3 CpxTrsToCdtProof (BOTH BOUNDS(ID, ID), 30 ms)
↳4 CdtProblem
↳5 CdtLeafRemovalProof (BOTH BOUNDS(ID, ID), 0 ms)
↳6 CdtProblem
↳7 CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID), 0 ms)
↳8 CdtProblem
↳9 CdtRuleRemovalProof (UPPER BOUND(ADD(n^1)), 266 ms)
↳10 CdtProblem
↳11 CdtRuleRemovalProof (UPPER BOUND(ADD(n^1)), 103 ms)
↳12 CdtProblem
↳13 CdtKnowledgeProof (BOTH BOUNDS(ID, ID), 0 ms)
↳14 CdtProblem
↳15 CdtRuleRemovalProof (UPPER BOUND(ADD(n^1)), 92 ms)
↳16 CdtProblem
↳17 CdtRuleRemovalProof (UPPER BOUND(ADD(n^1)), 79 ms)
↳18 CdtProblem
↳19 SIsEmptyProof (BOTH BOUNDS(ID, ID), 0 ms)
↳20 BOUNDS(1, 1)
a__and(true, X) → mark(X)
a__and(false, Y) → false
a__if(true, X, Y) → mark(X)
a__if(false, X, Y) → mark(Y)
a__add(0, X) → mark(X)
a__add(s(X), Y) → s(add(X, Y))
a__first(0, X) → nil
a__first(s(X), cons(Y, Z)) → cons(Y, first(X, Z))
a__from(X) → cons(X, from(s(X)))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(if(X1, X2, X3)) → a__if(mark(X1), X2, X3)
mark(add(X1, X2)) → a__add(mark(X1), X2)
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(from(X)) → a__from(X)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(X)) → s(X)
mark(nil) → nil
mark(cons(X1, X2)) → cons(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__if(X1, X2, X3) → if(X1, X2, X3)
a__add(X1, X2) → add(X1, X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)
The duplicating contexts are:
a__from([])
The defined contexts are:
a__first([], x1)
a__first(x0, [])
a__add([], x1)
a__and([], x1)
a__if([], x1, x2)
As the TRS is an overlay system and the defined contexts and the duplicating contexts don't overlap, we have rc = irc.
a__and(true, X) → mark(X)
a__and(false, Y) → false
a__if(true, X, Y) → mark(X)
a__if(false, X, Y) → mark(Y)
a__add(0, X) → mark(X)
a__add(s(X), Y) → s(add(X, Y))
a__first(0, X) → nil
a__first(s(X), cons(Y, Z)) → cons(Y, first(X, Z))
a__from(X) → cons(X, from(s(X)))
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(if(X1, X2, X3)) → a__if(mark(X1), X2, X3)
mark(add(X1, X2)) → a__add(mark(X1), X2)
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(from(X)) → a__from(X)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(X)) → s(X)
mark(nil) → nil
mark(cons(X1, X2)) → cons(X1, X2)
a__and(X1, X2) → and(X1, X2)
a__if(X1, X2, X3) → if(X1, X2, X3)
a__add(X1, X2) → add(X1, X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)
Tuples:
a__and(true, z0) → mark(z0)
a__and(false, z0) → false
a__and(z0, z1) → and(z0, z1)
a__if(true, z0, z1) → mark(z0)
a__if(false, z0, z1) → mark(z1)
a__if(z0, z1, z2) → if(z0, z1, z2)
a__add(0, z0) → mark(z0)
a__add(s(z0), z1) → s(add(z0, z1))
a__add(z0, z1) → add(z0, z1)
a__first(0, z0) → nil
a__first(s(z0), cons(z1, z2)) → cons(z1, first(z0, z2))
a__first(z0, z1) → first(z0, z1)
a__from(z0) → cons(z0, from(s(z0)))
a__from(z0) → from(z0)
mark(and(z0, z1)) → a__and(mark(z0), z1)
mark(if(z0, z1, z2)) → a__if(mark(z0), z1, z2)
mark(add(z0, z1)) → a__add(mark(z0), z1)
mark(first(z0, z1)) → a__first(mark(z0), mark(z1))
mark(from(z0)) → a__from(z0)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(z0)) → s(z0)
mark(nil) → nil
mark(cons(z0, z1)) → cons(z0, z1)
S tuples:
A__AND(true, z0) → c(MARK(z0))
A__AND(false, z0) → c1
A__AND(z0, z1) → c2
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
A__IF(z0, z1, z2) → c5
A__ADD(0, z0) → c6(MARK(z0))
A__ADD(s(z0), z1) → c7
A__ADD(z0, z1) → c8
A__FIRST(0, z0) → c9
A__FIRST(s(z0), cons(z1, z2)) → c10
A__FIRST(z0, z1) → c11
A__FROM(z0) → c12
A__FROM(z0) → c13
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(A__FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1))
MARK(from(z0)) → c18(A__FROM(z0))
MARK(true) → c19
MARK(false) → c20
MARK(0) → c21
MARK(s(z0)) → c22
MARK(nil) → c23
MARK(cons(z0, z1)) → c24
K tuples:none
A__AND(true, z0) → c(MARK(z0))
A__AND(false, z0) → c1
A__AND(z0, z1) → c2
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
A__IF(z0, z1, z2) → c5
A__ADD(0, z0) → c6(MARK(z0))
A__ADD(s(z0), z1) → c7
A__ADD(z0, z1) → c8
A__FIRST(0, z0) → c9
A__FIRST(s(z0), cons(z1, z2)) → c10
A__FIRST(z0, z1) → c11
A__FROM(z0) → c12
A__FROM(z0) → c13
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(A__FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1))
MARK(from(z0)) → c18(A__FROM(z0))
MARK(true) → c19
MARK(false) → c20
MARK(0) → c21
MARK(s(z0)) → c22
MARK(nil) → c23
MARK(cons(z0, z1)) → c24
a__and, a__if, a__add, a__first, a__from, mark
A__AND, A__IF, A__ADD, A__FIRST, A__FROM, MARK
c, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c21, c22, c23, c24
MARK(from(z0)) → c18(A__FROM(z0))
MARK(0) → c21
MARK(nil) → c23
A__AND(false, z0) → c1
A__AND(z0, z1) → c2
A__ADD(s(z0), z1) → c7
MARK(false) → c20
A__FROM(z0) → c12
A__FIRST(0, z0) → c9
MARK(true) → c19
A__IF(z0, z1, z2) → c5
A__FIRST(s(z0), cons(z1, z2)) → c10
A__FROM(z0) → c13
MARK(cons(z0, z1)) → c24
A__FIRST(z0, z1) → c11
A__ADD(z0, z1) → c8
MARK(s(z0)) → c22
Tuples:
a__and(true, z0) → mark(z0)
a__and(false, z0) → false
a__and(z0, z1) → and(z0, z1)
a__if(true, z0, z1) → mark(z0)
a__if(false, z0, z1) → mark(z1)
a__if(z0, z1, z2) → if(z0, z1, z2)
a__add(0, z0) → mark(z0)
a__add(s(z0), z1) → s(add(z0, z1))
a__add(z0, z1) → add(z0, z1)
a__first(0, z0) → nil
a__first(s(z0), cons(z1, z2)) → cons(z1, first(z0, z2))
a__first(z0, z1) → first(z0, z1)
a__from(z0) → cons(z0, from(s(z0)))
a__from(z0) → from(z0)
mark(and(z0, z1)) → a__and(mark(z0), z1)
mark(if(z0, z1, z2)) → a__if(mark(z0), z1, z2)
mark(add(z0, z1)) → a__add(mark(z0), z1)
mark(first(z0, z1)) → a__first(mark(z0), mark(z1))
mark(from(z0)) → a__from(z0)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(z0)) → s(z0)
mark(nil) → nil
mark(cons(z0, z1)) → cons(z0, z1)
S tuples:
A__AND(true, z0) → c(MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
A__ADD(0, z0) → c6(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(A__FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1))
K tuples:none
A__AND(true, z0) → c(MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
A__ADD(0, z0) → c6(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(A__FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1))
a__and, a__if, a__add, a__first, a__from, mark
A__AND, A__IF, A__ADD, MARK
c, c3, c4, c6, c14, c15, c16, c17
Tuples:
a__and(true, z0) → mark(z0)
a__and(false, z0) → false
a__and(z0, z1) → and(z0, z1)
a__if(true, z0, z1) → mark(z0)
a__if(false, z0, z1) → mark(z1)
a__if(z0, z1, z2) → if(z0, z1, z2)
a__add(0, z0) → mark(z0)
a__add(s(z0), z1) → s(add(z0, z1))
a__add(z0, z1) → add(z0, z1)
a__first(0, z0) → nil
a__first(s(z0), cons(z1, z2)) → cons(z1, first(z0, z2))
a__first(z0, z1) → first(z0, z1)
a__from(z0) → cons(z0, from(s(z0)))
a__from(z0) → from(z0)
mark(and(z0, z1)) → a__and(mark(z0), z1)
mark(if(z0, z1, z2)) → a__if(mark(z0), z1, z2)
mark(add(z0, z1)) → a__add(mark(z0), z1)
mark(first(z0, z1)) → a__first(mark(z0), mark(z1))
mark(from(z0)) → a__from(z0)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(z0)) → s(z0)
mark(nil) → nil
mark(cons(z0, z1)) → cons(z0, z1)
S tuples:
A__AND(true, z0) → c(MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
A__ADD(0, z0) → c6(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
K tuples:none
A__AND(true, z0) → c(MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
A__ADD(0, z0) → c6(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
a__and, a__if, a__add, a__first, a__from, mark
A__AND, A__IF, A__ADD, MARK
c, c3, c4, c6, c14, c15, c16, c17
We considered the (Usable) Rules:none
A__ADD(0, z0) → c6(MARK(z0))
The order we found is given by the following interpretation:
A__AND(true, z0) → c(MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
A__ADD(0, z0) → c6(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
POL(0) = 0
POL(A__ADD(x1, x2)) = [1] + x2
POL(A__AND(x1, x2)) = x2
POL(A__IF(x1, x2, x3)) = x2 + x3
POL(MARK(x1)) = x1
POL(a__add(x1, x2)) = 0
POL(a__and(x1, x2)) = 0
POL(a__first(x1, x2)) = 0
POL(a__from(x1)) = 0
POL(a__if(x1, x2, x3)) = 0
POL(add(x1, x2)) = [1] + x1 + x2
POL(and(x1, x2)) = x1 + x2
POL(c(x1)) = x1
POL(c14(x1, x2)) = x1 + x2
POL(c15(x1, x2)) = x1 + x2
POL(c16(x1, x2)) = x1 + x2
POL(c17(x1, x2)) = x1 + x2
POL(c3(x1)) = x1
POL(c4(x1)) = x1
POL(c6(x1)) = x1
POL(cons(x1, x2)) = 0
POL(false) = 0
POL(first(x1, x2)) = x1 + x2
POL(from(x1)) = 0
POL(if(x1, x2, x3)) = x1 + x2 + x3
POL(mark(x1)) = 0
POL(nil) = 0
POL(s(x1)) = 0
POL(true) = 0
Tuples:
a__and(true, z0) → mark(z0)
a__and(false, z0) → false
a__and(z0, z1) → and(z0, z1)
a__if(true, z0, z1) → mark(z0)
a__if(false, z0, z1) → mark(z1)
a__if(z0, z1, z2) → if(z0, z1, z2)
a__add(0, z0) → mark(z0)
a__add(s(z0), z1) → s(add(z0, z1))
a__add(z0, z1) → add(z0, z1)
a__first(0, z0) → nil
a__first(s(z0), cons(z1, z2)) → cons(z1, first(z0, z2))
a__first(z0, z1) → first(z0, z1)
a__from(z0) → cons(z0, from(s(z0)))
a__from(z0) → from(z0)
mark(and(z0, z1)) → a__and(mark(z0), z1)
mark(if(z0, z1, z2)) → a__if(mark(z0), z1, z2)
mark(add(z0, z1)) → a__add(mark(z0), z1)
mark(first(z0, z1)) → a__first(mark(z0), mark(z1))
mark(from(z0)) → a__from(z0)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(z0)) → s(z0)
mark(nil) → nil
mark(cons(z0, z1)) → cons(z0, z1)
S tuples:
A__AND(true, z0) → c(MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
A__ADD(0, z0) → c6(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
K tuples:
A__AND(true, z0) → c(MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
Defined Rule Symbols:
A__ADD(0, z0) → c6(MARK(z0))
a__and, a__if, a__add, a__first, a__from, mark
A__AND, A__IF, A__ADD, MARK
c, c3, c4, c6, c14, c15, c16, c17
We considered the (Usable) Rules:none
A__AND(true, z0) → c(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
The order we found is given by the following interpretation:
A__AND(true, z0) → c(MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
A__ADD(0, z0) → c6(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
POL(0) = 0
POL(A__ADD(x1, x2)) = [3]x2
POL(A__AND(x1, x2)) = [2] + [3]x2
POL(A__IF(x1, x2, x3)) = [3]x2 + [3]x3
POL(MARK(x1)) = [3]x1
POL(a__add(x1, x2)) = 0
POL(a__and(x1, x2)) = 0
POL(a__first(x1, x2)) = 0
POL(a__from(x1)) = 0
POL(a__if(x1, x2, x3)) = 0
POL(add(x1, x2)) = x1 + x2
POL(and(x1, x2)) = [1] + x1 + x2
POL(c(x1)) = x1
POL(c14(x1, x2)) = x1 + x2
POL(c15(x1, x2)) = x1 + x2
POL(c16(x1, x2)) = x1 + x2
POL(c17(x1, x2)) = x1 + x2
POL(c3(x1)) = x1
POL(c4(x1)) = x1
POL(c6(x1)) = x1
POL(cons(x1, x2)) = 0
POL(false) = 0
POL(first(x1, x2)) = x1 + x2
POL(from(x1)) = 0
POL(if(x1, x2, x3)) = [2] + x1 + x2 + x3
POL(mark(x1)) = 0
POL(nil) = 0
POL(s(x1)) = 0
POL(true) = 0
Tuples:
a__and(true, z0) → mark(z0)
a__and(false, z0) → false
a__and(z0, z1) → and(z0, z1)
a__if(true, z0, z1) → mark(z0)
a__if(false, z0, z1) → mark(z1)
a__if(z0, z1, z2) → if(z0, z1, z2)
a__add(0, z0) → mark(z0)
a__add(s(z0), z1) → s(add(z0, z1))
a__add(z0, z1) → add(z0, z1)
a__first(0, z0) → nil
a__first(s(z0), cons(z1, z2)) → cons(z1, first(z0, z2))
a__first(z0, z1) → first(z0, z1)
a__from(z0) → cons(z0, from(s(z0)))
a__from(z0) → from(z0)
mark(and(z0, z1)) → a__and(mark(z0), z1)
mark(if(z0, z1, z2)) → a__if(mark(z0), z1, z2)
mark(add(z0, z1)) → a__add(mark(z0), z1)
mark(first(z0, z1)) → a__first(mark(z0), mark(z1))
mark(from(z0)) → a__from(z0)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(z0)) → s(z0)
mark(nil) → nil
mark(cons(z0, z1)) → cons(z0, z1)
S tuples:
A__AND(true, z0) → c(MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
A__ADD(0, z0) → c6(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
K tuples:
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
Defined Rule Symbols:
A__ADD(0, z0) → c6(MARK(z0))
A__AND(true, z0) → c(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
a__and, a__if, a__add, a__first, a__from, mark
A__AND, A__IF, A__ADD, MARK
c, c3, c4, c6, c14, c15, c16, c17
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
Tuples:
a__and(true, z0) → mark(z0)
a__and(false, z0) → false
a__and(z0, z1) → and(z0, z1)
a__if(true, z0, z1) → mark(z0)
a__if(false, z0, z1) → mark(z1)
a__if(z0, z1, z2) → if(z0, z1, z2)
a__add(0, z0) → mark(z0)
a__add(s(z0), z1) → s(add(z0, z1))
a__add(z0, z1) → add(z0, z1)
a__first(0, z0) → nil
a__first(s(z0), cons(z1, z2)) → cons(z1, first(z0, z2))
a__first(z0, z1) → first(z0, z1)
a__from(z0) → cons(z0, from(s(z0)))
a__from(z0) → from(z0)
mark(and(z0, z1)) → a__and(mark(z0), z1)
mark(if(z0, z1, z2)) → a__if(mark(z0), z1, z2)
mark(add(z0, z1)) → a__add(mark(z0), z1)
mark(first(z0, z1)) → a__first(mark(z0), mark(z1))
mark(from(z0)) → a__from(z0)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(z0)) → s(z0)
mark(nil) → nil
mark(cons(z0, z1)) → cons(z0, z1)
S tuples:
A__AND(true, z0) → c(MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
A__ADD(0, z0) → c6(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
K tuples:
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
Defined Rule Symbols:
A__ADD(0, z0) → c6(MARK(z0))
A__AND(true, z0) → c(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
a__and, a__if, a__add, a__first, a__from, mark
A__AND, A__IF, A__ADD, MARK
c, c3, c4, c6, c14, c15, c16, c17
We considered the (Usable) Rules:none
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
The order we found is given by the following interpretation:
A__AND(true, z0) → c(MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
A__ADD(0, z0) → c6(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
POL(0) = 0
POL(A__ADD(x1, x2)) = x2
POL(A__AND(x1, x2)) = x2
POL(A__IF(x1, x2, x3)) = [1] + x2 + x3
POL(MARK(x1)) = x1
POL(a__add(x1, x2)) = 0
POL(a__and(x1, x2)) = 0
POL(a__first(x1, x2)) = 0
POL(a__from(x1)) = 0
POL(a__if(x1, x2, x3)) = 0
POL(add(x1, x2)) = x1 + x2
POL(and(x1, x2)) = [1] + x1 + x2
POL(c(x1)) = x1
POL(c14(x1, x2)) = x1 + x2
POL(c15(x1, x2)) = x1 + x2
POL(c16(x1, x2)) = x1 + x2
POL(c17(x1, x2)) = x1 + x2
POL(c3(x1)) = x1
POL(c4(x1)) = x1
POL(c6(x1)) = x1
POL(cons(x1, x2)) = 0
POL(false) = 0
POL(first(x1, x2)) = [1] + x1 + x2
POL(from(x1)) = 0
POL(if(x1, x2, x3)) = [1] + x1 + x2 + x3
POL(mark(x1)) = 0
POL(nil) = 0
POL(s(x1)) = 0
POL(true) = 0
Tuples:
a__and(true, z0) → mark(z0)
a__and(false, z0) → false
a__and(z0, z1) → and(z0, z1)
a__if(true, z0, z1) → mark(z0)
a__if(false, z0, z1) → mark(z1)
a__if(z0, z1, z2) → if(z0, z1, z2)
a__add(0, z0) → mark(z0)
a__add(s(z0), z1) → s(add(z0, z1))
a__add(z0, z1) → add(z0, z1)
a__first(0, z0) → nil
a__first(s(z0), cons(z1, z2)) → cons(z1, first(z0, z2))
a__first(z0, z1) → first(z0, z1)
a__from(z0) → cons(z0, from(s(z0)))
a__from(z0) → from(z0)
mark(and(z0, z1)) → a__and(mark(z0), z1)
mark(if(z0, z1, z2)) → a__if(mark(z0), z1, z2)
mark(add(z0, z1)) → a__add(mark(z0), z1)
mark(first(z0, z1)) → a__first(mark(z0), mark(z1))
mark(from(z0)) → a__from(z0)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(z0)) → s(z0)
mark(nil) → nil
mark(cons(z0, z1)) → cons(z0, z1)
S tuples:
A__AND(true, z0) → c(MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
A__ADD(0, z0) → c6(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
K tuples:
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
Defined Rule Symbols:
A__ADD(0, z0) → c6(MARK(z0))
A__AND(true, z0) → c(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
a__and, a__if, a__add, a__first, a__from, mark
A__AND, A__IF, A__ADD, MARK
c, c3, c4, c6, c14, c15, c16, c17
We considered the (Usable) Rules:none
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
The order we found is given by the following interpretation:
A__AND(true, z0) → c(MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
A__ADD(0, z0) → c6(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
POL(0) = 0
POL(A__ADD(x1, x2)) = x2
POL(A__AND(x1, x2)) = x2
POL(A__IF(x1, x2, x3)) = x2 + x3
POL(MARK(x1)) = x1
POL(a__add(x1, x2)) = 0
POL(a__and(x1, x2)) = 0
POL(a__first(x1, x2)) = 0
POL(a__from(x1)) = 0
POL(a__if(x1, x2, x3)) = 0
POL(add(x1, x2)) = [1] + x1 + x2
POL(and(x1, x2)) = [1] + x1 + x2
POL(c(x1)) = x1
POL(c14(x1, x2)) = x1 + x2
POL(c15(x1, x2)) = x1 + x2
POL(c16(x1, x2)) = x1 + x2
POL(c17(x1, x2)) = x1 + x2
POL(c3(x1)) = x1
POL(c4(x1)) = x1
POL(c6(x1)) = x1
POL(cons(x1, x2)) = 0
POL(false) = 0
POL(first(x1, x2)) = [1] + x1 + x2
POL(from(x1)) = 0
POL(if(x1, x2, x3)) = [1] + x1 + x2 + x3
POL(mark(x1)) = 0
POL(nil) = 0
POL(s(x1)) = 0
POL(true) = 0
Tuples:
a__and(true, z0) → mark(z0)
a__and(false, z0) → false
a__and(z0, z1) → and(z0, z1)
a__if(true, z0, z1) → mark(z0)
a__if(false, z0, z1) → mark(z1)
a__if(z0, z1, z2) → if(z0, z1, z2)
a__add(0, z0) → mark(z0)
a__add(s(z0), z1) → s(add(z0, z1))
a__add(z0, z1) → add(z0, z1)
a__first(0, z0) → nil
a__first(s(z0), cons(z1, z2)) → cons(z1, first(z0, z2))
a__first(z0, z1) → first(z0, z1)
a__from(z0) → cons(z0, from(s(z0)))
a__from(z0) → from(z0)
mark(and(z0, z1)) → a__and(mark(z0), z1)
mark(if(z0, z1, z2)) → a__if(mark(z0), z1, z2)
mark(add(z0, z1)) → a__add(mark(z0), z1)
mark(first(z0, z1)) → a__first(mark(z0), mark(z1))
mark(from(z0)) → a__from(z0)
mark(true) → true
mark(false) → false
mark(0) → 0
mark(s(z0)) → s(z0)
mark(nil) → nil
mark(cons(z0, z1)) → cons(z0, z1)
S tuples:none
A__AND(true, z0) → c(MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
A__ADD(0, z0) → c6(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
Defined Rule Symbols:
A__ADD(0, z0) → c6(MARK(z0))
A__AND(true, z0) → c(MARK(z0))
MARK(and(z0, z1)) → c14(A__AND(mark(z0), z1), MARK(z0))
MARK(if(z0, z1, z2)) → c15(A__IF(mark(z0), z1, z2), MARK(z0))
A__IF(true, z0, z1) → c3(MARK(z0))
A__IF(false, z0, z1) → c4(MARK(z1))
MARK(first(z0, z1)) → c17(MARK(z0), MARK(z1))
MARK(add(z0, z1)) → c16(A__ADD(mark(z0), z1), MARK(z0))
a__and, a__if, a__add, a__first, a__from, mark
A__AND, A__IF, A__ADD, MARK
c, c3, c4, c6, c14, c15, c16, c17