R
↳Dependency Pair Analysis
APP(app(app(app(f, 0), 1), app(app(g, x), y)), z) -> APP(app(app(app(f, app(app(g, x), y)), app(app(g, x), y)), app(app(g, x), y)), app(h, x))
APP(app(app(app(f, 0), 1), app(app(g, x), y)), z) -> APP(app(app(f, app(app(g, x), y)), app(app(g, x), y)), app(app(g, x), y))
APP(app(app(app(f, 0), 1), app(app(g, x), y)), z) -> APP(app(f, app(app(g, x), y)), app(app(g, x), y))
APP(app(app(app(f, 0), 1), app(app(g, x), y)), z) -> APP(f, app(app(g, x), y))
APP(app(app(app(f, 0), 1), app(app(g, x), y)), z) -> APP(h, x)
APP(h, app(app(g, x), y)) -> APP(h, x)
R
↳DPs
→DP Problem 1
↳Usable Rules (Innermost)
APP(h, app(app(g, x), y)) -> APP(h, x)
app(app(app(app(f, 0), 1), app(app(g, x), y)), z) -> app(app(app(app(f, app(app(g, x), y)), app(app(g, x), y)), app(app(g, x), y)), app(h, x))
app(app(g, 0), 1) -> 0
app(app(g, 0), 1) -> 1
app(h, app(app(g, x), y)) -> app(h, x)
innermost
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳A-Transformation
APP(h, app(app(g, x), y)) -> APP(h, x)
none
innermost
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳ATrans
...
→DP Problem 3
↳Size-Change Principle
H(g(x, y)) -> H(x)
none
innermost
|
|
trivial
g(x1, x2) -> g(x1, x2)