Term Rewriting System R:
[x, y, z]
f(x, 0, 0) -> s(x)
f(0, y, 0) -> s(y)
f(0, 0, z) -> s(z)
f(s(0), y, z) -> f(0, s(y), s(z))
f(s(x), s(y), 0) -> f(x, y, s(0))
f(s(x), 0, s(z)) -> f(x, s(0), z)
f(0, s(0), s(0)) -> s(s(0))
f(s(x), s(y), s(z)) -> f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) -> f(0, y, s(0))
f(0, s(0), s(s(z))) -> f(0, s(0), z)
f(0, s(s(y)), s(s(z))) -> f(0, y, f(0, s(s(y)), s(z)))

Innermost Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

F(s(0), y, z) -> F(0, s(y), s(z))
F(s(x), s(y), 0) -> F(x, y, s(0))
F(s(x), 0, s(z)) -> F(x, s(0), z)
F(s(x), s(y), s(z)) -> F(x, y, f(s(x), s(y), z))
F(s(x), s(y), s(z)) -> F(s(x), s(y), z)
F(0, s(s(y)), s(0)) -> F(0, y, s(0))
F(0, s(0), s(s(z))) -> F(0, s(0), z)
F(0, s(s(y)), s(s(z))) -> F(0, y, f(0, s(s(y)), s(z)))
F(0, s(s(y)), s(s(z))) -> F(0, s(s(y)), s(z))

Furthermore, R contains four SCCs.


   R
DPs
       →DP Problem 1
Argument Filtering and Ordering
       →DP Problem 2
AFS
       →DP Problem 3
AFS
       →DP Problem 4
AFS


Dependency Pair:

F(0, s(s(y)), s(0)) -> F(0, y, s(0))


Rules:


f(x, 0, 0) -> s(x)
f(0, y, 0) -> s(y)
f(0, 0, z) -> s(z)
f(s(0), y, z) -> f(0, s(y), s(z))
f(s(x), s(y), 0) -> f(x, y, s(0))
f(s(x), 0, s(z)) -> f(x, s(0), z)
f(0, s(0), s(0)) -> s(s(0))
f(s(x), s(y), s(z)) -> f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) -> f(0, y, s(0))
f(0, s(0), s(s(z))) -> f(0, s(0), z)
f(0, s(s(y)), s(s(z))) -> f(0, y, f(0, s(s(y)), s(z)))


Strategy:

innermost




The following dependency pair can be strictly oriented:

F(0, s(s(y)), s(0)) -> F(0, y, s(0))


There are no usable rules for innermost w.r.t. to the AFS that need to be oriented.
Used ordering: Polynomial ordering with Polynomial interpretation:
  POL(0)=  0  
  POL(s(x1))=  1 + x1  
  POL(F(x1, x2, x3))=  1 + x1 + x2 + x3  

resulting in one new DP problem.
Used Argument Filtering System:
F(x1, x2, x3) -> F(x1, x2, x3)
s(x1) -> s(x1)


   R
DPs
       →DP Problem 1
AFS
           →DP Problem 5
Dependency Graph
       →DP Problem 2
AFS
       →DP Problem 3
AFS
       →DP Problem 4
AFS


Dependency Pair:


Rules:


f(x, 0, 0) -> s(x)
f(0, y, 0) -> s(y)
f(0, 0, z) -> s(z)
f(s(0), y, z) -> f(0, s(y), s(z))
f(s(x), s(y), 0) -> f(x, y, s(0))
f(s(x), 0, s(z)) -> f(x, s(0), z)
f(0, s(0), s(0)) -> s(s(0))
f(s(x), s(y), s(z)) -> f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) -> f(0, y, s(0))
f(0, s(0), s(s(z))) -> f(0, s(0), z)
f(0, s(s(y)), s(s(z))) -> f(0, y, f(0, s(s(y)), s(z)))


Strategy:

innermost




Using the Dependency Graph resulted in no new DP problems.


   R
DPs
       →DP Problem 1
AFS
       →DP Problem 2
Argument Filtering and Ordering
       →DP Problem 3
AFS
       →DP Problem 4
AFS


Dependency Pair:

F(0, s(0), s(s(z))) -> F(0, s(0), z)


Rules:


f(x, 0, 0) -> s(x)
f(0, y, 0) -> s(y)
f(0, 0, z) -> s(z)
f(s(0), y, z) -> f(0, s(y), s(z))
f(s(x), s(y), 0) -> f(x, y, s(0))
f(s(x), 0, s(z)) -> f(x, s(0), z)
f(0, s(0), s(0)) -> s(s(0))
f(s(x), s(y), s(z)) -> f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) -> f(0, y, s(0))
f(0, s(0), s(s(z))) -> f(0, s(0), z)
f(0, s(s(y)), s(s(z))) -> f(0, y, f(0, s(s(y)), s(z)))


Strategy:

innermost




The following dependency pair can be strictly oriented:

F(0, s(0), s(s(z))) -> F(0, s(0), z)


