R
↳Dependency Pair Analysis
APP(app(rec, h), app(g, app(s, x))) -> APP(app(h, x), app(app(rec, h), app(g, x)))
APP(app(rec, h), app(g, app(s, x))) -> APP(h, x)
APP(app(rec, h), app(g, app(s, x))) -> APP(app(rec, h), app(g, x))
APP(app(rec, h), app(g, app(s, x))) -> APP(g, x)
R
↳DPs
→DP Problem 1
↳Forward Instantiation Transformation
APP(app(rec, h), app(g, app(s, x))) -> APP(g, x)
APP(app(rec, h), app(g, app(s, x))) -> APP(app(rec, h), app(g, x))
APP(app(rec, h), app(g, app(s, x))) -> APP(h, x)
APP(app(rec, h), app(g, app(s, x))) -> APP(app(h, x), app(app(rec, h), app(g, x)))
app(app(rec, h), app(g, 0)) -> g
app(app(rec, h), app(g, app(s, x))) -> app(app(h, x), app(app(rec, h), app(g, x)))
innermost
one new Dependency Pair is created:
APP(app(rec, h), app(g, app(s, x))) -> APP(h, x)
APP(app(rec, app(rec, h'')), app(g, app(s, app(g'', app(s, x''))))) -> APP(app(rec, h''), app(g'', app(s, x'')))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Forward Instantiation Transformation
APP(app(rec, app(rec, h'')), app(g, app(s, app(g'', app(s, x''))))) -> APP(app(rec, h''), app(g'', app(s, x'')))
APP(app(rec, h), app(g, app(s, x))) -> APP(app(rec, h), app(g, x))
APP(app(rec, h), app(g, app(s, x))) -> APP(app(h, x), app(app(rec, h), app(g, x)))
APP(app(rec, h), app(g, app(s, x))) -> APP(g, x)
app(app(rec, h), app(g, 0)) -> g
app(app(rec, h), app(g, app(s, x))) -> app(app(h, x), app(app(rec, h), app(g, x)))
innermost
two new Dependency Pairs are created:
APP(app(rec, h), app(g, app(s, x))) -> APP(g, x)
APP(app(rec, h), app(app(rec, h''), app(s, app(g'', app(s, x''))))) -> APP(app(rec, h''), app(g'', app(s, x'')))
APP(app(rec, h), app(app(rec, app(rec, h'''')), app(s, app(g'', app(s, app(g'''', app(s, x''''))))))) -> APP(app(rec, app(rec, h'''')), app(g'', app(s, app(g'''', app(s, x'''')))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 3
↳Remaining Obligation(s)
APP(app(rec, h), app(app(rec, app(rec, h'''')), app(s, app(g'', app(s, app(g'''', app(s, x''''))))))) -> APP(app(rec, app(rec, h'''')), app(g'', app(s, app(g'''', app(s, x'''')))))
APP(app(rec, h), app(app(rec, h''), app(s, app(g'', app(s, x''))))) -> APP(app(rec, h''), app(g'', app(s, x'')))
APP(app(rec, h), app(g, app(s, x))) -> APP(app(rec, h), app(g, x))
APP(app(rec, h), app(g, app(s, x))) -> APP(app(h, x), app(app(rec, h), app(g, x)))
APP(app(rec, app(rec, h'')), app(g, app(s, app(g'', app(s, x''))))) -> APP(app(rec, h''), app(g'', app(s, x'')))
app(app(rec, h), app(g, 0)) -> g
app(app(rec, h), app(g, app(s, x))) -> app(app(h, x), app(app(rec, h), app(g, x)))
innermost