Tool CaT
stdout:
MAYBE
Problem:
plus(0(),x) -> x
plus(s(x),y) -> s(plus(p(s(x)),y))
times(0(),y) -> 0()
times(s(x),y) -> plus(y,times(p(s(x)),y))
p(s(0())) -> 0()
p(s(s(x))) -> s(p(s(x)))
fac(0(),x) -> x
fac(s(x),y) -> fac(p(s(x)),times(s(x),y))
factorial(x) -> fac(x,s(0()))
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:
{ plus(0(), x) -> x
, plus(s(x), y) -> s(plus(p(s(x)), y))
, times(0(), y) -> 0()
, times(s(x), y) -> plus(y, times(p(s(x)), y))
, p(s(0())) -> 0()
, p(s(s(x))) -> s(p(s(x)))
, fac(0(), x) -> x
, fac(s(x), y) -> fac(p(s(x)), times(s(x), y))
, factorial(x) -> fac(x, s(0()))}
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:
{ plus(0(), x) -> x
, plus(s(x), y) -> s(plus(p(s(x)), y))
, times(0(), y) -> 0()
, times(s(x), y) -> plus(y, times(p(s(x)), y))
, p(s(0())) -> 0()
, p(s(s(x))) -> s(p(s(x)))
, fac(0(), x) -> x
, fac(s(x), y) -> fac(p(s(x)), times(s(x), y))
, factorial(x) -> fac(x, s(0()))}
Proof Output:
Computation stopped due to timeout after 60.0 seconds