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
↳Argument Filtering and 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 + x1 POL(s(x1)) = 1 + x1 POL(p(x1)) = x1
FAC(x1) -> FAC(x1)
s(x1) -> s(x1)
p(x1) -> p(x1)
fac(x1) -> fac(x1)
times(x1, x2) -> x1
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳AFS
...
→DP Problem 3
↳Dependency Graph
p(s(x)) -> x
fac(0) -> s(0)
fac(s(x)) -> times(s(x), fac(p(s(x))))