YES
0 QTRS
↳1 Overlay + Local Confluence (⇔, 0 ms)
↳2 QTRS
↳3 DependencyPairsProof (⇔, 1 ms)
↳4 QDP
↳5 DependencyGraphProof (⇔, 0 ms)
↳6 AND
↳7 QDP
↳8 UsableRulesProof (⇔, 0 ms)
↳9 QDP
↳10 ATransformationProof (⇔, 0 ms)
↳11 QDP
↳12 QReductionProof (⇔, 0 ms)
↳13 QDP
↳14 QDPSizeChangeProof (⇔, 0 ms)
↳15 YES
↳16 QDP
↳17 UsableRulesProof (⇔, 0 ms)
↳18 QDP
↳19 QDPSizeChangeProof (⇔, 0 ms)
↳20 YES
app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(sumwith, f), nil) → nil
app(app(sumwith, f), app(app(cons, x), xs)) → app(app(plus, app(f, x)), app(app(sumwith, f), xs))
app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(sumwith, f), nil) → nil
app(app(sumwith, f), app(app(cons, x), xs)) → app(app(plus, app(f, x)), app(app(sumwith, f), xs))
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
app(app(sumwith, x0), nil)
app(app(sumwith, x0), app(app(cons, x1), x2))
APP(app(plus, app(s, x)), y) → APP(s, app(app(plus, x), y))
APP(app(plus, app(s, x)), y) → APP(app(plus, x), y)
APP(app(plus, app(s, x)), y) → APP(plus, x)
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(app(plus, app(f, x)), app(app(sumwith, f), xs))
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(plus, app(f, x))
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(f, x)
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(app(sumwith, f), xs)
app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(sumwith, f), nil) → nil
app(app(sumwith, f), app(app(cons, x), xs)) → app(app(plus, app(f, x)), app(app(sumwith, f), xs))
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
app(app(sumwith, x0), nil)
app(app(sumwith, x0), app(app(cons, x1), x2))
APP(app(plus, app(s, x)), y) → APP(app(plus, x), y)
app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(sumwith, f), nil) → nil
app(app(sumwith, f), app(app(cons, x), xs)) → app(app(plus, app(f, x)), app(app(sumwith, f), xs))
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
app(app(sumwith, x0), nil)
app(app(sumwith, x0), app(app(cons, x1), x2))
APP(app(plus, app(s, x)), y) → APP(app(plus, x), y)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
app(app(sumwith, x0), nil)
app(app(sumwith, x0), app(app(cons, x1), x2))
plus1(s(x), y) → plus1(x, y)
plus(0, x0)
plus(s(x0), x1)
sumwith(x0, nil)
sumwith(x0, cons(x1, x2))
plus(0, x0)
plus(s(x0), x1)
sumwith(x0, nil)
sumwith(x0, cons(x1, x2))
plus1(s(x), y) → plus1(x, y)
From the DPs we obtained the following set of size-change graphs:
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(app(sumwith, f), xs)
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(f, x)
app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(sumwith, f), nil) → nil
app(app(sumwith, f), app(app(cons, x), xs)) → app(app(plus, app(f, x)), app(app(sumwith, f), xs))
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
app(app(sumwith, x0), nil)
app(app(sumwith, x0), app(app(cons, x1), x2))
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(app(sumwith, f), xs)
APP(app(sumwith, f), app(app(cons, x), xs)) → APP(f, x)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
app(app(sumwith, x0), nil)
app(app(sumwith, x0), app(app(cons, x1), x2))
From the DPs we obtained the following set of size-change graphs: