R
↳Dependency Pair Analysis
+'(O(x), O(y)) -> O'(+(x, y))
+'(O(x), O(y)) -> +'(x, y)
+'(O(x), I(y)) -> +'(x, y)
+'(I(x), O(y)) -> +'(x, y)
+'(I(x), I(y)) -> O'(+(+(x, y), I(0)))
+'(I(x), I(y)) -> +'(+(x, y), I(0))
+'(I(x), I(y)) -> +'(x, y)
+'(x, +(y, z)) -> +'(+(x, y), z)
+'(x, +(y, z)) -> +'(x, y)
-'(O(x), O(y)) -> O'(-(x, y))
-'(O(x), O(y)) -> -'(x, y)
-'(O(x), I(y)) -> -'(-(x, y), I(1))
-'(O(x), I(y)) -> -'(x, y)
-'(I(x), O(y)) -> -'(x, y)
-'(I(x), I(y)) -> O'(-(x, y))
-'(I(x), I(y)) -> -'(x, y)
GE(O(x), O(y)) -> GE(x, y)
GE(O(x), I(y)) -> NOT(ge(y, x))
GE(O(x), I(y)) -> GE(y, x)
GE(I(x), O(y)) -> GE(x, y)
GE(I(x), I(y)) -> GE(x, y)
GE(0, O(x)) -> GE(0, x)
LOG'(I(x)) -> +'(Log'(x), I(0))
LOG'(I(x)) -> LOG'(x)
LOG'(O(x)) -> IF(ge(x, I(0)), +(Log'(x), I(0)), 0)
LOG'(O(x)) -> GE(x, I(0))
LOG'(O(x)) -> +'(Log'(x), I(0))
LOG'(O(x)) -> LOG'(x)
LOG(x) -> -'(Log'(x), I(0))
LOG(x) -> LOG'(x)
MIN(N(x, l, r)) -> MIN(l)
MAX(N(x, l, r)) -> MAX(r)
BS'(N(x, l, r)) -> AND(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
BS'(N(x, l, r)) -> AND(ge(x, Max(l)), ge(Min(r), x))
BS'(N(x, l, r)) -> GE(x, Max(l))
BS'(N(x, l, r)) -> MAX(l)
BS'(N(x, l, r)) -> GE(Min(r), x)
BS'(N(x, l, r)) -> MIN(r)
BS'(N(x, l, r)) -> AND(BS(l), BS(r))
BS'(N(x, l, r)) -> BS'(l)
BS'(N(x, l, r)) -> BS'(r)
SIZE(N(x, l, r)) -> +'(+(Size(l), Size(r)), I(1))
SIZE(N(x, l, r)) -> +'(Size(l), Size(r))
SIZE(N(x, l, r)) -> SIZE(l)
SIZE(N(x, l, r)) -> SIZE(r)
WB'(N(x, l, r)) -> AND(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
WB'(N(x, l, r)) -> IF(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l))))
WB'(N(x, l, r)) -> GE(Size(l), Size(r))
WB'(N(x, l, r)) -> SIZE(l)
WB'(N(x, l, r)) -> SIZE(r)
WB'(N(x, l, r)) -> GE(I(0), -(Size(l), Size(r)))
WB'(N(x, l, r)) -> -'(Size(l), Size(r))
WB'(N(x, l, r)) -> GE(I(0), -(Size(r), Size(l)))
WB'(N(x, l, r)) -> -'(Size(r), Size(l))
WB'(N(x, l, r)) -> AND(WB(l), WB(r))
WB'(N(x, l, r)) -> WB'(l)
WB'(N(x, l, r)) -> WB'(r)
R
↳DPs
→DP Problem 1
↳Polynomial Ordering
→DP Problem 2
↳Polo
→DP Problem 3
↳Polo
→DP Problem 4
↳Polo
→DP Problem 5
↳Polo
+'(x, +(y, z)) -> +'(x, y)
+'(x, +(y, z)) -> +'(+(x, y), z)
+'(I(x), I(y)) -> +'(x, y)
+'(I(x), I(y)) -> +'(+(x, y), I(0))
+'(I(x), O(y)) -> +'(x, y)
+'(O(x), I(y)) -> +'(x, y)
+'(O(x), O(y)) -> +'(x, y)
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
+'(I(x), I(y)) -> +'(x, y)
+'(O(x), I(y)) -> +'(x, y)
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
O(0) -> 0
POL(I(x1)) = 1 + x1 POL(0) = 0 POL(O(x1)) = x1 POL(+(x1, x2)) = x1 + x2 POL(+'(x1, x2)) = 1 + x2
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 6
↳Dependency Graph
→DP Problem 2
↳Polo
→DP Problem 3
↳Polo
→DP Problem 4
↳Polo
→DP Problem 5
↳Polo
+'(x, +(y, z)) -> +'(x, y)
+'(x, +(y, z)) -> +'(+(x, y), z)
+'(I(x), I(y)) -> +'(+(x, y), I(0))
+'(I(x), O(y)) -> +'(x, y)
+'(O(x), O(y)) -> +'(x, y)
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 6
↳DGraph
...
→DP Problem 7
↳Polynomial Ordering
→DP Problem 2
↳Polo
→DP Problem 3
↳Polo
→DP Problem 4
↳Polo
→DP Problem 5
↳Polo
+'(I(x), I(y)) -> +'(+(x, y), I(0))
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
+'(I(x), I(y)) -> +'(+(x, y), I(0))
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
O(0) -> 0
POL(I(x1)) = 1 + x1 POL(0) = 0 POL(O(x1)) = x1 POL(+(x1, x2)) = x1 + x2 POL(+'(x1, x2)) = 1 + x1 + x2
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 6
↳DGraph
...
→DP Problem 9
↳Dependency Graph
→DP Problem 2
↳Polo
→DP Problem 3
↳Polo
→DP Problem 4
↳Polo
→DP Problem 5
↳Polo
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 6
↳DGraph
...
→DP Problem 8
↳Polynomial Ordering
→DP Problem 2
↳Polo
→DP Problem 3
↳Polo
→DP Problem 4
↳Polo
→DP Problem 5
↳Polo
+'(x, +(y, z)) -> +'(+(x, y), z)
+'(I(x), O(y)) -> +'(x, y)
+'(O(x), O(y)) -> +'(x, y)
+'(x, +(y, z)) -> +'(x, y)
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
+'(I(x), O(y)) -> +'(x, y)
+'(O(x), O(y)) -> +'(x, y)
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
O(0) -> 0
POL(I(x1)) = 1 + x1 POL(0) = 0 POL(O(x1)) = 1 + x1 POL(+(x1, x2)) = x1 + x2 POL(+'(x1, x2)) = 1 + x2
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 6
↳DGraph
...
→DP Problem 10
↳Dependency Graph
→DP Problem 2
↳Polo
→DP Problem 3
↳Polo
→DP Problem 4
↳Polo
→DP Problem 5
↳Polo
+'(x, +(y, z)) -> +'(+(x, y), z)
+'(x, +(y, z)) -> +'(x, y)
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 6
↳DGraph
...
→DP Problem 11
↳Polynomial Ordering
→DP Problem 2
↳Polo
→DP Problem 3
↳Polo
→DP Problem 4
↳Polo
→DP Problem 5
↳Polo
+'(x, +(y, z)) -> +'(x, y)
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
+'(x, +(y, z)) -> +'(x, y)
POL(+(x1, x2)) = 1 + x1 POL(+'(x1, x2)) = x2
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 6
↳DGraph
...
→DP Problem 12
↳Dependency Graph
→DP Problem 2
↳Polo
→DP Problem 3
↳Polo
→DP Problem 4
↳Polo
→DP Problem 5
↳Polo
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polynomial Ordering
→DP Problem 3
↳Polo
→DP Problem 4
↳Polo
→DP Problem 5
↳Polo
-'(I(x), I(y)) -> -'(x, y)
-'(I(x), O(y)) -> -'(x, y)
-'(O(x), I(y)) -> -'(x, y)
-'(O(x), I(y)) -> -'(-(x, y), I(1))
-'(O(x), O(y)) -> -'(x, y)
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
-'(I(x), I(y)) -> -'(x, y)
-'(I(x), O(y)) -> -'(x, y)
-'(O(x), I(y)) -> -'(x, y)
-'(O(x), O(y)) -> -'(x, y)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
O(0) -> 0
POL(I(x1)) = 1 + x1 POL(0) = 0 POL(-'(x1, x2)) = x2 POL(1) = 0 POL(O(x1)) = 1 + x1 POL(-(x1, x2)) = x1
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
→DP Problem 13
↳Narrowing Transformation
→DP Problem 3
↳Polo
→DP Problem 4
↳Polo
→DP Problem 5
↳Polo
-'(O(x), I(y)) -> -'(-(x, y), I(1))
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
five new Dependency Pairs are created:
-'(O(x), I(y)) -> -'(-(x, y), I(1))
-'(O(x''), I(0)) -> -'(x'', I(1))
-'(O(O(x'')), I(O(y''))) -> -'(O(-(x'', y'')), I(1))
-'(O(O(x'')), I(I(y''))) -> -'(I(-(-(x'', y''), I(1))), I(1))
-'(O(I(x'')), I(O(y''))) -> -'(I(-(x'', y'')), I(1))
-'(O(I(x'')), I(I(y''))) -> -'(O(-(x'', y'')), I(1))
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
→DP Problem 3
↳Polynomial Ordering
→DP Problem 4
↳Polo
→DP Problem 5
↳Polo
GE(0, O(x)) -> GE(0, x)
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
GE(0, O(x)) -> GE(0, x)
POL(0) = 0 POL(GE(x1, x2)) = x2 POL(O(x1)) = 1 + x1
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
→DP Problem 3
↳Polo
→DP Problem 14
↳Dependency Graph
→DP Problem 4
↳Polo
→DP Problem 5
↳Polo
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
→DP Problem 3
↳Polo
→DP Problem 4
↳Polynomial Ordering
→DP Problem 5
↳Polo
GE(I(x), I(y)) -> GE(x, y)
GE(I(x), O(y)) -> GE(x, y)
GE(O(x), I(y)) -> GE(y, x)
GE(O(x), O(y)) -> GE(x, y)
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
GE(I(x), I(y)) -> GE(x, y)
GE(I(x), O(y)) -> GE(x, y)
GE(O(x), I(y)) -> GE(y, x)
POL(I(x1)) = 1 + x1 POL(GE(x1, x2)) = 1 + x1 + x2 POL(O(x1)) = x1
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
→DP Problem 3
↳Polo
→DP Problem 4
↳Polo
→DP Problem 15
↳Polynomial Ordering
→DP Problem 5
↳Polo
GE(O(x), O(y)) -> GE(x, y)
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
GE(O(x), O(y)) -> GE(x, y)
POL(GE(x1, x2)) = x1 POL(O(x1)) = 1 + x1
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
→DP Problem 3
↳Polo
→DP Problem 4
↳Polo
→DP Problem 15
↳Polo
...
→DP Problem 16
↳Dependency Graph
→DP Problem 5
↳Polo
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
→DP Problem 3
↳Polo
→DP Problem 4
↳Polo
→DP Problem 5
↳Polynomial Ordering
LOG'(O(x)) -> LOG'(x)
LOG'(I(x)) -> LOG'(x)
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
LOG'(O(x)) -> LOG'(x)
POL(LOG'(x1)) = x1 POL(I(x1)) = x1 POL(O(x1)) = 1 + x1
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
→DP Problem 3
↳Polo
→DP Problem 4
↳Polo
→DP Problem 5
↳Polo
→DP Problem 17
↳Polynomial Ordering
LOG'(I(x)) -> LOG'(x)
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost
LOG'(I(x)) -> LOG'(x)
POL(LOG'(x1)) = x1 POL(I(x1)) = 1 + x1
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
→DP Problem 3
↳Polo
→DP Problem 4
↳Polo
→DP Problem 5
↳Polo
→DP Problem 17
↳Polo
...
→DP Problem 18
↳Dependency Graph
O(0) -> 0
+(0, x) -> x
+(x, 0) -> x
+(O(x), O(y)) -> O(+(x, y))
+(O(x), I(y)) -> I(+(x, y))
+(I(x), O(y)) -> I(+(x, y))
+(I(x), I(y)) -> O(+(+(x, y), I(0)))
+(x, +(y, z)) -> +(+(x, y), z)
-(x, 0) -> x
-(0, x) -> 0
-(O(x), O(y)) -> O(-(x, y))
-(O(x), I(y)) -> I(-(-(x, y), I(1)))
-(I(x), O(y)) -> I(-(x, y))
-(I(x), I(y)) -> O(-(x, y))
not(true) -> false
not(false) -> true
and(x, true) -> x
and(x, false) -> false
if(true, x, y) -> x
if(false, x, y) -> y
ge(O(x), O(y)) -> ge(x, y)
ge(O(x), I(y)) -> not(ge(y, x))
ge(I(x), O(y)) -> ge(x, y)
ge(I(x), I(y)) -> ge(x, y)
ge(x, 0) -> true
ge(0, O(x)) -> ge(0, x)
ge(0, I(x)) -> false
Log'(0) -> 0
Log'(I(x)) -> +(Log'(x), I(0))
Log'(O(x)) -> if(ge(x, I(0)), +(Log'(x), I(0)), 0)
Log(x) -> -(Log'(x), I(0))
Val(L(x)) -> x
Val(N(x, l, r)) -> x
Min(L(x)) -> x
Min(N(x, l, r)) -> Min(l)
Max(L(x)) -> x
Max(N(x, l, r)) -> Max(r)
BS(L(x)) -> true
BS(N(x, l, r)) -> and(and(ge(x, Max(l)), ge(Min(r), x)), and(BS(l), BS(r)))
Size(L(x)) -> I(0)
Size(N(x, l, r)) -> +(+(Size(l), Size(r)), I(1))
WB(L(x)) -> true
WB(N(x, l, r)) -> and(if(ge(Size(l), Size(r)), ge(I(0), -(Size(l), Size(r))), ge(I(0), -(Size(r), Size(l)))), and(WB(l), WB(r)))
innermost