0 QTRS
↳1 DependencyPairsProof (⇔)
↳2 QDP
↳3 DependencyGraphProof (⇔)
↳4 AND
↳5 QDP
↳6 QDPSizeChangeProof (⇔)
↳7 TRUE
↳8 QDP
↳9 QDPSizeChangeProof (⇔)
↳10 TRUE
app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(app(curry, f), x), y) → app(app(f, x), y)
add → app(curry, plus)
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(app(curry, f), x), y) → APP(app(f, x), y)
APP(app(app(curry, f), x), y) → APP(f, x)
ADD → APP(curry, plus)
app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(app(curry, f), x), y) → app(app(f, x), y)
add → app(curry, plus)
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(app(curry, f), x), y) → app(app(f, x), y)
add → app(curry, plus)
Order:Homeomorphic Embedding Order
AFS:
plus = plus
s = s
app(x1, x2) = app(x2)
From the DPs we obtained the following set of size-change graphs:
We oriented the following set of usable rules [AAECC05,FROCOS05].
none
APP(app(app(curry, f), x), y) → APP(f, x)
APP(app(app(curry, f), x), y) → APP(app(f, x), y)
app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(app(curry, f), x), y) → app(app(f, x), y)
add → app(curry, plus)
Order:Polynomial interpretation [POLO]:
POL(0) = 0
POL(app(x1, x2)) = 1 + x1 + x2
POL(curry) = 1
POL(plus) = 0
POL(s) = 0
From the DPs we obtained the following set of size-change graphs:
We oriented the following set of usable rules [AAECC05,FROCOS05].
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(plus, 0), y) → y
app(app(app(curry, f), x), y) → app(app(f, x), y)