We consider the following Problem:

  Strict Trs:
    {  f(g(x), g(y)) -> f(p(f(g(x), s(y))), g(s(p(x))))
     , p(0()) -> g(0())
     , g(s(p(x))) -> p(x)}
  StartTerms: basic terms
  Strategy: innermost

Certificate: YES(?,O(n^1))

Proof:
  We consider the following Problem:
  
    Strict Trs:
      {  f(g(x), g(y)) -> f(p(f(g(x), s(y))), g(s(p(x))))
       , p(0()) -> g(0())
       , g(s(p(x))) -> p(x)}
    StartTerms: basic terms
    Strategy: innermost
  
  Certificate: YES(?,O(n^1))
  
  Proof:
    The weightgap principle applies, where following rules are oriented strictly:
    
    TRS Component: {p(0()) -> g(0())}
    
    Interpretation of nonconstant growth:
    -------------------------------------
      The following argument positions are usable:
        Uargs(f) = {2}, Uargs(g) = {1}, Uargs(p) = {}, Uargs(s) = {1}
      We have the following EDA-non-satisfying and IDA(1)-non-satisfying matrix interpretation:
      Interpretation Functions:
       f(x1, x2) = [0 2] x1 + [1 0] x2 + [1]
                   [0 0]      [0 0]      [1]
       g(x1) = [1 0] x1 + [0]
               [0 0]      [0]
       p(x1) = [0 0] x1 + [2]
               [0 0]      [0]
       s(x1) = [1 0] x1 + [0]
               [0 0]      [0]
       0() = [0]
             [0]
    
    The strictly oriented rules are moved into the weak component.
    
    We consider the following Problem:
    
      Strict Trs:
        {  f(g(x), g(y)) -> f(p(f(g(x), s(y))), g(s(p(x))))
         , g(s(p(x))) -> p(x)}
      Weak Trs: {p(0()) -> g(0())}
      StartTerms: basic terms
      Strategy: innermost
    
    Certificate: YES(?,O(n^1))
    
    Proof:
      The weightgap principle applies, where following rules are oriented strictly:
      
      TRS Component: {g(s(p(x))) -> p(x)}
      
      Interpretation of nonconstant growth:
      -------------------------------------
        The following argument positions are usable:
          Uargs(f) = {2}, Uargs(g) = {1}, Uargs(p) = {}, Uargs(s) = {1}
        We have the following EDA-non-satisfying and IDA(1)-non-satisfying matrix interpretation:
        Interpretation Functions:
         f(x1, x2) = [0 2] x1 + [1 0] x2 + [1]
                     [0 0]      [0 0]      [1]
         g(x1) = [1 0] x1 + [0]
                 [0 0]      [0]
         p(x1) = [0 0] x1 + [0]
                 [0 0]      [0]
         s(x1) = [1 0] x1 + [2]
                 [0 0]      [0]
         0() = [0]
               [0]
      
      The strictly oriented rules are moved into the weak component.
      
      We consider the following Problem:
      
        Strict Trs: {f(g(x), g(y)) -> f(p(f(g(x), s(y))), g(s(p(x))))}
        Weak Trs:
          {  g(s(p(x))) -> p(x)
           , p(0()) -> g(0())}
        StartTerms: basic terms
        Strategy: innermost
      
      Certificate: YES(?,O(n^1))
      
      Proof:
        The weightgap principle applies, where following rules are oriented strictly:
        
        TRS Component: {f(g(x), g(y)) -> f(p(f(g(x), s(y))), g(s(p(x))))}
        
        Interpretation of nonconstant growth:
        -------------------------------------
          The following argument positions are usable:
            Uargs(f) = {2}, Uargs(g) = {1}, Uargs(p) = {}, Uargs(s) = {1}
          We have the following EDA-non-satisfying and IDA(1)-non-satisfying matrix interpretation:
          Interpretation Functions:
           f(x1, x2) = [1 1] x1 + [1 0] x2 + [0]
                       [0 0]      [0 0]      [0]
           g(x1) = [1 0] x1 + [1]
                   [0 1]      [0]
           p(x1) = [0 1] x1 + [0]
                   [0 1]      [0]
           s(x1) = [1 0] x1 + [0]
                   [0 1]      [0]
           0() = [0]
                 [1]
        
        The strictly oriented rules are moved into the weak component.
        
        We consider the following Problem:
        
          Weak Trs:
            {  f(g(x), g(y)) -> f(p(f(g(x), s(y))), g(s(p(x))))
             , g(s(p(x))) -> p(x)
             , p(0()) -> g(0())}
          StartTerms: basic terms
          Strategy: innermost
        
        Certificate: YES(O(1),O(1))
        
        Proof:
          We consider the following Problem:
          
            Weak Trs:
              {  f(g(x), g(y)) -> f(p(f(g(x), s(y))), g(s(p(x))))
               , g(s(p(x))) -> p(x)
               , p(0()) -> g(0())}
            StartTerms: basic terms
            Strategy: innermost
          
          Certificate: YES(O(1),O(1))
          
          Proof:
            Empty rules are trivially bounded

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