Term Rewriting System R:
[x, y, f, g]
app(app(const, x), y) -> x
app(app(app(subst, f), g), x) -> app(app(f, x), app(g, x))
app(app(fix, f), x) -> app(app(f, app(fix, f)), x)

Termination of R to be shown.



   R
Overlay and local confluence Check



The TRS is overlay and locally confluent (all critical pairs are trivially joinable).Hence, we can switch to innermost.


   R
OC
       →TRS2
Dependency Pair Analysis



R contains the following Dependency Pairs:

APP(app(app(subst, f), g), x) -> APP(app(f, x), app(g, x))
APP(app(app(subst, f), g), x) -> APP(f, x)
APP(app(app(subst, f), g), x) -> APP(g, x)
APP(app(fix, f), x) -> APP(app(f, app(fix, f)), x)
APP(app(fix, f), x) -> APP(f, app(fix, f))

Furthermore, R contains one SCC.


   R
OC
       →TRS2
DPs
           →DP Problem 1
Non Termination


Dependency Pairs:

APP(app(fix, f), x) -> APP(f, app(fix, f))
APP(app(fix, f), x) -> APP(app(f, app(fix, f)), x)
APP(app(app(subst, f), g), x) -> APP(g, x)
APP(app(app(subst, f), g), x) -> APP(f, x)
APP(app(app(subst, f), g), x) -> APP(app(f, x), app(g, x))


Rules:


app(app(const, x), y) -> x
app(app(app(subst, f), g), x) -> app(app(f, x), app(g, x))
app(app(fix, f), x) -> app(app(f, app(fix, f)), x)


Strategy:

innermost




Found an infinite P-chain over R:
P =

APP(app(fix, f), x) -> APP(f, app(fix, f))
APP(app(fix, f), x) -> APP(app(f, app(fix, f)), x)
APP(app(app(subst, f), g), x) -> APP(g, x)
APP(app(app(subst, f), g), x) -> APP(f, x)
APP(app(app(subst, f), g), x) -> APP(app(f, x), app(g, x))

R =

app(app(const, x), y) -> x
app(app(app(subst, f), g), x) -> app(app(f, x), app(g, x))
app(app(fix, f), x) -> app(app(f, app(fix, f)), x)

s = APP(app(fix, fix), app(fix, app(fix, fix)))
evaluates to t =APP(app(fix, fix), app(fix, app(fix, fix)))

Thus, s starts an infinite chain.

Non-Termination of R could be shown.
Duration:
0:00 minutes