R
↳Dependency Pair Analysis
FAC(s(x)) -> FAC(p(s(x)))
FAC(s(x)) -> P(s(x))
R
↳DPs
→DP Problem 1
↳Narrowing Transformation
FAC(s(x)) -> FAC(p(s(x)))
p(s(x)) -> x
fac(0) -> s(0)
fac(s(x)) -> times(s(x), fac(p(s(x))))
one new Dependency Pair is created:
FAC(s(x)) -> FAC(p(s(x)))
FAC(s(x'')) -> FAC(x'')
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Polynomial Ordering
FAC(s(x'')) -> FAC(x'')
p(s(x)) -> x
fac(0) -> s(0)
fac(s(x)) -> times(s(x), fac(p(s(x))))
FAC(s(x'')) -> FAC(x'')
p(s(x)) -> x
fac(0) -> s(0)
fac(s(x)) -> times(s(x), fac(p(s(x))))
POL(0) = 0 POL(FAC(x1)) = x1 POL(fac(x1)) = 1 POL(times(x1, x2)) = 0 POL(s(x1)) = 1 + x1 POL(p(x1)) = x1
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Polo
...
→DP Problem 3
↳Dependency Graph
p(s(x)) -> x
fac(0) -> s(0)
fac(s(x)) -> times(s(x), fac(p(s(x))))