Termination proof
  
1: switching to dependency pairs
        The following set of initial dependency pairs has been identified.
        
| 
            f#(
                h(
                    x
                  )
              )
           | 
 →  | 
            f#(
                i(
                    x
                  )
              )
           | 
| 
            f#(
                h(
                    x
                  )
              )
           | 
 →  | 
            i#(
                x
              )
           | 
| 
            g#(
                i(
                    x
                  )
              )
           | 
 →  | 
            g#(
                h(
                    x
                  )
              )
           | 
| 
            g#(
                i(
                    x
                  )
              )
           | 
 →  | 
            h#(
                x
              )
           | 
1.1: dependency graph processor
The dependency pairs are split into 2 component(s).
- 
                The
                1st
                component contains the
                pair(s) 
                
| 
                f#(
                    h(
                        x
                      )
                  )
               | 
 →  | 
                f#(
                    i(
                        x
                      )
                  )
               | 
1.1.1: reduction pair processor
        Using the following reduction pair
        
            
                Linear polynomial
             
            interpretation over 
            
                the naturals
            
| 
                            [h
                (x1)
            ]
                         | 
 =  | 
                  
                      2
                    x1
                +                
            
                      2
                    
                 | 
| 
                            [i
                (x1)
            ]
                         | 
 =  | 
                  x1
                 | 
| 
                            [b]
                         | 
 =  | 
                  
                      0
                    
                 | 
| 
                            [a]
                         | 
 =  | 
                  
                      0
                    
                 | 
| 
                            [f
                (x1)
            ]
                         | 
 =  | 
                  x1
                 | 
| 
                            [f#
                (x1)
            ]
                         | 
 =  | 
                  
                      3
                    x1
                 | 
| 
                            [g
                (x1)
            ]
                         | 
 =  | 
                  
                      0
                    
                 | 
| 
                        [f(x1, ..., xn)]
                     | 
 =  | 
x1 +  ... +  xn + 1 
                     | 
                         for all other symbols f of arity n
                     | 
                  
        one remains with the following pair(s).
        
1.1.1.1: P is empty 
All dependency pairs have been removed.
 
- 
                The
                2nd
                component contains the
                pair(s) 
                
| 
                g#(
                    i(
                        x
                      )
                  )
               | 
 →  | 
                g#(
                    h(
                        x
                      )
                  )
               | 
1.1.2: reduction pair processor
        Using the following reduction pair
        
            
                Linear polynomial
             
            interpretation over 
            
                the naturals
            
| 
                            [h
                (x1)
            ]
                         | 
 =  | 
                  x1
                 | 
| 
                            [i
                (x1)
            ]
                         | 
 =  | 
                  
                      2
                    x1
                +                
            
                      2
                    
                 | 
| 
                            [b]
                         | 
 =  | 
                  
                      0
                    
                 | 
| 
                            [g#
                (x1)
            ]
                         | 
 =  | 
                  
                      3
                    x1
                 | 
| 
                            [a]
                         | 
 =  | 
                  
                      0
                    
                 | 
| 
                            [f
                (x1)
            ]
                         | 
 =  | 
                  
                      0
                    
                 | 
| 
                            [g
                (x1)
            ]
                         | 
 =  | 
                  
                      3
                    x1
                 | 
| 
                        [f(x1, ..., xn)]
                     | 
 =  | 
x1 +  ... +  xn + 1 
                     | 
                         for all other symbols f of arity n
                     | 
                  
        one remains with the following pair(s).
        
1.1.2.1: P is empty 
All dependency pairs have been removed.