Tool CaT
stdout:
MAYBE
Problem:
p(0()) -> 0()
p(s(x)) -> x
le(0(),y) -> true()
le(s(x),0()) -> false()
le(s(x),s(y)) -> le(x,y)
minus(x,0()) -> x
minus(x,s(y)) -> if(le(x,s(y)),0(),p(minus(x,p(s(y)))))
if(true(),x,y) -> x
if(false(),x,y) -> y
Proof:
OpenTool IRC1
stdout:
MAYBE
Tool IRC2
stdout:
TIMEOUT
'Fastest (timeout of 60.0 seconds)'
-----------------------------------
Answer: TIMEOUT
Input Problem: innermost runtime-complexity with respect to
Rules:
{ p(0()) -> 0()
, p(s(x)) -> x
, le(0(), y) -> true()
, le(s(x), 0()) -> false()
, le(s(x), s(y)) -> le(x, y)
, minus(x, 0()) -> x
, minus(x, s(y)) -> if(le(x, s(y)), 0(), p(minus(x, p(s(y)))))
, if(true(), x, y) -> x
, if(false(), x, y) -> y}
Proof Output:
Computation stopped due to timeout after 60.0 secondsTool RC1
stdout:
MAYBE
Tool RC2
stdout:
TIMEOUT
'Fastest (timeout of 60.0 seconds)'
-----------------------------------
Answer: TIMEOUT
Input Problem: runtime-complexity with respect to
Rules:
{ p(0()) -> 0()
, p(s(x)) -> x
, le(0(), y) -> true()
, le(s(x), 0()) -> false()
, le(s(x), s(y)) -> le(x, y)
, minus(x, 0()) -> x
, minus(x, s(y)) -> if(le(x, s(y)), 0(), p(minus(x, p(s(y)))))
, if(true(), x, y) -> x
, if(false(), x, y) -> y}
Proof Output:
Computation stopped due to timeout after 60.0 seconds