Input TRS: 1: app(app(add,0),y) -> y 2: app(app(add,app(s,x)),y) -> app(s,app(app(add,x),y)) 3: app(app(mult,0),y) -> 0 4: app(app(mult,app(s,x)),y) -> app(app(add,app(app(mult,x),y)),y) 5: app(app(app(rec,f),x),0) -> x 6: app(app(app(rec,f),x),app(s,y)) -> app(app(f,app(s,y)),app(app(app(rec,f),x),y)) 7: fact -> app(app(rec,mult),app(s,0)) Dependency Pairs: #1: #app(app(add,app(s,x)),y) -> #app(s,app(app(add,x),y)) #2: #app(app(add,app(s,x)),y) -> #app(app(add,x),y) #3: #app(app(add,app(s,x)),y) -> #app(add,x) #4: #app(app(mult,app(s,x)),y) -> #app(app(add,app(app(mult,x),y)),y) #5: #app(app(mult,app(s,x)),y) -> #app(add,app(app(mult,x),y)) #6: #app(app(mult,app(s,x)),y) -> #app(app(mult,x),y) #7: #app(app(mult,app(s,x)),y) -> #app(mult,x) #8: #app(app(app(rec,f),x),app(s,y)) -> #app(app(f,app(s,y)),app(app(app(rec,f),x),y)) #9: #app(app(app(rec,f),x),app(s,y)) -> #app(f,app(s,y)) #10: #app(app(app(rec,f),x),app(s,y)) -> #app(s,y) #11: #app(app(app(rec,f),x),app(s,y)) -> #app(app(app(rec,f),x),y) #12: #app(app(app(rec,f),x),app(s,y)) -> #app(app(rec,f),x) #13: #app(app(app(rec,f),x),app(s,y)) -> #app(rec,f) #14: #fact -> #app(app(rec,mult),app(s,0)) #15: #fact -> #app(rec,mult) #16: #fact -> #app(s,0) Number of SCCs: 1 SCC { #2 #4 #6 #8 #9 #11 #12 } QKBOPS(sum)... failed.