YES(O(1), O(n^2)) 514.75/161.59 YES(O(1), O(n^2)) 514.75/161.60 514.75/161.60 514.75/161.60
514.75/161.60 514.75/161.600 CpxTRS514.75/161.60
↳1 CpxTrsToCdtProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳2 CdtProblem514.75/161.60
↳3 CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳4 CdtProblem514.75/161.60
↳5 CdtNarrowingProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳6 CdtProblem514.75/161.60
↳7 CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳8 CdtProblem514.75/161.60
↳9 CdtNarrowingProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳10 CdtProblem514.75/161.60
↳11 CdtLeafRemovalProof (ComplexityIfPolyImplication)514.75/161.60
↳12 CdtProblem514.75/161.60
↳13 CdtNarrowingProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳14 CdtProblem514.75/161.60
↳15 CdtNarrowingProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳16 CdtProblem514.75/161.60
↳17 CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^1))))514.75/161.60
↳18 CdtProblem514.75/161.60
↳19 CdtNarrowingProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳20 CdtProblem514.75/161.60
↳21 CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^1))))514.75/161.60
↳22 CdtProblem514.75/161.60
↳23 CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^1))))514.75/161.60
↳24 CdtProblem514.75/161.60
↳25 CdtNarrowingProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳26 CdtProblem514.75/161.60
↳27 CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^1))))514.75/161.60
↳28 CdtProblem514.75/161.60
↳29 CdtNarrowingProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳30 CdtProblem514.75/161.60
↳31 CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^1))))514.75/161.60
↳32 CdtProblem514.75/161.60
↳33 CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^1))))514.75/161.60
↳34 CdtProblem514.75/161.60
↳35 CdtNarrowingProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳36 CdtProblem514.75/161.60
↳37 CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^1))))514.75/161.60
↳38 CdtProblem514.75/161.60
↳39 CdtNarrowingProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳40 CdtProblem514.75/161.60
↳41 CdtNarrowingProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳42 CdtProblem514.75/161.60
↳43 CdtNarrowingProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳44 CdtProblem514.75/161.60
↳45 CdtKnowledgeProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳46 CdtProblem514.75/161.60
↳47 CdtNarrowingProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳48 CdtProblem514.75/161.60
↳49 CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^1))))514.75/161.60
↳50 CdtProblem514.75/161.60
↳51 CdtKnowledgeProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳52 CdtProblem514.75/161.60
↳53 CdtNarrowingProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳54 CdtProblem514.75/161.60
↳55 CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳56 CdtProblem514.75/161.60
↳57 CdtLeafRemovalProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳58 CdtProblem514.75/161.60
↳59 CdtNarrowingProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳60 CdtProblem514.75/161.60
↳61 CdtLeafRemovalProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳62 CdtProblem514.75/161.60
↳63 CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^1))))514.75/161.60
↳64 CdtProblem514.75/161.60
↳65 CdtKnowledgeProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳66 CdtProblem514.75/161.60
↳67 CdtNarrowingProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳68 CdtProblem514.75/161.60
↳69 CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID))514.75/161.60
↳70 CdtProblem514.75/161.60
↳71 CdtLeafRemovalProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳72 CdtProblem515.09/161.61
↳73 CdtNarrowingProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳74 CdtProblem515.09/161.61
↳75 CdtLeafRemovalProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳76 CdtProblem515.09/161.61
↳77 CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^2))))515.09/161.61
↳78 CdtProblem515.09/161.61
↳79 CdtNarrowingProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳80 CdtProblem515.09/161.61
↳81 CdtLeafRemovalProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳82 CdtProblem515.09/161.61
↳83 CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^2))))515.09/161.61
↳84 CdtProblem515.09/161.61
↳85 CdtNarrowingProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳86 CdtProblem515.09/161.61
↳87 CdtLeafRemovalProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳88 CdtProblem515.09/161.61
↳89 CdtNarrowingProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳90 CdtProblem515.09/161.61
↳91 CdtLeafRemovalProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳92 CdtProblem515.09/161.61
↳93 CdtKnowledgeProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳94 CdtProblem515.09/161.61
↳95 CdtNarrowingProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳96 CdtProblem515.09/161.61
↳97 CdtLeafRemovalProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳98 CdtProblem515.09/161.61
↳99 CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^1))))515.09/161.61
↳100 CdtProblem515.09/161.61
↳101 CdtKnowledgeProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳102 CdtProblem515.09/161.61
↳103 CdtNarrowingProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳104 CdtProblem515.09/161.61
↳105 CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳106 CdtProblem515.09/161.61
↳107 CdtLeafRemovalProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳108 CdtProblem515.09/161.61
↳109 CdtNarrowingProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳110 CdtProblem515.09/161.61
↳111 CdtLeafRemovalProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳112 CdtProblem515.09/161.61
↳113 CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^2))))515.09/161.61
↳114 CdtProblem515.09/161.61
↳115 CdtKnowledgeProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳116 CdtProblem515.09/161.61
↳117 CdtNarrowingProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳118 CdtProblem515.09/161.61
↳119 CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳120 CdtProblem515.09/161.61
↳121 CdtLeafRemovalProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳122 CdtProblem515.09/161.61
↳123 CdtNarrowingProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳124 CdtProblem515.09/161.61
↳125 CdtGraphSplitRhsProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳126 CdtProblem515.09/161.61
↳127 CdtLeafRemovalProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳128 CdtProblem515.09/161.61
↳129 CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^1))))515.09/161.61
↳130 CdtProblem515.09/161.61
↳131 SIsEmptyProof (BOTH BOUNDS(ID, ID))515.09/161.61
↳132 BOUNDS(O(1), O(1))515.09/161.61
cond1(true, x, y) → cond2(gr(x, y), x, y) 515.09/161.61
cond2(true, x, y) → cond3(gr(x, 0), x, y) 515.09/161.61
cond2(false, x, y) → cond4(gr(y, 0), x, y) 515.09/161.61
cond3(true, x, y) → cond3(gr(x, 0), p(x), y) 515.09/161.61
cond3(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y) 515.09/161.61
cond4(true, x, y) → cond4(gr(y, 0), x, p(y)) 515.09/161.61
cond4(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y) 515.09/161.61
gr(0, x) → false 515.09/161.61
gr(s(x), 0) → true 515.09/161.61
gr(s(x), s(y)) → gr(x, y) 515.09/161.61
and(true, true) → true 515.09/161.61
and(false, x) → false 515.09/161.61
and(x, false) → false 515.09/161.61
p(0) → 0 515.09/161.61
p(s(x)) → x
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.09/161.61
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.09/161.61
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.09/161.61
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.09/161.61
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.61
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.09/161.61
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.61
gr(0, z0) → false 515.09/161.61
gr(s(z0), 0) → true 515.09/161.61
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.61
and(true, true) → true 515.09/161.61
and(false, z0) → false 515.09/161.61
and(z0, false) → false 515.09/161.61
p(0) → 0 515.09/161.61
p(s(z0)) → z0
S tuples:
COND1(true, z0, z1) → c(COND2(gr(z0, z1), z0, z1), GR(z0, z1)) 515.09/161.61
COND2(true, z0, z1) → c1(COND3(gr(z0, 0), z0, z1), GR(z0, 0)) 515.09/161.61
COND2(false, z0, z1) → c2(COND4(gr(z1, 0), z0, z1), GR(z1, 0)) 515.09/161.61
COND3(true, z0, z1) → c3(COND3(gr(z0, 0), p(z0), z1), GR(z0, 0), P(z0)) 515.09/161.61
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1), AND(gr(z0, 0), gr(z1, 0)), GR(z0, 0), GR(z1, 0)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1)), GR(z1, 0), P(z1)) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1), AND(gr(z0, 0), gr(z1, 0)), GR(z0, 0), GR(z1, 0)) 515.09/161.68
GR(s(z0), s(z1)) → c9(GR(z0, z1))
K tuples:none
COND1(true, z0, z1) → c(COND2(gr(z0, z1), z0, z1), GR(z0, z1)) 515.09/161.68
COND2(true, z0, z1) → c1(COND3(gr(z0, 0), z0, z1), GR(z0, 0)) 515.09/161.68
COND2(false, z0, z1) → c2(COND4(gr(z1, 0), z0, z1), GR(z1, 0)) 515.09/161.68
COND3(true, z0, z1) → c3(COND3(gr(z0, 0), p(z0), z1), GR(z0, 0), P(z0)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1), AND(gr(z0, 0), gr(z1, 0)), GR(z0, 0), GR(z1, 0)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1)), GR(z1, 0), P(z1)) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1), AND(gr(z0, 0), gr(z1, 0)), GR(z0, 0), GR(z1, 0)) 515.09/161.68
GR(s(z0), s(z1)) → c9(GR(z0, z1))
cond1, cond2, cond3, cond4, gr, and, p
COND1, COND2, COND3, COND4, GR
c, c1, c2, c3, c4, c5, c6, c9
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.09/161.68
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.09/161.68
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.09/161.68
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.09/161.68
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.09/161.68
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
gr(0, z0) → false 515.09/161.68
gr(s(z0), 0) → true 515.09/161.68
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.68
and(true, true) → true 515.09/161.68
and(false, z0) → false 515.09/161.68
and(z0, false) → false 515.09/161.68
p(0) → 0 515.09/161.68
p(s(z0)) → z0
S tuples:
COND1(true, z0, z1) → c(COND2(gr(z0, z1), z0, z1), GR(z0, z1)) 515.09/161.68
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND2(true, z0, z1) → c1(COND3(gr(z0, 0), z0, z1)) 515.09/161.68
COND2(false, z0, z1) → c2(COND4(gr(z1, 0), z0, z1)) 515.09/161.68
COND3(true, z0, z1) → c3(COND3(gr(z0, 0), p(z0), z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1))
K tuples:none
COND1(true, z0, z1) → c(COND2(gr(z0, z1), z0, z1), GR(z0, z1)) 515.09/161.68
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND2(true, z0, z1) → c1(COND3(gr(z0, 0), z0, z1)) 515.09/161.68
COND2(false, z0, z1) → c2(COND4(gr(z1, 0), z0, z1)) 515.09/161.68
COND3(true, z0, z1) → c3(COND3(gr(z0, 0), p(z0), z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1))
cond1, cond2, cond3, cond4, gr, and, p
COND1, GR, COND2, COND3, COND4
c, c9, c1, c2, c3, c4, c5, c6
COND1(true, 0, z0) → c(COND2(false, 0, z0), GR(0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0), GR(s(z0), 0)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1)))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.09/161.68
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.09/161.68
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.09/161.68
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.09/161.68
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.09/161.68
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
gr(0, z0) → false 515.09/161.68
gr(s(z0), 0) → true 515.09/161.68
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.68
and(true, true) → true 515.09/161.68
and(false, z0) → false 515.09/161.68
and(z0, false) → false 515.09/161.68
p(0) → 0 515.09/161.68
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND2(true, z0, z1) → c1(COND3(gr(z0, 0), z0, z1)) 515.09/161.68
COND2(false, z0, z1) → c2(COND4(gr(z1, 0), z0, z1)) 515.09/161.68
COND3(true, z0, z1) → c3(COND3(gr(z0, 0), p(z0), z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0), GR(0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0), GR(s(z0), 0)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1)))
K tuples:none
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND2(true, z0, z1) → c1(COND3(gr(z0, 0), z0, z1)) 515.09/161.68
COND2(false, z0, z1) → c2(COND4(gr(z1, 0), z0, z1)) 515.09/161.68
COND3(true, z0, z1) → c3(COND3(gr(z0, 0), p(z0), z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0), GR(0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0), GR(s(z0), 0)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND2, COND3, COND4, COND1
c9, c1, c2, c3, c4, c5, c6, c
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.09/161.68
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.09/161.68
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.09/161.68
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.09/161.68
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.09/161.68
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
gr(0, z0) → false 515.09/161.68
gr(s(z0), 0) → true 515.09/161.68
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.68
and(true, true) → true 515.09/161.68
and(false, z0) → false 515.09/161.68
and(z0, false) → false 515.09/161.68
p(0) → 0 515.09/161.68
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND2(true, z0, z1) → c1(COND3(gr(z0, 0), z0, z1)) 515.09/161.68
COND2(false, z0, z1) → c2(COND4(gr(z1, 0), z0, z1)) 515.09/161.68
COND3(true, z0, z1) → c3(COND3(gr(z0, 0), p(z0), z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0))
K tuples:none
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND2(true, z0, z1) → c1(COND3(gr(z0, 0), z0, z1)) 515.09/161.68
COND2(false, z0, z1) → c2(COND4(gr(z1, 0), z0, z1)) 515.09/161.68
COND3(true, z0, z1) → c3(COND3(gr(z0, 0), p(z0), z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND2, COND3, COND4, COND1
c9, c1, c2, c3, c4, c5, c6, c, c
COND2(true, 0, x1) → c1(COND3(false, 0, x1)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.09/161.68
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.09/161.68
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.09/161.68
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.09/161.68
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.09/161.68
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
gr(0, z0) → false 515.09/161.68
gr(s(z0), 0) → true 515.09/161.68
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.68
and(true, true) → true 515.09/161.68
and(false, z0) → false 515.09/161.68
and(z0, false) → false 515.09/161.68
p(0) → 0 515.09/161.68
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND2(false, z0, z1) → c2(COND4(gr(z1, 0), z0, z1)) 515.09/161.68
COND3(true, z0, z1) → c3(COND3(gr(z0, 0), p(z0), z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, 0, x1) → c1(COND3(false, 0, x1)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1))
K tuples:none
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND2(false, z0, z1) → c2(COND4(gr(z1, 0), z0, z1)) 515.09/161.68
COND3(true, z0, z1) → c3(COND3(gr(z0, 0), p(z0), z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, 0, x1) → c1(COND3(false, 0, x1)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND2, COND3, COND4, COND1
c9, c2, c3, c4, c5, c6, c, c, c1
COND2(true, 0, x1) → c1(COND3(false, 0, x1))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.09/161.68
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.09/161.68
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.09/161.68
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.09/161.68
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.09/161.68
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
gr(0, z0) → false 515.09/161.68
gr(s(z0), 0) → true 515.09/161.68
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.68
and(true, true) → true 515.09/161.68
and(false, z0) → false 515.09/161.68
and(z0, false) → false 515.09/161.68
p(0) → 0 515.09/161.68
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND2(false, z0, z1) → c2(COND4(gr(z1, 0), z0, z1)) 515.09/161.68
COND3(true, z0, z1) → c3(COND3(gr(z0, 0), p(z0), z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1))
K tuples:none
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND2(false, z0, z1) → c2(COND4(gr(z1, 0), z0, z1)) 515.09/161.68
COND3(true, z0, z1) → c3(COND3(gr(z0, 0), p(z0), z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND2, COND3, COND4, COND1
c9, c2, c3, c4, c5, c6, c, c, c1
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0)))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.09/161.68
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.09/161.68
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.09/161.68
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.09/161.68
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.09/161.68
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
gr(0, z0) → false 515.09/161.68
gr(s(z0), 0) → true 515.09/161.68
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.68
and(true, true) → true 515.09/161.68
and(false, z0) → false 515.09/161.68
and(z0, false) → false 515.09/161.68
p(0) → 0 515.09/161.68
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND3(true, z0, z1) → c3(COND3(gr(z0, 0), p(z0), z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0)))
K tuples:none
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND3(true, z0, z1) → c3(COND3(gr(z0, 0), p(z0), z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND3, COND4, COND1, COND2
c9, c3, c4, c5, c6, c, c, c1, c2
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.09/161.68
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.09/161.68
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.09/161.68
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.09/161.68
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.09/161.68
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
gr(0, z0) → false 515.09/161.68
gr(s(z0), 0) → true 515.09/161.68
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.68
and(true, true) → true 515.09/161.68
and(false, z0) → false 515.09/161.68
and(z0, false) → false 515.09/161.68
p(0) → 0 515.09/161.68
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1))
K tuples:none
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND3, COND4, COND1, COND2
c9, c4, c5, c6, c, c, c1, c2, c3
We considered the (Usable) Rules:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1))
And the Tuples:
p(s(z0)) → z0 515.09/161.68
p(0) → 0 515.09/161.68
gr(s(z0), 0) → true 515.09/161.68
gr(0, z0) → false 515.09/161.68
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.68
and(true, true) → true 515.09/161.68
and(false, z0) → false 515.09/161.68
and(z0, false) → false
The order we found is given by the following interpretation:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1))
POL(0) = 0 515.09/161.68
POL(COND1(x1, x2, x3)) = [4]x2 515.09/161.68
POL(COND2(x1, x2, x3)) = [4]x2 515.09/161.68
POL(COND3(x1, x2, x3)) = [4]x2 515.09/161.68
POL(COND4(x1, x2, x3)) = [4]x2 515.09/161.68
POL(GR(x1, x2)) = 0 515.09/161.68
POL(and(x1, x2)) = 0 515.09/161.68
POL(c(x1)) = x1 515.09/161.68
POL(c(x1, x2)) = x1 + x2 515.09/161.68
POL(c1(x1)) = x1 515.09/161.68
POL(c2(x1)) = x1 515.09/161.68
POL(c3(x1)) = x1 515.09/161.68
POL(c4(x1)) = x1 515.09/161.68
POL(c5(x1)) = x1 515.09/161.68
POL(c6(x1)) = x1 515.09/161.68
POL(c9(x1)) = x1 515.09/161.68
POL(false) = 0 515.09/161.68
POL(gr(x1, x2)) = 0 515.09/161.68
POL(p(x1)) = x1 515.09/161.68
POL(s(x1)) = [4] + x1 515.09/161.68
POL(true) = 0
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.09/161.68
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.09/161.68
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.09/161.68
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.09/161.68
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.09/161.68
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
gr(0, z0) → false 515.09/161.68
gr(s(z0), 0) → true 515.09/161.68
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.68
and(true, true) → true 515.09/161.68
and(false, z0) → false 515.09/161.68
and(z0, false) → false 515.09/161.68
p(0) → 0 515.09/161.68
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND3(false, z0, z1) → c4(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND3, COND4, COND1, COND2
c9, c4, c5, c6, c, c, c1, c2, c3
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.09/161.68
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.09/161.68
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.09/161.68
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.09/161.68
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.09/161.68
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.09/161.68
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.09/161.68
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.09/161.68
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
gr(0, z0) → false 515.09/161.68
gr(s(z0), 0) → true 515.09/161.68
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.68
and(true, true) → true 515.09/161.68
and(false, z0) → false 515.09/161.68
and(z0, false) → false 515.09/161.68
p(0) → 0 515.09/161.68
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.09/161.68
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.09/161.68
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.09/161.68
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.09/161.68
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.09/161.68
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.09/161.68
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.09/161.68
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.09/161.68
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND4, COND1, COND2, COND3
c9, c5, c6, c, c, c1, c2, c3, c4
We considered the (Usable) Rules:
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1))
And the Tuples:
gr(0, z0) → false 515.09/161.68
gr(s(z0), 0) → true 515.09/161.68
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.68
and(true, true) → true 515.09/161.68
and(z0, false) → false 515.09/161.68
and(false, z0) → false 515.09/161.68
p(s(z0)) → z0 515.09/161.68
p(0) → 0
The order we found is given by the following interpretation:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.09/161.68
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.09/161.68
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.09/161.68
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.09/161.68
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1))
POL(0) = [1] 515.09/161.68
POL(COND1(x1, x2, x3)) = x1 515.09/161.68
POL(COND2(x1, x2, x3)) = [1] 515.09/161.68
POL(COND3(x1, x2, x3)) = [1] 515.09/161.68
POL(COND4(x1, x2, x3)) = [1] 515.09/161.68
POL(GR(x1, x2)) = 0 515.09/161.68
POL(and(x1, x2)) = x1 515.09/161.68
POL(c(x1)) = x1 515.09/161.68
POL(c(x1, x2)) = x1 + x2 515.09/161.68
POL(c1(x1)) = x1 515.09/161.68
POL(c2(x1)) = x1 515.09/161.68
POL(c3(x1)) = x1 515.09/161.68
POL(c4(x1)) = x1 515.09/161.68
POL(c5(x1)) = x1 515.09/161.68
POL(c6(x1)) = x1 515.09/161.68
POL(c9(x1)) = x1 515.09/161.68
POL(false) = 0 515.09/161.68
POL(gr(x1, x2)) = x2 515.09/161.68
POL(p(x1)) = 0 515.09/161.68
POL(s(x1)) = 0 515.09/161.68
POL(true) = [1]
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.09/161.68
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.09/161.68
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.09/161.68
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.09/161.68
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.09/161.68
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
gr(0, z0) → false 515.09/161.68
gr(s(z0), 0) → true 515.09/161.68
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.68
and(true, true) → true 515.09/161.68
and(false, z0) → false 515.09/161.68
and(z0, false) → false 515.09/161.68
p(0) → 0 515.09/161.68
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.09/161.68
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.09/161.68
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.09/161.68
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.09/161.68
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.09/161.68
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.09/161.68
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.09/161.68
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.09/161.68
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND4, COND1, COND2, COND3
c9, c5, c6, c, c, c1, c2, c3, c4
We considered the (Usable) Rules:
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0))
And the Tuples:
gr(0, z0) → false 515.09/161.68
gr(s(z0), 0) → true 515.09/161.68
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.68
and(true, true) → true 515.09/161.68
and(z0, false) → false 515.09/161.68
and(false, z0) → false 515.09/161.68
p(s(z0)) → z0 515.09/161.68
p(0) → 0
The order we found is given by the following interpretation:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.09/161.68
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.09/161.68
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.09/161.68
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.09/161.68
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1))
POL(0) = 0 515.09/161.68
POL(COND1(x1, x2, x3)) = x1 515.09/161.68
POL(COND2(x1, x2, x3)) = [2] 515.09/161.68
POL(COND3(x1, x2, x3)) = [2] 515.09/161.68
POL(COND4(x1, x2, x3)) = [2] 515.09/161.68
POL(GR(x1, x2)) = 0 515.09/161.68
POL(and(x1, x2)) = x2 515.09/161.68
POL(c(x1)) = x1 515.09/161.68
POL(c(x1, x2)) = x1 + x2 515.09/161.68
POL(c1(x1)) = x1 515.09/161.68
POL(c2(x1)) = x1 515.09/161.68
POL(c3(x1)) = x1 515.09/161.68
POL(c4(x1)) = x1 515.09/161.68
POL(c5(x1)) = x1 515.09/161.68
POL(c6(x1)) = x1 515.09/161.68
POL(c9(x1)) = x1 515.09/161.68
POL(false) = 0 515.09/161.68
POL(gr(x1, x2)) = [2] 515.09/161.68
POL(p(x1)) = 0 515.09/161.68
POL(s(x1)) = 0 515.09/161.68
POL(true) = [2]
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.09/161.68
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.09/161.68
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.09/161.68
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.09/161.68
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.09/161.68
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
gr(0, z0) → false 515.09/161.68
gr(s(z0), 0) → true 515.09/161.68
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.68
and(true, true) → true 515.09/161.68
and(false, z0) → false 515.09/161.68
and(z0, false) → false 515.09/161.68
p(0) → 0 515.09/161.68
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.09/161.68
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.09/161.68
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.09/161.68
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.09/161.68
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND4(true, z0, z1) → c5(COND4(gr(z1, 0), z0, p(z1))) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.09/161.68
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.09/161.68
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.09/161.68
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.09/161.68
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND4, COND1, COND2, COND3
c9, c5, c6, c, c, c1, c2, c3, c4
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.09/161.68
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.09/161.68
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.09/161.68
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0))))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.09/161.68
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.09/161.68
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.09/161.68
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.09/161.68
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.09/161.68
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.09/161.68
gr(0, z0) → false 515.09/161.68
gr(s(z0), 0) → true 515.09/161.68
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.68
and(true, true) → true 515.09/161.68
and(false, z0) → false 515.09/161.68
and(z0, false) → false 515.09/161.68
p(0) → 0 515.09/161.68
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.09/161.68
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.09/161.68
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.09/161.68
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.09/161.68
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.09/161.68
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.09/161.68
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.09/161.68
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.09/161.68
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0))))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.09/161.68
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.09/161.68
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.09/161.68
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.09/161.68
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.09/161.68
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.09/161.68
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.09/161.68
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.09/161.68
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.09/161.68
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.09/161.68
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.09/161.68
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.09/161.68
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.09/161.68
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0))))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.09/161.68
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.09/161.68
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND4, COND1, COND2, COND3
c9, c6, c, c, c1, c2, c3, c4, c5
We considered the (Usable) Rules:
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0))
And the Tuples:
p(s(z0)) → z0 515.09/161.68
p(0) → 0 515.09/161.68
gr(s(z0), 0) → true 515.09/161.68
gr(0, z0) → false 515.09/161.68
gr(s(z0), s(z1)) → gr(z0, z1) 515.09/161.68
and(true, true) → true 515.09/161.68
and(z0, false) → false 515.09/161.68
and(false, z0) → false
The order we found is given by the following interpretation:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.09/161.68
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.09/161.68
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.48/161.77
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.77
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.77
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.77
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.77
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.48/161.77
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.77
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.77
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.77
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.77
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.77
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0))))
POL(0) = 0 515.48/161.77
POL(COND1(x1, x2, x3)) = [4]x3 515.48/161.77
POL(COND2(x1, x2, x3)) = [4]x3 515.48/161.77
POL(COND3(x1, x2, x3)) = [4]x3 515.48/161.77
POL(COND4(x1, x2, x3)) = [4]x3 515.48/161.77
POL(GR(x1, x2)) = 0 515.48/161.77
POL(and(x1, x2)) = 0 515.48/161.77
POL(c(x1)) = x1 515.48/161.77
POL(c(x1, x2)) = x1 + x2 515.48/161.77
POL(c1(x1)) = x1 515.48/161.77
POL(c2(x1)) = x1 515.48/161.77
POL(c3(x1)) = x1 515.48/161.77
POL(c4(x1)) = x1 515.48/161.77
POL(c5(x1)) = x1 515.48/161.77
POL(c6(x1)) = x1 515.48/161.77
POL(c9(x1)) = x1 515.48/161.77
POL(false) = 0 515.48/161.77
POL(gr(x1, x2)) = 0 515.48/161.77
POL(p(x1)) = x1 515.48/161.77
POL(s(x1)) = [4] + x1 515.48/161.77
POL(true) = 0
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.77
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.77
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.77
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.77
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.77
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.77
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.77
gr(0, z0) → false 515.48/161.77
gr(s(z0), 0) → true 515.48/161.77
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.77
and(true, true) → true 515.48/161.77
and(false, z0) → false 515.48/161.77
and(z0, false) → false 515.48/161.77
p(0) → 0 515.48/161.77
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.77
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.48/161.77
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.48/161.77
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.77
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.77
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.77
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.77
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.48/161.77
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.77
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.77
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.77
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.77
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.77
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0))))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.77
COND4(false, z0, z1) → c6(COND1(and(gr(z0, 0), gr(z1, 0)), z0, z1)) 515.48/161.77
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.48/161.77
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.77
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.77
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.77
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.77
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.77
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.77
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.77
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0))))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.77
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.77
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND4, COND1, COND2, COND3
c9, c6, c, c, c1, c2, c3, c4, c5
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.77
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.77
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.77
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.77
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.77
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.77
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.77
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.77
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.77
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.77
gr(0, z0) → false 515.48/161.77
gr(s(z0), 0) → true 515.48/161.77
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.77
and(true, true) → true 515.48/161.77
and(false, z0) → false 515.48/161.77
and(z0, false) → false 515.48/161.77
p(0) → 0 515.48/161.77
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.77
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.48/161.77
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.77
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.77
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.77
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.77
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.48/161.77
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.77
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.77
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.77
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.77
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.77
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.77
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.77
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.77
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.77
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.77
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.48/161.77
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.77
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.77
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.77
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.77
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.77
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.77
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.77
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.77
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.77
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.77
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.77
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.77
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.77
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c, c1, c2, c3, c4, c5, c6
We considered the (Usable) Rules:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1))
And the Tuples:
gr(0, z0) → false 515.48/161.77
gr(s(z0), 0) → true 515.48/161.77
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.77
and(true, true) → true 515.48/161.77
and(z0, false) → false 515.48/161.77
and(false, z0) → false 515.48/161.77
p(s(z0)) → z0 515.48/161.77
p(0) → 0
The order we found is given by the following interpretation:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.77
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.48/161.77
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.77
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.77
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.77
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.77
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.48/161.77
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.77
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.77
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.77
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.77
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.77
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.77
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.77
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.77
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.77
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1))
POL(0) = 0 515.48/161.77
POL(COND1(x1, x2, x3)) = x1 515.48/161.77
POL(COND2(x1, x2, x3)) = [1] 515.48/161.77
POL(COND3(x1, x2, x3)) = [1] 515.48/161.77
POL(COND4(x1, x2, x3)) = [1] 515.48/161.77
POL(GR(x1, x2)) = 0 515.48/161.77
POL(and(x1, x2)) = x1 515.48/161.77
POL(c(x1)) = x1 515.48/161.77
POL(c(x1, x2)) = x1 + x2 515.48/161.77
POL(c1(x1)) = x1 515.48/161.77
POL(c2(x1)) = x1 515.48/161.77
POL(c3(x1)) = x1 515.48/161.77
POL(c4(x1)) = x1 515.48/161.77
POL(c5(x1)) = x1 515.48/161.77
POL(c6(x1)) = x1 515.48/161.77
POL(c9(x1)) = x1 515.48/161.77
POL(false) = 0 515.48/161.77
POL(gr(x1, x2)) = [1] 515.48/161.77
POL(p(x1)) = 0 515.48/161.77
POL(s(x1)) = 0 515.48/161.77
POL(true) = [1]
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.77
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.77
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.77
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.77
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.77
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.77
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.77
gr(0, z0) → false 515.48/161.77
gr(s(z0), 0) → true 515.48/161.77
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.77
and(true, true) → true 515.48/161.77
and(false, z0) → false 515.48/161.77
and(z0, false) → false 515.48/161.77
p(0) → 0 515.48/161.77
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.77
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.48/161.77
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.77
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.77
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.77
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.77
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.48/161.77
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.77
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.77
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.77
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.77
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.77
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.77
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.77
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.77
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.77
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.77
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.48/161.77
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.77
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.77
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.77
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.77
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.77
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.77
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.77
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.77
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.77
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.77
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.77
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.77
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.77
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c, c1, c2, c3, c4, c5, c6
We considered the (Usable) Rules:
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0))
And the Tuples:
gr(0, z0) → false 515.48/161.77
gr(s(z0), 0) → true 515.48/161.77
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.77
and(true, true) → true 515.48/161.77
and(z0, false) → false 515.48/161.77
and(false, z0) → false 515.48/161.77
p(s(z0)) → z0 515.48/161.77
p(0) → 0
The order we found is given by the following interpretation:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.77
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.48/161.77
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.77
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.77
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.77
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.77
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.48/161.77
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.77
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.77
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.77
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.77
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.77
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.77
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.77
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.77
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.77
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.77
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.77
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.77
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1))
POL(0) = [1] 515.48/161.77
POL(COND1(x1, x2, x3)) = x1 515.48/161.77
POL(COND2(x1, x2, x3)) = [1] 515.48/161.77
POL(COND3(x1, x2, x3)) = [1] 515.48/161.77
POL(COND4(x1, x2, x3)) = [1] 515.48/161.77
POL(GR(x1, x2)) = 0 515.48/161.77
POL(and(x1, x2)) = x2 515.48/161.77
POL(c(x1)) = x1 515.48/161.77
POL(c(x1, x2)) = x1 + x2 515.48/161.77
POL(c1(x1)) = x1 515.48/161.77
POL(c2(x1)) = x1 515.48/161.77
POL(c3(x1)) = x1 515.48/161.77
POL(c4(x1)) = x1 515.48/161.77
POL(c5(x1)) = x1 515.48/161.77
POL(c6(x1)) = x1 515.48/161.77
POL(c9(x1)) = x1 515.48/161.77
POL(false) = 0 515.48/161.77
POL(gr(x1, x2)) = x2 515.48/161.77
POL(p(x1)) = 0 515.48/161.77
POL(s(x1)) = 0 515.48/161.77
POL(true) = [1]
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.77
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.77
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.78
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.78
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.78
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.78
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.78
gr(0, z0) → false 515.48/161.78
gr(s(z0), 0) → true 515.48/161.78
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.78
and(true, true) → true 515.48/161.78
and(false, z0) → false 515.48/161.78
and(z0, false) → false 515.48/161.78
p(0) → 0 515.48/161.78
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, s(z0), s(z1)) → c(COND2(gr(z0, z1), s(z0), s(z1)), GR(s(z0), s(z1))) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c, c1, c2, c3, c4, c5, c6
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1)))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.78
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.78
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.78
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.78
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.78
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.78
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.78
gr(0, z0) → false 515.48/161.78
gr(s(z0), 0) → true 515.48/161.78
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.78
and(true, true) → true 515.48/161.78
and(false, z0) → false 515.48/161.78
and(z0, false) → false 515.48/161.78
p(0) → 0 515.48/161.78
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1)))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1)))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c3, c4, c5, c6, c
We considered the (Usable) Rules:
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1)))
And the Tuples:
gr(0, z0) → false 515.48/161.78
gr(s(z0), 0) → true 515.48/161.78
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.78
and(true, true) → true 515.48/161.78
and(z0, false) → false 515.48/161.78
and(false, z0) → false 515.48/161.78
p(s(z0)) → z0 515.48/161.78
p(0) → 0
The order we found is given by the following interpretation:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1)))
POL(0) = 0 515.48/161.78
POL(COND1(x1, x2, x3)) = [1] 515.48/161.78
POL(COND2(x1, x2, x3)) = [1] 515.48/161.78
POL(COND3(x1, x2, x3)) = [1] 515.48/161.78
POL(COND4(x1, x2, x3)) = [1] 515.48/161.78
POL(GR(x1, x2)) = 0 515.48/161.78
POL(and(x1, x2)) = 0 515.48/161.78
POL(c(x1)) = x1 515.48/161.78
POL(c(x1, x2)) = x1 + x2 515.48/161.78
POL(c1(x1)) = x1 515.48/161.78
POL(c2(x1)) = x1 515.48/161.78
POL(c3(x1)) = x1 515.48/161.78
POL(c4(x1)) = x1 515.48/161.78
POL(c5(x1)) = x1 515.48/161.78
POL(c6(x1)) = x1 515.48/161.78
POL(c9(x1)) = x1 515.48/161.78
POL(false) = 0 515.48/161.78
POL(gr(x1, x2)) = 0 515.48/161.78
POL(p(x1)) = 0 515.48/161.78
POL(s(x1)) = 0 515.48/161.78
POL(true) = 0
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.78
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.78
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.78
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.78
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.78
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.78
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.78
gr(0, z0) → false 515.48/161.78
gr(s(z0), 0) → true 515.48/161.78
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.78
and(true, true) → true 515.48/161.78
and(false, z0) → false 515.48/161.78
and(z0, false) → false 515.48/161.78
p(0) → 0 515.48/161.78
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1)))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(gr(0, 0), 0, x1)) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c3, c4, c5, c6, c
COND3(true, 0, x0) → c3(COND3(false, 0, x0))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.78
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.78
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.78
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.78
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.78
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.78
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.78
gr(0, z0) → false 515.48/161.78
gr(s(z0), 0) → true 515.48/161.78
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.78
and(true, true) → true 515.48/161.78
and(false, z0) → false 515.48/161.78
and(z0, false) → false 515.48/161.78
p(0) → 0 515.48/161.78
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.78
COND3(true, 0, x0) → c3(COND3(false, 0, x0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.78
COND3(true, 0, x0) → c3(COND3(false, 0, x0))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c3, c4, c5, c6, c
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.78
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.78
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.78
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.78
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.78
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.78
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.78
gr(0, z0) → false 515.48/161.78
gr(s(z0), 0) → true 515.48/161.78
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.78
and(true, true) → true 515.48/161.78
and(false, z0) → false 515.48/161.78
and(z0, false) → false 515.48/161.78
p(0) → 0 515.48/161.78
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.78
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(true, 0, x1) → c3(COND3(false, p(0), x1)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.78
COND3(true, 0, x0) → c3(COND3(false, 0, x0))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c3, c4, c5, c6, c
COND3(true, 0, x0) → c3(COND3(false, 0, x0))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.78
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.78
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.78
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.78
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.78
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.78
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.78
gr(0, z0) → false 515.48/161.78
gr(s(z0), 0) → true 515.48/161.78
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.78
and(true, true) → true 515.48/161.78
and(false, z0) → false 515.48/161.78
and(z0, false) → false 515.48/161.78
p(0) → 0 515.48/161.78
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.78
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.78
COND3(true, 0, x0) → c3(COND3(false, 0, x0))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c3, c4, c5, c6, c
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1)))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.78
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.78
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.78
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.78
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.78
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.78
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.78
gr(0, z0) → false 515.48/161.78
gr(s(z0), 0) → true 515.48/161.78
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.78
and(true, true) → true 515.48/161.78
and(false, z0) → false 515.48/161.78
and(z0, false) → false 515.48/161.78
p(0) → 0 515.48/161.78
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.78
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, p(s(z0)), x1)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.78
COND3(true, 0, x0) → c3(COND3(false, 0, x0))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c3, c4, c5, c6, c
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.78
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.78
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.78
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.78
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.78
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.78
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.78
gr(0, z0) → false 515.48/161.78
gr(s(z0), 0) → true 515.48/161.78
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.78
and(true, true) → true 515.48/161.78
and(false, z0) → false 515.48/161.78
and(z0, false) → false 515.48/161.78
p(0) → 0 515.48/161.78
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.78
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.78
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c4, c5, c6, c, c3
We considered the (Usable) Rules:
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1))
And the Tuples:
gr(0, z0) → false 515.48/161.78
gr(s(z0), 0) → true 515.48/161.78
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.78
and(true, true) → true 515.48/161.78
and(z0, false) → false 515.48/161.78
and(false, z0) → false 515.48/161.78
p(s(z0)) → z0 515.48/161.78
p(0) → 0
The order we found is given by the following interpretation:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.78
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.78
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.78
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.78
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.78
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.78
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.78
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.78
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.78
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.78
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.78
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.78
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.78
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.78
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.78
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.78
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.78
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.78
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1))
POL(0) = 0 515.48/161.78
POL(COND1(x1, x2, x3)) = [4]x2 515.48/161.78
POL(COND2(x1, x2, x3)) = [4]x2 515.48/161.78
POL(COND3(x1, x2, x3)) = [4]x2 515.48/161.78
POL(COND4(x1, x2, x3)) = [4]x2 515.48/161.78
POL(GR(x1, x2)) = 0 515.48/161.78
POL(and(x1, x2)) = [2]x2 515.48/161.78
POL(c(x1)) = x1 515.48/161.78
POL(c(x1, x2)) = x1 + x2 515.48/161.78
POL(c1(x1)) = x1 515.48/161.78
POL(c2(x1)) = x1 515.48/161.78
POL(c3(x1)) = x1 515.48/161.78
POL(c4(x1)) = x1 515.48/161.78
POL(c5(x1)) = x1 515.48/161.78
POL(c6(x1)) = x1 515.48/161.78
POL(c9(x1)) = x1 515.48/161.78
POL(false) = 0 515.48/161.78
POL(gr(x1, x2)) = [4]x1 515.48/161.79
POL(p(x1)) = 0 515.48/161.79
POL(s(x1)) = [4] + x1 515.48/161.79
POL(true) = [2]
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.79
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c4, c5, c6, c, c3
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1)))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.79
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c4, c5, c6, c, c3
COND3(false, x0, 0) → c4(COND1(false, x0, 0)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, x0, 0) → c4(COND1(false, x0, 0)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.79
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c4, c5, c6, c, c3
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND3(true, s(z0), x1) → c3(COND3(gr(s(z0), 0), z0, x1)) 515.48/161.79
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND3(false, x0, 0) → c4(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c4, c5, c6, c, c3, c4
COND3(false, x0, 0) → c4
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c4, c5, c6, c, c3, c4
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.79
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1)))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4 515.48/161.79
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.79
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1)))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(false, x0, s(z0)) → c4(COND1(and(gr(x0, 0), true), x0, s(z0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c4, c5, c6, c, c3, c4
COND3(false, x0, 0) → c4
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4 515.48/161.79
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.79
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1)))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c4, c5, c6, c, c3, c4
We considered the (Usable) Rules:
COND1(true, 0, z0) → c(COND2(false, 0, z0))
And the Tuples:
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
p(s(z0)) → z0 515.48/161.79
p(0) → 0
The order we found is given by the following interpretation:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4 515.48/161.79
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.79
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1)))
POL(0) = 0 515.48/161.79
POL(COND1(x1, x2, x3)) = x1 515.48/161.79
POL(COND2(x1, x2, x3)) = x2 515.48/161.79
POL(COND3(x1, x2, x3)) = [1] 515.48/161.79
POL(COND4(x1, x2, x3)) = x2 515.48/161.79
POL(GR(x1, x2)) = 0 515.48/161.79
POL(and(x1, x2)) = x1 515.48/161.79
POL(c(x1)) = x1 515.48/161.79
POL(c(x1, x2)) = x1 + x2 515.48/161.79
POL(c1(x1)) = x1 515.48/161.79
POL(c2(x1)) = x1 515.48/161.79
POL(c3(x1)) = x1 515.48/161.79
POL(c4) = 0 515.48/161.79
POL(c4(x1)) = x1 515.48/161.79
POL(c5(x1)) = x1 515.48/161.79
POL(c6(x1)) = x1 515.48/161.79
POL(c9(x1)) = x1 515.48/161.79
POL(false) = 0 515.48/161.79
POL(gr(x1, x2)) = x1 515.48/161.79
POL(p(x1)) = 0 515.48/161.79
POL(s(x1)) = [1] 515.48/161.79
POL(true) = [1]
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4 515.48/161.79
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.79
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1)))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c4, c5, c6, c, c3, c4
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4 515.48/161.79
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.79
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1)))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c4, c5, c6, c, c3, c4
COND3(false, 0, x0) → c4(COND1(false, 0, x0)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, 0, s(z0)) → c4(COND1(and(false, true), 0, s(z0)))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4 515.48/161.79
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.79
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.48/161.79
COND3(false, 0, x0) → c4(COND1(false, 0, x0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c4, c5, c6, c, c3, c4
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4 515.48/161.79
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.79
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.48/161.79
COND3(false, 0, x0) → c4
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND3(false, 0, x1) → c4(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c4, c5, c6, c, c3, c4
COND3(false, 0, x0) → c4 515.48/161.79
COND3(false, x0, 0) → c4
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4 515.48/161.79
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.79
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.48/161.79
COND3(false, 0, x0) → c4
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c4, c5, c6, c, c3, c4
COND3(false, s(x0), 0) → c4(COND1(and(true, false), s(x0), 0)) 515.48/161.79
COND3(false, s(x0), s(z0)) → c4(COND1(and(true, true), s(x0), s(z0)))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4 515.48/161.79
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.79
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.48/161.79
COND3(false, 0, x0) → c4
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(false, s(z0), x1) → c4(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c5, c6, c, c3, c4, c4
COND3(false, 0, x0) → c4 515.48/161.79
COND3(false, x0, 0) → c4
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4 515.48/161.79
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.79
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.48/161.79
COND3(false, 0, x0) → c4
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c5, c6, c, c3, c4, c4
We considered the (Usable) Rules:
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0)))
And the Tuples:
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
p(s(z0)) → z0 515.48/161.79
p(0) → 0
The order we found is given by the following interpretation:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4 515.48/161.79
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.79
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.48/161.79
COND3(false, 0, x0) → c4
POL(0) = 0 515.48/161.79
POL(COND1(x1, x2, x3)) = [2]x2 515.48/161.79
POL(COND2(x1, x2, x3)) = x1·x2 515.48/161.79
POL(COND3(x1, x2, x3)) = [2]x1·x2 515.48/161.79
POL(COND4(x1, x2, x3)) = [2]x2 515.48/161.79
POL(GR(x1, x2)) = 0 515.48/161.79
POL(and(x1, x2)) = 0 515.48/161.79
POL(c(x1)) = x1 515.48/161.79
POL(c(x1, x2)) = x1 + x2 515.48/161.79
POL(c1(x1)) = x1 515.48/161.79
POL(c2(x1)) = x1 515.48/161.79
POL(c3(x1)) = x1 515.48/161.79
POL(c4) = 0 515.48/161.79
POL(c4(x1)) = x1 515.48/161.79
POL(c5(x1)) = x1 515.48/161.79
POL(c6(x1)) = x1 515.48/161.79
POL(c9(x1)) = x1 515.48/161.79
POL(false) = [2] 515.48/161.79
POL(gr(x1, x2)) = [2] 515.48/161.79
POL(p(x1)) = 0 515.48/161.79
POL(s(x1)) = [2] + x1 515.48/161.79
POL(true) = 0
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4 515.48/161.79
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.79
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.48/161.79
COND3(false, 0, x0) → c4
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(gr(0, 0), x0, 0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c5, c6, c, c3, c4, c4
COND4(true, x0, 0) → c5(COND4(false, x0, 0))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4 515.48/161.79
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.79
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.48/161.79
COND3(false, 0, x0) → c4 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, 0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, 0))
Defined Rule Symbols:
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c5, c6, c, c3, c4, c4
COND3(false, 0, x0) → c4 515.48/161.79
COND3(false, x0, 0) → c4
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4 515.48/161.79
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.79
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.48/161.79
COND3(false, 0, x0) → c4 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, 0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, 0))
Defined Rule Symbols:
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c5, c6, c, c3, c4, c4
We considered the (Usable) Rules:
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1))
And the Tuples:
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
p(s(z0)) → z0 515.48/161.79
p(0) → 0
The order we found is given by the following interpretation:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.79
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.79
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.79
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.79
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.79
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.79
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.79
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.79
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.79
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.79
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.79
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.79
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.79
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.79
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.79
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.79
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.79
COND3(false, x0, 0) → c4 515.48/161.79
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.79
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.48/161.79
COND3(false, 0, x0) → c4 515.48/161.79
COND4(true, x0, 0) → c5(COND4(false, x0, 0))
POL(0) = 0 515.48/161.79
POL(COND1(x1, x2, x3)) = x22 515.48/161.79
POL(COND2(x1, x2, x3)) = x22 515.48/161.79
POL(COND3(x1, x2, x3)) = [2]x1·x2 515.48/161.79
POL(COND4(x1, x2, x3)) = x22 515.48/161.79
POL(GR(x1, x2)) = 0 515.48/161.79
POL(and(x1, x2)) = 0 515.48/161.79
POL(c(x1)) = x1 515.48/161.79
POL(c(x1, x2)) = x1 + x2 515.48/161.79
POL(c1(x1)) = x1 515.48/161.79
POL(c2(x1)) = x1 515.48/161.79
POL(c3(x1)) = x1 515.48/161.79
POL(c4) = 0 515.48/161.79
POL(c4(x1)) = x1 515.48/161.79
POL(c5(x1)) = x1 515.48/161.79
POL(c6(x1)) = x1 515.48/161.79
POL(c9(x1)) = x1 515.48/161.79
POL(false) = [2] 515.48/161.79
POL(gr(x1, x2)) = x12 515.48/161.79
POL(p(x1)) = 0 515.48/161.79
POL(s(x1)) = [1] 515.48/161.79
POL(true) = 0
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.79
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.79
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.79
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.79
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.79
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.79
gr(0, z0) → false 515.48/161.79
gr(s(z0), 0) → true 515.48/161.79
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.79
and(true, true) → true 515.48/161.79
and(false, z0) → false 515.48/161.79
and(z0, false) → false 515.48/161.79
p(0) → 0 515.48/161.79
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.79
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.79
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.80
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.80
COND3(false, x0, 0) → c4 515.48/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.48/161.80
COND3(false, 0, x0) → c4 515.48/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0))
Defined Rule Symbols:
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c5, c6, c, c3, c4, c4
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.80
gr(0, z0) → false 515.48/161.80
gr(s(z0), 0) → true 515.48/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.80
and(true, true) → true 515.48/161.80
and(false, z0) → false 515.48/161.80
and(z0, false) → false 515.48/161.80
p(0) → 0 515.48/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.80
COND3(false, x0, 0) → c4 515.48/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.48/161.80
COND3(false, 0, x0) → c4 515.48/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.48/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0))
Defined Rule Symbols:
COND4(true, x0, s(z0)) → c5(COND4(gr(s(z0), 0), x0, z0)) 515.48/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c5, c6, c, c3, c4, c4
COND3(false, 0, x0) → c4 515.48/161.80
COND3(false, x0, 0) → c4
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.80
gr(0, z0) → false 515.48/161.80
gr(s(z0), 0) → true 515.48/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.80
and(true, true) → true 515.48/161.80
and(false, z0) → false 515.48/161.80
and(z0, false) → false 515.48/161.80
p(0) → 0 515.48/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.80
COND3(false, x0, 0) → c4 515.48/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.48/161.80
COND3(false, 0, x0) → c4 515.48/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.48/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, p(0))) 515.48/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c5, c6, c, c3, c4, c4
COND4(true, x0, 0) → c5(COND4(false, x0, 0))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.80
gr(0, z0) → false 515.48/161.80
gr(s(z0), 0) → true 515.48/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.80
and(true, true) → true 515.48/161.80
and(false, z0) → false 515.48/161.80
and(z0, false) → false 515.48/161.80
p(0) → 0 515.48/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.80
COND3(false, x0, 0) → c4 515.48/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.48/161.80
COND3(false, 0, x0) → c4 515.48/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.48/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c5, c6, c, c3, c4, c4
COND3(false, 0, x0) → c4 515.48/161.80
COND3(false, x0, 0) → c4
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.80
gr(0, z0) → false 515.48/161.80
gr(s(z0), 0) → true 515.48/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.80
and(true, true) → true 515.48/161.80
and(false, z0) → false 515.48/161.80
and(z0, false) → false 515.48/161.80
p(0) → 0 515.48/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.48/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.48/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.48/161.80
COND3(false, x0, 0) → c4 515.48/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.48/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.48/161.80
COND3(false, 0, x0) → c4 515.48/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.48/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.48/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.48/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.48/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.48/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.48/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.48/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.48/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.48/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.48/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.48/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.48/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.48/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c5, c6, c, c3, c4, c4
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.48/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.48/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.48/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1)))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.48/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.48/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.48/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.48/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.48/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.48/161.80
gr(0, z0) → false 515.48/161.80
gr(s(z0), 0) → true 515.48/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.48/161.80
and(true, true) → true 515.48/161.80
and(false, z0) → false 515.48/161.80
and(z0, false) → false 515.48/161.80
p(0) → 0 515.48/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.48/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.81/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.81/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, p(s(z0)))) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c5, c6, c, c3, c4, c4
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
gr(0, z0) → false 515.81/161.80
gr(s(z0), 0) → true 515.81/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.80
and(true, true) → true 515.81/161.80
and(false, z0) → false 515.81/161.80
and(z0, false) → false 515.81/161.80
p(0) → 0 515.81/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.81/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c6, c, c3, c4, c4, c5
COND3(false, 0, x0) → c4 515.81/161.80
COND3(false, x0, 0) → c4
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
gr(0, z0) → false 515.81/161.80
gr(s(z0), 0) → true 515.81/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.80
and(true, true) → true 515.81/161.80
and(false, z0) → false 515.81/161.80
and(z0, false) → false 515.81/161.80
p(0) → 0 515.81/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.81/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c6, c, c3, c4, c4, c5
We considered the (Usable) Rules:
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
And the Tuples:
and(true, true) → true 515.81/161.80
and(false, z0) → false 515.81/161.80
and(z0, false) → false 515.81/161.80
gr(0, z0) → false 515.81/161.80
gr(s(z0), 0) → true 515.81/161.80
gr(s(z0), s(z1)) → gr(z0, z1)
The order we found is given by the following interpretation:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.81/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
POL(0) = 0 515.81/161.80
POL(COND1(x1, x2, x3)) = [4]x3 515.81/161.80
POL(COND2(x1, x2, x3)) = [4]x3 515.81/161.80
POL(COND3(x1, x2, x3)) = [4]x3 515.81/161.80
POL(COND4(x1, x2, x3)) = [4]x3 515.81/161.80
POL(GR(x1, x2)) = 0 515.81/161.80
POL(and(x1, x2)) = 0 515.81/161.80
POL(c(x1)) = x1 515.81/161.80
POL(c(x1, x2)) = x1 + x2 515.81/161.80
POL(c1(x1)) = x1 515.81/161.80
POL(c2(x1)) = x1 515.81/161.80
POL(c3(x1)) = x1 515.81/161.80
POL(c4) = 0 515.81/161.80
POL(c4(x1)) = x1 515.81/161.80
POL(c5(x1)) = x1 515.81/161.80
POL(c6(x1)) = x1 515.81/161.80
POL(c9(x1)) = x1 515.81/161.80
POL(false) = 0 515.81/161.80
POL(gr(x1, x2)) = 0 515.81/161.80
POL(s(x1)) = [2] + x1 515.81/161.80
POL(true) = 0
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
gr(0, z0) → false 515.81/161.80
gr(s(z0), 0) → true 515.81/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.80
and(true, true) → true 515.81/161.80
and(false, z0) → false 515.81/161.80
and(z0, false) → false 515.81/161.80
p(0) → 0 515.81/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.81/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c6, c, c3, c4, c4, c5
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.81/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1)))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
gr(0, z0) → false 515.81/161.80
gr(s(z0), 0) → true 515.81/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.80
and(true, true) → true 515.81/161.80
and(false, z0) → false 515.81/161.80
and(z0, false) → false 515.81/161.80
p(0) → 0 515.81/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.81/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c6, c, c3, c4, c4, c5
COND4(false, x0, 0) → c6(COND1(false, x0, 0)) 515.81/161.80
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.80
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
gr(0, z0) → false 515.81/161.80
gr(s(z0), 0) → true 515.81/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.80
and(true, true) → true 515.81/161.80
and(false, z0) → false 515.81/161.80
and(z0, false) → false 515.81/161.80
p(0) → 0 515.81/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.81/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(false, x0, 0) → c6(COND1(false, x0, 0)) 515.81/161.80
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.80
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c6, c, c3, c4, c4, c5
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
gr(0, z0) → false 515.81/161.80
gr(s(z0), 0) → true 515.81/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.80
and(true, true) → true 515.81/161.80
and(false, z0) → false 515.81/161.80
and(z0, false) → false 515.81/161.80
p(0) → 0 515.81/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.81/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.80
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND4(false, x0, 0) → c6
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, x0, 0) → c6(COND1(and(gr(x0, 0), false), x0, 0)) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c6, c, c3, c4, c4, c5, c6
COND3(false, 0, x0) → c4 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND4(false, x0, 0) → c6
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
gr(0, z0) → false 515.81/161.80
gr(s(z0), 0) → true 515.81/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.80
and(true, true) → true 515.81/161.80
and(false, z0) → false 515.81/161.80
and(z0, false) → false 515.81/161.80
p(0) → 0 515.81/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.81/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.80
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND4(false, x0, 0) → c6
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c6, c, c3, c4, c4, c5, c6
COND4(false, 0, s(x1)) → c6(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND4(false, s(z0), s(x1)) → c6(COND1(and(true, true), s(z0), s(x1)))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
gr(0, z0) → false 515.81/161.80
gr(s(z0), 0) → true 515.81/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.80
and(true, true) → true 515.81/161.80
and(false, z0) → false 515.81/161.80
and(z0, false) → false 515.81/161.80
p(0) → 0 515.81/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.80
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND4(false, x0, 0) → c6 515.81/161.80
COND4(false, 0, s(x1)) → c6(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND4(false, s(z0), s(x1)) → c6(COND1(and(true, true), s(z0), s(x1)))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND4(false, x0, s(z0)) → c6(COND1(and(gr(x0, 0), true), x0, s(z0))) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c6, c, c3, c4, c4, c5, c6
COND3(false, 0, x0) → c4 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND4(false, x0, 0) → c6
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
gr(0, z0) → false 515.81/161.80
gr(s(z0), 0) → true 515.81/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.80
and(true, true) → true 515.81/161.80
and(false, z0) → false 515.81/161.80
and(z0, false) → false 515.81/161.80
p(0) → 0 515.81/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.80
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND4(false, x0, 0) → c6 515.81/161.80
COND4(false, 0, s(x1)) → c6(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND4(false, s(z0), s(x1)) → c6(COND1(and(true, true), s(z0), s(x1)))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c6, c, c3, c4, c4, c5, c6
We considered the (Usable) Rules:
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
And the Tuples:
and(true, true) → true 515.81/161.80
and(false, z0) → false 515.81/161.80
and(z0, false) → false 515.81/161.80
gr(0, z0) → false 515.81/161.80
gr(s(z0), 0) → true 515.81/161.80
gr(s(z0), s(z1)) → gr(z0, z1)
The order we found is given by the following interpretation:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.80
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND4(false, x0, 0) → c6 515.81/161.80
COND4(false, 0, s(x1)) → c6(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND4(false, s(z0), s(x1)) → c6(COND1(and(true, true), s(z0), s(x1)))
POL(0) = 0 515.81/161.80
POL(COND1(x1, x2, x3)) = [2]x3 + x2·x3 515.81/161.80
POL(COND2(x1, x2, x3)) = x2·x3 515.81/161.80
POL(COND3(x1, x2, x3)) = [2]x3 + [2]x1·x2 515.81/161.80
POL(COND4(x1, x2, x3)) = [2]x1·x3 515.81/161.80
POL(GR(x1, x2)) = 0 515.81/161.80
POL(and(x1, x2)) = 0 515.81/161.80
POL(c(x1)) = x1 515.81/161.80
POL(c(x1, x2)) = x1 + x2 515.81/161.80
POL(c1(x1)) = x1 515.81/161.80
POL(c2(x1)) = x1 515.81/161.80
POL(c3(x1)) = x1 515.81/161.80
POL(c4) = 0 515.81/161.80
POL(c4(x1)) = x1 515.81/161.80
POL(c5(x1)) = x1 515.81/161.80
POL(c6) = 0 515.81/161.80
POL(c6(x1)) = x1 515.81/161.80
POL(c9(x1)) = x1 515.81/161.80
POL(false) = [2] 515.81/161.80
POL(gr(x1, x2)) = 0 515.81/161.80
POL(s(x1)) = [2] 515.81/161.80
POL(true) = 0
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
gr(0, z0) → false 515.81/161.80
gr(s(z0), 0) → true 515.81/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.80
and(true, true) → true 515.81/161.80
and(false, z0) → false 515.81/161.80
and(z0, false) → false 515.81/161.80
p(0) → 0 515.81/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.80
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND4(false, x0, 0) → c6 515.81/161.80
COND4(false, 0, s(x1)) → c6(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND4(false, s(z0), s(x1)) → c6(COND1(and(true, true), s(z0), s(x1)))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0)))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1))))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c6, c, c3, c4, c4, c5, c6
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
gr(0, z0) → false 515.81/161.80
gr(s(z0), 0) → true 515.81/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.80
and(true, true) → true 515.81/161.80
and(false, z0) → false 515.81/161.80
and(z0, false) → false 515.81/161.80
p(0) → 0 515.81/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.80
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND4(false, x0, 0) → c6 515.81/161.80
COND4(false, 0, s(x1)) → c6(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND4(false, s(z0), s(x1)) → c6(COND1(and(true, true), s(z0), s(x1)))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c6, c, c3, c4, c4, c5, c6
COND4(false, 0, x0) → c6(COND1(false, 0, x0)) 515.81/161.80
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.80
COND4(false, 0, s(z0)) → c6(COND1(and(false, true), 0, s(z0)))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
gr(0, z0) → false 515.81/161.80
gr(s(z0), 0) → true 515.81/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.80
and(true, true) → true 515.81/161.80
and(false, z0) → false 515.81/161.80
and(z0, false) → false 515.81/161.80
p(0) → 0 515.81/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.80
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND4(false, x0, 0) → c6 515.81/161.80
COND4(false, 0, s(x1)) → c6(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND4(false, s(z0), s(x1)) → c6(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND4(false, 0, x0) → c6(COND1(false, 0, x0))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c6, c, c3, c4, c4, c5, c6
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
gr(0, z0) → false 515.81/161.80
gr(s(z0), 0) → true 515.81/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.80
and(true, true) → true 515.81/161.80
and(false, z0) → false 515.81/161.80
and(z0, false) → false 515.81/161.80
p(0) → 0 515.81/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.80
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND4(false, x0, 0) → c6 515.81/161.80
COND4(false, 0, s(x1)) → c6(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND4(false, s(z0), s(x1)) → c6(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND4(false, 0, x0) → c6
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1))
Defined Rule Symbols:
COND4(false, 0, x1) → c6(COND1(and(false, gr(x1, 0)), 0, x1)) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c6, c, c3, c4, c4, c5, c6
COND4(false, 0, x0) → c6 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND4(false, x0, 0) → c6
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.80
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
gr(0, z0) → false 515.81/161.80
gr(s(z0), 0) → true 515.81/161.80
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.80
and(true, true) → true 515.81/161.80
and(false, z0) → false 515.81/161.80
and(z0, false) → false 515.81/161.80
p(0) → 0 515.81/161.80
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.80
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND3(false, x0, 0) → c4 515.81/161.80
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND3(false, 0, x0) → c4 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.80
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0)) 515.81/161.80
COND4(false, x0, 0) → c6 515.81/161.80
COND4(false, 0, s(x1)) → c6(COND1(and(false, true), 0, s(x1))) 515.81/161.80
COND4(false, s(z0), s(x1)) → c6(COND1(and(true, true), s(z0), s(x1))) 515.81/161.80
COND4(false, 0, x0) → c6
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1))
Defined Rule Symbols:
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.80
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.80
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.80
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.80
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.80
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.80
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.80
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.80
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.80
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.80
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.80
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.80
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.80
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND4, COND3
c9, c, c1, c2, c6, c, c3, c4, c4, c5, c6
COND4(false, s(x0), 0) → c6(COND1(and(true, false), s(x0), 0)) 515.81/161.80
COND4(false, s(x0), s(z0)) → c6(COND1(and(true, true), s(x0), s(z0)))
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.80
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.80
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.80
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.80
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.80
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.81
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.81
gr(0, z0) → false 515.81/161.81
gr(s(z0), 0) → true 515.81/161.81
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.81
and(true, true) → true 515.81/161.81
and(false, z0) → false 515.81/161.81
and(z0, false) → false 515.81/161.81
p(0) → 0 515.81/161.81
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.81
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.81
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.81
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.81
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.81
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.81
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.81
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.81
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.81
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.81
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.81
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.81
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.81
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.81
COND3(false, x0, 0) → c4 515.81/161.81
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.81
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.81
COND3(false, 0, x0) → c4 515.81/161.81
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.81
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.81
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.81
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0)) 515.81/161.81
COND4(false, x0, 0) → c6 515.81/161.81
COND4(false, 0, s(x1)) → c6(COND1(and(false, true), 0, s(x1))) 515.81/161.81
COND4(false, s(z0), s(x1)) → c6(COND1(and(true, true), s(z0), s(x1))) 515.81/161.81
COND4(false, 0, x0) → c6
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1))
Defined Rule Symbols:
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.81
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.81
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.81
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.81
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.81
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.81
COND1(true, s(s(z0)), s(0)) → c(COND2(true, s(s(z0)), s(0)), GR(s(s(z0)), s(0))) 515.81/161.81
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.81
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.81
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.81
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.81
COND1(true, s(0), s(z0)) → c(COND2(false, s(0), s(z0)), GR(s(0), s(z0))) 515.81/161.81
COND1(true, s(s(z0)), s(s(z1))) → c(COND2(gr(z0, z1), s(s(z0)), s(s(z1))), GR(s(s(z0)), s(s(z1)))) 515.81/161.81
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0)))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c, c3, c4, c4, c5, c6, c6
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.81
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.81
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.81
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.81
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.81
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.81
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.81
gr(0, z0) → false 515.81/161.81
gr(s(z0), 0) → true 515.81/161.81
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.81
and(true, true) → true 515.81/161.81
and(false, z0) → false 515.81/161.81
and(z0, false) → false 515.81/161.81
p(0) → 0 515.81/161.81
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.81
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.81
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.81
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.81
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.81
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.81
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.81
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.81
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.81
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.81
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.81
COND3(false, x0, 0) → c4 515.81/161.81
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.81
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.81
COND3(false, 0, x0) → c4 515.81/161.81
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.81
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.81
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.81
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0)) 515.81/161.81
COND4(false, x0, 0) → c6 515.81/161.81
COND4(false, 0, s(x1)) → c6(COND1(and(false, true), 0, s(x1))) 515.81/161.81
COND4(false, s(z0), s(x1)) → c6(COND1(and(true, true), s(z0), s(x1))) 515.81/161.81
COND4(false, 0, x0) → c6 515.81/161.81
COND1(true, s(0), s(z0)) → c7(COND2(false, s(0), s(z0))) 515.81/161.81
COND1(true, s(0), s(z0)) → c7(GR(s(0), s(z0))) 515.81/161.81
COND1(true, s(s(z0)), s(0)) → c7(COND2(true, s(s(z0)), s(0))) 515.81/161.81
COND1(true, s(s(z0)), s(0)) → c7(GR(s(s(z0)), s(0))) 515.81/161.81
COND1(true, s(s(z0)), s(s(z1))) → c7(COND2(gr(z0, z1), s(s(z0)), s(s(z1)))) 515.81/161.81
COND1(true, s(s(z0)), s(s(z1))) → c7(GR(s(s(z0)), s(s(z1))))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1))
Defined Rule Symbols:
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.81
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.81
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.81
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.81
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.81
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.81
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.81
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.81
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.81
COND4(false, s(z0), x1) → c6(COND1(and(true, gr(x1, 0)), s(z0), x1)) 515.81/161.81
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.81
COND1(true, s(0), s(z0)) → c7(COND2(false, s(0), s(z0))) 515.81/161.81
COND1(true, s(0), s(z0)) → c7(GR(s(0), s(z0))) 515.81/161.81
COND1(true, s(s(z0)), s(0)) → c7(COND2(true, s(s(z0)), s(0))) 515.81/161.81
COND1(true, s(s(z0)), s(0)) → c7(GR(s(s(z0)), s(0))) 515.81/161.81
COND1(true, s(s(z0)), s(s(z1))) → c7(COND2(gr(z0, z1), s(s(z0)), s(s(z1)))) 515.81/161.81
COND1(true, s(s(z0)), s(s(z1))) → c7(GR(s(s(z0)), s(s(z1))))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c3, c4, c4, c5, c6, c6, c7
COND4(false, 0, x0) → c6 515.81/161.81
COND3(false, 0, x0) → c4 515.81/161.81
COND3(false, x0, 0) → c4 515.81/161.81
COND4(false, x0, 0) → c6
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.81
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.81
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.81
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.81
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.81
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.81
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.81
gr(0, z0) → false 515.81/161.81
gr(s(z0), 0) → true 515.81/161.81
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.81
and(true, true) → true 515.81/161.81
and(false, z0) → false 515.81/161.81
and(z0, false) → false 515.81/161.81
p(0) → 0 515.81/161.81
p(s(z0)) → z0
S tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.81
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.81
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.81
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.81
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.81
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.81
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.81
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.81
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.81
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.81
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.81
COND3(false, x0, 0) → c4 515.81/161.81
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.81
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.81
COND3(false, 0, x0) → c4 515.81/161.81
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.81
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.81
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.81
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0)) 515.81/161.81
COND4(false, x0, 0) → c6 515.81/161.81
COND4(false, 0, s(x1)) → c6(COND1(and(false, true), 0, s(x1))) 515.81/161.81
COND4(false, s(z0), s(x1)) → c6(COND1(and(true, true), s(z0), s(x1))) 515.81/161.81
COND4(false, 0, x0) → c6 515.81/161.81
COND1(true, s(0), s(z0)) → c7(COND2(false, s(0), s(z0))) 515.81/161.81
COND1(true, s(0), s(z0)) → c7(GR(s(0), s(z0))) 515.81/161.81
COND1(true, s(s(z0)), s(0)) → c7(COND2(true, s(s(z0)), s(0))) 515.81/161.81
COND1(true, s(s(z0)), s(0)) → c7(GR(s(s(z0)), s(0))) 515.81/161.81
COND1(true, s(s(z0)), s(s(z1))) → c7(COND2(gr(z0, z1), s(s(z0)), s(s(z1)))) 515.81/161.81
COND1(true, s(s(z0)), s(s(z1))) → c7(GR(s(s(z0)), s(s(z1))))
K tuples:
GR(s(z0), s(z1)) → c9(GR(z0, z1))
Defined Rule Symbols:
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.81
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.81
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.81
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.81
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.81
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.81
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.81
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.81
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.81
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.81
COND1(true, s(0), s(z0)) → c7(COND2(false, s(0), s(z0))) 515.81/161.81
COND1(true, s(0), s(z0)) → c7(GR(s(0), s(z0))) 515.81/161.81
COND1(true, s(s(z0)), s(0)) → c7(COND2(true, s(s(z0)), s(0))) 515.81/161.81
COND1(true, s(s(z0)), s(0)) → c7(GR(s(s(z0)), s(0))) 515.81/161.81
COND1(true, s(s(z0)), s(s(z1))) → c7(COND2(gr(z0, z1), s(s(z0)), s(s(z1)))) 515.81/161.81
COND1(true, s(s(z0)), s(s(z1))) → c7(GR(s(s(z0)), s(s(z1))))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c3, c4, c4, c5, c6, c6, c7
We considered the (Usable) Rules:
GR(s(z0), s(z1)) → c9(GR(z0, z1))
And the Tuples:
gr(0, z0) → false 515.81/161.81
gr(s(z0), 0) → true 515.81/161.81
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.81
and(true, true) → true 515.81/161.81
and(false, z0) → false 515.81/161.81
and(z0, false) → false
The order we found is given by the following interpretation:
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.81
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.81
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.81
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.81
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.81
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.81
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.81
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.81
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.81
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.81
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.81
COND3(false, x0, 0) → c4 515.81/161.81
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.81
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.81
COND3(false, 0, x0) → c4 515.81/161.81
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.81
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.81
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.81
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0)) 515.81/161.81
COND4(false, x0, 0) → c6 515.81/161.81
COND4(false, 0, s(x1)) → c6(COND1(and(false, true), 0, s(x1))) 515.81/161.81
COND4(false, s(z0), s(x1)) → c6(COND1(and(true, true), s(z0), s(x1))) 515.81/161.81
COND4(false, 0, x0) → c6 515.81/161.81
COND1(true, s(0), s(z0)) → c7(COND2(false, s(0), s(z0))) 515.81/161.81
COND1(true, s(0), s(z0)) → c7(GR(s(0), s(z0))) 515.81/161.81
COND1(true, s(s(z0)), s(0)) → c7(COND2(true, s(s(z0)), s(0))) 515.81/161.81
COND1(true, s(s(z0)), s(0)) → c7(GR(s(s(z0)), s(0))) 515.81/161.81
COND1(true, s(s(z0)), s(s(z1))) → c7(COND2(gr(z0, z1), s(s(z0)), s(s(z1)))) 515.81/161.81
COND1(true, s(s(z0)), s(s(z1))) → c7(GR(s(s(z0)), s(s(z1))))
POL(0) = 0 515.81/161.81
POL(COND1(x1, x2, x3)) = x3 515.81/161.81
POL(COND2(x1, x2, x3)) = x3 515.81/161.81
POL(COND3(x1, x2, x3)) = x3 515.81/161.81
POL(COND4(x1, x2, x3)) = x3 515.81/161.81
POL(GR(x1, x2)) = x2 515.81/161.81
POL(and(x1, x2)) = 0 515.81/161.81
POL(c(x1)) = x1 515.81/161.81
POL(c1(x1)) = x1 515.81/161.81
POL(c2(x1)) = x1 515.81/161.81
POL(c3(x1)) = x1 515.81/161.81
POL(c4) = 0 515.81/161.81
POL(c4(x1)) = x1 515.81/161.81
POL(c5(x1)) = x1 515.81/161.81
POL(c6) = 0 515.81/161.81
POL(c6(x1)) = x1 515.81/161.81
POL(c7(x1)) = x1 515.81/161.81
POL(c9(x1)) = x1 515.81/161.81
POL(false) = 0 515.81/161.81
POL(gr(x1, x2)) = [2] + [3]x1 515.81/161.81
POL(s(x1)) = [2] + x1 515.81/161.81
POL(true) = 0
Tuples:
cond1(true, z0, z1) → cond2(gr(z0, z1), z0, z1) 515.81/161.81
cond2(true, z0, z1) → cond3(gr(z0, 0), z0, z1) 515.81/161.81
cond2(false, z0, z1) → cond4(gr(z1, 0), z0, z1) 515.81/161.81
cond3(true, z0, z1) → cond3(gr(z0, 0), p(z0), z1) 515.81/161.81
cond3(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.81
cond4(true, z0, z1) → cond4(gr(z1, 0), z0, p(z1)) 515.81/161.81
cond4(false, z0, z1) → cond1(and(gr(z0, 0), gr(z1, 0)), z0, z1) 515.81/161.81
gr(0, z0) → false 515.81/161.81
gr(s(z0), 0) → true 515.81/161.81
gr(s(z0), s(z1)) → gr(z0, z1) 515.81/161.81
and(true, true) → true 515.81/161.81
and(false, z0) → false 515.81/161.81
and(z0, false) → false 515.81/161.81
p(0) → 0 515.81/161.81
p(s(z0)) → z0
S tuples:none
GR(s(z0), s(z1)) → c9(GR(z0, z1)) 515.81/161.81
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.81
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.81
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.81
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.81
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.81
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.81
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.81
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.81
COND3(false, 0, 0) → c4(COND1(and(false, false), 0, 0)) 515.81/161.81
COND3(false, s(z0), 0) → c4(COND1(and(true, false), s(z0), 0)) 515.81/161.81
COND3(false, x0, 0) → c4 515.81/161.81
COND3(false, 0, s(x1)) → c4(COND1(and(false, true), 0, s(x1))) 515.81/161.81
COND3(false, s(z0), s(x1)) → c4(COND1(and(true, true), s(z0), s(x1))) 515.81/161.81
COND3(false, 0, x0) → c4 515.81/161.81
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.81
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.81
COND4(false, 0, 0) → c6(COND1(and(false, false), 0, 0)) 515.81/161.81
COND4(false, s(z0), 0) → c6(COND1(and(true, false), s(z0), 0)) 515.81/161.81
COND4(false, x0, 0) → c6 515.81/161.81
COND4(false, 0, s(x1)) → c6(COND1(and(false, true), 0, s(x1))) 515.81/161.81
COND4(false, s(z0), s(x1)) → c6(COND1(and(true, true), s(z0), s(x1))) 515.81/161.81
COND4(false, 0, x0) → c6 515.81/161.81
COND1(true, s(0), s(z0)) → c7(COND2(false, s(0), s(z0))) 515.81/161.81
COND1(true, s(0), s(z0)) → c7(GR(s(0), s(z0))) 515.81/161.81
COND1(true, s(s(z0)), s(0)) → c7(COND2(true, s(s(z0)), s(0))) 515.81/161.81
COND1(true, s(s(z0)), s(0)) → c7(GR(s(s(z0)), s(0))) 515.81/161.81
COND1(true, s(s(z0)), s(s(z1))) → c7(COND2(gr(z0, z1), s(s(z0)), s(s(z1)))) 515.81/161.81
COND1(true, s(s(z0)), s(s(z1))) → c7(GR(s(s(z0)), s(s(z1))))
Defined Rule Symbols:
COND1(true, s(x0), s(x1)) → c(GR(s(x0), s(x1))) 515.81/161.81
COND3(true, s(z0), x1) → c3(COND3(true, z0, x1)) 515.81/161.81
COND3(true, 0, x0) → c3(COND3(false, 0, x0)) 515.81/161.81
COND1(true, 0, z0) → c(COND2(false, 0, z0)) 515.81/161.81
COND2(false, x0, 0) → c2(COND4(false, x0, 0)) 515.81/161.81
COND1(true, s(z0), 0) → c(COND2(true, s(z0), 0)) 515.81/161.81
COND2(true, s(z0), x1) → c1(COND3(true, s(z0), x1)) 515.81/161.81
COND4(true, x0, s(z0)) → c5(COND4(true, x0, z0)) 515.81/161.81
COND4(true, x0, 0) → c5(COND4(false, x0, 0)) 515.81/161.81
COND2(false, x0, s(z0)) → c2(COND4(true, x0, s(z0))) 515.81/161.81
COND1(true, s(0), s(z0)) → c7(COND2(false, s(0), s(z0))) 515.81/161.81
COND1(true, s(0), s(z0)) → c7(GR(s(0), s(z0))) 515.81/161.81
COND1(true, s(s(z0)), s(0)) → c7(COND2(true, s(s(z0)), s(0))) 515.81/161.81
COND1(true, s(s(z0)), s(0)) → c7(GR(s(s(z0)), s(0))) 515.81/161.81
COND1(true, s(s(z0)), s(s(z1))) → c7(COND2(gr(z0, z1), s(s(z0)), s(s(z1)))) 515.81/161.81
COND1(true, s(s(z0)), s(s(z1))) → c7(GR(s(s(z0)), s(s(z1)))) 515.81/161.81
GR(s(z0), s(z1)) → c9(GR(z0, z1))
cond1, cond2, cond3, cond4, gr, and, p
GR, COND1, COND2, COND3, COND4
c9, c, c1, c2, c3, c4, c4, c5, c6, c6, c7