Term Rewriting System R:
[x, y, z]
and(x, or(y, z)) -> or(and(x, y), and(x, z))
and(x, and(y, y)) -> and(x, y)
and(x, true) -> x
and(false, y) -> false
and(x, x) -> x
or(or(x, y), and(y, z)) -> or(x, y)
or(x, and(x, y)) -> x
or(true, y) -> true
or(x, false) -> x
or(x, x) -> x
or(x, or(y, y)) -> or(x, y)
Termination of R to be shown.
R
↳Dependency Pair Analysis
R contains the following Dependency Pairs:
AND(x, or(y, z)) -> OR(and(x, y), and(x, z))
AND(x, or(y, z)) -> AND(x, y)
AND(x, or(y, z)) -> AND(x, z)
AND(x, and(y, y)) -> AND(x, y)
OR(x, or(y, y)) -> OR(x, y)
Furthermore, R contains two SCCs.
R
↳DPs
→DP Problem 1
↳Size-Change Principle
→DP Problem 2
↳SCP
Dependency Pair:
OR(x, or(y, y)) -> OR(x, y)
Rules:
and(x, or(y, z)) -> or(and(x, y), and(x, z))
and(x, and(y, y)) -> and(x, y)
and(x, true) -> x
and(false, y) -> false
and(x, x) -> x
or(or(x, y), and(y, z)) -> or(x, y)
or(x, and(x, y)) -> x
or(true, y) -> true
or(x, false) -> x
or(x, x) -> x
or(x, or(y, y)) -> or(x, y)
We number the DPs as follows:
- OR(x, or(y, y)) -> OR(x, y)
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
with Argument Filtering System:
or(x1, x2) -> or(x1, x2)
We obtain no new DP problems.
R
↳DPs
→DP Problem 1
↳SCP
→DP Problem 2
↳Size-Change Principle
Dependency Pairs:
AND(x, and(y, y)) -> AND(x, y)
AND(x, or(y, z)) -> AND(x, z)
AND(x, or(y, z)) -> AND(x, y)
Rules:
and(x, or(y, z)) -> or(and(x, y), and(x, z))
and(x, and(y, y)) -> and(x, y)
and(x, true) -> x
and(false, y) -> false
and(x, x) -> x
or(or(x, y), and(y, z)) -> or(x, y)
or(x, and(x, y)) -> x
or(true, y) -> true
or(x, false) -> x
or(x, x) -> x
or(x, or(y, y)) -> or(x, y)
We number the DPs as follows:
- AND(x, and(y, y)) -> AND(x, y)
- AND(x, or(y, z)) -> AND(x, z)
- AND(x, or(y, z)) -> AND(x, y)
and get the following Size-Change Graph(s): {3, 2, 1} | , | {3, 2, 1} |
---|
1 | = | 1 |
2 | > | 2 |
|
which lead(s) to this/these maximal multigraph(s): {3, 2, 1} | , | {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:
and(x1, x2) -> and(x1, x2)
or(x1, x2) -> or(x1, x2)
We obtain no new DP problems.
Termination of R successfully shown.
Duration:
0:00 minutes