There are no usable rules for innermost w.r.t. to the AFS that need to be oriented.
Used ordering: Polynomial ordering with Polynomial interpretation:
  POL(0)=  0  
  POL(s(x1))=  1 + x1  
  POL(F(x1, x2, x3))=  1 + x1 + x2 + x3  

resulting in one new DP problem.
Used Argument Filtering System:
F(x1, x2, x3) -> F(x1, x2, x3)
s(x1) -> s(x1)


   R
DPs
       →DP Problem 1
AFS
       →DP Problem 2
AFS
           →DP Problem 6
Dependency Graph
       →DP Problem 3
AFS
       →DP Problem 4
AFS


Dependency Pair:


Rules:


f(x, 0, 0) -> s(x)
f(0, y, 0) -> s(y)
f(0, 0, z) -> s(z)
f(s(0), y, z) -> f(0, s(y), s(z))
f(s(x), s(y), 0) -> f(x, y, s(0))
f(s(x), 0, s(z)) -> f(x, s(0), z)
f(0, s(0), s(0)) -> s(s(0))
f(s(x), s(y), s(z)) -> f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) -> f(0, y, s(0))
f(0, s(0), s(s(z))) -> f(0, s(0), z)
f(0, s(s(y)), s(s(z))) -> f(0, y, f(0, s(s(y)), s(z)))


Strategy:

innermost




Using the Dependency Graph resulted in no new DP problems.


   R
DPs
       →DP Problem 1
AFS
       →DP Problem 2
AFS
       →DP Problem 3
Argument Filtering and Ordering
       →DP Problem 4
AFS


Dependency Pairs:

F(0, s(s(y)), s(s(z))) -> F(0, s(s(y)), s(z))
F(0, s(s(y)), s(s(z))) -> F(0, y, f(0, s(s(y)), s(z)))


Rules:


f(x, 0, 0) -> s(x)
f(0, y, 0) -> s(y)
f(0, 0, z) -> s(z)
f(s(0), y, z) -> f(0, s(y), s(z))
f(s(x), s(y), 0) -> f(x, y, s(0))
f(s(x), 0, s(z)) -> f(x, s(0), z)
f(0, s(0), s(0)) -> s(s(0))
f(s(x), s(y), s(z)) -> f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) -> f(0, y, s(0))
f(0, s(0), s(s(z))) -> f(0, s(0), z)
f(0, s(s(y)), s(s(z))) -> f(0, y, f(0, s(s(y)), s(z)))


Strategy:

innermost




The following dependency pair can be strictly oriented:

F(0, s(s(y)), s(s(z))) -> F(0, y, f(0, s(s(y)), s(z)))


There are no usable rules for innermost w.r.t. to the AFS that need to be oriented.
Used ordering: Polynomial ordering with Polynomial interpretation:
  POL(s(x1))=  1 + x1  

resulting in one new DP problem.
Used Argument Filtering System:
F(x1, x2, x3) -> x2
s(x1) -> s(x1)


   R
DPs
       →DP Problem 1
AFS
       →DP Problem 2
AFS
       →DP Problem 3
AFS
           →DP Problem 7
Argument Filtering and Ordering
       →DP Problem 4
AFS


Dependency Pair:

F(0, s(s(y)), s(s(z))) -> F(0, s(s(y)), s(z))


Rules:


f(x, 0, 0) -> s(x)
f(0, y, 0) -> s(y)
f(0, 0, z) -> s(z)
f(s(0), y, z) -> f(0, s(y), s(z))
f(s(x), s(y), 0) -> f(x, y, s(0))
f(s(x), 0, s(z)) -> f(x, s(0), z)
f(0, s(0), s(0)) -> s(s(0))
f(s(x), s(y), s(z)) -> f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) -> f(0, y, s(0))
f(0, s(0), s(s(z))) -> f(0, s(0), z)
f(0, s(s(y)), s(s(z))) -> f(0, y, f(0, s(s(y)), s(z)))


Strategy:

innermost




The following dependency pair can be strictly oriented:

F(0, s(s(y)), s(s(z))) -> F(0, s(s(y)), s(z))


There are no usable rules for innermost w.r.t. to the AFS that need to be oriented.
Used ordering: Polynomial ordering with Polynomial interpretation:
  POL(0)=  0  
  POL(s(x1))=  1 + x1  
  POL(F(x1, x2, x3))=  1 + x1 + x2 + x3  

resulting in one new DP problem.
Used Argument Filtering System:
F(x1, x2, x3) -> F(x1, x2, x3)
s(x1) -> s(x1)


   R
DPs
       →DP Problem 1
AFS
       →DP Problem 2
AFS
       →DP Problem 3
AFS
           →DP Problem 7
AFS
             ...
               →DP Problem 8
Dependency Graph
       →DP Problem 4
AFS


Dependency Pair:


Rules:


