Input TRS: 1: minus(x,|0|()) -> x 2: minus(s(x),s(y)) -> minus(x,y) 3: f(|0|()) -> s(|0|()) 4: f(s(x)) -> minus(s(x),g(f(x))) 5: g(|0|()) -> |0|() 6: g(s(x)) -> minus(s(x),f(g(x))) Number of strict rules: 6 Direct Order(PosReal,>,Poly) ... failed. Freezing ... failed. Dependency Pairs: #1: #minus(s(x),s(y)) -> #minus(x,y) #2: #g(s(x)) -> #minus(s(x),f(g(x))) #3: #g(s(x)) -> #f(g(x)) #4: #g(s(x)) -> #g(x) #5: #f(s(x)) -> #minus(s(x),g(f(x))) #6: #f(s(x)) -> #g(f(x)) #7: #f(s(x)) -> #f(x) Number of SCCs: 2, DPs: 5, edges: 9 SCC { #1 } Removing DPs: Order(PosReal,>,Sum)... succeeded. |0|() weight: 0 s(x1) weight: (/ 1 2) + x1 minus(x1,x2) weight: 0 f(x1) weight: 0 #f(x1) weight: 0 #g(x1) weight: 0 #minus(x1,x2) weight: x2 g(x1) weight: 0 Usable rules: { } Removed DPs: #1 Number of SCCs: 1, DPs: 4, edges: 8 SCC { #3 #4 #6 #7 } Removing DPs: Order(PosReal,>,Sum)... succeeded. |0|() weight: 0 s(x1) weight: (/ 3 2) + x1 minus(x1,x2) weight: x1 f(x1) weight: (/ 3 2) + x1 #f(x1) weight: (/ 1 2) + x1 #g(x1) weight: x1 #minus(x1,x2) weight: 0 g(x1) weight: (/ 1 2) + x1 Usable rules: { 1..6 } Removed DPs: #3 #4 #6 #7 Number of SCCs: 0, DPs: 0, edges: 0 YES