R
↳Dependency Pair Analysis
EQ(s(x), s(y)) -> EQ(x, y)
LE(s(x), s(y)) -> LE(x, y)
APP(add(n, x), y) -> APP(x, y)
MIN(add(n, add(m, x))) -> IFMIN(le(n, m), add(n, add(m, x)))
MIN(add(n, add(m, x))) -> LE(n, m)
IFMIN(true, add(n, add(m, x))) -> MIN(add(n, x))
IFMIN(false, add(n, add(m, x))) -> MIN(add(m, x))
RM(n, add(m, x)) -> IFRM(eq(n, m), n, add(m, x))
RM(n, add(m, x)) -> EQ(n, m)
IFRM(true, n, add(m, x)) -> RM(n, x)
IFRM(false, n, add(m, x)) -> RM(n, x)
MINSORT(add(n, x), y) -> IFMINSORT(eq(n, min(add(n, x))), add(n, x), y)
MINSORT(add(n, x), y) -> EQ(n, min(add(n, x)))
MINSORT(add(n, x), y) -> MIN(add(n, x))
IFMINSORT(true, add(n, x), y) -> MINSORT(app(rm(n, x), y), nil)
IFMINSORT(true, add(n, x), y) -> APP(rm(n, x), y)
IFMINSORT(true, add(n, x), y) -> RM(n, x)
IFMINSORT(false, add(n, x), y) -> MINSORT(x, add(n, y))
R
↳DPs
→DP Problem 1
↳Argument Filtering and Ordering
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
EQ(s(x), s(y)) -> EQ(x, y)
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
EQ(s(x), s(y)) -> EQ(x, y)
EQ(x1, x2) -> EQ(x1, x2)
s(x1) -> s(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 7
↳Dependency Graph
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Argument Filtering and Ordering
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
LE(s(x), s(y)) -> LE(x, y)
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
LE(s(x), s(y)) -> LE(x, y)
LE(x1, x2) -> LE(x1, x2)
s(x1) -> s(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 8
↳Dependency Graph
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳Argument Filtering and Ordering
→DP Problem 4
↳Nar
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
APP(add(n, x), y) -> APP(x, y)
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
APP(add(n, x), y) -> APP(x, y)
APP(x1, x2) -> APP(x1, x2)
add(x1, x2) -> add(x1, x2)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 9
↳Dependency Graph
→DP Problem 4
↳Nar
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Narrowing Transformation
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
IFRM(false, n, add(m, x)) -> RM(n, x)
IFRM(true, n, add(m, x)) -> RM(n, x)
RM(n, add(m, x)) -> IFRM(eq(n, m), n, add(m, x))
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
four new Dependency Pairs are created:
RM(n, add(m, x)) -> IFRM(eq(n, m), n, add(m, x))
RM(0, add(0, x)) -> IFRM(true, 0, add(0, x))
RM(0, add(s(x''), x)) -> IFRM(false, 0, add(s(x''), x))
RM(s(x''), add(0, x)) -> IFRM(false, s(x''), add(0, x))
RM(s(x''), add(s(y'), x)) -> IFRM(eq(x'', y'), s(x''), add(s(y'), x))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 10
↳Instantiation Transformation
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
RM(s(x''), add(s(y'), x)) -> IFRM(eq(x'', y'), s(x''), add(s(y'), x))
RM(s(x''), add(0, x)) -> IFRM(false, s(x''), add(0, x))
RM(0, add(s(x''), x)) -> IFRM(false, 0, add(s(x''), x))
IFRM(true, n, add(m, x)) -> RM(n, x)
RM(0, add(0, x)) -> IFRM(true, 0, add(0, x))
IFRM(false, n, add(m, x)) -> RM(n, x)
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
two new Dependency Pairs are created:
IFRM(true, n, add(m, x)) -> RM(n, x)
IFRM(true, 0, add(0, x'')) -> RM(0, x'')
IFRM(true, s(x'''''), add(s(y'''), x')) -> RM(s(x'''''), x')
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 10
↳Inst
...
→DP Problem 11
↳Instantiation Transformation
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
IFRM(true, s(x'''''), add(s(y'''), x')) -> RM(s(x'''''), x')
RM(s(x''), add(0, x)) -> IFRM(false, s(x''), add(0, x))
RM(0, add(s(x''), x)) -> IFRM(false, 0, add(s(x''), x))
IFRM(true, 0, add(0, x'')) -> RM(0, x'')
RM(0, add(0, x)) -> IFRM(true, 0, add(0, x))
IFRM(false, n, add(m, x)) -> RM(n, x)
RM(s(x''), add(s(y'), x)) -> IFRM(eq(x'', y'), s(x''), add(s(y'), x))
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
three new Dependency Pairs are created:
IFRM(false, n, add(m, x)) -> RM(n, x)
IFRM(false, 0, add(s(x''''), x'')) -> RM(0, x'')
IFRM(false, s(x''''), add(0, x'')) -> RM(s(x''''), x'')
IFRM(false, s(x'''''), add(s(y'''), x')) -> RM(s(x'''''), x')
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 10
↳Inst
...
→DP Problem 12
↳Forward Instantiation Transformation
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
IFRM(false, s(x'''''), add(s(y'''), x')) -> RM(s(x'''''), x')
RM(s(x''), add(s(y'), x)) -> IFRM(eq(x'', y'), s(x''), add(s(y'), x))
IFRM(false, s(x''''), add(0, x'')) -> RM(s(x''''), x'')
RM(s(x''), add(0, x)) -> IFRM(false, s(x''), add(0, x))
IFRM(true, s(x'''''), add(s(y'''), x')) -> RM(s(x'''''), x')
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
two new Dependency Pairs are created:
IFRM(true, s(x'''''), add(s(y'''), x')) -> RM(s(x'''''), x')
IFRM(true, s(x''''''), add(s(y'''), add(0, x0'))) -> RM(s(x''''''), add(0, x0'))
IFRM(true, s(x''''''), add(s(y'''), add(s(y'''), x0'))) -> RM(s(x''''''), add(s(y'''), x0'))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 10
↳Inst
...
→DP Problem 14
↳Forward Instantiation Transformation
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
IFRM(true, s(x''''''), add(s(y'''), add(s(y'''), x0'))) -> RM(s(x''''''), add(s(y'''), x0'))
IFRM(true, s(x''''''), add(s(y'''), add(0, x0'))) -> RM(s(x''''''), add(0, x0'))
RM(s(x''), add(s(y'), x)) -> IFRM(eq(x'', y'), s(x''), add(s(y'), x))
IFRM(false, s(x''''), add(0, x'')) -> RM(s(x''''), x'')
RM(s(x''), add(0, x)) -> IFRM(false, s(x''), add(0, x))
IFRM(false, s(x'''''), add(s(y'''), x')) -> RM(s(x'''''), x')
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
two new Dependency Pairs are created:
IFRM(false, s(x''''), add(0, x'')) -> RM(s(x''''), x'')
IFRM(false, s(x'''''), add(0, add(0, x'0))) -> RM(s(x'''''), add(0, x'0))
IFRM(false, s(x'''''), add(0, add(s(y'''), x'0))) -> RM(s(x'''''), add(s(y'''), x'0))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 10
↳Inst
...
→DP Problem 16
↳Forward Instantiation Transformation
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
IFRM(true, s(x''''''), add(s(y'''), add(0, x0'))) -> RM(s(x''''''), add(0, x0'))
IFRM(false, s(x'''''), add(0, add(s(y'''), x'0))) -> RM(s(x'''''), add(s(y'''), x'0))
IFRM(false, s(x'''''), add(0, add(0, x'0))) -> RM(s(x'''''), add(0, x'0))
RM(s(x''), add(0, x)) -> IFRM(false, s(x''), add(0, x))
IFRM(false, s(x'''''), add(s(y'''), x')) -> RM(s(x'''''), x')
RM(s(x''), add(s(y'), x)) -> IFRM(eq(x'', y'), s(x''), add(s(y'), x))
IFRM(true, s(x''''''), add(s(y'''), add(s(y'''), x0'))) -> RM(s(x''''''), add(s(y'''), x0'))
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
two new Dependency Pairs are created:
RM(s(x''), add(0, x)) -> IFRM(false, s(x''), add(0, x))
RM(s(x'''), add(0, add(0, x'0''))) -> IFRM(false, s(x'''), add(0, add(0, x'0'')))
RM(s(x'''), add(0, add(s(y'''''), x'0''))) -> IFRM(false, s(x'''), add(0, add(s(y'''''), x'0'')))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 10
↳Inst
...
→DP Problem 18
↳Forward Instantiation Transformation
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
IFRM(true, s(x''''''), add(s(y'''), add(s(y'''), x0'))) -> RM(s(x''''''), add(s(y'''), x0'))
IFRM(false, s(x'''''), add(s(y'''), x')) -> RM(s(x'''''), x')
RM(s(x''), add(s(y'), x)) -> IFRM(eq(x'', y'), s(x''), add(s(y'), x))
IFRM(false, s(x'''''), add(0, add(s(y'''), x'0))) -> RM(s(x'''''), add(s(y'''), x'0))
RM(s(x'''), add(0, add(s(y'''''), x'0''))) -> IFRM(false, s(x'''), add(0, add(s(y'''''), x'0'')))
IFRM(false, s(x'''''), add(0, add(0, x'0))) -> RM(s(x'''''), add(0, x'0))
RM(s(x'''), add(0, add(0, x'0''))) -> IFRM(false, s(x'''), add(0, add(0, x'0'')))
IFRM(true, s(x''''''), add(s(y'''), add(0, x0'))) -> RM(s(x''''''), add(0, x0'))
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
three new Dependency Pairs are created:
IFRM(false, s(x'''''), add(s(y'''), x')) -> RM(s(x'''''), x')
IFRM(false, s(x''''''), add(s(y'''), add(s(y'''), x0'))) -> RM(s(x''''''), add(s(y'''), x0'))
IFRM(false, s(x''''''), add(s(y'''), add(0, add(0, x'0'''')))) -> RM(s(x''''''), add(0, add(0, x'0'''')))
IFRM(false, s(x''''''), add(s(y'''), add(0, add(s(y'''''''), x'0'''')))) -> RM(s(x''''''), add(0, add(s(y'''''''), x'0'''')))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 10
↳Inst
...
→DP Problem 20
↳Forward Instantiation Transformation
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
IFRM(false, s(x''''''), add(s(y'''), add(0, add(s(y'''''''), x'0'''')))) -> RM(s(x''''''), add(0, add(s(y'''''''), x'0'''')))
IFRM(false, s(x''''''), add(s(y'''), add(0, add(0, x'0'''')))) -> RM(s(x''''''), add(0, add(0, x'0'''')))
IFRM(false, s(x''''''), add(s(y'''), add(s(y'''), x0'))) -> RM(s(x''''''), add(s(y'''), x0'))
IFRM(false, s(x'''''), add(0, add(s(y'''), x'0))) -> RM(s(x'''''), add(s(y'''), x'0))
RM(s(x'''), add(0, add(s(y'''''), x'0''))) -> IFRM(false, s(x'''), add(0, add(s(y'''''), x'0'')))
IFRM(false, s(x'''''), add(0, add(0, x'0))) -> RM(s(x'''''), add(0, x'0))
RM(s(x'''), add(0, add(0, x'0''))) -> IFRM(false, s(x'''), add(0, add(0, x'0'')))
IFRM(true, s(x''''''), add(s(y'''), add(0, x0'))) -> RM(s(x''''''), add(0, x0'))
RM(s(x''), add(s(y'), x)) -> IFRM(eq(x'', y'), s(x''), add(s(y'), x))
IFRM(true, s(x''''''), add(s(y'''), add(s(y'''), x0'))) -> RM(s(x''''''), add(s(y'''), x0'))
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
four new Dependency Pairs are created:
RM(s(x''), add(s(y'), x)) -> IFRM(eq(x'', y'), s(x''), add(s(y'), x))
RM(s(x''''), add(s(y''), add(0, x0'''))) -> IFRM(eq(x'''', y''), s(x''''), add(s(y''), add(0, x0''')))
RM(s(x''''), add(s(y''), add(s(y''''''), x0'''))) -> IFRM(eq(x'''', y''), s(x''''), add(s(y''), add(s(y''''''), x0''')))
RM(s(x''''), add(s(y''), add(0, add(0, x'0'''''')))) -> IFRM(eq(x'''', y''), s(x''''), add(s(y''), add(0, add(0, x'0''''''))))
RM(s(x''''), add(s(y''), add(0, add(s(y'''''''''), x'0'''''')))) -> IFRM(eq(x'''', y''), s(x''''), add(s(y''), add(0, add(s(y'''''''''), x'0''''''))))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 5
↳Remaining Obligation(s)
→DP Problem 6
↳Remaining Obligation(s)
IFRM(false, s(x''''''), add(s(y'''), add(s(y'''), x0'))) -> RM(s(x''''''), add(s(y'''), x0'))
RM(s(x''''), add(s(y''), add(0, add(s(y'''''''''), x'0'''''')))) -> IFRM(eq(x'''', y''), s(x''''), add(s(y''), add(0, add(s(y'''''''''), x'0''''''))))
RM(s(x''''), add(s(y''), add(0, add(0, x'0'''''')))) -> IFRM(eq(x'''', y''), s(x''''), add(s(y''), add(0, add(0, x'0''''''))))
IFRM(true, s(x''''''), add(s(y'''), add(s(y'''), x0'))) -> RM(s(x''''''), add(s(y'''), x0'))
RM(s(x''''), add(s(y''), add(s(y''''''), x0'''))) -> IFRM(eq(x'''', y''), s(x''''), add(s(y''), add(s(y''''''), x0''')))
IFRM(false, s(x''''''), add(s(y'''), add(0, add(0, x'0'''')))) -> RM(s(x''''''), add(0, add(0, x'0'''')))
IFRM(false, s(x'''''), add(0, add(0, x'0))) -> RM(s(x'''''), add(0, x'0))
RM(s(x'''), add(0, add(0, x'0''))) -> IFRM(false, s(x'''), add(0, add(0, x'0'')))
IFRM(true, s(x''''''), add(s(y'''), add(0, x0'))) -> RM(s(x''''''), add(0, x0'))
RM(s(x''''), add(s(y''), add(0, x0'''))) -> IFRM(eq(x'''', y''), s(x''''), add(s(y''), add(0, x0''')))
IFRM(false, s(x'''''), add(0, add(s(y'''), x'0))) -> RM(s(x'''''), add(s(y'''), x'0))
RM(s(x'''), add(0, add(s(y'''''), x'0''))) -> IFRM(false, s(x'''), add(0, add(s(y'''''), x'0'')))
IFRM(false, s(x''''''), add(s(y'''), add(0, add(s(y'''''''), x'0'''')))) -> RM(s(x''''''), add(0, add(s(y'''''''), x'0'''')))
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
IFMIN(false, add(n, add(m, x))) -> MIN(add(m, x))
IFMIN(true, add(n, add(m, x))) -> MIN(add(n, x))
MIN(add(n, add(m, x))) -> IFMIN(le(n, m), add(n, add(m, x)))
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
IFMINSORT(false, add(n, x), y) -> MINSORT(x, add(n, y))
IFMINSORT(true, add(n, x), y) -> MINSORT(app(rm(n, x), y), nil)
MINSORT(add(n, x), y) -> IFMINSORT(eq(n, min(add(n, x))), add(n, x), y)
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 10
↳Inst
...
→DP Problem 13
↳Forward Instantiation Transformation
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
IFRM(true, 0, add(0, x'')) -> RM(0, x'')
RM(0, add(0, x)) -> IFRM(true, 0, add(0, x))
IFRM(false, 0, add(s(x''''), x'')) -> RM(0, x'')
RM(0, add(s(x''), x)) -> IFRM(false, 0, add(s(x''), x))
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
two new Dependency Pairs are created:
IFRM(true, 0, add(0, x'')) -> RM(0, x'')
IFRM(true, 0, add(0, add(0, x'''))) -> RM(0, add(0, x'''))
IFRM(true, 0, add(0, add(s(x''''), x'0))) -> RM(0, add(s(x''''), x'0))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 10
↳Inst
...
→DP Problem 15
↳Forward Instantiation Transformation
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
IFRM(false, 0, add(s(x''''), x'')) -> RM(0, x'')
RM(0, add(s(x''), x)) -> IFRM(false, 0, add(s(x''), x))
IFRM(true, 0, add(0, add(s(x''''), x'0))) -> RM(0, add(s(x''''), x'0))
IFRM(true, 0, add(0, add(0, x'''))) -> RM(0, add(0, x'''))
RM(0, add(0, x)) -> IFRM(true, 0, add(0, x))
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
two new Dependency Pairs are created:
RM(0, add(0, x)) -> IFRM(true, 0, add(0, x))
RM(0, add(0, add(0, x'''''))) -> IFRM(true, 0, add(0, add(0, x''''')))
RM(0, add(0, add(s(x''''''), x'0''))) -> IFRM(true, 0, add(0, add(s(x''''''), x'0'')))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 10
↳Inst
...
→DP Problem 17
↳Forward Instantiation Transformation
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
IFRM(true, 0, add(0, add(s(x''''), x'0))) -> RM(0, add(s(x''''), x'0))
RM(0, add(0, add(s(x''''''), x'0''))) -> IFRM(true, 0, add(0, add(s(x''''''), x'0'')))
IFRM(true, 0, add(0, add(0, x'''))) -> RM(0, add(0, x'''))
RM(0, add(0, add(0, x'''''))) -> IFRM(true, 0, add(0, add(0, x''''')))
RM(0, add(s(x''), x)) -> IFRM(false, 0, add(s(x''), x))
IFRM(false, 0, add(s(x''''), x'')) -> RM(0, x'')
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
three new Dependency Pairs are created:
IFRM(false, 0, add(s(x''''), x'')) -> RM(0, x'')
IFRM(false, 0, add(s(x''''), add(s(x''''), x'0))) -> RM(0, add(s(x''''), x'0))
IFRM(false, 0, add(s(x''''), add(0, add(0, x''''''')))) -> RM(0, add(0, add(0, x''''''')))
IFRM(false, 0, add(s(x''''), add(0, add(s(x''''''''), x'0'''')))) -> RM(0, add(0, add(s(x''''''''), x'0'''')))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 10
↳Inst
...
→DP Problem 19
↳Forward Instantiation Transformation
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
IFRM(false, 0, add(s(x''''), add(0, add(s(x''''''''), x'0'''')))) -> RM(0, add(0, add(s(x''''''''), x'0'''')))
RM(0, add(0, add(s(x''''''), x'0''))) -> IFRM(true, 0, add(0, add(s(x''''''), x'0'')))
IFRM(true, 0, add(0, add(0, x'''))) -> RM(0, add(0, x'''))
RM(0, add(0, add(0, x'''''))) -> IFRM(true, 0, add(0, add(0, x''''')))
IFRM(false, 0, add(s(x''''), add(0, add(0, x''''''')))) -> RM(0, add(0, add(0, x''''''')))
IFRM(false, 0, add(s(x''''), add(s(x''''), x'0))) -> RM(0, add(s(x''''), x'0))
RM(0, add(s(x''), x)) -> IFRM(false, 0, add(s(x''), x))
IFRM(true, 0, add(0, add(s(x''''), x'0))) -> RM(0, add(s(x''''), x'0))
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
three new Dependency Pairs are created:
RM(0, add(s(x''), x)) -> IFRM(false, 0, add(s(x''), x))
RM(0, add(s(x'''), add(s(x'''''''), x'0''))) -> IFRM(false, 0, add(s(x'''), add(s(x'''''''), x'0'')))
RM(0, add(s(x'''), add(0, add(0, x''''''''')))) -> IFRM(false, 0, add(s(x'''), add(0, add(0, x'''''''''))))
RM(0, add(s(x'''), add(0, add(s(x''''''''''), x'0'''''')))) -> IFRM(false, 0, add(s(x'''), add(0, add(s(x''''''''''), x'0''''''))))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 10
↳Inst
...
→DP Problem 21
↳Argument Filtering and Ordering
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
RM(0, add(s(x'''), add(0, add(s(x''''''''''), x'0'''''')))) -> IFRM(false, 0, add(s(x'''), add(0, add(s(x''''''''''), x'0''''''))))
IFRM(true, 0, add(0, add(0, x'''))) -> RM(0, add(0, x'''))
RM(0, add(0, add(0, x'''''))) -> IFRM(true, 0, add(0, add(0, x''''')))
IFRM(false, 0, add(s(x''''), add(0, add(0, x''''''')))) -> RM(0, add(0, add(0, x''''''')))
RM(0, add(s(x'''), add(0, add(0, x''''''''')))) -> IFRM(false, 0, add(s(x'''), add(0, add(0, x'''''''''))))
IFRM(false, 0, add(s(x''''), add(s(x''''), x'0))) -> RM(0, add(s(x''''), x'0))
RM(0, add(s(x'''), add(s(x'''''''), x'0''))) -> IFRM(false, 0, add(s(x'''), add(s(x'''''''), x'0'')))
IFRM(true, 0, add(0, add(s(x''''), x'0))) -> RM(0, add(s(x''''), x'0))
RM(0, add(0, add(s(x''''''), x'0''))) -> IFRM(true, 0, add(0, add(s(x''''''), x'0'')))
IFRM(false, 0, add(s(x''''), add(0, add(s(x''''''''), x'0'''')))) -> RM(0, add(0, add(s(x''''''''), x'0'''')))
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
IFRM(true, 0, add(0, add(0, x'''))) -> RM(0, add(0, x'''))
IFRM(false, 0, add(s(x''''), add(0, add(0, x''''''')))) -> RM(0, add(0, add(0, x''''''')))
IFRM(false, 0, add(s(x''''), add(s(x''''), x'0))) -> RM(0, add(s(x''''), x'0))
IFRM(true, 0, add(0, add(s(x''''), x'0))) -> RM(0, add(s(x''''), x'0))
IFRM(false, 0, add(s(x''''), add(0, add(s(x''''''''), x'0'''')))) -> RM(0, add(0, add(s(x''''''''), x'0'''')))
RM(x1, x2) -> x2
add(x1, x2) -> add(x1, x2)
IFRM(x1, x2, x3) -> x3
s(x1) -> s(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 10
↳Inst
...
→DP Problem 23
↳Dependency Graph
→DP Problem 5
↳Remaining
→DP Problem 6
↳Remaining
RM(0, add(s(x'''), add(0, add(s(x''''''''''), x'0'''''')))) -> IFRM(false, 0, add(s(x'''), add(0, add(s(x''''''''''), x'0''''''))))
RM(0, add(0, add(0, x'''''))) -> IFRM(true, 0, add(0, add(0, x''''')))
RM(0, add(s(x'''), add(0, add(0, x''''''''')))) -> IFRM(false, 0, add(s(x'''), add(0, add(0, x'''''''''))))
RM(0, add(s(x'''), add(s(x'''''''), x'0''))) -> IFRM(false, 0, add(s(x'''), add(s(x'''''''), x'0'')))
RM(0, add(0, add(s(x''''''), x'0''))) -> IFRM(true, 0, add(0, add(s(x''''''), x'0'')))
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 5
↳Remaining Obligation(s)
→DP Problem 6
↳Remaining Obligation(s)
IFRM(false, s(x''''''), add(s(y'''), add(s(y'''), x0'))) -> RM(s(x''''''), add(s(y'''), x0'))
RM(s(x''''), add(s(y''), add(0, add(s(y'''''''''), x'0'''''')))) -> IFRM(eq(x'''', y''), s(x''''), add(s(y''), add(0, add(s(y'''''''''), x'0''''''))))
RM(s(x''''), add(s(y''), add(0, add(0, x'0'''''')))) -> IFRM(eq(x'''', y''), s(x''''), add(s(y''), add(0, add(0, x'0''''''))))
IFRM(true, s(x''''''), add(s(y'''), add(s(y'''), x0'))) -> RM(s(x''''''), add(s(y'''), x0'))
RM(s(x''''), add(s(y''), add(s(y''''''), x0'''))) -> IFRM(eq(x'''', y''), s(x''''), add(s(y''), add(s(y''''''), x0''')))
IFRM(false, s(x''''''), add(s(y'''), add(0, add(0, x'0'''')))) -> RM(s(x''''''), add(0, add(0, x'0'''')))
IFRM(false, s(x'''''), add(0, add(0, x'0))) -> RM(s(x'''''), add(0, x'0))
RM(s(x'''), add(0, add(0, x'0''))) -> IFRM(false, s(x'''), add(0, add(0, x'0'')))
IFRM(true, s(x''''''), add(s(y'''), add(0, x0'))) -> RM(s(x''''''), add(0, x0'))
RM(s(x''''), add(s(y''), add(0, x0'''))) -> IFRM(eq(x'''', y''), s(x''''), add(s(y''), add(0, x0''')))
IFRM(false, s(x'''''), add(0, add(s(y'''), x'0))) -> RM(s(x'''''), add(s(y'''), x'0))
RM(s(x'''), add(0, add(s(y'''''), x'0''))) -> IFRM(false, s(x'''), add(0, add(s(y'''''), x'0'')))
IFRM(false, s(x''''''), add(s(y'''), add(0, add(s(y'''''''), x'0'''')))) -> RM(s(x''''''), add(0, add(s(y'''''''), x'0'''')))
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
IFMIN(false, add(n, add(m, x))) -> MIN(add(m, x))
IFMIN(true, add(n, add(m, x))) -> MIN(add(n, x))
MIN(add(n, add(m, x))) -> IFMIN(le(n, m), add(n, add(m, x)))
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
IFMINSORT(false, add(n, x), y) -> MINSORT(x, add(n, y))
IFMINSORT(true, add(n, x), y) -> MINSORT(app(rm(n, x), y), nil)
MINSORT(add(n, x), y) -> IFMINSORT(eq(n, min(add(n, x))), add(n, x), y)
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 5
↳Remaining Obligation(s)
→DP Problem 6
↳Remaining Obligation(s)
IFRM(false, s(x''''''), add(s(y'''), add(s(y'''), x0'))) -> RM(s(x''''''), add(s(y'''), x0'))
RM(s(x''''), add(s(y''), add(0, add(s(y'''''''''), x'0'''''')))) -> IFRM(eq(x'''', y''), s(x''''), add(s(y''), add(0, add(s(y'''''''''), x'0''''''))))
RM(s(x''''), add(s(y''), add(0, add(0, x'0'''''')))) -> IFRM(eq(x'''', y''), s(x''''), add(s(y''), add(0, add(0, x'0''''''))))
IFRM(true, s(x''''''), add(s(y'''), add(s(y'''), x0'))) -> RM(s(x''''''), add(s(y'''), x0'))
RM(s(x''''), add(s(y''), add(s(y''''''), x0'''))) -> IFRM(eq(x'''', y''), s(x''''), add(s(y''), add(s(y''''''), x0''')))
IFRM(false, s(x''''''), add(s(y'''), add(0, add(0, x'0'''')))) -> RM(s(x''''''), add(0, add(0, x'0'''')))
IFRM(false, s(x'''''), add(0, add(0, x'0))) -> RM(s(x'''''), add(0, x'0))
RM(s(x'''), add(0, add(0, x'0''))) -> IFRM(false, s(x'''), add(0, add(0, x'0'')))
IFRM(true, s(x''''''), add(s(y'''), add(0, x0'))) -> RM(s(x''''''), add(0, x0'))
RM(s(x''''), add(s(y''), add(0, x0'''))) -> IFRM(eq(x'''', y''), s(x''''), add(s(y''), add(0, x0''')))
IFRM(false, s(x'''''), add(0, add(s(y'''), x'0))) -> RM(s(x'''''), add(s(y'''), x'0))
RM(s(x'''), add(0, add(s(y'''''), x'0''))) -> IFRM(false, s(x'''), add(0, add(s(y'''''), x'0'')))
IFRM(false, s(x''''''), add(s(y'''), add(0, add(s(y'''''''), x'0'''')))) -> RM(s(x''''''), add(0, add(s(y'''''''), x'0'''')))
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
IFMIN(false, add(n, add(m, x))) -> MIN(add(m, x))
IFMIN(true, add(n, add(m, x))) -> MIN(add(n, x))
MIN(add(n, add(m, x))) -> IFMIN(le(n, m), add(n, add(m, x)))
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost
IFMINSORT(false, add(n, x), y) -> MINSORT(x, add(n, y))
IFMINSORT(true, add(n, x), y) -> MINSORT(app(rm(n, x), y), nil)
MINSORT(add(n, x), y) -> IFMINSORT(eq(n, min(add(n, x))), add(n, x), y)
eq(0, 0) -> true
eq(0, s(x)) -> false
eq(s(x), 0) -> false
eq(s(x), s(y)) -> eq(x, y)
le(0, y) -> true
le(s(x), 0) -> false
le(s(x), s(y)) -> le(x, y)
app(nil, y) -> y
app(add(n, x), y) -> add(n, app(x, y))
min(add(n, nil)) -> n
min(add(n, add(m, x))) -> ifmin(le(n, m), add(n, add(m, x)))
ifmin(true, add(n, add(m, x))) -> min(add(n, x))
ifmin(false, add(n, add(m, x))) -> min(add(m, x))
rm(n, nil) -> nil
rm(n, add(m, x)) -> ifrm(eq(n, m), n, add(m, x))
ifrm(true, n, add(m, x)) -> rm(n, x)
ifrm(false, n, add(m, x)) -> add(m, rm(n, x))
minsort(nil, nil) -> nil
minsort(add(n, x), y) -> ifminsort(eq(n, min(add(n, x))), add(n, x), y)
ifminsort(true, add(n, x), y) -> add(n, minsort(app(rm(n, x), y), nil))
ifminsort(false, add(n, x), y) -> minsort(x, add(n, y))
innermost