Term Rewriting System R:
[x, y, z]
i(0) -> 0
i(i(x)) -> x
i(+(x, y)) -> +(i(x), i(y))
+(0, y) -> y
+(x, 0) -> x
+(i(x), x) -> 0
+(x, i(x)) -> 0
+(x, +(y, z)) -> +(+(x, y), z)
+(+(x, i(y)), y) -> x
+(+(x, y), i(y)) -> x
Innermost Termination of R to be shown.
R
↳Dependency Pair Analysis
R contains the following Dependency Pairs:
I(+(x, y)) -> +'(i(x), i(y))
I(+(x, y)) -> I(x)
I(+(x, y)) -> I(y)
+'(x, +(y, z)) -> +'(+(x, y), z)
+'(x, +(y, z)) -> +'(x, y)
Furthermore, R contains two SCCs.
R
↳DPs
→DP Problem 1
↳Usable Rules (Innermost)
→DP Problem 2
↳UsableRules
Dependency Pair:
+'(x, +(y, z)) -> +'(x, y)
Rules:
i(0) -> 0
i(i(x)) -> x
i(+(x, y)) -> +(i(x), i(y))
+(0, y) -> y
+(x, 0) -> x
+(i(x), x) -> 0
+(x, i(x)) -> 0
+(x, +(y, z)) -> +(+(x, y), z)
+(+(x, i(y)), y) -> x
+(+(x, y), i(y)) -> x
Strategy:
innermost
As we are in the innermost case, we can delete all 10 non-usable-rules.
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 3
↳Size-Change Principle
→DP Problem 2
↳UsableRules
Dependency Pair:
+'(x, +(y, z)) -> +'(x, y)
Rule:
none
Strategy:
innermost
We number the DPs as follows:
- +'(x, +(y, z)) -> +'(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:
+(x1, x2) -> +(x1, x2)
We obtain no new DP problems.
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳Usable Rules (Innermost)
Dependency Pair:
I(+(x, y)) -> I(x)
Rules:
i(0) -> 0
i(i(x)) -> x
i(+(x, y)) -> +(i(x), i(y))
+(0, y) -> y
+(x, 0) -> x
+(i(x), x) -> 0
+(x, i(x)) -> 0
+(x, +(y, z)) -> +(+(x, y), z)
+(+(x, i(y)), y) -> x
+(+(x, y), i(y)) -> x
Strategy:
innermost
As we are in the innermost case, we can delete all 10 non-usable-rules.
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 4
↳Size-Change Principle
Dependency Pair:
I(+(x, y)) -> I(x)
Rule:
none
Strategy:
innermost
We number the DPs as follows:
- I(+(x, y)) -> I(x)
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:
+(x1, x2) -> +(x1, x2)
We obtain no new DP problems.
Innermost Termination of R successfully shown.
Duration:
0:00 minutes