active#(
f(
g(
X
)
,
Y
)
)
|
→ |
f#(
X
,
f(
g(
X
)
,
Y
)
)
|
active#(
f(
g(
X
)
,
Y
)
)
|
→ |
f#(
g(
X
)
,
Y
)
|
active#(
f(
g(
X
)
,
Y
)
)
|
→ |
g#(
X
)
|
active#(
f(
X1
,
X2
)
)
|
→ |
f#(
active(
X1
)
,
X2
)
|
active#(
f(
X1
,
X2
)
)
|
→ |
active#(
X1
)
|
active#(
g(
X
)
)
|
→ |
g#(
active(
X
)
)
|
active#(
g(
X
)
)
|
→ |
active#(
X
)
|
f#(
mark(
X1
)
,
X2
)
|
→ |
f#(
X1
,
X2
)
|
g#(
mark(
X
)
)
|
→ |
g#(
X
)
|
proper#(
f(
X1
,
X2
)
)
|
→ |
f#(
proper(
X1
)
,
proper(
X2
)
)
|
proper#(
f(
X1
,
X2
)
)
|
→ |
proper#(
X1
)
|
proper#(
f(
X1
,
X2
)
)
|
→ |
proper#(
X2
)
|
proper#(
g(
X
)
)
|
→ |
g#(
proper(
X
)
)
|
proper#(
g(
X
)
)
|
→ |
proper#(
X
)
|
f#(
ok(
X1
)
,
ok(
X2
)
)
|
→ |
f#(
X1
,
X2
)
|
g#(
ok(
X
)
)
|
→ |
g#(
X
)
|
top#(
mark(
X
)
)
|
→ |
top#(
proper(
X
)
)
|
top#(
mark(
X
)
)
|
→ |
proper#(
X
)
|
top#(
ok(
X
)
)
|
→ |
top#(
active(
X
)
)
|
top#(
ok(
X
)
)
|
→ |
active#(
X
)
|
The dependency pairs are split into 5 component(s).
-
The
1st
component contains the
pair(s)
top#(
ok(
X
)
)
|
→ |
top#(
active(
X
)
)
|
top#(
mark(
X
)
)
|
→ |
top#(
proper(
X
)
)
|
1.1.1: reduction pair processor
Using the following reduction pair
Linear polynomial
interpretation over
the naturals
[mark
(x1)
]
|
= |
0
|
[active
(x1)
]
|
= |
0
|
[f
(x1, x2)
]
|
= |
x1
|
[top#
(x1)
]
|
= |
2
x1
|
[ok
(x1)
]
|
= |
1
|
[g
(x1)
]
|
= |
x1
|
[top
(x1)
]
|
= |
0
|
[proper
(x1)
]
|
= |
0
|
[f(x1, ..., xn)]
|
= |
x1 + ... + xn + 1
|
for all other symbols f of arity n
|
one remains with the following pair(s).
top#(
mark(
X
)
)
|
→ |
top#(
proper(
X
)
)
|
1.1.1.1: reduction pair processor
Using the following reduction pair
Linear polynomial
interpretation over
the naturals
[mark
(x1)
]
|
= |
x1
+
1
|
[active
(x1)
]
|
= |
2
x1
+
1
|
[f
(x1, x2)
]
|
= |
x1 + x2
|
[top#
(x1)
]
|
= |
x1
|
[ok
(x1)
]
|
= |
3
x1
+
2
|
[g
(x1)
]
|
= |
x1
|
[top
(x1)
]
|
= |
x1
|
[proper
(x1)
]
|
= |
0
|
[f(x1, ..., xn)]
|
= |
x1 + ... + xn + 1
|
for all other symbols f of arity n
|
one remains with the following pair(s).
1.1.1.1.1: P is empty
All dependency pairs have been removed.
-
The
2nd
component contains the
pair(s)
active#(
g(
X
)
)
|
→ |
active#(
X
)
|
active#(
f(
X1
,
X2
)
)
|
→ |
active#(
X1
)
|
1.1.2: reduction pair processor
Using the following reduction pair
Linear polynomial
interpretation over
the naturals
[mark
(x1)
]
|
= |
2
x1
+
3
|
[active#
(x1)
]
|
= |
x1
|
[f
(x1, x2)
]
|
= |
2
x1
+
3
|
[active
(x1)
]
|
= |
x1
|
[ok
(x1)
]
|
= |
2
x1
+
3
|
[g
(x1)
]
|
= |
2
x1
+
3
|
[top
(x1)
]
|
= |
3
x1
|
[proper
(x1)
]
|
= |
x1
|
[f(x1, ..., xn)]
|
= |
x1 + ... + xn + 1
|
for all other symbols f of arity n
|
one remains with the following pair(s).
1.1.2.1: P is empty
All dependency pairs have been removed.
-
The
3rd
component contains the
pair(s)
proper#(
f(
X1
,
X2
)
)
|
→ |
proper#(
X2
)
|
proper#(
f(
X1
,
X2
)
)
|
→ |
proper#(
X1
)
|
proper#(
g(
X
)
)
|
→ |
proper#(
X
)
|
1.1.3: reduction pair processor
Using the following reduction pair
Linear polynomial
interpretation over
the naturals
[mark
(x1)
]
|
= |
1
|
[proper#
(x1)
]
|
= |
x1
|
[f
(x1, x2)
]
|
= |
x1 +
2
x2
+
1
|
[active
(x1)
]
|
= |
2
x1
|
[ok
(x1)
]
|
= |
x1
|
[g
(x1)
]
|
= |
x1
|
[top
(x1)
]
|
= |
0
|
[proper
(x1)
]
|
= |
2
x1
|
[f(x1, ..., xn)]
|
= |
x1 + ... + xn + 1
|
for all other symbols f of arity n
|
one remains with the following pair(s).
proper#(
g(
X
)
)
|
→ |
proper#(
X
)
|
1.1.3.1: reduction pair processor
Using the following reduction pair
Linear polynomial
interpretation over
the naturals
[mark
(x1)
]
|
= |
x1
|
[proper#
(x1)
]
|
= |
3
x1
|
[active
(x1)
]
|
= |
x1
|
[f
(x1, x2)
]
|
= |
x1
|
[ok
(x1)
]
|
= |
2
x1
+
1
|
[g
(x1)
]
|
= |
2
x1
+
1
|
[top
(x1)
]
|
= |
3
x1
|
[proper
(x1)
]
|
= |
x1
|
[f(x1, ..., xn)]
|
= |
x1 + ... + xn + 1
|
for all other symbols f of arity n
|
one remains with the following pair(s).
1.1.3.1.1: P is empty
All dependency pairs have been removed.
-
The
4th
component contains the
pair(s)
f#(
ok(
X1
)
,
ok(
X2
)
)
|
→ |
f#(
X1
,
X2
)
|
f#(
mark(
X1
)
,
X2
)
|
→ |
f#(
X1
,
X2
)
|
1.1.4: reduction pair processor
Using the following reduction pair
Linear polynomial
interpretation over
the naturals
[mark
(x1)
]
|
= |
2
x1
+
3
|
[active
(x1)
]
|
= |
x1
|
[f
(x1, x2)
]
|
= |
3
x1
|
[f#
(x1, x2)
]
|
= |
x1 +
3
x2
|
[ok
(x1)
]
|
= |
2
x1
+
3
|
[g
(x1)
]
|
= |
3
x1
+
1
|
[top
(x1)
]
|
= |
3
x1
|
[proper
(x1)
]
|
= |
2
x1
|
[f(x1, ..., xn)]
|
= |
x1 + ... + xn + 1
|
for all other symbols f of arity n
|
one remains with the following pair(s).
1.1.4.1: P is empty
All dependency pairs have been removed.
-
The
5th
component contains the
pair(s)
g#(
ok(
X
)
)
|
→ |
g#(
X
)
|
g#(
mark(
X
)
)
|
→ |
g#(
X
)
|
1.1.5: reduction pair processor
Using the following reduction pair
Linear polynomial
interpretation over
the naturals
[g#
(x1)
]
|
= |
x1
|
[mark
(x1)
]
|
= |
2
x1
+
3
|
[active
(x1)
]
|
= |
x1
|
[f
(x1, x2)
]
|
= |
2
x1
|
[ok
(x1)
]
|
= |
2
x1
+
3
|
[g
(x1)
]
|
= |
3
x1
+
3
|
[top
(x1)
]
|
= |
3
x1
|
[proper
(x1)
]
|
= |
2
x1
|
[f(x1, ..., xn)]
|
= |
x1 + ... + xn + 1
|
for all other symbols f of arity n
|
one remains with the following pair(s).
1.1.5.1: P is empty
All dependency pairs have been removed.