Tool CaT
stdout:
MAYBE
Problem:
times(x,0()) -> 0()
times(x,s(y)) -> plus(times(x,y),x)
plus(s(x),s(y)) -> s(s(plus(if(gt(x,y),x,y),if(not(gt(x,y)),id(x),id(y)))))
plus(s(x),x) -> plus(if(gt(x,x),id(x),id(x)),s(x))
plus(zero(),y) -> y
plus(id(x),s(y)) -> s(plus(x,if(gt(s(y),y),y,s(y))))
id(x) -> x
if(true(),x,y) -> x
if(false(),x,y) -> y
not(x) -> if(x,false(),true())
gt(s(x),zero()) -> true()
gt(zero(),y) -> false()
gt(s(x),s(y)) -> gt(x,y)
Proof:
OpenTool IRC1
stdout:
MAYBE
Tool IRC2
stdout:
MAYBE
'Fastest (timeout of 60.0 seconds)'
-----------------------------------
Answer: MAYBE
Input Problem: innermost runtime-complexity with respect to
Rules:
{ times(x, 0()) -> 0()
, times(x, s(y)) -> plus(times(x, y), x)
, plus(s(x), s(y)) ->
s(s(plus(if(gt(x, y), x, y), if(not(gt(x, y)), id(x), id(y)))))
, plus(s(x), x) -> plus(if(gt(x, x), id(x), id(x)), s(x))
, plus(zero(), y) -> y
, plus(id(x), s(y)) -> s(plus(x, if(gt(s(y), y), y, s(y))))
, id(x) -> x
, if(true(), x, y) -> x
, if(false(), x, y) -> y
, not(x) -> if(x, false(), true())
, gt(s(x), zero()) -> true()
, gt(zero(), y) -> false()
, gt(s(x), s(y)) -> gt(x, y)}
Proof Output:
None of the processors succeeded.
Details of failed attempt(s):
-----------------------------
1) 'wdg' failed due to the following reason:
Transformation Details:
-----------------------
We have computed the following set of weak (innermost) dependency pairs:
{ 1: times^#(x, 0()) -> c_0()
, 2: times^#(x, s(y)) -> c_1(plus^#(times(x, y), x))
, 3: plus^#(s(x), s(y)) ->
c_2(plus^#(if(gt(x, y), x, y), if(not(gt(x, y)), id(x), id(y))))
, 4: plus^#(s(x), x) ->
c_3(plus^#(if(gt(x, x), id(x), id(x)), s(x)))
, 5: plus^#(zero(), y) -> c_4()
, 6: plus^#(id(x), s(y)) ->
c_5(plus^#(x, if(gt(s(y), y), y, s(y))))
, 7: id^#(x) -> c_6()
, 8: if^#(true(), x, y) -> c_7()
, 9: if^#(false(), x, y) -> c_8()
, 10: not^#(x) -> c_9(if^#(x, false(), true()))
, 11: gt^#(s(x), zero()) -> c_10()
, 12: gt^#(zero(), y) -> c_11()
, 13: gt^#(s(x), s(y)) -> c_12(gt^#(x, y))}
Following Dependency Graph (modulo SCCs) was computed. (Answers to
subproofs are indicated to the right.)
->{13} [ YES(?,O(n^1)) ]
|
|->{11} [ YES(?,O(n^1)) ]
|
`->{12} [ YES(?,O(n^1)) ]
->{10} [ YES(?,O(1)) ]
|
|->{8} [ YES(?,O(1)) ]
|
`->{9} [ YES(?,O(1)) ]
->{7} [ YES(?,O(1)) ]
->{2} [ inherited ]
|
|->{5} [ MAYBE ]
|
`->{6,4,3} [ inherited ]
|
`->{5} [ NA ]
->{1} [ YES(?,O(1)) ]
Sub-problems:
-------------
* Path {1}: YES(?,O(1))
---------------------
The usable rules of this path are empty.
The weightgap principle applies, using the following adequate RMI:
The following argument positions are usable:
Uargs(times) = {}, Uargs(s) = {}, Uargs(plus) = {}, Uargs(if) = {},
Uargs(gt) = {}, Uargs(not) = {}, Uargs(id) = {},
Uargs(times^#) = {}, Uargs(c_1) = {}, Uargs(plus^#) = {},
Uargs(c_2) = {}, Uargs(c_3) = {}, Uargs(c_5) = {},
Uargs(id^#) = {}, Uargs(if^#) = {}, Uargs(not^#) = {},
Uargs(c_9) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
times(x1, x2) = [0] x1 + [0] x2 + [0]
0() = [0]
s(x1) = [0] x1 + [0]
plus(x1, x2) = [0] x1 + [0] x2 + [0]
if(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
gt(x1, x2) = [0] x1 + [0] x2 + [0]
not(x1) = [0] x1 + [0]
id(x1) = [0] x1 + [0]
zero() = [0]
true() = [0]
false() = [0]
times^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1(x1) = [0] x1 + [0]
plus^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_2(x1) = [0] x1 + [0]
c_3(x1) = [0] x1 + [0]
c_4() = [0]
c_5(x1) = [0] x1 + [0]
id^#(x1) = [0] x1 + [0]
c_6() = [0]
if^#(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
c_7() = [0]
c_8() = [0]
not^#(x1) = [0] x1 + [0]
c_9(x1) = [0] x1 + [0]
gt^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_10() = [0]
c_11() = [0]
c_12(x1) = [0] x1 + [0]
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: YES(?,O(1))
Input Problem: innermost DP runtime-complexity with respect to
Strict Rules: {times^#(x, 0()) -> c_0()}
Weak Rules: {}
Proof Output:
The following argument positions are usable:
Uargs(times^#) = {}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
0() = [7]
times^#(x1, x2) = [0] x1 + [1] x2 + [7]
c_0() = [1]
* Path {2}: inherited
-------------------
This path is subsumed by the proof of path {2}->{6,4,3}->{5}.
* Path {2}->{5}: MAYBE
--------------------
The usable rules for this path are:
{ times(x, 0()) -> 0()
, times(x, s(y)) -> plus(times(x, y), x)
, plus(s(x), s(y)) ->
s(s(plus(if(gt(x, y), x, y), if(not(gt(x, y)), id(x), id(y)))))
, plus(s(x), x) -> plus(if(gt(x, x), id(x), id(x)), s(x))
, plus(zero(), y) -> y
, plus(id(x), s(y)) -> s(plus(x, if(gt(s(y), y), y, s(y))))
, id(x) -> x
, if(true(), x, y) -> x
, if(false(), x, y) -> y
, not(x) -> if(x, false(), true())
, gt(s(x), zero()) -> true()
, gt(zero(), y) -> false()
, gt(s(x), s(y)) -> gt(x, y)}
The weight gap principle does not apply:
The input cannot be shown compatible
Complexity induced by the adequate RMI: MAYBE
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: MAYBE
Input Problem: innermost runtime-complexity with respect to
Rules:
{ times^#(x, s(y)) -> c_1(plus^#(times(x, y), x))
, plus^#(zero(), y) -> c_4()
, times(x, 0()) -> 0()
, times(x, s(y)) -> plus(times(x, y), x)
, plus(s(x), s(y)) ->
s(s(plus(if(gt(x, y), x, y), if(not(gt(x, y)), id(x), id(y)))))
, plus(s(x), x) -> plus(if(gt(x, x), id(x), id(x)), s(x))
, plus(zero(), y) -> y
, plus(id(x), s(y)) -> s(plus(x, if(gt(s(y), y), y, s(y))))
, id(x) -> x
, if(true(), x, y) -> x
, if(false(), x, y) -> y
, not(x) -> if(x, false(), true())
, gt(s(x), zero()) -> true()
, gt(zero(), y) -> false()
, gt(s(x), s(y)) -> gt(x, y)}
Proof Output:
The input cannot be shown compatible
* Path {2}->{6,4,3}: inherited
----------------------------
This path is subsumed by the proof of path {2}->{6,4,3}->{5}.
* Path {2}->{6,4,3}->{5}: NA
--------------------------
The usable rules for this path are:
{ times(x, 0()) -> 0()
, times(x, s(y)) -> plus(times(x, y), x)
, plus(s(x), s(y)) ->
s(s(plus(if(gt(x, y), x, y), if(not(gt(x, y)), id(x), id(y)))))
, plus(s(x), x) -> plus(if(gt(x, x), id(x), id(x)), s(x))
, plus(zero(), y) -> y
, plus(id(x), s(y)) -> s(plus(x, if(gt(s(y), y), y, s(y))))
, id(x) -> x
, if(true(), x, y) -> x
, if(false(), x, y) -> y
, not(x) -> if(x, false(), true())
, gt(s(x), zero()) -> true()
, gt(zero(), y) -> false()
, gt(s(x), s(y)) -> gt(x, y)}
The weight gap principle does not apply:
The input cannot be shown compatible
Complexity induced by the adequate RMI: MAYBE
We have not generated a proof for the resulting sub-problem.
* Path {7}: YES(?,O(1))
---------------------
The usable rules of this path are empty.
The weightgap principle applies, using the following adequate RMI:
The following argument positions are usable:
Uargs(times) = {}, Uargs(s) = {}, Uargs(plus) = {}, Uargs(if) = {},
Uargs(gt) = {}, Uargs(not) = {}, Uargs(id) = {},
Uargs(times^#) = {}, Uargs(c_1) = {}, Uargs(plus^#) = {},
Uargs(c_2) = {}, Uargs(c_3) = {}, Uargs(c_5) = {},
Uargs(id^#) = {}, Uargs(if^#) = {}, Uargs(not^#) = {},
Uargs(c_9) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
times(x1, x2) = [0] x1 + [0] x2 + [0]
0() = [0]
s(x1) = [0] x1 + [0]
plus(x1, x2) = [0] x1 + [0] x2 + [0]
if(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
gt(x1, x2) = [0] x1 + [0] x2 + [0]
not(x1) = [0] x1 + [0]
id(x1) = [0] x1 + [0]
zero() = [0]
true() = [0]
false() = [0]
times^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1(x1) = [0] x1 + [0]
plus^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_2(x1) = [0] x1 + [0]
c_3(x1) = [0] x1 + [0]
c_4() = [0]
c_5(x1) = [0] x1 + [0]
id^#(x1) = [0] x1 + [0]
c_6() = [0]
if^#(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
c_7() = [0]
c_8() = [0]
not^#(x1) = [0] x1 + [0]
c_9(x1) = [0] x1 + [0]
gt^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_10() = [0]
c_11() = [0]
c_12(x1) = [0] x1 + [0]
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: YES(?,O(1))
Input Problem: innermost DP runtime-complexity with respect to
Strict Rules: {id^#(x) -> c_6()}
Weak Rules: {}
Proof Output:
The following argument positions are usable:
Uargs(id^#) = {}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
id^#(x1) = [0] x1 + [7]
c_6() = [0]
* Path {10}: YES(?,O(1))
----------------------
The usable rules of this path are empty.
The weightgap principle applies, using the following adequate RMI:
The following argument positions are usable:
Uargs(times) = {}, Uargs(s) = {}, Uargs(plus) = {}, Uargs(if) = {},
Uargs(gt) = {}, Uargs(not) = {}, Uargs(id) = {},
Uargs(times^#) = {}, Uargs(c_1) = {}, Uargs(plus^#) = {},
Uargs(c_2) = {}, Uargs(c_3) = {}, Uargs(c_5) = {},
Uargs(id^#) = {}, Uargs(if^#) = {}, Uargs(not^#) = {},
Uargs(c_9) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
times(x1, x2) = [0] x1 + [0] x2 + [0]
0() = [0]
s(x1) = [0] x1 + [0]
plus(x1, x2) = [0] x1 + [0] x2 + [0]
if(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
gt(x1, x2) = [0] x1 + [0] x2 + [0]
not(x1) = [0] x1 + [0]
id(x1) = [0] x1 + [0]
zero() = [0]
true() = [0]
false() = [0]
times^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1(x1) = [0] x1 + [0]
plus^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_2(x1) = [0] x1 + [0]
c_3(x1) = [0] x1 + [0]
c_4() = [0]
c_5(x1) = [0] x1 + [0]
id^#(x1) = [0] x1 + [0]
c_6() = [0]
if^#(x1, x2, x3) = [1] x1 + [0] x2 + [0] x3 + [0]
c_7() = [0]
c_8() = [0]
not^#(x1) = [3] x1 + [0]
c_9(x1) = [3] x1 + [0]
gt^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_10() = [0]
c_11() = [0]
c_12(x1) = [0] x1 + [0]
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: YES(?,O(1))
Input Problem: innermost DP runtime-complexity with respect to
Strict Rules: {not^#(x) -> c_9(if^#(x, false(), true()))}
Weak Rules: {}
Proof Output:
The following argument positions are usable:
Uargs(if^#) = {}, Uargs(not^#) = {}, Uargs(c_9) = {}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
true() = [0]
false() = [0]
if^#(x1, x2, x3) = [7] x1 + [0] x2 + [0] x3 + [4]
not^#(x1) = [7] x1 + [7]
c_9(x1) = [0] x1 + [3]
* Path {10}->{8}: YES(?,O(1))
---------------------------
The usable rules of this path are empty.
The weightgap principle applies, using the following adequate RMI:
The following argument positions are usable:
Uargs(times) = {}, Uargs(s) = {}, Uargs(plus) = {}, Uargs(if) = {},
Uargs(gt) = {}, Uargs(not) = {}, Uargs(id) = {},
Uargs(times^#) = {}, Uargs(c_1) = {}, Uargs(plus^#) = {},
Uargs(c_2) = {}, Uargs(c_3) = {}, Uargs(c_5) = {},
Uargs(id^#) = {}, Uargs(if^#) = {}, Uargs(not^#) = {},
Uargs(c_9) = {1}, Uargs(gt^#) = {}, Uargs(c_12) = {}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
times(x1, x2) = [0] x1 + [0] x2 + [0]
0() = [0]
s(x1) = [0] x1 + [0]
plus(x1, x2) = [0] x1 + [0] x2 + [0]
if(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
gt(x1, x2) = [0] x1 + [0] x2 + [0]
not(x1) = [0] x1 + [0]
id(x1) = [0] x1 + [0]
zero() = [0]
true() = [0]
false() = [0]
times^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1(x1) = [0] x1 + [0]
plus^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_2(x1) = [0] x1 + [0]
c_3(x1) = [0] x1 + [0]
c_4() = [0]
c_5(x1) = [0] x1 + [0]
id^#(x1) = [0] x1 + [0]
c_6() = [0]
if^#(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
c_7() = [0]
c_8() = [0]
not^#(x1) = [0] x1 + [0]
c_9(x1) = [1] x1 + [0]
gt^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_10() = [0]
c_11() = [0]
c_12(x1) = [0] x1 + [0]
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: YES(?,O(1))
Input Problem: innermost DP runtime-complexity with respect to
Strict Rules: {if^#(true(), x, y) -> c_7()}
Weak Rules: {not^#(x) -> c_9(if^#(x, false(), true()))}
Proof Output:
The following argument positions are usable:
Uargs(if^#) = {}, Uargs(not^#) = {}, Uargs(c_9) = {1}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
true() = [2]
false() = [0]
if^#(x1, x2, x3) = [2] x1 + [0] x2 + [0] x3 + [0]
c_7() = [1]
not^#(x1) = [7] x1 + [7]
c_9(x1) = [2] x1 + [7]
* Path {10}->{9}: YES(?,O(1))
---------------------------
The usable rules of this path are empty.
The weightgap principle applies, using the following adequate RMI:
The following argument positions are usable:
Uargs(times) = {}, Uargs(s) = {}, Uargs(plus) = {}, Uargs(if) = {},
Uargs(gt) = {}, Uargs(not) = {}, Uargs(id) = {},
Uargs(times^#) = {}, Uargs(c_1) = {}, Uargs(plus^#) = {},
Uargs(c_2) = {}, Uargs(c_3) = {}, Uargs(c_5) = {},
Uargs(id^#) = {}, Uargs(if^#) = {}, Uargs(not^#) = {},
Uargs(c_9) = {1}, Uargs(gt^#) = {}, Uargs(c_12) = {}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
times(x1, x2) = [0] x1 + [0] x2 + [0]
0() = [0]
s(x1) = [0] x1 + [0]
plus(x1, x2) = [0] x1 + [0] x2 + [0]
if(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
gt(x1, x2) = [0] x1 + [0] x2 + [0]
not(x1) = [0] x1 + [0]
id(x1) = [0] x1 + [0]
zero() = [0]
true() = [0]
false() = [0]
times^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1(x1) = [0] x1 + [0]
plus^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_2(x1) = [0] x1 + [0]
c_3(x1) = [0] x1 + [0]
c_4() = [0]
c_5(x1) = [0] x1 + [0]
id^#(x1) = [0] x1 + [0]
c_6() = [0]
if^#(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
c_7() = [0]
c_8() = [0]
not^#(x1) = [0] x1 + [0]
c_9(x1) = [1] x1 + [0]
gt^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_10() = [0]
c_11() = [0]
c_12(x1) = [0] x1 + [0]
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: YES(?,O(1))
Input Problem: innermost DP runtime-complexity with respect to
Strict Rules: {if^#(false(), x, y) -> c_8()}
Weak Rules: {not^#(x) -> c_9(if^#(x, false(), true()))}
Proof Output:
The following argument positions are usable:
Uargs(if^#) = {}, Uargs(not^#) = {}, Uargs(c_9) = {1}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
true() = [0]
false() = [2]
if^#(x1, x2, x3) = [2] x1 + [0] x2 + [0] x3 + [4]
c_8() = [1]
not^#(x1) = [7] x1 + [7]
c_9(x1) = [1] x1 + [3]
* Path {13}: YES(?,O(n^1))
------------------------
The usable rules of this path are empty.
The weightgap principle applies, using the following adequate RMI:
The following argument positions are usable:
Uargs(times) = {}, Uargs(s) = {}, Uargs(plus) = {}, Uargs(if) = {},
Uargs(gt) = {}, Uargs(not) = {}, Uargs(id) = {},
Uargs(times^#) = {}, Uargs(c_1) = {}, Uargs(plus^#) = {},
Uargs(c_2) = {}, Uargs(c_3) = {}, Uargs(c_5) = {},
Uargs(id^#) = {}, Uargs(if^#) = {}, Uargs(not^#) = {},
Uargs(c_9) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {1}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
times(x1, x2) = [0] x1 + [0] x2 + [0]
0() = [0]
s(x1) = [1] x1 + [0]
plus(x1, x2) = [0] x1 + [0] x2 + [0]
if(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
gt(x1, x2) = [0] x1 + [0] x2 + [0]
not(x1) = [0] x1 + [0]
id(x1) = [0] x1 + [0]
zero() = [0]
true() = [0]
false() = [0]
times^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1(x1) = [0] x1 + [0]
plus^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_2(x1) = [0] x1 + [0]
c_3(x1) = [0] x1 + [0]
c_4() = [0]
c_5(x1) = [0] x1 + [0]
id^#(x1) = [0] x1 + [0]
c_6() = [0]
if^#(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
c_7() = [0]
c_8() = [0]
not^#(x1) = [0] x1 + [0]
c_9(x1) = [0] x1 + [0]
gt^#(x1, x2) = [3] x1 + [3] x2 + [0]
c_10() = [0]
c_11() = [0]
c_12(x1) = [1] x1 + [0]
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: YES(?,O(n^1))
Input Problem: innermost DP runtime-complexity with respect to
Strict Rules: {gt^#(s(x), s(y)) -> c_12(gt^#(x, y))}
Weak Rules: {}
Proof Output:
The following argument positions are usable:
Uargs(s) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {1}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
s(x1) = [1] x1 + [2]
gt^#(x1, x2) = [2] x1 + [2] x2 + [0]
c_12(x1) = [1] x1 + [7]
* Path {13}->{11}: YES(?,O(n^1))
------------------------------
The usable rules of this path are empty.
The weightgap principle applies, using the following adequate RMI:
The following argument positions are usable:
Uargs(times) = {}, Uargs(s) = {}, Uargs(plus) = {}, Uargs(if) = {},
Uargs(gt) = {}, Uargs(not) = {}, Uargs(id) = {},
Uargs(times^#) = {}, Uargs(c_1) = {}, Uargs(plus^#) = {},
Uargs(c_2) = {}, Uargs(c_3) = {}, Uargs(c_5) = {},
Uargs(id^#) = {}, Uargs(if^#) = {}, Uargs(not^#) = {},
Uargs(c_9) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {1}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
times(x1, x2) = [0] x1 + [0] x2 + [0]
0() = [0]
s(x1) = [0] x1 + [0]
plus(x1, x2) = [0] x1 + [0] x2 + [0]
if(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
gt(x1, x2) = [0] x1 + [0] x2 + [0]
not(x1) = [0] x1 + [0]
id(x1) = [0] x1 + [0]
zero() = [0]
true() = [0]
false() = [0]
times^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1(x1) = [0] x1 + [0]
plus^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_2(x1) = [0] x1 + [0]
c_3(x1) = [0] x1 + [0]
c_4() = [0]
c_5(x1) = [0] x1 + [0]
id^#(x1) = [0] x1 + [0]
c_6() = [0]
if^#(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
c_7() = [0]
c_8() = [0]
not^#(x1) = [0] x1 + [0]
c_9(x1) = [0] x1 + [0]
gt^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_10() = [0]
c_11() = [0]
c_12(x1) = [1] x1 + [0]
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: YES(?,O(n^1))
Input Problem: innermost DP runtime-complexity with respect to
Strict Rules: {gt^#(s(x), zero()) -> c_10()}
Weak Rules: {gt^#(s(x), s(y)) -> c_12(gt^#(x, y))}
Proof Output:
The following argument positions are usable:
Uargs(s) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {1}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
s(x1) = [1] x1 + [2]
zero() = [2]
gt^#(x1, x2) = [2] x1 + [2] x2 + [0]
c_10() = [1]
c_12(x1) = [1] x1 + [7]
* Path {13}->{12}: YES(?,O(n^1))
------------------------------
The usable rules of this path are empty.
The weightgap principle applies, using the following adequate RMI:
The following argument positions are usable:
Uargs(times) = {}, Uargs(s) = {}, Uargs(plus) = {}, Uargs(if) = {},
Uargs(gt) = {}, Uargs(not) = {}, Uargs(id) = {},
Uargs(times^#) = {}, Uargs(c_1) = {}, Uargs(plus^#) = {},
Uargs(c_2) = {}, Uargs(c_3) = {}, Uargs(c_5) = {},
Uargs(id^#) = {}, Uargs(if^#) = {}, Uargs(not^#) = {},
Uargs(c_9) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {1}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
times(x1, x2) = [0] x1 + [0] x2 + [0]
0() = [0]
s(x1) = [0] x1 + [0]
plus(x1, x2) = [0] x1 + [0] x2 + [0]
if(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
gt(x1, x2) = [0] x1 + [0] x2 + [0]
not(x1) = [0] x1 + [0]
id(x1) = [0] x1 + [0]
zero() = [0]
true() = [0]
false() = [0]
times^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1(x1) = [0] x1 + [0]
plus^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_2(x1) = [0] x1 + [0]
c_3(x1) = [0] x1 + [0]
c_4() = [0]
c_5(x1) = [0] x1 + [0]
id^#(x1) = [0] x1 + [0]
c_6() = [0]
if^#(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
c_7() = [0]
c_8() = [0]
not^#(x1) = [0] x1 + [0]
c_9(x1) = [0] x1 + [0]
gt^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_10() = [0]
c_11() = [0]
c_12(x1) = [1] x1 + [0]
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: YES(?,O(n^1))
Input Problem: innermost DP runtime-complexity with respect to
Strict Rules: {gt^#(zero(), y) -> c_11()}
Weak Rules: {gt^#(s(x), s(y)) -> c_12(gt^#(x, y))}
Proof Output:
The following argument positions are usable:
Uargs(s) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {1}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
s(x1) = [1] x1 + [2]
zero() = [2]
gt^#(x1, x2) = [2] x1 + [0] x2 + [4]
c_11() = [1]
c_12(x1) = [1] x1 + [2]
2) 'matrix-interpretation of dimension 1' failed due to the following reason:
The input cannot be shown compatible
3) 'Bounds with perSymbol-enrichment and initial automaton 'match'' failed due to the following reason:
match-boundness of the problem could not be verified.
4) 'Bounds with minimal-enrichment and initial automaton 'match'' failed due to the following reason:
match-boundness of the problem could not be verified.
Tool RC1
stdout:
MAYBE
Tool RC2
stdout:
MAYBE
'Fastest (timeout of 60.0 seconds)'
-----------------------------------
Answer: MAYBE
Input Problem: runtime-complexity with respect to
Rules:
{ times(x, 0()) -> 0()
, times(x, s(y)) -> plus(times(x, y), x)
, plus(s(x), s(y)) ->
s(s(plus(if(gt(x, y), x, y), if(not(gt(x, y)), id(x), id(y)))))
, plus(s(x), x) -> plus(if(gt(x, x), id(x), id(x)), s(x))
, plus(zero(), y) -> y
, plus(id(x), s(y)) -> s(plus(x, if(gt(s(y), y), y, s(y))))
, id(x) -> x
, if(true(), x, y) -> x
, if(false(), x, y) -> y
, not(x) -> if(x, false(), true())
, gt(s(x), zero()) -> true()
, gt(zero(), y) -> false()
, gt(s(x), s(y)) -> gt(x, y)}
Proof Output:
None of the processors succeeded.
Details of failed attempt(s):
-----------------------------
1) 'wdg' failed due to the following reason:
Transformation Details:
-----------------------
We have computed the following set of weak (innermost) dependency pairs:
{ 1: times^#(x, 0()) -> c_0()
, 2: times^#(x, s(y)) -> c_1(plus^#(times(x, y), x))
, 3: plus^#(s(x), s(y)) ->
c_2(plus^#(if(gt(x, y), x, y), if(not(gt(x, y)), id(x), id(y))))
, 4: plus^#(s(x), x) ->
c_3(plus^#(if(gt(x, x), id(x), id(x)), s(x)))
, 5: plus^#(zero(), y) -> c_4(y)
, 6: plus^#(id(x), s(y)) ->
c_5(plus^#(x, if(gt(s(y), y), y, s(y))))
, 7: id^#(x) -> c_6(x)
, 8: if^#(true(), x, y) -> c_7(x)
, 9: if^#(false(), x, y) -> c_8(y)
, 10: not^#(x) -> c_9(if^#(x, false(), true()))
, 11: gt^#(s(x), zero()) -> c_10()
, 12: gt^#(zero(), y) -> c_11()
, 13: gt^#(s(x), s(y)) -> c_12(gt^#(x, y))}
Following Dependency Graph (modulo SCCs) was computed. (Answers to
subproofs are indicated to the right.)
->{13} [ YES(?,O(n^1)) ]
|
|->{11} [ YES(?,O(n^1)) ]
|
`->{12} [ YES(?,O(n^1)) ]
->{10} [ YES(?,O(1)) ]
|
|->{8} [ YES(?,O(1)) ]
|
`->{9} [ YES(?,O(1)) ]
->{7} [ YES(?,O(1)) ]
->{2} [ inherited ]
|
|->{5} [ MAYBE ]
|
`->{6,4,3} [ inherited ]
|
`->{5} [ NA ]
->{1} [ YES(?,O(1)) ]
Sub-problems:
-------------
* Path {1}: YES(?,O(1))
---------------------
The usable rules of this path are empty.
The weightgap principle applies, using the following adequate RMI:
The following argument positions are usable:
Uargs(times) = {}, Uargs(s) = {}, Uargs(plus) = {}, Uargs(if) = {},
Uargs(gt) = {}, Uargs(not) = {}, Uargs(id) = {},
Uargs(times^#) = {}, Uargs(c_1) = {}, Uargs(plus^#) = {},
Uargs(c_2) = {}, Uargs(c_3) = {}, Uargs(c_4) = {}, Uargs(c_5) = {},
Uargs(id^#) = {}, Uargs(c_6) = {}, Uargs(if^#) = {},
Uargs(c_7) = {}, Uargs(c_8) = {}, Uargs(not^#) = {},
Uargs(c_9) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
times(x1, x2) = [0] x1 + [0] x2 + [0]
0() = [0]
s(x1) = [0] x1 + [0]
plus(x1, x2) = [0] x1 + [0] x2 + [0]
if(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
gt(x1, x2) = [0] x1 + [0] x2 + [0]
not(x1) = [0] x1 + [0]
id(x1) = [0] x1 + [0]
zero() = [0]
true() = [0]
false() = [0]
times^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1(x1) = [0] x1 + [0]
plus^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_2(x1) = [0] x1 + [0]
c_3(x1) = [0] x1 + [0]
c_4(x1) = [0] x1 + [0]
c_5(x1) = [0] x1 + [0]
id^#(x1) = [0] x1 + [0]
c_6(x1) = [0] x1 + [0]
if^#(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
c_7(x1) = [0] x1 + [0]
c_8(x1) = [0] x1 + [0]
not^#(x1) = [0] x1 + [0]
c_9(x1) = [0] x1 + [0]
gt^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_10() = [0]
c_11() = [0]
c_12(x1) = [0] x1 + [0]
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: YES(?,O(1))
Input Problem: DP runtime-complexity with respect to
Strict Rules: {times^#(x, 0()) -> c_0()}
Weak Rules: {}
Proof Output:
The following argument positions are usable:
Uargs(times^#) = {}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
0() = [7]
times^#(x1, x2) = [0] x1 + [1] x2 + [7]
c_0() = [1]
* Path {2}: inherited
-------------------
This path is subsumed by the proof of path {2}->{6,4,3}->{5}.
* Path {2}->{5}: MAYBE
--------------------
The usable rules for this path are:
{ times(x, 0()) -> 0()
, times(x, s(y)) -> plus(times(x, y), x)
, plus(s(x), s(y)) ->
s(s(plus(if(gt(x, y), x, y), if(not(gt(x, y)), id(x), id(y)))))
, plus(s(x), x) -> plus(if(gt(x, x), id(x), id(x)), s(x))
, plus(zero(), y) -> y
, plus(id(x), s(y)) -> s(plus(x, if(gt(s(y), y), y, s(y))))
, id(x) -> x
, if(true(), x, y) -> x
, if(false(), x, y) -> y
, not(x) -> if(x, false(), true())
, gt(s(x), zero()) -> true()
, gt(zero(), y) -> false()
, gt(s(x), s(y)) -> gt(x, y)}
The weight gap principle does not apply:
The input cannot be shown compatible
Complexity induced by the adequate RMI: MAYBE
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: MAYBE
Input Problem: runtime-complexity with respect to
Rules:
{ times^#(x, s(y)) -> c_1(plus^#(times(x, y), x))
, plus^#(zero(), y) -> c_4(y)
, times(x, 0()) -> 0()
, times(x, s(y)) -> plus(times(x, y), x)
, plus(s(x), s(y)) ->
s(s(plus(if(gt(x, y), x, y), if(not(gt(x, y)), id(x), id(y)))))
, plus(s(x), x) -> plus(if(gt(x, x), id(x), id(x)), s(x))
, plus(zero(), y) -> y
, plus(id(x), s(y)) -> s(plus(x, if(gt(s(y), y), y, s(y))))
, id(x) -> x
, if(true(), x, y) -> x
, if(false(), x, y) -> y
, not(x) -> if(x, false(), true())
, gt(s(x), zero()) -> true()
, gt(zero(), y) -> false()
, gt(s(x), s(y)) -> gt(x, y)}
Proof Output:
The input cannot be shown compatible
* Path {2}->{6,4,3}: inherited
----------------------------
This path is subsumed by the proof of path {2}->{6,4,3}->{5}.
* Path {2}->{6,4,3}->{5}: NA
--------------------------
The usable rules for this path are:
{ times(x, 0()) -> 0()
, times(x, s(y)) -> plus(times(x, y), x)
, plus(s(x), s(y)) ->
s(s(plus(if(gt(x, y), x, y), if(not(gt(x, y)), id(x), id(y)))))
, plus(s(x), x) -> plus(if(gt(x, x), id(x), id(x)), s(x))
, plus(zero(), y) -> y
, plus(id(x), s(y)) -> s(plus(x, if(gt(s(y), y), y, s(y))))
, id(x) -> x
, if(true(), x, y) -> x
, if(false(), x, y) -> y
, not(x) -> if(x, false(), true())
, gt(s(x), zero()) -> true()
, gt(zero(), y) -> false()
, gt(s(x), s(y)) -> gt(x, y)}
The weight gap principle does not apply:
The input cannot be shown compatible
Complexity induced by the adequate RMI: MAYBE
We have not generated a proof for the resulting sub-problem.
* Path {7}: YES(?,O(1))
---------------------
The usable rules of this path are empty.
The weightgap principle applies, using the following adequate RMI:
The following argument positions are usable:
Uargs(times) = {}, Uargs(s) = {}, Uargs(plus) = {}, Uargs(if) = {},
Uargs(gt) = {}, Uargs(not) = {}, Uargs(id) = {},
Uargs(times^#) = {}, Uargs(c_1) = {}, Uargs(plus^#) = {},
Uargs(c_2) = {}, Uargs(c_3) = {}, Uargs(c_4) = {}, Uargs(c_5) = {},
Uargs(id^#) = {}, Uargs(c_6) = {}, Uargs(if^#) = {},
Uargs(c_7) = {}, Uargs(c_8) = {}, Uargs(not^#) = {},
Uargs(c_9) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
times(x1, x2) = [0] x1 + [0] x2 + [0]
0() = [0]
s(x1) = [0] x1 + [0]
plus(x1, x2) = [0] x1 + [0] x2 + [0]
if(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
gt(x1, x2) = [0] x1 + [0] x2 + [0]
not(x1) = [0] x1 + [0]
id(x1) = [0] x1 + [0]
zero() = [0]
true() = [0]
false() = [0]
times^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1(x1) = [0] x1 + [0]
plus^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_2(x1) = [0] x1 + [0]
c_3(x1) = [0] x1 + [0]
c_4(x1) = [0] x1 + [0]
c_5(x1) = [0] x1 + [0]
id^#(x1) = [3] x1 + [0]
c_6(x1) = [1] x1 + [0]
if^#(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
c_7(x1) = [0] x1 + [0]
c_8(x1) = [0] x1 + [0]
not^#(x1) = [0] x1 + [0]
c_9(x1) = [0] x1 + [0]
gt^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_10() = [0]
c_11() = [0]
c_12(x1) = [0] x1 + [0]
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: YES(?,O(1))
Input Problem: DP runtime-complexity with respect to
Strict Rules: {id^#(x) -> c_6(x)}
Weak Rules: {}
Proof Output:
The following argument positions are usable:
Uargs(id^#) = {}, Uargs(c_6) = {}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
id^#(x1) = [7] x1 + [7]
c_6(x1) = [1] x1 + [0]
* Path {10}: YES(?,O(1))
----------------------
The usable rules of this path are empty.
The weightgap principle applies, using the following adequate RMI:
The following argument positions are usable:
Uargs(times) = {}, Uargs(s) = {}, Uargs(plus) = {}, Uargs(if) = {},
Uargs(gt) = {}, Uargs(not) = {}, Uargs(id) = {},
Uargs(times^#) = {}, Uargs(c_1) = {}, Uargs(plus^#) = {},
Uargs(c_2) = {}, Uargs(c_3) = {}, Uargs(c_4) = {}, Uargs(c_5) = {},
Uargs(id^#) = {}, Uargs(c_6) = {}, Uargs(if^#) = {},
Uargs(c_7) = {}, Uargs(c_8) = {}, Uargs(not^#) = {},
Uargs(c_9) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
times(x1, x2) = [0] x1 + [0] x2 + [0]
0() = [0]
s(x1) = [0] x1 + [0]
plus(x1, x2) = [0] x1 + [0] x2 + [0]
if(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
gt(x1, x2) = [0] x1 + [0] x2 + [0]
not(x1) = [0] x1 + [0]
id(x1) = [0] x1 + [0]
zero() = [0]
true() = [0]
false() = [0]
times^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1(x1) = [0] x1 + [0]
plus^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_2(x1) = [0] x1 + [0]
c_3(x1) = [0] x1 + [0]
c_4(x1) = [0] x1 + [0]
c_5(x1) = [0] x1 + [0]
id^#(x1) = [0] x1 + [0]
c_6(x1) = [0] x1 + [0]
if^#(x1, x2, x3) = [1] x1 + [0] x2 + [0] x3 + [0]
c_7(x1) = [0] x1 + [0]
c_8(x1) = [0] x1 + [0]
not^#(x1) = [3] x1 + [0]
c_9(x1) = [3] x1 + [0]
gt^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_10() = [0]
c_11() = [0]
c_12(x1) = [0] x1 + [0]
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: YES(?,O(1))
Input Problem: DP runtime-complexity with respect to
Strict Rules: {not^#(x) -> c_9(if^#(x, false(), true()))}
Weak Rules: {}
Proof Output:
The following argument positions are usable:
Uargs(if^#) = {}, Uargs(not^#) = {}, Uargs(c_9) = {}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
true() = [0]
false() = [0]
if^#(x1, x2, x3) = [7] x1 + [0] x2 + [0] x3 + [4]
not^#(x1) = [7] x1 + [7]
c_9(x1) = [0] x1 + [3]
* Path {10}->{8}: YES(?,O(1))
---------------------------
The usable rules of this path are empty.
The weightgap principle applies, using the following adequate RMI:
The following argument positions are usable:
Uargs(times) = {}, Uargs(s) = {}, Uargs(plus) = {}, Uargs(if) = {},
Uargs(gt) = {}, Uargs(not) = {}, Uargs(id) = {},
Uargs(times^#) = {}, Uargs(c_1) = {}, Uargs(plus^#) = {},
Uargs(c_2) = {}, Uargs(c_3) = {}, Uargs(c_4) = {}, Uargs(c_5) = {},
Uargs(id^#) = {}, Uargs(c_6) = {}, Uargs(if^#) = {},
Uargs(c_7) = {}, Uargs(c_8) = {}, Uargs(not^#) = {},
Uargs(c_9) = {1}, Uargs(gt^#) = {}, Uargs(c_12) = {}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
times(x1, x2) = [0] x1 + [0] x2 + [0]
0() = [0]
s(x1) = [0] x1 + [0]
plus(x1, x2) = [0] x1 + [0] x2 + [0]
if(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
gt(x1, x2) = [0] x1 + [0] x2 + [0]
not(x1) = [0] x1 + [0]
id(x1) = [0] x1 + [0]
zero() = [0]
true() = [0]
false() = [0]
times^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1(x1) = [0] x1 + [0]
plus^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_2(x1) = [0] x1 + [0]
c_3(x1) = [0] x1 + [0]
c_4(x1) = [0] x1 + [0]
c_5(x1) = [0] x1 + [0]
id^#(x1) = [0] x1 + [0]
c_6(x1) = [0] x1 + [0]
if^#(x1, x2, x3) = [0] x1 + [3] x2 + [0] x3 + [0]
c_7(x1) = [1] x1 + [0]
c_8(x1) = [0] x1 + [0]
not^#(x1) = [0] x1 + [0]
c_9(x1) = [1] x1 + [0]
gt^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_10() = [0]
c_11() = [0]
c_12(x1) = [0] x1 + [0]
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: YES(?,O(1))
Input Problem: DP runtime-complexity with respect to
Strict Rules: {if^#(true(), x, y) -> c_7(x)}
Weak Rules: {not^#(x) -> c_9(if^#(x, false(), true()))}
Proof Output:
The following argument positions are usable:
Uargs(if^#) = {}, Uargs(c_7) = {}, Uargs(not^#) = {},
Uargs(c_9) = {1}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
true() = [2]
false() = [0]
if^#(x1, x2, x3) = [2] x1 + [2] x2 + [0] x3 + [0]
c_7(x1) = [0] x1 + [1]
not^#(x1) = [7] x1 + [7]
c_9(x1) = [2] x1 + [7]
* Path {10}->{9}: YES(?,O(1))
---------------------------
The usable rules of this path are empty.
The weightgap principle applies, using the following adequate RMI:
The following argument positions are usable:
Uargs(times) = {}, Uargs(s) = {}, Uargs(plus) = {}, Uargs(if) = {},
Uargs(gt) = {}, Uargs(not) = {}, Uargs(id) = {},
Uargs(times^#) = {}, Uargs(c_1) = {}, Uargs(plus^#) = {},
Uargs(c_2) = {}, Uargs(c_3) = {}, Uargs(c_4) = {}, Uargs(c_5) = {},
Uargs(id^#) = {}, Uargs(c_6) = {}, Uargs(if^#) = {},
Uargs(c_7) = {}, Uargs(c_8) = {}, Uargs(not^#) = {},
Uargs(c_9) = {1}, Uargs(gt^#) = {}, Uargs(c_12) = {}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
times(x1, x2) = [0] x1 + [0] x2 + [0]
0() = [0]
s(x1) = [0] x1 + [0]
plus(x1, x2) = [0] x1 + [0] x2 + [0]
if(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
gt(x1, x2) = [0] x1 + [0] x2 + [0]
not(x1) = [0] x1 + [0]
id(x1) = [0] x1 + [0]
zero() = [0]
true() = [0]
false() = [0]
times^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1(x1) = [0] x1 + [0]
plus^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_2(x1) = [0] x1 + [0]
c_3(x1) = [0] x1 + [0]
c_4(x1) = [0] x1 + [0]
c_5(x1) = [0] x1 + [0]
id^#(x1) = [0] x1 + [0]
c_6(x1) = [0] x1 + [0]
if^#(x1, x2, x3) = [0] x1 + [3] x2 + [0] x3 + [0]
c_7(x1) = [0] x1 + [0]
c_8(x1) = [1] x1 + [0]
not^#(x1) = [0] x1 + [0]
c_9(x1) = [1] x1 + [0]
gt^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_10() = [0]
c_11() = [0]
c_12(x1) = [0] x1 + [0]
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: YES(?,O(1))
Input Problem: DP runtime-complexity with respect to
Strict Rules: {if^#(false(), x, y) -> c_8(y)}
Weak Rules: {not^#(x) -> c_9(if^#(x, false(), true()))}
Proof Output:
The following argument positions are usable:
Uargs(if^#) = {}, Uargs(c_8) = {}, Uargs(not^#) = {},
Uargs(c_9) = {1}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
true() = [0]
false() = [2]
if^#(x1, x2, x3) = [2] x1 + [0] x2 + [0] x3 + [4]
c_8(x1) = [0] x1 + [1]
not^#(x1) = [7] x1 + [7]
c_9(x1) = [1] x1 + [3]
* Path {13}: YES(?,O(n^1))
------------------------
The usable rules of this path are empty.
The weightgap principle applies, using the following adequate RMI:
The following argument positions are usable:
Uargs(times) = {}, Uargs(s) = {}, Uargs(plus) = {}, Uargs(if) = {},
Uargs(gt) = {}, Uargs(not) = {}, Uargs(id) = {},
Uargs(times^#) = {}, Uargs(c_1) = {}, Uargs(plus^#) = {},
Uargs(c_2) = {}, Uargs(c_3) = {}, Uargs(c_4) = {}, Uargs(c_5) = {},
Uargs(id^#) = {}, Uargs(c_6) = {}, Uargs(if^#) = {},
Uargs(c_7) = {}, Uargs(c_8) = {}, Uargs(not^#) = {},
Uargs(c_9) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {1}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
times(x1, x2) = [0] x1 + [0] x2 + [0]
0() = [0]
s(x1) = [1] x1 + [0]
plus(x1, x2) = [0] x1 + [0] x2 + [0]
if(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
gt(x1, x2) = [0] x1 + [0] x2 + [0]
not(x1) = [0] x1 + [0]
id(x1) = [0] x1 + [0]
zero() = [0]
true() = [0]
false() = [0]
times^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1(x1) = [0] x1 + [0]
plus^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_2(x1) = [0] x1 + [0]
c_3(x1) = [0] x1 + [0]
c_4(x1) = [0] x1 + [0]
c_5(x1) = [0] x1 + [0]
id^#(x1) = [0] x1 + [0]
c_6(x1) = [0] x1 + [0]
if^#(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
c_7(x1) = [0] x1 + [0]
c_8(x1) = [0] x1 + [0]
not^#(x1) = [0] x1 + [0]
c_9(x1) = [0] x1 + [0]
gt^#(x1, x2) = [3] x1 + [3] x2 + [0]
c_10() = [0]
c_11() = [0]
c_12(x1) = [1] x1 + [0]
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: YES(?,O(n^1))
Input Problem: DP runtime-complexity with respect to
Strict Rules: {gt^#(s(x), s(y)) -> c_12(gt^#(x, y))}
Weak Rules: {}
Proof Output:
The following argument positions are usable:
Uargs(s) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {1}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
s(x1) = [1] x1 + [2]
gt^#(x1, x2) = [2] x1 + [2] x2 + [0]
c_12(x1) = [1] x1 + [7]
* Path {13}->{11}: YES(?,O(n^1))
------------------------------
The usable rules of this path are empty.
The weightgap principle applies, using the following adequate RMI:
The following argument positions are usable:
Uargs(times) = {}, Uargs(s) = {}, Uargs(plus) = {}, Uargs(if) = {},
Uargs(gt) = {}, Uargs(not) = {}, Uargs(id) = {},
Uargs(times^#) = {}, Uargs(c_1) = {}, Uargs(plus^#) = {},
Uargs(c_2) = {}, Uargs(c_3) = {}, Uargs(c_4) = {}, Uargs(c_5) = {},
Uargs(id^#) = {}, Uargs(c_6) = {}, Uargs(if^#) = {},
Uargs(c_7) = {}, Uargs(c_8) = {}, Uargs(not^#) = {},
Uargs(c_9) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {1}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
times(x1, x2) = [0] x1 + [0] x2 + [0]
0() = [0]
s(x1) = [0] x1 + [0]
plus(x1, x2) = [0] x1 + [0] x2 + [0]
if(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
gt(x1, x2) = [0] x1 + [0] x2 + [0]
not(x1) = [0] x1 + [0]
id(x1) = [0] x1 + [0]
zero() = [0]
true() = [0]
false() = [0]
times^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1(x1) = [0] x1 + [0]
plus^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_2(x1) = [0] x1 + [0]
c_3(x1) = [0] x1 + [0]
c_4(x1) = [0] x1 + [0]
c_5(x1) = [0] x1 + [0]
id^#(x1) = [0] x1 + [0]
c_6(x1) = [0] x1 + [0]
if^#(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
c_7(x1) = [0] x1 + [0]
c_8(x1) = [0] x1 + [0]
not^#(x1) = [0] x1 + [0]
c_9(x1) = [0] x1 + [0]
gt^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_10() = [0]
c_11() = [0]
c_12(x1) = [1] x1 + [0]
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: YES(?,O(n^1))
Input Problem: DP runtime-complexity with respect to
Strict Rules: {gt^#(s(x), zero()) -> c_10()}
Weak Rules: {gt^#(s(x), s(y)) -> c_12(gt^#(x, y))}
Proof Output:
The following argument positions are usable:
Uargs(s) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {1}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
s(x1) = [1] x1 + [2]
zero() = [2]
gt^#(x1, x2) = [2] x1 + [2] x2 + [0]
c_10() = [1]
c_12(x1) = [1] x1 + [7]
* Path {13}->{12}: YES(?,O(n^1))
------------------------------
The usable rules of this path are empty.
The weightgap principle applies, using the following adequate RMI:
The following argument positions are usable:
Uargs(times) = {}, Uargs(s) = {}, Uargs(plus) = {}, Uargs(if) = {},
Uargs(gt) = {}, Uargs(not) = {}, Uargs(id) = {},
Uargs(times^#) = {}, Uargs(c_1) = {}, Uargs(plus^#) = {},
Uargs(c_2) = {}, Uargs(c_3) = {}, Uargs(c_4) = {}, Uargs(c_5) = {},
Uargs(id^#) = {}, Uargs(c_6) = {}, Uargs(if^#) = {},
Uargs(c_7) = {}, Uargs(c_8) = {}, Uargs(not^#) = {},
Uargs(c_9) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {1}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
times(x1, x2) = [0] x1 + [0] x2 + [0]
0() = [0]
s(x1) = [0] x1 + [0]
plus(x1, x2) = [0] x1 + [0] x2 + [0]
if(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
gt(x1, x2) = [0] x1 + [0] x2 + [0]
not(x1) = [0] x1 + [0]
id(x1) = [0] x1 + [0]
zero() = [0]
true() = [0]
false() = [0]
times^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_0() = [0]
c_1(x1) = [0] x1 + [0]
plus^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_2(x1) = [0] x1 + [0]
c_3(x1) = [0] x1 + [0]
c_4(x1) = [0] x1 + [0]
c_5(x1) = [0] x1 + [0]
id^#(x1) = [0] x1 + [0]
c_6(x1) = [0] x1 + [0]
if^#(x1, x2, x3) = [0] x1 + [0] x2 + [0] x3 + [0]
c_7(x1) = [0] x1 + [0]
c_8(x1) = [0] x1 + [0]
not^#(x1) = [0] x1 + [0]
c_9(x1) = [0] x1 + [0]
gt^#(x1, x2) = [0] x1 + [0] x2 + [0]
c_10() = [0]
c_11() = [0]
c_12(x1) = [1] x1 + [0]
We apply the sub-processor on the resulting sub-problem:
'matrix-interpretation of dimension 1'
--------------------------------------
Answer: YES(?,O(n^1))
Input Problem: DP runtime-complexity with respect to
Strict Rules: {gt^#(zero(), y) -> c_11()}
Weak Rules: {gt^#(s(x), s(y)) -> c_12(gt^#(x, y))}
Proof Output:
The following argument positions are usable:
Uargs(s) = {}, Uargs(gt^#) = {}, Uargs(c_12) = {1}
We have the following constructor-restricted matrix interpretation:
Interpretation Functions:
s(x1) = [1] x1 + [2]
zero() = [2]
gt^#(x1, x2) = [2] x1 + [0] x2 + [4]
c_11() = [1]
c_12(x1) = [1] x1 + [2]
2) 'matrix-interpretation of dimension 1' failed due to the following reason:
The input cannot be shown compatible
3) 'Bounds with perSymbol-enrichment and initial automaton 'match'' failed due to the following reason:
match-boundness of the problem could not be verified.
4) 'Bounds with minimal-enrichment and initial automaton 'match'' failed due to the following reason:
match-boundness of the problem could not be verified.