YES(?,O(n^1))

We are left with following problem, upon which TcT provides the
certificate YES(?,O(n^1)).

Strict Trs:
  { f(a()) -> g(h(a()))
  , h(g(x)) -> g(h(f(x)))
  , k(x, h(x), a()) -> h(x)
  , k(f(x), y, x) -> f(x) }
Obligation:
  runtime complexity
Answer:
  YES(?,O(n^1))

The problem is match-bounded by 2. The enriched problem is
compatible with the following automaton.
{ f_0(2) -> 1
, f_1(2) -> 4
, f_2(3) -> 6
, a_0() -> 2
, a_1() -> 4
, g_0(2) -> 2
, g_1(3) -> 1
, g_1(3) -> 4
, g_2(5) -> 3
, h_0(2) -> 1
, h_1(4) -> 3
, h_2(6) -> 5
, k_0(2, 2, 2) -> 1 }

Hurray, we answered YES(?,O(n^1))