f(x, 0, 0) -> s(x)
f(0, y, 0) -> s(y)
f(0, 0, z) -> s(z)
f(s(0), y, z) -> f(0, s(y), s(z))
f(s(x), s(y), 0) -> f(x, y, s(0))
f(s(x), 0, s(z)) -> f(x, s(0), z)
f(0, s(0), s(0)) -> s(s(0))
f(s(x), s(y), s(z)) -> f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) -> f(0, y, s(0))
f(0, s(0), s(s(z))) -> f(0, s(0), z)
f(0, s(s(y)), s(s(z))) -> f(0, y, f(0, s(s(y)), s(z)))


Strategy:

innermost




Using the Dependency Graph resulted in no new DP problems.


   R
DPs
       →DP Problem 1
AFS
       →DP Problem 2
AFS
       →DP Problem 3
AFS
       →DP Problem 4
Argument Filtering and Ordering


Dependency Pairs:

F(s(x), s(y), s(z)) -> F(s(x), s(y), z)
F(s(x), s(y), s(z)) -> F(x, y, f(s(x), s(y), z))
F(s(x), 0, s(z)) -> F(x, s(0), z)
F(s(x), s(y), 0) -> F(x, y, s(0))


Rules:


f(x, 0, 0) -> s(x)
f(0, y, 0) -> s(y)
f(0, 0, z) -> s(z)
f(s(0), y, z) -> f(0, s(y), s(z))
f(s(x), s(y), 0) -> f(x, y, s(0))
f(s(x), 0, s(z)) -> f(x, s(0), z)
f(0, s(0), s(0)) -> s(s(0))
f(s(x), s(y), s(z)) -> f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) -> f(0, y, s(0))
f(0, s(0), s(s(z))) -> f(0, s(0), z)
f(0, s(s(y)), s(s(z))) -> f(0, y, f(0, s(s(y)), s(z)))


Strategy:

innermost




The following dependency pairs can be strictly oriented:

F(s(x), s(y), s(z)) -> F(x, y, f(s(x), s(y), z))
F(s(x), 0, s(z)) -> F(x, s(0), z)
F(s(x), s(y), 0) -> F(x, y, s(0))


There are no usable rules for innermost w.r.t. to the AFS that need to be oriented.
Used ordering: Polynomial ordering with Polynomial interpretation:
  POL(s(x1))=  1 + x1  

resulting in one new DP problem.
Used Argument Filtering System:
F(x1, x2, x3) -> x1
s(x1) -> s(x1)


   R
DPs
       →DP Problem 1
AFS
       →DP Problem 2
AFS
       →DP Problem 3
AFS
       →DP Problem 4
AFS
           →DP Problem 9
Argument Filtering and Ordering


Dependency Pair:

F(s(x), s(y), s(z)) -> F(s(x), s(y), z)


Rules:


f(x, 0, 0) -> s(x)
f(0, y, 0) -> s(y)
f(0, 0, z) -> s(z)
f(s(0), y, z) -> f(0, s(y), s(z))
f(s(x), s(y), 0) -> f(x, y, s(0))
f(s(x), 0, s(z)) -> f(x, s(0), z)
f(0, s(0), s(0)) -> s(s(0))
f(s(x), s(y), s(z)) -> f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) -> f(0, y, s(0))
f(0, s(0), s(s(z))) -> f(0, s(0), z)
f(0, s(s(y)), s(s(z))) -> f(0, y, f(0, s(s(y)), s(z)))


Strategy:

innermost




The following dependency pair can be strictly oriented:

F(s(x), s(y), s(z)) -> F(s(x), s(y), z)


There are no usable rules for innermost w.r.t. to the AFS that need to be oriented.
Used ordering: Polynomial ordering with Polynomial interpretation:
  POL(s(x1))=  1 + x1  
  POL(F(x1, x2, x3))=  x1 + x2 + x3  

resulting in one new DP problem.
Used Argument Filtering System:
F(x1, x2, x3) -> F(x1, x2, x3)
s(x1) -> s(x1)


   R
DPs
       →DP Problem 1
AFS
       →DP Problem 2
AFS
       →DP Problem 3
AFS
       →DP Problem 4
AFS
           →DP Problem 9
AFS
             ...
               →DP Problem 10
Dependency Graph


Dependency Pair:


Rules:


f(x, 0, 0) -> s(x)
f(0, y, 0) -> s(y)
f(0, 0, z) -> s(z)
f(s(0), y, z) -> f(0, s(y), s(z))
f(s(x), s(y), 0) -> f(x, y, s(0))
f(s(x), 0, s(z)) -> f(x, s(0), z)
f(0, s(0), s(0)) -> s(s(0))
f(s(x), s(y), s(z)) -> f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) -> f(0, y, s(0))
f(0, s(0), s(s(z))) -> f(0, s(0), z)
f(0, s(s(y)), s(s(z))) -> f(0, y, f(0, s(s(y)), s(z)))


Strategy:

innermost




Using the Dependency Graph resulted in no new DP problems.

Innermost Termination of R successfully shown.
Duration:
0:01 minutes