plus#(
s(
X
)
,
plus(
Y
,
Z
)
)
|
→ |
plus#(
X
,
plus(
s(
s(
Y
)
)
,
Z
)
)
|
plus#(
s(
X
)
,
plus(
Y
,
Z
)
)
|
→ |
plus#(
s(
s(
Y
)
)
,
Z
)
|
plus#(
s(
X1
)
,
plus(
X2
,
plus(
X3
,
X4
)
)
)
|
→ |
plus#(
X1
,
plus(
X3
,
plus(
X2
,
X4
)
)
)
|
plus#(
s(
X1
)
,
plus(
X2
,
plus(
X3
,
X4
)
)
)
|
→ |
plus#(
X3
,
plus(
X2
,
X4
)
)
|
plus#(
s(
X1
)
,
plus(
X2
,
plus(
X3
,
X4
)
)
)
|
→ |
plus#(
X2
,
X4
)
|
Linear polynomial
interpretation over
the naturals
Linear polynomial
interpretation over
the naturals
All dependency pairs have been removed.