R
↳Dependency Pair Analysis
A(f, a(f, x)) -> A(x, g)
A(x, g) -> A(f, a(g, a(f, x)))
A(x, g) -> A(g, a(f, x))
A(x, g) -> A(f, x)
R
↳DPs
→DP Problem 1
↳Narrowing Transformation
A(x, g) -> A(f, x)
A(x, g) -> A(g, a(f, x))
A(x, g) -> A(f, a(g, a(f, x)))
A(f, a(f, x)) -> A(x, g)
a(f, a(f, x)) -> a(x, g)
a(x, g) -> a(f, a(g, a(f, x)))
two new Dependency Pairs are created:
A(x, g) -> A(f, a(g, a(f, x)))
A(a(f, x''), g) -> A(f, a(g, a(x'', g)))
A(g, g) -> A(f, a(g, a(f, a(g, a(f, f)))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Narrowing Transformation
A(a(f, x''), g) -> A(f, a(g, a(x'', g)))
A(g, g) -> A(f, a(g, a(f, a(g, a(f, f)))))
A(x, g) -> A(g, a(f, x))
A(f, a(f, x)) -> A(x, g)
A(x, g) -> A(f, x)
a(f, a(f, x)) -> a(x, g)
a(x, g) -> a(f, a(g, a(f, x)))
two new Dependency Pairs are created:
A(x, g) -> A(g, a(f, x))
A(a(f, x''), g) -> A(g, a(x'', g))
A(g, g) -> A(g, a(f, a(g, a(f, f))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 3
↳Narrowing Transformation
A(g, g) -> A(g, a(f, a(g, a(f, f))))
A(a(f, x''), g) -> A(g, a(x'', g))
A(g, g) -> A(f, a(g, a(f, a(g, a(f, f)))))
A(x, g) -> A(f, x)
A(f, a(f, x)) -> A(x, g)
A(a(f, x''), g) -> A(f, a(g, a(x'', g)))
a(f, a(f, x)) -> a(x, g)
a(x, g) -> a(f, a(g, a(f, x)))
one new Dependency Pair is created:
A(a(f, x''), g) -> A(f, a(g, a(x'', g)))
A(a(f, x'''), g) -> A(f, a(g, a(f, a(g, a(f, x''')))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 4
↳Narrowing Transformation
A(a(f, x'''), g) -> A(f, a(g, a(f, a(g, a(f, x''')))))
A(a(f, x''), g) -> A(g, a(x'', g))
A(g, g) -> A(f, a(g, a(f, a(g, a(f, f)))))
A(f, a(f, x)) -> A(x, g)
A(x, g) -> A(f, x)
A(g, g) -> A(g, a(f, a(g, a(f, f))))
a(f, a(f, x)) -> a(x, g)
a(x, g) -> a(f, a(g, a(f, x)))
no new Dependency Pairs are created.
A(g, g) -> A(f, a(g, a(f, a(g, a(f, f)))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 5
↳Narrowing Transformation
A(g, g) -> A(g, a(f, a(g, a(f, f))))
A(a(f, x''), g) -> A(g, a(x'', g))
A(x, g) -> A(f, x)
A(f, a(f, x)) -> A(x, g)
A(a(f, x'''), g) -> A(f, a(g, a(f, a(g, a(f, x''')))))
a(f, a(f, x)) -> a(x, g)
a(x, g) -> a(f, a(g, a(f, x)))
one new Dependency Pair is created:
A(a(f, x''), g) -> A(g, a(x'', g))
A(a(f, x'''), g) -> A(g, a(f, a(g, a(f, x'''))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 6
↳Narrowing Transformation
A(a(f, x'''), g) -> A(g, a(f, a(g, a(f, x'''))))
A(a(f, x'''), g) -> A(f, a(g, a(f, a(g, a(f, x''')))))
A(f, a(f, x)) -> A(x, g)
A(x, g) -> A(f, x)
A(g, g) -> A(g, a(f, a(g, a(f, f))))
a(f, a(f, x)) -> a(x, g)
a(x, g) -> a(f, a(g, a(f, x)))
no new Dependency Pairs are created.
A(g, g) -> A(g, a(f, a(g, a(f, f))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 7
↳Forward Instantiation Transformation
A(a(f, x'''), g) -> A(f, a(g, a(f, a(g, a(f, x''')))))
A(f, a(f, x)) -> A(x, g)
A(x, g) -> A(f, x)
A(a(f, x'''), g) -> A(g, a(f, a(g, a(f, x'''))))
a(f, a(f, x)) -> a(x, g)
a(x, g) -> a(f, a(g, a(f, x)))
no new Dependency Pairs are created.
A(a(f, x'''), g) -> A(g, a(f, a(g, a(f, x'''))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 8
↳Narrowing Transformation
A(x, g) -> A(f, x)
A(f, a(f, x)) -> A(x, g)
A(a(f, x'''), g) -> A(f, a(g, a(f, a(g, a(f, x''')))))
a(f, a(f, x)) -> a(x, g)
a(x, g) -> a(f, a(g, a(f, x)))
two new Dependency Pairs are created:
A(a(f, x'''), g) -> A(f, a(g, a(f, a(g, a(f, x''')))))
A(a(f, a(f, x')), g) -> A(f, a(g, a(f, a(g, a(x', g)))))
A(a(f, g), g) -> A(f, a(g, a(f, a(g, a(f, a(g, a(f, f)))))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 9
↳Narrowing Transformation
A(a(f, g), g) -> A(f, a(g, a(f, a(g, a(f, a(g, a(f, f)))))))
A(a(f, a(f, x')), g) -> A(f, a(g, a(f, a(g, a(x', g)))))
A(f, a(f, x)) -> A(x, g)
A(x, g) -> A(f, x)
a(f, a(f, x)) -> a(x, g)
a(x, g) -> a(f, a(g, a(f, x)))
one new Dependency Pair is created:
A(a(f, a(f, x')), g) -> A(f, a(g, a(f, a(g, a(x', g)))))
A(a(f, a(f, x'')), g) -> A(f, a(g, a(f, a(g, a(f, a(g, a(f, x'')))))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 10
↳Narrowing Transformation
A(a(f, a(f, x'')), g) -> A(f, a(g, a(f, a(g, a(f, a(g, a(f, x'')))))))
A(x, g) -> A(f, x)
A(f, a(f, x)) -> A(x, g)
A(a(f, g), g) -> A(f, a(g, a(f, a(g, a(f, a(g, a(f, f)))))))
a(f, a(f, x)) -> a(x, g)
a(x, g) -> a(f, a(g, a(f, x)))
no new Dependency Pairs are created.
A(a(f, g), g) -> A(f, a(g, a(f, a(g, a(f, a(g, a(f, f)))))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 11
↳Narrowing Transformation
A(x, g) -> A(f, x)
A(f, a(f, x)) -> A(x, g)
A(a(f, a(f, x'')), g) -> A(f, a(g, a(f, a(g, a(f, a(g, a(f, x'')))))))
a(f, a(f, x)) -> a(x, g)
a(x, g) -> a(f, a(g, a(f, x)))
two new Dependency Pairs are created:
A(a(f, a(f, x'')), g) -> A(f, a(g, a(f, a(g, a(f, a(g, a(f, x'')))))))
A(a(f, a(f, a(f, x'))), g) -> A(f, a(g, a(f, a(g, a(f, a(g, a(x', g)))))))
A(a(f, a(f, g)), g) -> A(f, a(g, a(f, a(g, a(f, a(g, a(f, a(g, a(f, f)))))))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 12
↳Narrowing Transformation
A(a(f, a(f, g)), g) -> A(f, a(g, a(f, a(g, a(f, a(g, a(f, a(g, a(f, f)))))))))
A(a(f, a(f, a(f, x'))), g) -> A(f, a(g, a(f, a(g, a(f, a(g, a(x', g)))))))
A(f, a(f, x)) -> A(x, g)
A(x, g) -> A(f, x)
a(f, a(f, x)) -> a(x, g)
a(x, g) -> a(f, a(g, a(f, x)))
no new Dependency Pairs are created.
A(a(f, a(f, g)), g) -> A(f, a(g, a(f, a(g, a(f, a(g, a(f, a(g, a(f, f)))))))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 13
↳Remaining Obligation(s)
A(x, g) -> A(f, x)
A(f, a(f, x)) -> A(x, g)
A(a(f, a(f, a(f, x'))), g) -> A(f, a(g, a(f, a(g, a(f, a(g, a(x', g)))))))
a(f, a(f, x)) -> a(x, g)
a(x, g) -> a(f, a(g, a(f, x)))