Term Rewriting System R:
[f, x, l, r]
app(app(mapbt, f), app(leaf, x)) -> app(leaf, app(f, x))
app(app(mapbt, f), app(app(app(branch, x), l), r)) -> app(app(app(branch, app(f, x)), app(app(mapbt, f), l)), app(app(mapbt, f), r))
Innermost Termination of R to be shown.
R
↳Dependency Pair Analysis
R contains the following Dependency Pairs:
APP(app(mapbt, f), app(leaf, x)) -> APP(leaf, app(f, x))
APP(app(mapbt, f), app(leaf, x)) -> APP(f, x)
APP(app(mapbt, f), app(app(app(branch, x), l), r)) -> APP(app(app(branch, app(f, x)), app(app(mapbt, f), l)), app(app(mapbt, f), r))
APP(app(mapbt, f), app(app(app(branch, x), l), r)) -> APP(app(branch, app(f, x)), app(app(mapbt, f), l))
APP(app(mapbt, f), app(app(app(branch, x), l), r)) -> APP(branch, app(f, x))
APP(app(mapbt, f), app(app(app(branch, x), l), r)) -> APP(f, x)
APP(app(mapbt, f), app(app(app(branch, x), l), r)) -> APP(app(mapbt, f), l)
APP(app(mapbt, f), app(app(app(branch, x), l), r)) -> APP(app(mapbt, f), r)
Furthermore, R contains one SCC.
R
↳DPs
→DP Problem 1
↳Usable Rules (Innermost)
Dependency Pairs:
APP(app(mapbt, f), app(app(app(branch, x), l), r)) -> APP(app(mapbt, f), r)
APP(app(mapbt, f), app(app(app(branch, x), l), r)) -> APP(app(mapbt, f), l)
APP(app(mapbt, f), app(app(app(branch, x), l), r)) -> APP(f, x)
APP(app(mapbt, f), app(leaf, x)) -> APP(f, x)
Rules:
app(app(mapbt, f), app(leaf, x)) -> app(leaf, app(f, x))
app(app(mapbt, f), app(app(app(branch, x), l), r)) -> app(app(app(branch, app(f, x)), app(app(mapbt, f), l)), app(app(mapbt, f), r))
Strategy:
innermost
As we are in the innermost case, we can delete all 2 non-usable-rules.
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳Size-Change Principle
Dependency Pairs:
APP(app(mapbt, f), app(app(app(branch, x), l), r)) -> APP(app(mapbt, f), r)
APP(app(mapbt, f), app(app(app(branch, x), l), r)) -> APP(app(mapbt, f), l)
APP(app(mapbt, f), app(app(app(branch, x), l), r)) -> APP(f, x)
APP(app(mapbt, f), app(leaf, x)) -> APP(f, x)
Rule:
none
Strategy:
innermost
We number the DPs as follows:
- APP(app(mapbt, f), app(app(app(branch, x), l), r)) -> APP(app(mapbt, f), r)
- APP(app(mapbt, f), app(app(app(branch, x), l), r)) -> APP(app(mapbt, f), l)
- APP(app(mapbt, f), app(app(app(branch, x), l), r)) -> APP(f, x)
- APP(app(mapbt, f), app(leaf, x)) -> APP(f, x)
and get the following Size-Change Graph(s): {1, 2, 3, 4} | , | {1, 2, 3, 4} |
---|
1 | = | 1 |
2 | > | 2 |
|
{1, 2, 3, 4} | , | {1, 2, 3, 4} |
---|
1 | > | 1 |
2 | > | 2 |
|
which lead(s) to this/these maximal multigraph(s): {1, 2, 3, 4} | , | {1, 2, 3, 4} |
---|
1 | = | 1 |
2 | > | 2 |
|
{1, 2, 3, 4} | , | {1, 2, 3, 4} |
---|
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:
app(x1, x2) -> app(x1, x2)
We obtain no new DP problems.
Innermost Termination of R successfully shown.
Duration:
0:00 minutes