Input TRS: 1: s(a()) -> a() 2: s(s(x)) -> x 3: s(f(x,y)) -> f(s(y),s(x)) 4: s(g(x,y)) -> g(s(x),s(y)) 5: f(x,a()) -> x 6: f(a(),y) -> y 7: f(g(x,y),g(u,v)) -> g(f(x,u),f(y,v)) 8: g(a(),a()) -> a() Number of Rules: 8 Direct QTKBOS ... orients all. I(a) = 3 I(f) = x1 + x2 + 1 sigma(f) = [1,2] I(g) = x1 + 2 * x2 + 3 sigma(g) = [2,1] I(s) = 2 * x1 sigma(s) = [1] PREC: s > f > a = g Number of Rules: 0