MAYBE

We are left with following problem, upon which TcT provides the
certificate MAYBE.

Strict Trs:
  { min(x, 0()) -> 0()
  , min(0(), y) -> 0()
  , min(s(x), s(y)) -> s(min(x, y))
  , max(x, 0()) -> x
  , max(0(), y) -> y
  , max(s(x), s(y)) -> s(max(x, y))
  , twice(0()) -> 0()
  , twice(s(x)) -> s(s(twice(x)))
  , -(x, 0()) -> x
  , -(s(x), s(y)) -> -(x, y)
  , p(s(x)) -> x
  , f(s(x), s(y)) ->
    f(-(max(s(x), s(y)), min(s(x), s(y))), p(twice(min(x, y)))) }
Obligation:
  innermost runtime complexity
Answer:
  MAYBE

The input cannot be shown compatible

Arrrr..