The
2nd
component contains the
pair(s)
++#(
x
,
++(
y
,
z
)
)
|
→ |
++#(
++(
x
,
y
)
,
z
)
|
++#(
.(
x
,
y
)
,
z
)
|
→ |
++#(
y
,
z
)
|
++#(
x
,
++(
y
,
z
)
)
|
→ |
++#(
x
,
y
)
|
1.1.2: reduction pair processor
Using the following reduction pair
Linear polynomial
interpretation over
the naturals
[++
(x1, x2)
]
|
= |
x1 + x2
+
1
|
[rev
(x1)
]
|
= |
x1
|
[make
(x1)
]
|
= |
x1
+
2
|
[.
(x1, x2)
]
|
= |
0
|
[nil]
|
= |
0
|
[++#
(x1, x2)
]
|
= |
x1
|
[f(x1, ..., xn)]
|
= |
x1 + ... + xn + 1
|
for all other symbols f of arity n
|
one remains with the following pair(s).
++#(
.(
x
,
y
)
,
z
)
|
→ |
++#(
y
,
z
)
|
1.1.2.1: reduction pair processor
Using the following reduction pair
Linear polynomial
interpretation over
the naturals
[++
(x1, x2)
]
|
= |
x1 + x2
|
[rev
(x1)
]
|
= |
2
x1
|
[make
(x1)
]
|
= |
x1
+
1
|
[.
(x1, x2)
]
|
= |
x1
+
1
|
[nil]
|
= |
0
|
[++#
(x1, x2)
]
|
= |
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.2.1.1: P is empty
All dependency pairs have been removed.