R
↳Dependency Pair Analysis
APP(app(app(comp, f), g), x) -> APP(f, app(g, x))
APP(app(app(comp, f), g), x) -> APP(g, x)
APP(twice, f) -> APP(app(comp, f), f)
APP(twice, f) -> APP(comp, f)
R
↳DPs
→DP Problem 1
↳Narrowing Transformation
APP(twice, f) -> APP(app(comp, f), f)
APP(app(app(comp, f), g), x) -> APP(g, x)
APP(app(app(comp, f), g), x) -> APP(f, app(g, x))
app(app(app(comp, f), g), x) -> app(f, app(g, x))
app(twice, f) -> app(app(comp, f), f)
innermost
no new Dependency Pairs are created.
APP(twice, f) -> APP(app(comp, f), f)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Forward Instantiation Transformation
APP(app(app(comp, f), g), x) -> APP(f, app(g, x))
APP(app(app(comp, f), g), x) -> APP(g, x)
app(app(app(comp, f), g), x) -> app(f, app(g, x))
app(twice, f) -> app(app(comp, f), f)
innermost
one new Dependency Pair is created:
APP(app(app(comp, f), g), x) -> APP(g, x)
APP(app(app(comp, f), app(app(comp, f''), g'')), x'') -> APP(app(app(comp, f''), g''), x'')
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳FwdInst
...
→DP Problem 3
↳Remaining Obligation(s)
APP(app(app(comp, f), app(app(comp, f''), g'')), x'') -> APP(app(app(comp, f''), g''), x'')
APP(app(app(comp, f), g), x) -> APP(f, app(g, x))
app(app(app(comp, f), g), x) -> app(f, app(g, x))
app(twice, f) -> app(app(comp, f), f)
innermost