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

Strict Trs:
  { active(and(X1, X2)) -> and(active(X1), X2)
  , active(and(tt(), X)) -> mark(X)
  , active(plus(X1, X2)) -> plus(X1, active(X2))
  , active(plus(X1, X2)) -> plus(active(X1), X2)
  , active(plus(N, 0())) -> mark(N)
  , active(plus(N, s(M))) -> mark(s(plus(N, M)))
  , active(s(X)) -> s(active(X))
  , and(mark(X1), X2) -> mark(and(X1, X2))
  , and(ok(X1), ok(X2)) -> ok(and(X1, X2))
  , plus(X1, mark(X2)) -> mark(plus(X1, X2))
  , plus(mark(X1), X2) -> mark(plus(X1, X2))
  , plus(ok(X1), ok(X2)) -> ok(plus(X1, X2))
  , s(mark(X)) -> mark(s(X))
  , s(ok(X)) -> ok(s(X))
  , proper(and(X1, X2)) -> and(proper(X1), proper(X2))
  , proper(tt()) -> ok(tt())
  , proper(plus(X1, X2)) -> plus(proper(X1), proper(X2))
  , proper(0()) -> ok(0())
  , proper(s(X)) -> s(proper(X))
  , top(mark(X)) -> top(proper(X))
  , top(ok(X)) -> top(active(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.
{ active_0(3) -> 1
, active_0(4) -> 1
, active_0(6) -> 1
, active_0(9) -> 1
, active_1(3) -> 15
, active_1(4) -> 15
, active_1(6) -> 15
, active_1(9) -> 15
, active_2(14) -> 16
, and_0(3, 3) -> 2
, and_0(3, 4) -> 2
, and_0(3, 6) -> 2
, and_0(3, 9) -> 2
, and_0(4, 3) -> 2
, and_0(4, 4) -> 2
, and_0(4, 6) -> 2
, and_0(4, 9) -> 2
, and_0(6, 3) -> 2
, and_0(6, 4) -> 2
, and_0(6, 6) -> 2
, and_0(6, 9) -> 2
, and_0(9, 3) -> 2
, and_0(9, 4) -> 2
, and_0(9, 6) -> 2
, and_0(9, 9) -> 2
, and_1(3, 3) -> 11
, and_1(3, 4) -> 11
, and_1(3, 6) -> 11
, and_1(3, 9) -> 11
, and_1(4, 3) -> 11
, and_1(4, 4) -> 11
, and_1(4, 6) -> 11
, and_1(4, 9) -> 11
, and_1(6, 3) -> 11
, and_1(6, 4) -> 11
, and_1(6, 6) -> 11
, and_1(6, 9) -> 11
, and_1(9, 3) -> 11
, and_1(9, 4) -> 11
, and_1(9, 6) -> 11
, and_1(9, 9) -> 11
, tt_0() -> 3
, tt_1() -> 14
, mark_0(3) -> 4
, mark_0(4) -> 4
, mark_0(6) -> 4
, mark_0(9) -> 4
, mark_1(11) -> 2
, mark_1(11) -> 11
, mark_1(12) -> 5
, mark_1(12) -> 12
, mark_1(13) -> 7
, mark_1(13) -> 13
, plus_0(3, 3) -> 5
, plus_0(3, 4) -> 5
, plus_0(3, 6) -> 5
, plus_0(3, 9) -> 5
, plus_0(4, 3) -> 5
, plus_0(4, 4) -> 5
, plus_0(4, 6) -> 5
, plus_0(4, 9) -> 5
, plus_0(6, 3) -> 5
, plus_0(6, 4) -> 5
, plus_0(6, 6) -> 5
, plus_0(6, 9) -> 5
, plus_0(9, 3) -> 5
, plus_0(9, 4) -> 5
, plus_0(9, 6) -> 5
, plus_0(9, 9) -> 5
, plus_1(3, 3) -> 12
, plus_1(3, 4) -> 12
, plus_1(3, 6) -> 12
, plus_1(3, 9) -> 12
, plus_1(4, 3) -> 12
, plus_1(4, 4) -> 12
, plus_1(4, 6) -> 12
, plus_1(4, 9) -> 12
, plus_1(6, 3) -> 12
, plus_1(6, 4) -> 12
, plus_1(6, 6) -> 12
, plus_1(6, 9) -> 12
, plus_1(9, 3) -> 12
, plus_1(9, 4) -> 12
, plus_1(9, 6) -> 12
, plus_1(9, 9) -> 12
, 0_0() -> 6
, 0_1() -> 14
, s_0(3) -> 7
, s_0(4) -> 7
, s_0(6) -> 7
, s_0(9) -> 7
, s_1(3) -> 13
, s_1(4) -> 13
, s_1(6) -> 13
, s_1(9) -> 13
, proper_0(3) -> 8
, proper_0(4) -> 8
, proper_0(6) -> 8
, proper_0(9) -> 8
, proper_1(3) -> 15
, proper_1(4) -> 15
, proper_1(6) -> 15
, proper_1(9) -> 15
, ok_0(3) -> 9
, ok_0(4) -> 9
, ok_0(6) -> 9
, ok_0(9) -> 9
, ok_1(11) -> 2
, ok_1(11) -> 11
, ok_1(12) -> 5
, ok_1(12) -> 12
, ok_1(13) -> 7
, ok_1(13) -> 13
, ok_1(14) -> 8
, ok_1(14) -> 15
, top_0(3) -> 10
, top_0(4) -> 10
, top_0(6) -> 10
, top_0(9) -> 10
, top_1(15) -> 10
, top_2(16) -> 10 }

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