Tool CaT
stdout:
MAYBE
Problem:
le(0(),y) -> true()
le(s(x),0()) -> false()
le(s(x),s(y)) -> le(x,y)
mod(x,0()) -> modZeroErro()
mod(x,s(y)) -> modIter(x,s(y),0(),0())
modIter(x,s(y),z,u) -> if(le(x,z),x,s(y),z,u)
if(true(),x,y,z,u) -> u
if(false(),x,y,z,u) -> if2(le(y,s(u)),x,y,s(z),s(u))
if2(false(),x,y,z,u) -> modIter(x,y,z,u)
if2(true(),x,y,z,u) -> modIter(x,y,z,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:
{ le(0(), y) -> true()
, le(s(x), 0()) -> false()
, le(s(x), s(y)) -> le(x, y)
, mod(x, 0()) -> modZeroErro()
, mod(x, s(y)) -> modIter(x, s(y), 0(), 0())
, modIter(x, s(y), z, u) -> if(le(x, z), x, s(y), z, u)
, if(true(), x, y, z, u) -> u
, if(false(), x, y, z, u) -> if2(le(y, s(u)), x, y, s(z), s(u))
, if2(false(), x, y, z, u) -> modIter(x, y, z, u)
, if2(true(), x, y, z, u) -> modIter(x, y, z, 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:
{ le(0(), y) -> true()
, le(s(x), 0()) -> false()
, le(s(x), s(y)) -> le(x, y)
, mod(x, 0()) -> modZeroErro()
, mod(x, s(y)) -> modIter(x, s(y), 0(), 0())
, modIter(x, s(y), z, u) -> if(le(x, z), x, s(y), z, u)
, if(true(), x, y, z, u) -> u
, if(false(), x, y, z, u) -> if2(le(y, s(u)), x, y, s(z), s(u))
, if2(false(), x, y, z, u) -> modIter(x, y, z, u)
, if2(true(), x, y, z, u) -> modIter(x, y, z, 0())}
Proof Output:
Computation stopped due to timeout after 60.0 seconds