interpretations
MAYBE
We are left with following problem, upon which TcT provides the
certificate MAYBE.
Strict Trs:
{ prod(xs) -> prodIter(xs, s(0()))
, prodIter(xs, x) -> ifProd(isempty(xs), xs, x)
, ifProd(true(), xs, x) -> x
, ifProd(false(), xs, x) -> prodIter(tail(xs), times(x, head(xs)))
, isempty(nil()) -> true()
, isempty(cons(x, xs)) -> false()
, tail(nil()) -> nil()
, tail(cons(x, xs)) -> xs
, times(x, y) -> timesIter(x, y, 0(), 0())
, head(nil()) -> error()
, head(cons(x, xs)) -> x
, plus(s(x), y) -> s(plus(x, y))
, plus(0(), y) -> y
, timesIter(x, y, z, u) -> ifTimes(ge(u, x), x, y, z, u)
, ifTimes(true(), x, y, z, u) -> z
, ifTimes(false(), x, y, z, u) -> timesIter(x, y, plus(y, z), s(u))
, ge(x, 0()) -> true()
, ge(s(x), s(y)) -> ge(x, y)
, ge(0(), s(y)) -> false()
, a() -> b()
, a() -> c() }
Obligation:
innermost runtime complexity
Answer:
MAYBE
None of the processors succeeded.
Details of failed attempt(s):
-----------------------------
1) 'matrix interpretation of dimension 3' failed due to the
following reason:
The input cannot be shown compatible
2) 'custom shape polynomial interpretation' failed due to the
following reason:
The input cannot be shown compatible
3) 'custom shape polynomial interpretation' failed due to the
following reason:
The input cannot be shown compatible
4) 'matrix interpretation of dimension 1' failed due to the
following reason:
The input cannot be shown compatible
Arrrr..
lmpo
MAYBE
We are left with following problem, upon which TcT provides the
certificate MAYBE.
Strict Trs:
{ prod(xs) -> prodIter(xs, s(0()))
, prodIter(xs, x) -> ifProd(isempty(xs), xs, x)
, ifProd(true(), xs, x) -> x
, ifProd(false(), xs, x) -> prodIter(tail(xs), times(x, head(xs)))
, plus(0(), y) -> y
, plus(s(x), y) -> s(plus(x, y))
, times(x, y) -> timesIter(x, y, 0(), 0())
, timesIter(x, y, z, u) -> ifTimes(ge(u, x), x, y, z, u)
, ifTimes(true(), x, y, z, u) -> z
, ifTimes(false(), x, y, z, u) -> timesIter(x, y, plus(y, z), s(u))
, isempty(nil()) -> true()
, isempty(cons(x, xs)) -> false()
, head(nil()) -> error()
, head(cons(x, xs)) -> x
, tail(nil()) -> nil()
, tail(cons(x, xs)) -> xs
, ge(x, 0()) -> true()
, ge(0(), s(y)) -> false()
, ge(s(x), s(y)) -> ge(x, y)
, a() -> b()
, a() -> c() }
Obligation:
innermost runtime complexity
Answer:
MAYBE
The input cannot be shown compatible
Arrrr..
mpo
MAYBE
We are left with following problem, upon which TcT provides the
certificate MAYBE.
Strict Trs:
{ prod(xs) -> prodIter(xs, s(0()))
, prodIter(xs, x) -> ifProd(isempty(xs), xs, x)
, ifProd(true(), xs, x) -> x
, ifProd(false(), xs, x) -> prodIter(tail(xs), times(x, head(xs)))
, plus(0(), y) -> y
, plus(s(x), y) -> s(plus(x, y))
, times(x, y) -> timesIter(x, y, 0(), 0())
, timesIter(x, y, z, u) -> ifTimes(ge(u, x), x, y, z, u)
, ifTimes(true(), x, y, z, u) -> z
, ifTimes(false(), x, y, z, u) -> timesIter(x, y, plus(y, z), s(u))
, isempty(nil()) -> true()
, isempty(cons(x, xs)) -> false()
, head(nil()) -> error()
, head(cons(x, xs)) -> x
, tail(nil()) -> nil()
, tail(cons(x, xs)) -> xs
, ge(x, 0()) -> true()
, ge(0(), s(y)) -> false()
, ge(s(x), s(y)) -> ge(x, y)
, a() -> b()
, a() -> c() }
Obligation:
innermost runtime complexity
Answer:
MAYBE
The input cannot be shown compatible
Arrrr..
popstar
MAYBE
We are left with following problem, upon which TcT provides the
certificate MAYBE.
Strict Trs:
{ prod(xs) -> prodIter(xs, s(0()))
, prodIter(xs, x) -> ifProd(isempty(xs), xs, x)
, ifProd(true(), xs, x) -> x
, ifProd(false(), xs, x) -> prodIter(tail(xs), times(x, head(xs)))
, plus(0(), y) -> y
, plus(s(x), y) -> s(plus(x, y))
, times(x, y) -> timesIter(x, y, 0(), 0())
, timesIter(x, y, z, u) -> ifTimes(ge(u, x), x, y, z, u)
, ifTimes(true(), x, y, z, u) -> z
, ifTimes(false(), x, y, z, u) -> timesIter(x, y, plus(y, z), s(u))
, isempty(nil()) -> true()
, isempty(cons(x, xs)) -> false()
, head(nil()) -> error()
, head(cons(x, xs)) -> x
, tail(nil()) -> nil()
, tail(cons(x, xs)) -> xs
, ge(x, 0()) -> true()
, ge(0(), s(y)) -> false()
, ge(s(x), s(y)) -> ge(x, y)
, a() -> b()
, a() -> c() }
Obligation:
innermost runtime complexity
Answer:
MAYBE
The input cannot be shown compatible
Arrrr..
popstar-ps
MAYBE
We are left with following problem, upon which TcT provides the
certificate MAYBE.
Strict Trs:
{ prod(xs) -> prodIter(xs, s(0()))
, prodIter(xs, x) -> ifProd(isempty(xs), xs, x)
, ifProd(true(), xs, x) -> x
, ifProd(false(), xs, x) -> prodIter(tail(xs), times(x, head(xs)))
, plus(0(), y) -> y
, plus(s(x), y) -> s(plus(x, y))
, times(x, y) -> timesIter(x, y, 0(), 0())
, timesIter(x, y, z, u) -> ifTimes(ge(u, x), x, y, z, u)
, ifTimes(true(), x, y, z, u) -> z
, ifTimes(false(), x, y, z, u) -> timesIter(x, y, plus(y, z), s(u))
, isempty(nil()) -> true()
, isempty(cons(x, xs)) -> false()
, head(nil()) -> error()
, head(cons(x, xs)) -> x
, tail(nil()) -> nil()
, tail(cons(x, xs)) -> xs
, ge(x, 0()) -> true()
, ge(0(), s(y)) -> false()
, ge(s(x), s(y)) -> ge(x, y)
, a() -> b()
, a() -> c() }
Obligation:
innermost runtime complexity
Answer:
MAYBE
The input cannot be shown compatible
Arrrr..