Term Rewriting System R:
[x, y, z]
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(+(y, z), x) -> +(*(x, y), *(x, z))
*(*(x, y), z) -> *(x, *(y, z))
+(+(x, y), z) -> +(x, +(y, z))
Termination of R to be shown.
R
↳Dependency Pair Analysis
R contains the following Dependency Pairs:
*'(x, +(y, z)) -> +'(*(x, y), *(x, z))
*'(x, +(y, z)) -> *'(x, y)
*'(x, +(y, z)) -> *'(x, z)
*'(+(y, z), x) -> +'(*(x, y), *(x, z))
*'(+(y, z), x) -> *'(x, y)
*'(+(y, z), x) -> *'(x, z)
*'(*(x, y), z) -> *'(x, *(y, z))
*'(*(x, y), z) -> *'(y, z)
+'(+(x, y), z) -> +'(x, +(y, z))
+'(+(x, y), z) -> +'(y, z)
Furthermore, R contains two SCCs.
R
↳DPs
→DP Problem 1
↳Size-Change Principle
→DP Problem 2
↳Polo
Dependency Pairs:
+'(+(x, y), z) -> +'(y, z)
+'(+(x, y), z) -> +'(x, +(y, z))
Rules:
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(+(y, z), x) -> +(*(x, y), *(x, z))
*(*(x, y), z) -> *(x, *(y, z))
+(+(x, y), z) -> +(x, +(y, z))
We number the DPs as follows:
- +'(+(x, y), z) -> +'(y, z)
- +'(+(x, y), z) -> +'(x, +(y, z))
and get the following Size-Change Graph(s):
which lead(s) to this/these maximal multigraph(s):
DP: empty set
Oriented Rules: none
We used the order Homeomorphic Embedding Order with Non-Strict Precedence.
trivial
We obtain no new DP problems.
R
↳DPs
→DP Problem 1
↳SCP
→DP Problem 2
↳Polynomial Ordering
Dependency Pairs:
*'(*(x, y), z) -> *'(y, z)
*'(*(x, y), z) -> *'(x, *(y, z))
*'(+(y, z), x) -> *'(x, z)
*'(+(y, z), x) -> *'(x, y)
*'(x, +(y, z)) -> *'(x, z)
*'(x, +(y, z)) -> *'(x, y)
Rules:
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(+(y, z), x) -> +(*(x, y), *(x, z))
*(*(x, y), z) -> *(x, *(y, z))
+(+(x, y), z) -> +(x, +(y, z))
The following dependency pairs can be strictly oriented:
*'(+(y, z), x) -> *'(x, z)
*'(+(y, z), x) -> *'(x, y)
Additionally, the following usable rules w.r.t. the implicit AFS can be oriented:
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(+(y, z), x) -> +(*(x, y), *(x, z))
*(*(x, y), z) -> *(x, *(y, z))
+(+(x, y), z) -> +(x, +(y, z))
Used ordering: Polynomial ordering with Polynomial interpretation:
POL(*'(x1, x2)) | = 1 + x1 + x1·x2 |
POL(*(x1, x2)) | = x1 + x1·x2 + x2 |
POL(+(x1, x2)) | = 1 + x1 + x2 |
resulting in one new DP problem.
R
↳DPs
→DP Problem 1
↳SCP
→DP Problem 2
↳Polo
→DP Problem 3
↳Size-Change Principle
Dependency Pairs:
*'(*(x, y), z) -> *'(y, z)
*'(*(x, y), z) -> *'(x, *(y, z))
*'(x, +(y, z)) -> *'(x, z)
*'(x, +(y, z)) -> *'(x, y)
Rules:
*(x, +(y, z)) -> +(*(x, y), *(x, z))
*(+(y, z), x) -> +(*(x, y), *(x, z))
*(*(x, y), z) -> *(x, *(y, z))
+(+(x, y), z) -> +(x, +(y, z))
We number the DPs as follows:
- *'(*(x, y), z) -> *'(y, z)
- *'(*(x, y), z) -> *'(x, *(y, z))
- *'(x, +(y, z)) -> *'(x, z)
- *'(x, +(y, z)) -> *'(x, y)
and get the following Size-Change Graph(s): {4, 3, 2, 1} | , | {4, 3, 2, 1} |
---|
1 | > | 1 |
2 | = | 2 |
|
{4, 3, 2, 1} | , | {4, 3, 2, 1} |
---|
1 | > | 1 |
|
{4, 3, 2, 1} | , | {4, 3, 2, 1} |
---|
1 | = | 1 |
2 | > | 2 |
|
which lead(s) to this/these maximal multigraph(s): {4, 3, 2, 1} | , | {4, 3, 2, 1} |
---|
1 | = | 1 |
2 | > | 2 |
|
{4, 3, 2, 1} | , | {4, 3, 2, 1} |
---|
1 | > | 1 |
2 | = | 2 |
|
{4, 3, 2, 1} | , | {4, 3, 2, 1} |
---|
1 | > | 1 |
|
{4, 3, 2, 1} | , | {4, 3, 2, 1} |
---|
1 | > | 1 |
2 | > | 2 |
|
DP: empty set
Oriented Rules: none
We used the order Homeomorphic Embedding Order with Non-Strict Precedence.
trivial
with Argument Filtering System:
+(x1, x2) -> +(x1, x2)
We obtain no new DP problems.
Termination of R successfully shown.
Duration:
0:06 minutes