R
↳Dependency Pair Analysis
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(perfectp, app(s, x)) -> APP(app(app(f, x), app(s, 0)), app(s, x))
APP(perfectp, app(s, x)) -> APP(app(f, x), app(s, 0))
APP(perfectp, app(s, x)) -> APP(f, x)
APP(perfectp, app(s, x)) -> APP(s, 0)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(f, x), u), app(app(minus, z), app(s, x)))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(f, x), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(f, x)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(minus, z), app(s, x))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(minus, z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(if, app(app(le, x), y))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(le, x), y)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(le, x)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, app(s, x)), app(app(minus, y), x)), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(f, app(s, x)), app(app(minus, y), x))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(minus, y), x)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(minus, y)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, x), u), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(f, x), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(f, x)
R
↳DPs
→DP Problem 1
↳Narrowing Transformation
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(f, x), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, x), u), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(minus, y), x)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, app(s, x)), app(app(minus, y), x)), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(le, x), y)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(minus, z), app(s, x))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(f, x), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(f, x), u), app(app(minus, z), app(s, x)))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(f, x), app(s, 0))
APP(perfectp, app(s, x)) -> APP(app(app(f, x), app(s, 0)), app(s, x))
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(perfectp, app(s, x)) -> APP(app(app(f, x), app(s, 0)), app(s, x))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Narrowing Transformation
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, x), u), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(minus, y), x)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, app(s, x)), app(app(minus, y), x)), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(le, x), y)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(minus, z), app(s, x))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(f, x), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(f, x), u), app(app(minus, z), app(s, x)))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(f, x), app(s, 0))
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(f, x), u)
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(perfectp, app(s, x)) -> APP(app(f, x), app(s, 0))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 3
↳Narrowing Transformation
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(f, x), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(minus, y), x)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, app(s, x)), app(app(minus, y), x)), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(le, x), y)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(minus, z), app(s, x))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(f, x), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(f, x), u), app(app(minus, z), app(s, x)))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, x), u), z)
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(f, x), u), app(app(minus, z), app(s, x)))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 4
↳Narrowing Transformation
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, x), u), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(minus, y), x)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, app(s, x)), app(app(minus, y), x)), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(le, x), y)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(minus, z), app(s, x))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(f, x), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(f, x), u)
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(f, x), u)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 5
↳Narrowing Transformation
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(f, x), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(minus, y), x)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, app(s, x)), app(app(minus, y), x)), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(le, x), y)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(minus, z), app(s, x))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, x), u), z)
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(minus, z), app(s, x))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 6
↳Narrowing Transformation
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, x), u), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(minus, y), x)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, app(s, x)), app(app(minus, y), x)), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(le, x), y)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(f, x), u)
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
four new Dependency Pairs are created:
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
APP(app(app(app(f, app(s, 0)), app(s, y)), 0), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), 0), u'')), true)
APP(app(app(app(f, app(s, 0)), app(s, y)), app(s, z'')), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), app(s, z'')), u'')), false)
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), 0) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), 0)), app(app(app(app(f, x''), 0), app(app(minus, z''), app(s, x''))), 0))
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), app(s, y'')) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), app(s, y''))), app(app(app(if, app(app(le, x''), y'')), app(app(app(app(f, app(s, x'')), app(app(minus, y''), x'')), z''), app(s, y''))), app(app(app(app(f, x''), app(s, y'')), z''), app(s, y''))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 7
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), app(s, y'')) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), app(s, y''))), app(app(app(if, app(app(le, x''), y'')), app(app(app(app(f, app(s, x'')), app(app(minus, y''), x'')), z''), app(s, y''))), app(app(app(app(f, x''), app(s, y'')), z''), app(s, y''))))
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), 0) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), 0)), app(app(app(app(f, x''), 0), app(app(minus, z''), app(s, x''))), 0))
APP(app(app(app(f, app(s, 0)), app(s, y)), app(s, z'')), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), app(s, z'')), u'')), false)
APP(app(app(app(f, app(s, 0)), app(s, y)), 0), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), 0), u'')), true)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(f, x), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(minus, y), x)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, app(s, x)), app(app(minus, y), x)), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(le, x), y)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, x), u), z)
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 8
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), 0) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), 0)), app(app(app(app(f, x''), 0), app(app(minus, z''), app(s, x''))), 0))
APP(app(app(app(f, app(s, 0)), app(s, y)), app(s, z'')), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), app(s, z'')), u'')), false)
APP(app(app(app(f, app(s, 0)), app(s, y)), 0), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), 0), u'')), true)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(f, x), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, x), u), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(minus, y), x)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, app(s, x)), app(app(minus, y), x)), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(le, x), y)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), app(s, y'')) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), app(s, y''))), app(app(app(if, app(app(le, x''), y'')), app(app(app(app(f, app(s, x'')), app(app(minus, y''), x'')), z''), app(s, y''))), app(app(app(app(f, x''), app(s, y'')), z''), app(s, y''))))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(le, x), y)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 9
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), app(s, y'')) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), app(s, y''))), app(app(app(if, app(app(le, x''), y'')), app(app(app(app(f, app(s, x'')), app(app(minus, y''), x'')), z''), app(s, y''))), app(app(app(app(f, x''), app(s, y'')), z''), app(s, y''))))
APP(app(app(app(f, app(s, 0)), app(s, y)), app(s, z'')), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), app(s, z'')), u'')), false)
APP(app(app(app(f, app(s, 0)), app(s, y)), 0), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), 0), u'')), true)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(f, x), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, x), u), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(minus, y), x)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, app(s, x)), app(app(minus, y), x)), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), 0) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), 0)), app(app(app(app(f, x''), 0), app(app(minus, z''), app(s, x''))), 0))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 10
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), 0) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), 0)), app(app(app(app(f, x''), 0), app(app(minus, z''), app(s, x''))), 0))
APP(app(app(app(f, app(s, 0)), app(s, y)), app(s, z'')), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), app(s, z'')), u'')), false)
APP(app(app(app(f, app(s, 0)), app(s, y)), 0), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), 0), u'')), true)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(f, x), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, x), u), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(minus, y), x)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, app(s, x)), app(app(minus, y), x)), z)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), app(s, y'')) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), app(s, y''))), app(app(app(if, app(app(le, x''), y'')), app(app(app(app(f, app(s, x'')), app(app(minus, y''), x'')), z''), app(s, y''))), app(app(app(app(f, x''), app(s, y'')), z''), app(s, y''))))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, app(s, x)), app(app(minus, y), x)), z)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 11
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), app(s, y'')) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), app(s, y''))), app(app(app(if, app(app(le, x''), y'')), app(app(app(app(f, app(s, x'')), app(app(minus, y''), x'')), z''), app(s, y''))), app(app(app(app(f, x''), app(s, y'')), z''), app(s, y''))))
APP(app(app(app(f, app(s, 0)), app(s, y)), app(s, z'')), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), app(s, z'')), u'')), false)
APP(app(app(app(f, app(s, 0)), app(s, y)), 0), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), 0), u'')), true)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(f, x), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, x), u), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(minus, y), x)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), 0) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), 0)), app(app(app(app(f, x''), 0), app(app(minus, z''), app(s, x''))), 0))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(minus, y), x)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 12
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), 0) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), 0)), app(app(app(app(f, x''), 0), app(app(minus, z''), app(s, x''))), 0))
APP(app(app(app(f, app(s, 0)), app(s, y)), app(s, z'')), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), app(s, z'')), u'')), false)
APP(app(app(app(f, app(s, 0)), app(s, y)), 0), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), 0), u'')), true)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(f, x), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, x), u), z)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), app(s, y'')) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), app(s, y''))), app(app(app(if, app(app(le, x''), y'')), app(app(app(app(f, app(s, x'')), app(app(minus, y''), x'')), z''), app(s, y''))), app(app(app(app(f, x''), app(s, y'')), z''), app(s, y''))))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(f, x), u), z)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 13
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), app(s, y'')) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), app(s, y''))), app(app(app(if, app(app(le, x''), y'')), app(app(app(app(f, app(s, x'')), app(app(minus, y''), x'')), z''), app(s, y''))), app(app(app(app(f, x''), app(s, y'')), z''), app(s, y''))))
APP(app(app(app(f, app(s, 0)), app(s, y)), app(s, z'')), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), app(s, z'')), u'')), false)
APP(app(app(app(f, app(s, 0)), app(s, y)), 0), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), 0), u'')), true)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(f, x), u)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), 0) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), 0)), app(app(app(app(f, x''), 0), app(app(minus, z''), app(s, x''))), 0))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(f, x), u)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 14
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), 0) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), 0)), app(app(app(app(f, x''), 0), app(app(minus, z''), app(s, x''))), 0))
APP(app(app(app(f, app(s, 0)), app(s, y)), app(s, z'')), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), app(s, z'')), u'')), false)
APP(app(app(app(f, app(s, 0)), app(s, y)), 0), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), 0), u'')), true)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), app(s, y'')) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), app(s, y''))), app(app(app(if, app(app(le, x''), y'')), app(app(app(app(f, app(s, x'')), app(app(minus, y''), x'')), z''), app(s, y''))), app(app(app(app(f, x''), app(s, y'')), z''), app(s, y''))))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, 0)), app(s, y)), 0), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), 0), u'')), true)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 15
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), app(s, y'')) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), app(s, y''))), app(app(app(if, app(app(le, x''), y'')), app(app(app(app(f, app(s, x'')), app(app(minus, y''), x'')), z''), app(s, y''))), app(app(app(app(f, x''), app(s, y'')), z''), app(s, y''))))
APP(app(app(app(f, app(s, 0)), app(s, y)), app(s, z'')), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), app(s, z'')), u'')), false)
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), 0) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), 0)), app(app(app(app(f, x''), 0), app(app(minus, z''), app(s, x''))), 0))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, 0)), app(s, y)), app(s, z'')), u'') -> APP(app(app(if, app(app(le, 0), y)), app(app(app(app(f, app(s, 0)), app(app(minus, y), 0)), app(s, z'')), u'')), false)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 16
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), 0) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), 0)), app(app(app(app(f, x''), 0), app(app(minus, z''), app(s, x''))), 0))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), app(s, y'')) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), app(s, y''))), app(app(app(if, app(app(le, x''), y'')), app(app(app(app(f, app(s, x'')), app(app(minus, y''), x'')), z''), app(s, y''))), app(app(app(app(f, x''), app(s, y'')), z''), app(s, y''))))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
one new Dependency Pair is created:
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), 0) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), 0)), app(app(app(app(f, x''), 0), app(app(minus, z''), app(s, x''))), 0))
APP(app(app(app(f, app(s, app(s, app(s, x')))), app(s, y)), z'''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, x'))), y)), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y), app(s, app(s, x')))), z'''), 0)), app(app(app(app(f, x'), 0), app(app(minus, app(app(minus, z'''), app(s, app(s, x')))), app(s, x'))), 0))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 17
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, app(s, x')))), app(s, y)), z'''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, x'))), y)), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y), app(s, app(s, x')))), z'''), 0)), app(app(app(app(f, x'), 0), app(app(minus, app(app(minus, z'''), app(s, app(s, x')))), app(s, x'))), 0))
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), app(s, y'')) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), app(s, y''))), app(app(app(if, app(app(le, x''), y'')), app(app(app(app(f, app(s, x'')), app(app(minus, y''), x'')), z''), app(s, y''))), app(app(app(app(f, x''), app(s, y'')), z''), app(s, y''))))
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
three new Dependency Pairs are created:
APP(app(app(app(f, app(s, app(s, x''))), app(s, y)), z''), app(s, y'')) -> APP(app(app(if, app(app(le, app(s, x'')), y)), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y), app(s, x''))), z''), app(s, y''))), app(app(app(if, app(app(le, x''), y'')), app(app(app(app(f, app(s, x'')), app(app(minus, y''), x'')), z''), app(s, y''))), app(app(app(app(f, x''), app(s, y'')), z''), app(s, y''))))
APP(app(app(app(f, app(s, app(s, 0))), app(s, y)), 0), app(s, y''')) -> APP(app(app(if, app(app(le, app(s, 0)), y)), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y), app(s, 0))), 0), app(s, y'''))), app(app(app(if, app(app(le, 0), y''')), app(app(app(app(f, app(s, 0)), app(app(minus, y'''), 0)), 0), app(s, y'''))), true))
APP(app(app(app(f, app(s, app(s, 0))), app(s, y)), app(s, z')), app(s, y''')) -> APP(app(app(if, app(app(le, app(s, 0)), y)), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y), app(s, 0))), app(s, z')), app(s, y'''))), app(app(app(if, app(app(le, 0), y''')), app(app(app(app(f, app(s, 0)), app(app(minus, y'''), 0)), app(s, z')), app(s, y'''))), false))
APP(app(app(app(f, app(s, app(s, app(s, x')))), app(s, y)), z'''), app(s, y''')) -> APP(app(app(if, app(app(le, app(s, app(s, x'))), y)), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y), app(s, app(s, x')))), z'''), app(s, y'''))), app(app(app(if, app(app(le, app(s, x')), y''')), app(app(app(app(f, app(s, app(s, x'))), app(app(minus, y'''), app(s, x'))), z'''), app(s, y'''))), app(app(app(if, app(app(le, x'), y''')), app(app(app(app(f, app(s, x')), app(app(minus, y'''), x')), z'''), app(s, y'''))), app(app(app(app(f, x'), app(s, y''')), z'''), app(s, y''')))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 18
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, app(s, x')))), app(s, y)), z'''), app(s, y''')) -> APP(app(app(if, app(app(le, app(s, app(s, x'))), y)), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y), app(s, app(s, x')))), z'''), app(s, y'''))), app(app(app(if, app(app(le, app(s, x')), y''')), app(app(app(app(f, app(s, app(s, x'))), app(app(minus, y'''), app(s, x'))), z'''), app(s, y'''))), app(app(app(if, app(app(le, x'), y''')), app(app(app(app(f, app(s, x')), app(app(minus, y'''), x')), z'''), app(s, y'''))), app(app(app(app(f, x'), app(s, y''')), z'''), app(s, y''')))))
APP(app(app(app(f, app(s, app(s, 0))), app(s, y)), app(s, z')), app(s, y''')) -> APP(app(app(if, app(app(le, app(s, 0)), y)), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y), app(s, 0))), app(s, z')), app(s, y'''))), app(app(app(if, app(app(le, 0), y''')), app(app(app(app(f, app(s, 0)), app(app(minus, y'''), 0)), app(s, z')), app(s, y'''))), false))
APP(app(app(app(f, app(s, app(s, 0))), app(s, y)), 0), app(s, y''')) -> APP(app(app(if, app(app(le, app(s, 0)), y)), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y), app(s, 0))), 0), app(s, y'''))), app(app(app(if, app(app(le, 0), y''')), app(app(app(app(f, app(s, 0)), app(app(minus, y'''), 0)), 0), app(s, y'''))), true))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, app(s, x')))), app(s, y)), z'''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, x'))), y)), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y), app(s, app(s, x')))), z'''), 0)), app(app(app(app(f, x'), 0), app(app(minus, app(app(minus, z'''), app(s, app(s, x')))), app(s, x'))), 0))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, app(s, 0))), app(s, y)), 0), app(s, y''')) -> APP(app(app(if, app(app(le, app(s, 0)), y)), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y), app(s, 0))), 0), app(s, y'''))), app(app(app(if, app(app(le, 0), y''')), app(app(app(app(f, app(s, 0)), app(app(minus, y'''), 0)), 0), app(s, y'''))), true))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 19
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, 0))), app(s, y)), app(s, z')), app(s, y''')) -> APP(app(app(if, app(app(le, app(s, 0)), y)), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y), app(s, 0))), app(s, z')), app(s, y'''))), app(app(app(if, app(app(le, 0), y''')), app(app(app(app(f, app(s, 0)), app(app(minus, y'''), 0)), app(s, z')), app(s, y'''))), false))
APP(app(app(app(f, app(s, app(s, app(s, x')))), app(s, y)), z'''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, x'))), y)), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y), app(s, app(s, x')))), z'''), 0)), app(app(app(app(f, x'), 0), app(app(minus, app(app(minus, z'''), app(s, app(s, x')))), app(s, x'))), 0))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, app(s, x')))), app(s, y)), z'''), app(s, y''')) -> APP(app(app(if, app(app(le, app(s, app(s, x'))), y)), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y), app(s, app(s, x')))), z'''), app(s, y'''))), app(app(app(if, app(app(le, app(s, x')), y''')), app(app(app(app(f, app(s, app(s, x'))), app(app(minus, y'''), app(s, x'))), z'''), app(s, y'''))), app(app(app(if, app(app(le, x'), y''')), app(app(app(app(f, app(s, x')), app(app(minus, y'''), x')), z'''), app(s, y'''))), app(app(app(app(f, x'), app(s, y''')), z'''), app(s, y''')))))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, app(s, 0))), app(s, y)), app(s, z')), app(s, y''')) -> APP(app(app(if, app(app(le, app(s, 0)), y)), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y), app(s, 0))), app(s, z')), app(s, y'''))), app(app(app(if, app(app(le, 0), y''')), app(app(app(app(f, app(s, 0)), app(app(minus, y'''), 0)), app(s, z')), app(s, y'''))), false))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 20
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, app(s, x')))), app(s, y)), z'''), app(s, y''')) -> APP(app(app(if, app(app(le, app(s, app(s, x'))), y)), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y), app(s, app(s, x')))), z'''), app(s, y'''))), app(app(app(if, app(app(le, app(s, x')), y''')), app(app(app(app(f, app(s, app(s, x'))), app(app(minus, y'''), app(s, x'))), z'''), app(s, y'''))), app(app(app(if, app(app(le, x'), y''')), app(app(app(app(f, app(s, x')), app(app(minus, y'''), x')), z'''), app(s, y'''))), app(app(app(app(f, x'), app(s, y''')), z'''), app(s, y''')))))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, app(s, x')))), app(s, y)), z'''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, x'))), y)), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y), app(s, app(s, x')))), z'''), 0)), app(app(app(app(f, x'), 0), app(app(minus, app(app(minus, z'''), app(s, app(s, x')))), app(s, x'))), 0))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
one new Dependency Pair is created:
APP(app(app(app(f, app(s, app(s, app(s, x')))), app(s, y)), z'''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, x'))), y)), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y), app(s, app(s, x')))), z'''), 0)), app(app(app(app(f, x'), 0), app(app(minus, app(app(minus, z'''), app(s, app(s, x')))), app(s, x'))), 0))
APP(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(s, y)), z''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, x'')))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(app(minus, y), app(s, app(s, app(s, x''))))), z''''), 0)), app(app(app(app(f, x''), 0), app(app(minus, app(app(minus, app(app(minus, z''''), app(s, app(s, app(s, x''))))), app(s, app(s, x'')))), app(s, x''))), 0))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 21
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(s, y)), z''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, x'')))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(app(minus, y), app(s, app(s, app(s, x''))))), z''''), 0)), app(app(app(app(f, x''), 0), app(app(minus, app(app(minus, app(app(minus, z''''), app(s, app(s, app(s, x''))))), app(s, app(s, x'')))), app(s, x''))), 0))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, app(s, x')))), app(s, y)), z'''), app(s, y''')) -> APP(app(app(if, app(app(le, app(s, app(s, x'))), y)), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y), app(s, app(s, x')))), z'''), app(s, y'''))), app(app(app(if, app(app(le, app(s, x')), y''')), app(app(app(app(f, app(s, app(s, x'))), app(app(minus, y'''), app(s, x'))), z'''), app(s, y'''))), app(app(app(if, app(app(le, x'), y''')), app(app(app(app(f, app(s, x')), app(app(minus, y'''), x')), z'''), app(s, y'''))), app(app(app(app(f, x'), app(s, y''')), z'''), app(s, y''')))))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
three new Dependency Pairs are created:
APP(app(app(app(f, app(s, app(s, app(s, x')))), app(s, y)), z'''), app(s, y''')) -> APP(app(app(if, app(app(le, app(s, app(s, x'))), y)), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y), app(s, app(s, x')))), z'''), app(s, y'''))), app(app(app(if, app(app(le, app(s, x')), y''')), app(app(app(app(f, app(s, app(s, x'))), app(app(minus, y'''), app(s, x'))), z'''), app(s, y'''))), app(app(app(if, app(app(le, x'), y''')), app(app(app(app(f, app(s, x')), app(app(minus, y'''), x')), z'''), app(s, y'''))), app(app(app(app(f, x'), app(s, y''')), z'''), app(s, y''')))))
APP(app(app(app(f, app(s, app(s, app(s, 0)))), app(s, y)), 0), app(s, y'''')) -> APP(app(app(if, app(app(le, app(s, app(s, 0))), y)), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y), app(s, app(s, 0)))), 0), app(s, y''''))), app(app(app(if, app(app(le, app(s, 0)), y'''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y''''), app(s, 0))), 0), app(s, y''''))), app(app(app(if, app(app(le, 0), y'''')), app(app(app(app(f, app(s, 0)), app(app(minus, y''''), 0)), 0), app(s, y''''))), true)))
APP(app(app(app(f, app(s, app(s, app(s, 0)))), app(s, y)), app(s, z')), app(s, y'''')) -> APP(app(app(if, app(app(le, app(s, app(s, 0))), y)), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y), app(s, app(s, 0)))), app(s, z')), app(s, y''''))), app(app(app(if, app(app(le, app(s, 0)), y'''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y''''), app(s, 0))), app(s, z')), app(s, y''''))), app(app(app(if, app(app(le, 0), y'''')), app(app(app(app(f, app(s, 0)), app(app(minus, y''''), 0)), app(s, z')), app(s, y''''))), false)))
APP(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(s, y)), z''''), app(s, y'''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, x'')))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(app(minus, y), app(s, app(s, app(s, x''))))), z''''), app(s, y''''))), app(app(app(if, app(app(le, app(s, app(s, x''))), y'''')), app(app(app(app(f, app(s, app(s, app(s, x'')))), app(app(minus, y''''), app(s, app(s, x'')))), z''''), app(s, y''''))), app(app(app(if, app(app(le, app(s, x'')), y'''')), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y''''), app(s, x''))), z''''), app(s, y''''))), app(app(app(if, app(app(le, x''), y'''')), app(app(app(app(f, app(s, x'')), app(app(minus, y''''), x'')), z''''), app(s, y''''))), app(app(app(app(f, x''), app(s, y'''')), z''''), app(s, y''''))))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 22
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(s, y)), z''''), app(s, y'''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, x'')))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(app(minus, y), app(s, app(s, app(s, x''))))), z''''), app(s, y''''))), app(app(app(if, app(app(le, app(s, app(s, x''))), y'''')), app(app(app(app(f, app(s, app(s, app(s, x'')))), app(app(minus, y''''), app(s, app(s, x'')))), z''''), app(s, y''''))), app(app(app(if, app(app(le, app(s, x'')), y'''')), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y''''), app(s, x''))), z''''), app(s, y''''))), app(app(app(if, app(app(le, x''), y'''')), app(app(app(app(f, app(s, x'')), app(app(minus, y''''), x'')), z''''), app(s, y''''))), app(app(app(app(f, x''), app(s, y'''')), z''''), app(s, y''''))))))
APP(app(app(app(f, app(s, app(s, app(s, 0)))), app(s, y)), app(s, z')), app(s, y'''')) -> APP(app(app(if, app(app(le, app(s, app(s, 0))), y)), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y), app(s, app(s, 0)))), app(s, z')), app(s, y''''))), app(app(app(if, app(app(le, app(s, 0)), y'''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y''''), app(s, 0))), app(s, z')), app(s, y''''))), app(app(app(if, app(app(le, 0), y'''')), app(app(app(app(f, app(s, 0)), app(app(minus, y''''), 0)), app(s, z')), app(s, y''''))), false)))
APP(app(app(app(f, app(s, app(s, app(s, 0)))), app(s, y)), 0), app(s, y'''')) -> APP(app(app(if, app(app(le, app(s, app(s, 0))), y)), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y), app(s, app(s, 0)))), 0), app(s, y''''))), app(app(app(if, app(app(le, app(s, 0)), y'''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y''''), app(s, 0))), 0), app(s, y''''))), app(app(app(if, app(app(le, 0), y'''')), app(app(app(app(f, app(s, 0)), app(app(minus, y''''), 0)), 0), app(s, y''''))), true)))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(s, y)), z''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, x'')))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(app(minus, y), app(s, app(s, app(s, x''))))), z''''), 0)), app(app(app(app(f, x''), 0), app(app(minus, app(app(minus, app(app(minus, z''''), app(s, app(s, app(s, x''))))), app(s, app(s, x'')))), app(s, x''))), 0))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
one new Dependency Pair is created:
APP(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(s, y)), z''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, x'')))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(app(minus, y), app(s, app(s, app(s, x''))))), z''''), 0)), app(app(app(app(f, x''), 0), app(app(minus, app(app(minus, app(app(minus, z''''), app(s, app(s, app(s, x''))))), app(s, app(s, x'')))), app(s, x''))), 0))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(s, y)), z'''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, x'))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(app(minus, y), app(s, app(s, app(s, app(s, x')))))), z'''''), 0)), app(app(app(app(f, x'), 0), app(app(minus, app(app(minus, app(app(minus, app(app(minus, z'''''), app(s, app(s, app(s, app(s, x')))))), app(s, app(s, app(s, x'))))), app(s, app(s, x')))), app(s, x'))), 0))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 23
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(s, y)), z'''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, x'))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(app(minus, y), app(s, app(s, app(s, app(s, x')))))), z'''''), 0)), app(app(app(app(f, x'), 0), app(app(minus, app(app(minus, app(app(minus, app(app(minus, z'''''), app(s, app(s, app(s, app(s, x')))))), app(s, app(s, app(s, x'))))), app(s, app(s, x')))), app(s, x'))), 0))
APP(app(app(app(f, app(s, app(s, app(s, 0)))), app(s, y)), app(s, z')), app(s, y'''')) -> APP(app(app(if, app(app(le, app(s, app(s, 0))), y)), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y), app(s, app(s, 0)))), app(s, z')), app(s, y''''))), app(app(app(if, app(app(le, app(s, 0)), y'''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y''''), app(s, 0))), app(s, z')), app(s, y''''))), app(app(app(if, app(app(le, 0), y'''')), app(app(app(app(f, app(s, 0)), app(app(minus, y''''), 0)), app(s, z')), app(s, y''''))), false)))
APP(app(app(app(f, app(s, app(s, app(s, 0)))), app(s, y)), 0), app(s, y'''')) -> APP(app(app(if, app(app(le, app(s, app(s, 0))), y)), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y), app(s, app(s, 0)))), 0), app(s, y''''))), app(app(app(if, app(app(le, app(s, 0)), y'''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y''''), app(s, 0))), 0), app(s, y''''))), app(app(app(if, app(app(le, 0), y'''')), app(app(app(app(f, app(s, 0)), app(app(minus, y''''), 0)), 0), app(s, y''''))), true)))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(s, y)), z''''), app(s, y'''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, x'')))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(app(minus, y), app(s, app(s, app(s, x''))))), z''''), app(s, y''''))), app(app(app(if, app(app(le, app(s, app(s, x''))), y'''')), app(app(app(app(f, app(s, app(s, app(s, x'')))), app(app(minus, y''''), app(s, app(s, x'')))), z''''), app(s, y''''))), app(app(app(if, app(app(le, app(s, x'')), y'''')), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y''''), app(s, x''))), z''''), app(s, y''''))), app(app(app(if, app(app(le, x''), y'''')), app(app(app(app(f, app(s, x'')), app(app(minus, y''''), x'')), z''''), app(s, y''''))), app(app(app(app(f, x''), app(s, y'''')), z''''), app(s, y''''))))))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, app(s, app(s, 0)))), app(s, y)), 0), app(s, y'''')) -> APP(app(app(if, app(app(le, app(s, app(s, 0))), y)), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y), app(s, app(s, 0)))), 0), app(s, y''''))), app(app(app(if, app(app(le, app(s, 0)), y'''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y''''), app(s, 0))), 0), app(s, y''''))), app(app(app(if, app(app(le, 0), y'''')), app(app(app(app(f, app(s, 0)), app(app(minus, y''''), 0)), 0), app(s, y''''))), true)))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 24
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(s, y)), z''''), app(s, y'''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, x'')))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(app(minus, y), app(s, app(s, app(s, x''))))), z''''), app(s, y''''))), app(app(app(if, app(app(le, app(s, app(s, x''))), y'''')), app(app(app(app(f, app(s, app(s, app(s, x'')))), app(app(minus, y''''), app(s, app(s, x'')))), z''''), app(s, y''''))), app(app(app(if, app(app(le, app(s, x'')), y'''')), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y''''), app(s, x''))), z''''), app(s, y''''))), app(app(app(if, app(app(le, x''), y'''')), app(app(app(app(f, app(s, x'')), app(app(minus, y''''), x'')), z''''), app(s, y''''))), app(app(app(app(f, x''), app(s, y'''')), z''''), app(s, y''''))))))
APP(app(app(app(f, app(s, app(s, app(s, 0)))), app(s, y)), app(s, z')), app(s, y'''')) -> APP(app(app(if, app(app(le, app(s, app(s, 0))), y)), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y), app(s, app(s, 0)))), app(s, z')), app(s, y''''))), app(app(app(if, app(app(le, app(s, 0)), y'''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y''''), app(s, 0))), app(s, z')), app(s, y''''))), app(app(app(if, app(app(le, 0), y'''')), app(app(app(app(f, app(s, 0)), app(app(minus, y''''), 0)), app(s, z')), app(s, y''''))), false)))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(s, y)), z'''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, x'))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(app(minus, y), app(s, app(s, app(s, app(s, x')))))), z'''''), 0)), app(app(app(app(f, x'), 0), app(app(minus, app(app(minus, app(app(minus, app(app(minus, z'''''), app(s, app(s, app(s, app(s, x')))))), app(s, app(s, app(s, x'))))), app(s, app(s, x')))), app(s, x'))), 0))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, app(s, app(s, 0)))), app(s, y)), app(s, z')), app(s, y'''')) -> APP(app(app(if, app(app(le, app(s, app(s, 0))), y)), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y), app(s, app(s, 0)))), app(s, z')), app(s, y''''))), app(app(app(if, app(app(le, app(s, 0)), y'''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y''''), app(s, 0))), app(s, z')), app(s, y''''))), app(app(app(if, app(app(le, 0), y'''')), app(app(app(app(f, app(s, 0)), app(app(minus, y''''), 0)), app(s, z')), app(s, y''''))), false)))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 25
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(s, y)), z'''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, x'))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(app(minus, y), app(s, app(s, app(s, app(s, x')))))), z'''''), 0)), app(app(app(app(f, x'), 0), app(app(minus, app(app(minus, app(app(minus, app(app(minus, z'''''), app(s, app(s, app(s, app(s, x')))))), app(s, app(s, app(s, x'))))), app(s, app(s, x')))), app(s, x'))), 0))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(s, y)), z''''), app(s, y'''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, x'')))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(app(minus, y), app(s, app(s, app(s, x''))))), z''''), app(s, y''''))), app(app(app(if, app(app(le, app(s, app(s, x''))), y'''')), app(app(app(app(f, app(s, app(s, app(s, x'')))), app(app(minus, y''''), app(s, app(s, x'')))), z''''), app(s, y''''))), app(app(app(if, app(app(le, app(s, x'')), y'''')), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y''''), app(s, x''))), z''''), app(s, y''''))), app(app(app(if, app(app(le, x''), y'''')), app(app(app(app(f, app(s, x'')), app(app(minus, y''''), x'')), z''''), app(s, y''''))), app(app(app(app(f, x''), app(s, y'''')), z''''), app(s, y''''))))))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
three new Dependency Pairs are created:
APP(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(s, y)), z''''), app(s, y'''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, x'')))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(app(minus, y), app(s, app(s, app(s, x''))))), z''''), app(s, y''''))), app(app(app(if, app(app(le, app(s, app(s, x''))), y'''')), app(app(app(app(f, app(s, app(s, app(s, x'')))), app(app(minus, y''''), app(s, app(s, x'')))), z''''), app(s, y''''))), app(app(app(if, app(app(le, app(s, x'')), y'''')), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y''''), app(s, x''))), z''''), app(s, y''''))), app(app(app(if, app(app(le, x''), y'''')), app(app(app(app(f, app(s, x'')), app(app(minus, y''''), x'')), z''''), app(s, y''''))), app(app(app(app(f, x''), app(s, y'''')), z''''), app(s, y''''))))))
APP(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(s, y)), 0), app(s, y''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, 0)))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(app(minus, y), app(s, app(s, app(s, 0))))), 0), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, 0))), y''''')), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y'''''), app(s, app(s, 0)))), 0), app(s, y'''''))), app(app(app(if, app(app(le, app(s, 0)), y''''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y'''''), app(s, 0))), 0), app(s, y'''''))), app(app(app(if, app(app(le, 0), y''''')), app(app(app(app(f, app(s, 0)), app(app(minus, y'''''), 0)), 0), app(s, y'''''))), true))))
APP(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(s, y)), app(s, z')), app(s, y''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, 0)))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(app(minus, y), app(s, app(s, app(s, 0))))), app(s, z')), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, 0))), y''''')), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y'''''), app(s, app(s, 0)))), app(s, z')), app(s, y'''''))), app(app(app(if, app(app(le, app(s, 0)), y''''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y'''''), app(s, 0))), app(s, z')), app(s, y'''''))), app(app(app(if, app(app(le, 0), y''''')), app(app(app(app(f, app(s, 0)), app(app(minus, y'''''), 0)), app(s, z')), app(s, y'''''))), false))))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(s, y)), z'''''), app(s, y''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, x'))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(app(minus, y), app(s, app(s, app(s, app(s, x')))))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, x')))), y''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, x'))))), app(app(minus, y'''''), app(s, app(s, app(s, x'))))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, x'))), y''''')), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y'''''), app(s, app(s, x')))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, x')), y''''')), app(app(app(app(f, app(s, app(s, x'))), app(app(minus, y'''''), app(s, x'))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, x'), y''''')), app(app(app(app(f, app(s, x')), app(app(minus, y'''''), x')), z'''''), app(s, y'''''))), app(app(app(app(f, x'), app(s, y''''')), z'''''), app(s, y''''')))))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 26
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(s, y)), z'''''), app(s, y''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, x'))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(app(minus, y), app(s, app(s, app(s, app(s, x')))))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, x')))), y''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, x'))))), app(app(minus, y'''''), app(s, app(s, app(s, x'))))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, x'))), y''''')), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y'''''), app(s, app(s, x')))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, x')), y''''')), app(app(app(app(f, app(s, app(s, x'))), app(app(minus, y'''''), app(s, x'))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, x'), y''''')), app(app(app(app(f, app(s, x')), app(app(minus, y'''''), x')), z'''''), app(s, y'''''))), app(app(app(app(f, x'), app(s, y''''')), z'''''), app(s, y''''')))))))
APP(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(s, y)), app(s, z')), app(s, y''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, 0)))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(app(minus, y), app(s, app(s, app(s, 0))))), app(s, z')), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, 0))), y''''')), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y'''''), app(s, app(s, 0)))), app(s, z')), app(s, y'''''))), app(app(app(if, app(app(le, app(s, 0)), y''''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y'''''), app(s, 0))), app(s, z')), app(s, y'''''))), app(app(app(if, app(app(le, 0), y''''')), app(app(app(app(f, app(s, 0)), app(app(minus, y'''''), 0)), app(s, z')), app(s, y'''''))), false))))
APP(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(s, y)), 0), app(s, y''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, 0)))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(app(minus, y), app(s, app(s, app(s, 0))))), 0), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, 0))), y''''')), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y'''''), app(s, app(s, 0)))), 0), app(s, y'''''))), app(app(app(if, app(app(le, app(s, 0)), y''''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y'''''), app(s, 0))), 0), app(s, y'''''))), app(app(app(if, app(app(le, 0), y''''')), app(app(app(app(f, app(s, 0)), app(app(minus, y'''''), 0)), 0), app(s, y'''''))), true))))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(s, y)), z'''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, x'))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(app(minus, y), app(s, app(s, app(s, app(s, x')))))), z'''''), 0)), app(app(app(app(f, x'), 0), app(app(minus, app(app(minus, app(app(minus, app(app(minus, z'''''), app(s, app(s, app(s, app(s, x')))))), app(s, app(s, app(s, x'))))), app(s, app(s, x')))), app(s, x'))), 0))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
one new Dependency Pair is created:
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(s, y)), z'''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, x'))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(app(minus, y), app(s, app(s, app(s, app(s, x')))))), z'''''), 0)), app(app(app(app(f, x'), 0), app(app(minus, app(app(minus, app(app(minus, app(app(minus, z'''''), app(s, app(s, app(s, app(s, x')))))), app(s, app(s, app(s, x'))))), app(s, app(s, x')))), app(s, x'))), 0))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, y)), z''''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, app(s, x'')))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(app(minus, y), app(s, app(s, app(s, app(s, app(s, x''))))))), z''''''), 0)), app(app(app(app(f, x''), 0), app(app(minus, app(app(minus, app(app(minus, app(app(minus, app(app(minus, z''''''), app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, app(s, app(s, app(s, x'')))))), app(s, app(s, app(s, x''))))), app(s, app(s, x'')))), app(s, x''))), 0))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 27
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, y)), z''''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, app(s, x'')))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(app(minus, y), app(s, app(s, app(s, app(s, app(s, x''))))))), z''''''), 0)), app(app(app(app(f, x''), 0), app(app(minus, app(app(minus, app(app(minus, app(app(minus, app(app(minus, z''''''), app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, app(s, app(s, app(s, x'')))))), app(s, app(s, app(s, x''))))), app(s, app(s, x'')))), app(s, x''))), 0))
APP(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(s, y)), app(s, z')), app(s, y''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, 0)))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(app(minus, y), app(s, app(s, app(s, 0))))), app(s, z')), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, 0))), y''''')), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y'''''), app(s, app(s, 0)))), app(s, z')), app(s, y'''''))), app(app(app(if, app(app(le, app(s, 0)), y''''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y'''''), app(s, 0))), app(s, z')), app(s, y'''''))), app(app(app(if, app(app(le, 0), y''''')), app(app(app(app(f, app(s, 0)), app(app(minus, y'''''), 0)), app(s, z')), app(s, y'''''))), false))))
APP(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(s, y)), 0), app(s, y''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, 0)))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(app(minus, y), app(s, app(s, app(s, 0))))), 0), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, 0))), y''''')), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y'''''), app(s, app(s, 0)))), 0), app(s, y'''''))), app(app(app(if, app(app(le, app(s, 0)), y''''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y'''''), app(s, 0))), 0), app(s, y'''''))), app(app(app(if, app(app(le, 0), y''''')), app(app(app(app(f, app(s, 0)), app(app(minus, y'''''), 0)), 0), app(s, y'''''))), true))))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(s, y)), z'''''), app(s, y''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, x'))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(app(minus, y), app(s, app(s, app(s, app(s, x')))))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, x')))), y''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, x'))))), app(app(minus, y'''''), app(s, app(s, app(s, x'))))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, x'))), y''''')), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y'''''), app(s, app(s, x')))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, x')), y''''')), app(app(app(app(f, app(s, app(s, x'))), app(app(minus, y'''''), app(s, x'))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, x'), y''''')), app(app(app(app(f, app(s, x')), app(app(minus, y'''''), x')), z'''''), app(s, y'''''))), app(app(app(app(f, x'), app(s, y''''')), z'''''), app(s, y''''')))))))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(s, y)), 0), app(s, y''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, 0)))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(app(minus, y), app(s, app(s, app(s, 0))))), 0), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, 0))), y''''')), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y'''''), app(s, app(s, 0)))), 0), app(s, y'''''))), app(app(app(if, app(app(le, app(s, 0)), y''''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y'''''), app(s, 0))), 0), app(s, y'''''))), app(app(app(if, app(app(le, 0), y''''')), app(app(app(app(f, app(s, 0)), app(app(minus, y'''''), 0)), 0), app(s, y'''''))), true))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 28
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(s, y)), z'''''), app(s, y''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, x'))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(app(minus, y), app(s, app(s, app(s, app(s, x')))))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, x')))), y''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, x'))))), app(app(minus, y'''''), app(s, app(s, app(s, x'))))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, x'))), y''''')), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y'''''), app(s, app(s, x')))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, x')), y''''')), app(app(app(app(f, app(s, app(s, x'))), app(app(minus, y'''''), app(s, x'))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, x'), y''''')), app(app(app(app(f, app(s, x')), app(app(minus, y'''''), x')), z'''''), app(s, y'''''))), app(app(app(app(f, x'), app(s, y''''')), z'''''), app(s, y''''')))))))
APP(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(s, y)), app(s, z')), app(s, y''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, 0)))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(app(minus, y), app(s, app(s, app(s, 0))))), app(s, z')), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, 0))), y''''')), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y'''''), app(s, app(s, 0)))), app(s, z')), app(s, y'''''))), app(app(app(if, app(app(le, app(s, 0)), y''''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y'''''), app(s, 0))), app(s, z')), app(s, y'''''))), app(app(app(if, app(app(le, 0), y''''')), app(app(app(app(f, app(s, 0)), app(app(minus, y'''''), 0)), app(s, z')), app(s, y'''''))), false))))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, y)), z''''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, app(s, x'')))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(app(minus, y), app(s, app(s, app(s, app(s, app(s, x''))))))), z''''''), 0)), app(app(app(app(f, x''), 0), app(app(minus, app(app(minus, app(app(minus, app(app(minus, app(app(minus, z''''''), app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, app(s, app(s, app(s, x'')))))), app(s, app(s, app(s, x''))))), app(s, app(s, x'')))), app(s, x''))), 0))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(s, y)), app(s, z')), app(s, y''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, 0)))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(app(minus, y), app(s, app(s, app(s, 0))))), app(s, z')), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, 0))), y''''')), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y'''''), app(s, app(s, 0)))), app(s, z')), app(s, y'''''))), app(app(app(if, app(app(le, app(s, 0)), y''''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y'''''), app(s, 0))), app(s, z')), app(s, y'''''))), app(app(app(if, app(app(le, 0), y''''')), app(app(app(app(f, app(s, 0)), app(app(minus, y'''''), 0)), app(s, z')), app(s, y'''''))), false))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 29
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, y)), z''''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, app(s, x'')))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(app(minus, y), app(s, app(s, app(s, app(s, app(s, x''))))))), z''''''), 0)), app(app(app(app(f, x''), 0), app(app(minus, app(app(minus, app(app(minus, app(app(minus, app(app(minus, z''''''), app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, app(s, app(s, app(s, x'')))))), app(s, app(s, app(s, x''))))), app(s, app(s, x'')))), app(s, x''))), 0))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(s, y)), z'''''), app(s, y''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, x'))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(app(minus, y), app(s, app(s, app(s, app(s, x')))))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, x')))), y''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, x'))))), app(app(minus, y'''''), app(s, app(s, app(s, x'))))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, x'))), y''''')), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y'''''), app(s, app(s, x')))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, x')), y''''')), app(app(app(app(f, app(s, app(s, x'))), app(app(minus, y'''''), app(s, x'))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, x'), y''''')), app(app(app(app(f, app(s, x')), app(app(minus, y'''''), x')), z'''''), app(s, y'''''))), app(app(app(app(f, x'), app(s, y''''')), z'''''), app(s, y''''')))))))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
three new Dependency Pairs are created:
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(s, y)), z'''''), app(s, y''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, x'))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x')))))), app(app(minus, y), app(s, app(s, app(s, app(s, x')))))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, x')))), y''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, x'))))), app(app(minus, y'''''), app(s, app(s, app(s, x'))))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, app(s, x'))), y''''')), app(app(app(app(f, app(s, app(s, app(s, x')))), app(app(minus, y'''''), app(s, app(s, x')))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, app(s, x')), y''''')), app(app(app(app(f, app(s, app(s, x'))), app(app(minus, y'''''), app(s, x'))), z'''''), app(s, y'''''))), app(app(app(if, app(app(le, x'), y''''')), app(app(app(app(f, app(s, x')), app(app(minus, y'''''), x')), z'''''), app(s, y'''''))), app(app(app(app(f, x'), app(s, y''''')), z'''''), app(s, y''''')))))))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, 0)))))), app(s, y)), 0), app(s, y'''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, 0))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, 0)))))), app(app(minus, y), app(s, app(s, app(s, app(s, 0)))))), 0), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, 0)))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(app(minus, y''''''), app(s, app(s, app(s, 0))))), 0), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, 0))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y''''''), app(s, app(s, 0)))), 0), app(s, y''''''))), app(app(app(if, app(app(le, app(s, 0)), y'''''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y''''''), app(s, 0))), 0), app(s, y''''''))), app(app(app(if, app(app(le, 0), y'''''')), app(app(app(app(f, app(s, 0)), app(app(minus, y''''''), 0)), 0), app(s, y''''''))), true)))))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, 0)))))), app(s, y)), app(s, z')), app(s, y'''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, 0))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, 0)))))), app(app(minus, y), app(s, app(s, app(s, app(s, 0)))))), app(s, z')), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, 0)))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(app(minus, y''''''), app(s, app(s, app(s, 0))))), app(s, z')), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, 0))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y''''''), app(s, app(s, 0)))), app(s, z')), app(s, y''''''))), app(app(app(if, app(app(le, app(s, 0)), y'''''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y''''''), app(s, 0))), app(s, z')), app(s, y''''''))), app(app(app(if, app(app(le, 0), y'''''')), app(app(app(app(f, app(s, 0)), app(app(minus, y''''''), 0)), app(s, z')), app(s, y''''''))), false)))))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, y)), z''''''), app(s, y'''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, app(s, x'')))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(app(minus, y), app(s, app(s, app(s, app(s, app(s, x''))))))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, app(s, x''))))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x'')))))), app(app(minus, y''''''), app(s, app(s, app(s, app(s, x'')))))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, x'')))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(app(minus, y''''''), app(s, app(s, app(s, x''))))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, x''))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, x'')))), app(app(minus, y''''''), app(s, app(s, x'')))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, app(s, x'')), y'''''')), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y''''''), app(s, x''))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, x''), y'''''')), app(app(app(app(f, app(s, x'')), app(app(minus, y''''''), x'')), z''''''), app(s, y''''''))), app(app(app(app(f, x''), app(s, y'''''')), z''''''), app(s, y''''''))))))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 30
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, y)), z''''''), app(s, y'''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, app(s, x'')))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(app(minus, y), app(s, app(s, app(s, app(s, app(s, x''))))))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, app(s, x''))))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x'')))))), app(app(minus, y''''''), app(s, app(s, app(s, app(s, x'')))))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, x'')))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(app(minus, y''''''), app(s, app(s, app(s, x''))))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, x''))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, x'')))), app(app(minus, y''''''), app(s, app(s, x'')))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, app(s, x'')), y'''''')), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y''''''), app(s, x''))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, x''), y'''''')), app(app(app(app(f, app(s, x'')), app(app(minus, y''''''), x'')), z''''''), app(s, y''''''))), app(app(app(app(f, x''), app(s, y'''''')), z''''''), app(s, y''''''))))))))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, 0)))))), app(s, y)), app(s, z')), app(s, y'''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, 0))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, 0)))))), app(app(minus, y), app(s, app(s, app(s, app(s, 0)))))), app(s, z')), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, 0)))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(app(minus, y''''''), app(s, app(s, app(s, 0))))), app(s, z')), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, 0))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y''''''), app(s, app(s, 0)))), app(s, z')), app(s, y''''''))), app(app(app(if, app(app(le, app(s, 0)), y'''''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y''''''), app(s, 0))), app(s, z')), app(s, y''''''))), app(app(app(if, app(app(le, 0), y'''''')), app(app(app(app(f, app(s, 0)), app(app(minus, y''''''), 0)), app(s, z')), app(s, y''''''))), false)))))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, 0)))))), app(s, y)), 0), app(s, y'''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, 0))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, 0)))))), app(app(minus, y), app(s, app(s, app(s, app(s, 0)))))), 0), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, 0)))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(app(minus, y''''''), app(s, app(s, app(s, 0))))), 0), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, 0))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y''''''), app(s, app(s, 0)))), 0), app(s, y''''''))), app(app(app(if, app(app(le, app(s, 0)), y'''''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y''''''), app(s, 0))), 0), app(s, y''''''))), app(app(app(if, app(app(le, 0), y'''''')), app(app(app(app(f, app(s, 0)), app(app(minus, y''''''), 0)), 0), app(s, y''''''))), true)))))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, y)), z''''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, app(s, x'')))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(app(minus, y), app(s, app(s, app(s, app(s, app(s, x''))))))), z''''''), 0)), app(app(app(app(f, x''), 0), app(app(minus, app(app(minus, app(app(minus, app(app(minus, app(app(minus, z''''''), app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, app(s, app(s, app(s, x'')))))), app(s, app(s, app(s, x''))))), app(s, app(s, x'')))), app(s, x''))), 0))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, 0)))))), app(s, y)), 0), app(s, y'''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, 0))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, 0)))))), app(app(minus, y), app(s, app(s, app(s, app(s, 0)))))), 0), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, 0)))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(app(minus, y''''''), app(s, app(s, app(s, 0))))), 0), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, 0))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y''''''), app(s, app(s, 0)))), 0), app(s, y''''''))), app(app(app(if, app(app(le, app(s, 0)), y'''''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y''''''), app(s, 0))), 0), app(s, y''''''))), app(app(app(if, app(app(le, 0), y'''''')), app(app(app(app(f, app(s, 0)), app(app(minus, y''''''), 0)), 0), app(s, y''''''))), true)))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 31
↳Narrowing Transformation
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, 0)))))), app(s, y)), app(s, z')), app(s, y'''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, 0))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, 0)))))), app(app(minus, y), app(s, app(s, app(s, app(s, 0)))))), app(s, z')), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, 0)))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(app(minus, y''''''), app(s, app(s, app(s, 0))))), app(s, z')), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, 0))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y''''''), app(s, app(s, 0)))), app(s, z')), app(s, y''''''))), app(app(app(if, app(app(le, app(s, 0)), y'''''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y''''''), app(s, 0))), app(s, z')), app(s, y''''''))), app(app(app(if, app(app(le, 0), y'''''')), app(app(app(app(f, app(s, 0)), app(app(minus, y''''''), 0)), app(s, z')), app(s, y''''''))), false)))))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, y)), z''''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, app(s, x'')))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(app(minus, y), app(s, app(s, app(s, app(s, app(s, x''))))))), z''''''), 0)), app(app(app(app(f, x''), 0), app(app(minus, app(app(minus, app(app(minus, app(app(minus, app(app(minus, z''''''), app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, app(s, app(s, app(s, x'')))))), app(s, app(s, app(s, x''))))), app(s, app(s, x'')))), app(s, x''))), 0))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, y)), z''''''), app(s, y'''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, app(s, x'')))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(app(minus, y), app(s, app(s, app(s, app(s, app(s, x''))))))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, app(s, x''))))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x'')))))), app(app(minus, y''''''), app(s, app(s, app(s, app(s, x'')))))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, x'')))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(app(minus, y''''''), app(s, app(s, app(s, x''))))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, x''))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, x'')))), app(app(minus, y''''''), app(s, app(s, x'')))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, app(s, x'')), y'''''')), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y''''''), app(s, x''))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, x''), y'''''')), app(app(app(app(f, app(s, x'')), app(app(minus, y''''''), x'')), z''''''), app(s, y''''''))), app(app(app(app(f, x''), app(s, y'''''')), z''''''), app(s, y''''''))))))))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost
no new Dependency Pairs are created.
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, 0)))))), app(s, y)), app(s, z')), app(s, y'''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, 0))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, 0)))))), app(app(minus, y), app(s, app(s, app(s, app(s, 0)))))), app(s, z')), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, 0)))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, 0))))), app(app(minus, y''''''), app(s, app(s, app(s, 0))))), app(s, z')), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, 0))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, 0)))), app(app(minus, y''''''), app(s, app(s, 0)))), app(s, z')), app(s, y''''''))), app(app(app(if, app(app(le, app(s, 0)), y'''''')), app(app(app(app(f, app(s, app(s, 0))), app(app(minus, y''''''), app(s, 0))), app(s, z')), app(s, y''''''))), app(app(app(if, app(app(le, 0), y'''''')), app(app(app(app(f, app(s, 0)), app(app(minus, y''''''), 0)), app(s, z')), app(s, y''''''))), false)))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 32
↳Remaining Obligation(s)
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, y)), z''''''), app(s, y'''''')) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, app(s, x'')))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(app(minus, y), app(s, app(s, app(s, app(s, app(s, x''))))))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, app(s, x''))))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, x'')))))), app(app(minus, y''''''), app(s, app(s, app(s, app(s, x'')))))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, app(s, x'')))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, app(s, x''))))), app(app(minus, y''''''), app(s, app(s, app(s, x''))))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, app(s, app(s, x''))), y'''''')), app(app(app(app(f, app(s, app(s, app(s, x'')))), app(app(minus, y''''''), app(s, app(s, x'')))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, app(s, x'')), y'''''')), app(app(app(app(f, app(s, app(s, x''))), app(app(minus, y''''''), app(s, x''))), z''''''), app(s, y''''''))), app(app(app(if, app(app(le, x''), y'''''')), app(app(app(app(f, app(s, x'')), app(app(minus, y''''''), x'')), z''''''), app(s, y''''''))), app(app(app(app(f, x''), app(s, y'''''')), z''''''), app(s, y''''''))))))))
APP(app(app(app(f, app(s, x)), app(s, y)), z), u) -> APP(app(app(app(f, x), u), z), u)
APP(app(app(app(f, app(s, x)), 0), z), u) -> APP(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
APP(perfectp, app(s, x)) -> APP(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
APP(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, y)), z''''''), 0) -> APP(app(app(if, app(app(le, app(s, app(s, app(s, app(s, app(s, x'')))))), y)), app(app(app(app(f, app(s, app(s, app(s, app(s, app(s, app(s, x''))))))), app(app(minus, y), app(s, app(s, app(s, app(s, app(s, x''))))))), z''''''), 0)), app(app(app(app(f, x''), 0), app(app(minus, app(app(minus, app(app(minus, app(app(minus, app(app(minus, z''''''), app(s, app(s, app(s, app(s, app(s, x''))))))), app(s, app(s, app(s, app(s, x'')))))), app(s, app(s, app(s, x''))))), app(s, app(s, x'')))), app(s, x''))), 0))
app(perfectp, 0) -> false
app(perfectp, app(s, x)) -> app(app(app(app(f, x), app(s, 0)), app(s, x)), app(s, x))
app(app(app(app(f, 0), y), 0), u) -> true
app(app(app(app(f, 0), y), app(s, z)), u) -> false
app(app(app(app(f, app(s, x)), 0), z), u) -> app(app(app(app(f, x), u), app(app(minus, z), app(s, x))), u)
app(app(app(app(f, app(s, x)), app(s, y)), z), u) -> app(app(app(if, app(app(le, x), y)), app(app(app(app(f, app(s, x)), app(app(minus, y), x)), z), u)), app(app(app(app(f, x), u), z), u))
innermost