R
↳Dependency Pair Analysis
APP(app(add, app(s, x)), y) -> APP(s, app(app(add, x), y))
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
APP(app(add, app(s, x)), y) -> APP(add, x)
APP(app(mult, app(s, x)), y) -> APP(app(add, app(app(mult, x), y)), y)
APP(app(mult, app(s, x)), y) -> APP(add, app(app(mult, x), y))
APP(app(mult, app(s, x)), y) -> APP(app(mult, x), y)
APP(app(mult, app(s, x)), y) -> APP(mult, x)
APP(app(app(rec, f), x), app(s, y)) -> APP(app(f, app(s, y)), app(app(app(rec, f), x), y))
APP(app(app(rec, f), x), app(s, y)) -> APP(f, app(s, y))
APP(app(app(rec, f), x), app(s, y)) -> APP(app(app(rec, f), x), y)
FACT -> APP(app(rec, mult), app(s, 0))
FACT -> APP(rec, mult)
FACT -> APP(s, 0)
R
↳DPs
→DP Problem 1
↳Narrowing Transformation
APP(app(app(rec, f), x), app(s, y)) -> APP(app(app(rec, f), x), y)
APP(app(app(rec, f), x), app(s, y)) -> APP(f, app(s, y))
APP(app(app(rec, f), x), app(s, y)) -> APP(app(f, app(s, y)), app(app(app(rec, f), x), y))
APP(app(mult, app(s, x)), y) -> APP(app(mult, x), y)
APP(app(mult, app(s, x)), y) -> APP(app(add, app(app(mult, x), y)), y)
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
app(app(add, 0), y) -> y
app(app(add, app(s, x)), y) -> app(s, app(app(add, x), y))
app(app(mult, 0), y) -> 0
app(app(mult, app(s, x)), y) -> app(app(add, app(app(mult, x), y)), y)
app(app(app(rec, f), x), 0) -> x
app(app(app(rec, f), x), app(s, y)) -> app(app(f, app(s, y)), app(app(app(rec, f), x), y))
fact -> app(app(rec, mult), app(s, 0))
innermost
two new Dependency Pairs are created:
APP(app(mult, app(s, x)), y) -> APP(app(add, app(app(mult, x), y)), y)
APP(app(mult, app(s, 0)), y'') -> APP(app(add, 0), y'')
APP(app(mult, app(s, app(s, x''))), y'') -> APP(app(add, app(app(add, app(app(mult, x''), y'')), y'')), y'')
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Narrowing Transformation
APP(app(mult, app(s, app(s, x''))), y'') -> APP(app(add, app(app(add, app(app(mult, x''), y'')), y'')), y'')
APP(app(mult, app(s, 0)), y'') -> APP(app(add, 0), y'')
APP(app(app(rec, f), x), app(s, y)) -> APP(f, app(s, y))
APP(app(mult, app(s, x)), y) -> APP(app(mult, x), y)
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
APP(app(app(rec, f), x), app(s, y)) -> APP(app(f, app(s, y)), app(app(app(rec, f), x), y))
APP(app(app(rec, f), x), app(s, y)) -> APP(app(app(rec, f), x), y)
app(app(add, 0), y) -> y
app(app(add, app(s, x)), y) -> app(s, app(app(add, x), y))
app(app(mult, 0), y) -> 0
app(app(mult, app(s, x)), y) -> app(app(add, app(app(mult, x), y)), y)
app(app(app(rec, f), x), 0) -> x
app(app(app(rec, f), x), app(s, y)) -> app(app(f, app(s, y)), app(app(app(rec, f), x), y))
fact -> app(app(rec, mult), app(s, 0))
innermost
no new Dependency Pairs are created.
APP(app(mult, app(s, 0)), y'') -> APP(app(add, 0), y'')
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 3
↳Narrowing Transformation
APP(app(app(rec, f), x), app(s, y)) -> APP(app(app(rec, f), x), y)
APP(app(app(rec, f), x), app(s, y)) -> APP(f, app(s, y))
APP(app(app(rec, f), x), app(s, y)) -> APP(app(f, app(s, y)), app(app(app(rec, f), x), y))
APP(app(mult, app(s, x)), y) -> APP(app(mult, x), y)
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
APP(app(mult, app(s, app(s, x''))), y'') -> APP(app(add, app(app(add, app(app(mult, x''), y'')), y'')), y'')
app(app(add, 0), y) -> y
app(app(add, app(s, x)), y) -> app(s, app(app(add, x), y))
app(app(mult, 0), y) -> 0
app(app(mult, app(s, x)), y) -> app(app(add, app(app(mult, x), y)), y)
app(app(app(rec, f), x), 0) -> x
app(app(app(rec, f), x), app(s, y)) -> app(app(f, app(s, y)), app(app(app(rec, f), x), y))
fact -> app(app(rec, mult), app(s, 0))
innermost
two new Dependency Pairs are created:
APP(app(mult, app(s, app(s, x''))), y'') -> APP(app(add, app(app(add, app(app(mult, x''), y'')), y'')), y'')
APP(app(mult, app(s, app(s, 0))), y''') -> APP(app(add, app(app(add, 0), y''')), y''')
APP(app(mult, app(s, app(s, app(s, x')))), y''') -> APP(app(add, app(app(add, app(app(add, app(app(mult, x'), y''')), y''')), y''')), y''')
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 4
↳Rewriting Transformation
APP(app(mult, app(s, app(s, app(s, x')))), y''') -> APP(app(add, app(app(add, app(app(add, app(app(mult, x'), y''')), y''')), y''')), y''')
APP(app(mult, app(s, app(s, 0))), y''') -> APP(app(add, app(app(add, 0), y''')), y''')
APP(app(app(rec, f), x), app(s, y)) -> APP(f, app(s, y))
APP(app(mult, app(s, x)), y) -> APP(app(mult, x), y)
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
APP(app(app(rec, f), x), app(s, y)) -> APP(app(f, app(s, y)), app(app(app(rec, f), x), y))
APP(app(app(rec, f), x), app(s, y)) -> APP(app(app(rec, f), x), y)
app(app(add, 0), y) -> y
app(app(add, app(s, x)), y) -> app(s, app(app(add, x), y))
app(app(mult, 0), y) -> 0
app(app(mult, app(s, x)), y) -> app(app(add, app(app(mult, x), y)), y)
app(app(app(rec, f), x), 0) -> x
app(app(app(rec, f), x), app(s, y)) -> app(app(f, app(s, y)), app(app(app(rec, f), x), y))
fact -> app(app(rec, mult), app(s, 0))
innermost
one new Dependency Pair is created:
APP(app(mult, app(s, app(s, 0))), y''') -> APP(app(add, app(app(add, 0), y''')), y''')
APP(app(mult, app(s, app(s, 0))), y''') -> APP(app(add, y'''), y''')
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 5
↳Narrowing Transformation
APP(app(mult, app(s, app(s, 0))), y''') -> APP(app(add, y'''), y''')
APP(app(app(rec, f), x), app(s, y)) -> APP(app(app(rec, f), x), y)
APP(app(app(rec, f), x), app(s, y)) -> APP(f, app(s, y))
APP(app(app(rec, f), x), app(s, y)) -> APP(app(f, app(s, y)), app(app(app(rec, f), x), y))
APP(app(mult, app(s, x)), y) -> APP(app(mult, x), y)
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
APP(app(mult, app(s, app(s, app(s, x')))), y''') -> APP(app(add, app(app(add, app(app(add, app(app(mult, x'), y''')), y''')), y''')), y''')
app(app(add, 0), y) -> y
app(app(add, app(s, x)), y) -> app(s, app(app(add, x), y))
app(app(mult, 0), y) -> 0
app(app(mult, app(s, x)), y) -> app(app(add, app(app(mult, x), y)), y)
app(app(app(rec, f), x), 0) -> x
app(app(app(rec, f), x), app(s, y)) -> app(app(f, app(s, y)), app(app(app(rec, f), x), y))
fact -> app(app(rec, mult), app(s, 0))
innermost
two new Dependency Pairs are created:
APP(app(mult, app(s, app(s, app(s, x')))), y''') -> APP(app(add, app(app(add, app(app(add, app(app(mult, x'), y''')), y''')), y''')), y''')
APP(app(mult, app(s, app(s, app(s, 0)))), y'''') -> APP(app(add, app(app(add, app(app(add, 0), y'''')), y'''')), y'''')
APP(app(mult, app(s, app(s, app(s, app(s, x''))))), y'''') -> APP(app(add, app(app(add, app(app(add, app(app(add, app(app(mult, x''), y'''')), y'''')), y'''')), y'''')), y'''')
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 6
↳Rewriting Transformation
APP(app(mult, app(s, app(s, app(s, app(s, x''))))), y'''') -> APP(app(add, app(app(add, app(app(add, app(app(add, app(app(mult, x''), y'''')), y'''')), y'''')), y'''')), y'''')
APP(app(mult, app(s, app(s, app(s, 0)))), y'''') -> APP(app(add, app(app(add, app(app(add, 0), y'''')), y'''')), y'''')
APP(app(app(rec, f), x), app(s, y)) -> APP(app(app(rec, f), x), y)
APP(app(app(rec, f), x), app(s, y)) -> APP(f, app(s, y))
APP(app(app(rec, f), x), app(s, y)) -> APP(app(f, app(s, y)), app(app(app(rec, f), x), y))
APP(app(mult, app(s, x)), y) -> APP(app(mult, x), y)
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
APP(app(mult, app(s, app(s, 0))), y''') -> APP(app(add, y'''), y''')
app(app(add, 0), y) -> y
app(app(add, app(s, x)), y) -> app(s, app(app(add, x), y))
app(app(mult, 0), y) -> 0
app(app(mult, app(s, x)), y) -> app(app(add, app(app(mult, x), y)), y)
app(app(app(rec, f), x), 0) -> x
app(app(app(rec, f), x), app(s, y)) -> app(app(f, app(s, y)), app(app(app(rec, f), x), y))
fact -> app(app(rec, mult), app(s, 0))
innermost
one new Dependency Pair is created:
APP(app(mult, app(s, app(s, app(s, 0)))), y'''') -> APP(app(add, app(app(add, app(app(add, 0), y'''')), y'''')), y'''')
APP(app(mult, app(s, app(s, app(s, 0)))), y'''') -> APP(app(add, app(app(add, y''''), y'''')), y'''')
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 7
↳Narrowing Transformation
APP(app(mult, app(s, app(s, app(s, 0)))), y'''') -> APP(app(add, app(app(add, y''''), y'''')), y'''')
APP(app(mult, app(s, app(s, 0))), y''') -> APP(app(add, y'''), y''')
APP(app(app(rec, f), x), app(s, y)) -> APP(app(app(rec, f), x), y)
APP(app(app(rec, f), x), app(s, y)) -> APP(f, app(s, y))
APP(app(app(rec, f), x), app(s, y)) -> APP(app(f, app(s, y)), app(app(app(rec, f), x), y))
APP(app(mult, app(s, x)), y) -> APP(app(mult, x), y)
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
APP(app(mult, app(s, app(s, app(s, app(s, x''))))), y'''') -> APP(app(add, app(app(add, app(app(add, app(app(add, app(app(mult, x''), y'''')), y'''')), y'''')), y'''')), y'''')
app(app(add, 0), y) -> y
app(app(add, app(s, x)), y) -> app(s, app(app(add, x), y))
app(app(mult, 0), y) -> 0
app(app(mult, app(s, x)), y) -> app(app(add, app(app(mult, x), y)), y)
app(app(app(rec, f), x), 0) -> x
app(app(app(rec, f), x), app(s, y)) -> app(app(f, app(s, y)), app(app(app(rec, f), x), y))
fact -> app(app(rec, mult), app(s, 0))
innermost
two new Dependency Pairs are created:
APP(app(mult, app(s, app(s, app(s, app(s, x''))))), y'''') -> APP(app(add, app(app(add, app(app(add, app(app(add, app(app(mult, x''), y'''')), y'''')), y'''')), y'''')), y'''')
APP(app(mult, app(s, app(s, app(s, app(s, 0))))), y''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, 0), y''''')), y''''')), y''''')), y''''')
APP(app(mult, app(s, app(s, app(s, app(s, app(s, x')))))), y''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, app(app(add, app(app(mult, x'), y''''')), y''''')), y''''')), y''''')), y''''')), y''''')
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 8
↳Rewriting Transformation
APP(app(mult, app(s, app(s, app(s, app(s, app(s, x')))))), y''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, app(app(add, app(app(mult, x'), y''''')), y''''')), y''''')), y''''')), y''''')), y''''')
APP(app(mult, app(s, app(s, app(s, app(s, 0))))), y''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, 0), y''''')), y''''')), y''''')), y''''')
APP(app(mult, app(s, app(s, 0))), y''') -> APP(app(add, y'''), y''')
APP(app(app(rec, f), x), app(s, y)) -> APP(app(app(rec, f), x), y)
APP(app(app(rec, f), x), app(s, y)) -> APP(f, app(s, y))
APP(app(app(rec, f), x), app(s, y)) -> APP(app(f, app(s, y)), app(app(app(rec, f), x), y))
APP(app(mult, app(s, x)), y) -> APP(app(mult, x), y)
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
APP(app(mult, app(s, app(s, app(s, 0)))), y'''') -> APP(app(add, app(app(add, y''''), y'''')), y'''')
app(app(add, 0), y) -> y
app(app(add, app(s, x)), y) -> app(s, app(app(add, x), y))
app(app(mult, 0), y) -> 0
app(app(mult, app(s, x)), y) -> app(app(add, app(app(mult, x), y)), y)
app(app(app(rec, f), x), 0) -> x
app(app(app(rec, f), x), app(s, y)) -> app(app(f, app(s, y)), app(app(app(rec, f), x), y))
fact -> app(app(rec, mult), app(s, 0))
innermost
one new Dependency Pair is created:
APP(app(mult, app(s, app(s, app(s, app(s, 0))))), y''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, 0), y''''')), y''''')), y''''')), y''''')
APP(app(mult, app(s, app(s, app(s, app(s, 0))))), y''''') -> APP(app(add, app(app(add, app(app(add, y'''''), y''''')), y''''')), y''''')
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 9
↳Narrowing Transformation
APP(app(mult, app(s, app(s, app(s, app(s, 0))))), y''''') -> APP(app(add, app(app(add, app(app(add, y'''''), y''''')), y''''')), y''''')
APP(app(mult, app(s, app(s, app(s, 0)))), y'''') -> APP(app(add, app(app(add, y''''), y'''')), y'''')
APP(app(mult, app(s, app(s, 0))), y''') -> APP(app(add, y'''), y''')
APP(app(app(rec, f), x), app(s, y)) -> APP(app(app(rec, f), x), y)
APP(app(app(rec, f), x), app(s, y)) -> APP(f, app(s, y))
APP(app(app(rec, f), x), app(s, y)) -> APP(app(f, app(s, y)), app(app(app(rec, f), x), y))
APP(app(mult, app(s, x)), y) -> APP(app(mult, x), y)
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
APP(app(mult, app(s, app(s, app(s, app(s, app(s, x')))))), y''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, app(app(add, app(app(mult, x'), y''''')), y''''')), y''''')), y''''')), y''''')), y''''')
app(app(add, 0), y) -> y
app(app(add, app(s, x)), y) -> app(s, app(app(add, x), y))
app(app(mult, 0), y) -> 0
app(app(mult, app(s, x)), y) -> app(app(add, app(app(mult, x), y)), y)
app(app(app(rec, f), x), 0) -> x
app(app(app(rec, f), x), app(s, y)) -> app(app(f, app(s, y)), app(app(app(rec, f), x), y))
fact -> app(app(rec, mult), app(s, 0))
innermost
two new Dependency Pairs are created:
APP(app(mult, app(s, app(s, app(s, 0)))), y'''') -> APP(app(add, app(app(add, y''''), y'''')), y'''')
APP(app(mult, app(s, app(s, app(s, 0)))), 0) -> APP(app(add, 0), 0)
APP(app(mult, app(s, app(s, app(s, 0)))), app(s, x')) -> APP(app(add, app(s, app(app(add, x'), app(s, x')))), app(s, x'))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 10
↳Narrowing Transformation
APP(app(mult, app(s, app(s, app(s, 0)))), app(s, x')) -> APP(app(add, app(s, app(app(add, x'), app(s, x')))), app(s, x'))
APP(app(mult, app(s, app(s, app(s, 0)))), 0) -> APP(app(add, 0), 0)
APP(app(mult, app(s, app(s, app(s, app(s, app(s, x')))))), y''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, app(app(add, app(app(mult, x'), y''''')), y''''')), y''''')), y''''')), y''''')), y''''')
APP(app(mult, app(s, app(s, 0))), y''') -> APP(app(add, y'''), y''')
APP(app(app(rec, f), x), app(s, y)) -> APP(app(app(rec, f), x), y)
APP(app(app(rec, f), x), app(s, y)) -> APP(f, app(s, y))
APP(app(app(rec, f), x), app(s, y)) -> APP(app(f, app(s, y)), app(app(app(rec, f), x), y))
APP(app(mult, app(s, x)), y) -> APP(app(mult, x), y)
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
APP(app(mult, app(s, app(s, app(s, app(s, 0))))), y''''') -> APP(app(add, app(app(add, app(app(add, y'''''), y''''')), y''''')), y''''')
app(app(add, 0), y) -> y
app(app(add, app(s, x)), y) -> app(s, app(app(add, x), y))
app(app(mult, 0), y) -> 0
app(app(mult, app(s, x)), y) -> app(app(add, app(app(mult, x), y)), y)
app(app(app(rec, f), x), 0) -> x
app(app(app(rec, f), x), app(s, y)) -> app(app(f, app(s, y)), app(app(app(rec, f), x), y))
fact -> app(app(rec, mult), app(s, 0))
innermost
two new Dependency Pairs are created:
APP(app(mult, app(s, app(s, app(s, app(s, app(s, x')))))), y''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, app(app(add, app(app(mult, x'), y''''')), y''''')), y''''')), y''''')), y''''')), y''''')
APP(app(mult, app(s, app(s, app(s, app(s, app(s, 0)))))), y'''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, app(app(add, 0), y'''''')), y'''''')), y'''''')), y'''''')), y'''''')
APP(app(mult, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), y'''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, app(app(add, app(app(add, app(app(mult, x''), y'''''')), y'''''')), y'''''')), y'''''')), y'''''')), y'''''')), y'''''')
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 11
↳Rewriting Transformation
APP(app(mult, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), y'''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, app(app(add, app(app(add, app(app(mult, x''), y'''''')), y'''''')), y'''''')), y'''''')), y'''''')), y'''''')), y'''''')
APP(app(mult, app(s, app(s, app(s, app(s, app(s, 0)))))), y'''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, app(app(add, 0), y'''''')), y'''''')), y'''''')), y'''''')), y'''''')
APP(app(mult, app(s, app(s, app(s, 0)))), 0) -> APP(app(add, 0), 0)
APP(app(mult, app(s, app(s, app(s, app(s, 0))))), y''''') -> APP(app(add, app(app(add, app(app(add, y'''''), y''''')), y''''')), y''''')
APP(app(mult, app(s, app(s, 0))), y''') -> APP(app(add, y'''), y''')
APP(app(app(rec, f), x), app(s, y)) -> APP(app(app(rec, f), x), y)
APP(app(app(rec, f), x), app(s, y)) -> APP(f, app(s, y))
APP(app(app(rec, f), x), app(s, y)) -> APP(app(f, app(s, y)), app(app(app(rec, f), x), y))
APP(app(mult, app(s, x)), y) -> APP(app(mult, x), y)
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
APP(app(mult, app(s, app(s, app(s, 0)))), app(s, x')) -> APP(app(add, app(s, app(app(add, x'), app(s, x')))), app(s, x'))
app(app(add, 0), y) -> y
app(app(add, app(s, x)), y) -> app(s, app(app(add, x), y))
app(app(mult, 0), y) -> 0
app(app(mult, app(s, x)), y) -> app(app(add, app(app(mult, x), y)), y)
app(app(app(rec, f), x), 0) -> x
app(app(app(rec, f), x), app(s, y)) -> app(app(f, app(s, y)), app(app(app(rec, f), x), y))
fact -> app(app(rec, mult), app(s, 0))
innermost
one new Dependency Pair is created:
APP(app(mult, app(s, app(s, app(s, app(s, app(s, 0)))))), y'''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, app(app(add, 0), y'''''')), y'''''')), y'''''')), y'''''')), y'''''')
APP(app(mult, app(s, app(s, app(s, app(s, app(s, 0)))))), y'''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, y''''''), y'''''')), y'''''')), y'''''')), y'''''')
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 12
↳Narrowing Transformation
APP(app(mult, app(s, app(s, app(s, 0)))), app(s, x')) -> APP(app(add, app(s, app(app(add, x'), app(s, x')))), app(s, x'))
APP(app(mult, app(s, app(s, app(s, app(s, app(s, 0)))))), y'''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, y''''''), y'''''')), y'''''')), y'''''')), y'''''')
APP(app(mult, app(s, app(s, app(s, 0)))), 0) -> APP(app(add, 0), 0)
APP(app(mult, app(s, app(s, app(s, app(s, 0))))), y''''') -> APP(app(add, app(app(add, app(app(add, y'''''), y''''')), y''''')), y''''')
APP(app(mult, app(s, app(s, 0))), y''') -> APP(app(add, y'''), y''')
APP(app(app(rec, f), x), app(s, y)) -> APP(app(app(rec, f), x), y)
APP(app(app(rec, f), x), app(s, y)) -> APP(f, app(s, y))
APP(app(app(rec, f), x), app(s, y)) -> APP(app(f, app(s, y)), app(app(app(rec, f), x), y))
APP(app(mult, app(s, x)), y) -> APP(app(mult, x), y)
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
APP(app(mult, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), y'''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, app(app(add, app(app(add, app(app(mult, x''), y'''''')), y'''''')), y'''''')), y'''''')), y'''''')), y'''''')), y'''''')
app(app(add, 0), y) -> y
app(app(add, app(s, x)), y) -> app(s, app(app(add, x), y))
app(app(mult, 0), y) -> 0
app(app(mult, app(s, x)), y) -> app(app(add, app(app(mult, x), y)), y)
app(app(app(rec, f), x), 0) -> x
app(app(app(rec, f), x), app(s, y)) -> app(app(f, app(s, y)), app(app(app(rec, f), x), y))
fact -> app(app(rec, mult), app(s, 0))
innermost
no new Dependency Pairs are created.
APP(app(mult, app(s, app(s, app(s, 0)))), 0) -> APP(app(add, 0), 0)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 13
↳Remaining Obligation(s)
APP(app(mult, app(s, app(s, app(s, app(s, app(s, 0)))))), y'''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, y''''''), y'''''')), y'''''')), y'''''')), y'''''')
APP(app(mult, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), y'''''') -> APP(app(add, app(app(add, app(app(add, app(app(add, app(app(add, app(app(add, app(app(mult, x''), y'''''')), y'''''')), y'''''')), y'''''')), y'''''')), y'''''')), y'''''')
APP(app(mult, app(s, app(s, app(s, app(s, 0))))), y''''') -> APP(app(add, app(app(add, app(app(add, y'''''), y''''')), y''''')), y''''')
APP(app(mult, app(s, app(s, 0))), y''') -> APP(app(add, y'''), y''')
APP(app(app(rec, f), x), app(s, y)) -> APP(app(app(rec, f), x), y)
APP(app(app(rec, f), x), app(s, y)) -> APP(f, app(s, y))
APP(app(app(rec, f), x), app(s, y)) -> APP(app(f, app(s, y)), app(app(app(rec, f), x), y))
APP(app(mult, app(s, x)), y) -> APP(app(mult, x), y)
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
APP(app(mult, app(s, app(s, app(s, 0)))), app(s, x')) -> APP(app(add, app(s, app(app(add, x'), app(s, x')))), app(s, x'))
app(app(add, 0), y) -> y
app(app(add, app(s, x)), y) -> app(s, app(app(add, x), y))
app(app(mult, 0), y) -> 0
app(app(mult, app(s, x)), y) -> app(app(add, app(app(mult, x), y)), y)
app(app(app(rec, f), x), 0) -> x
app(app(app(rec, f), x), app(s, y)) -> app(app(f, app(s, y)), app(app(app(rec, f), x), y))
fact -> app(app(rec, mult), app(s, 0))
innermost