YES
The TRS could be proven terminating. The proof took 445 ms.
Problem 1 was processed with processor DependencyGraph (15ms). | Problem 2 was processed with processor PolynomialLinearRange4 (92ms). | | Problem 3 was processed with processor PolynomialLinearRange4 (13ms). | | | Problem 4 was processed with processor PolynomialLinearRange4 (76ms).
T(first(x_1, x_2)) | → | T(x_2) | T(first(X, Z)) | → | first#(X, Z) | |
T(s(x_1)) | → | T(x_1) | T(from(x_1)) | → | T(x_1) | |
T(first(x_1, x_2)) | → | T(x_1) | T(from(s(X))) | → | from#(s(X)) |
first(0, X) | → | nil | first(s(X), cons(Y, Z)) | → | cons(Y, first(X, Z)) | |
from(X) | → | cons(X, from(s(X))) |
Termination of terms over the following signature is verified: 0, s, from, first, nil, cons
Context-sensitive strategy:
μ(T) = μ(0) = μ(nil) = ∅
μ(from#) = μ(s) = μ(from) = μ(cons) = {1}
μ(first#) = μ(first) = {1, 2}
T(first(x_1, x_2)) → T(x_2) | T(s(x_1)) → T(x_1) |
T(from(x_1)) → T(x_1) | T(first(x_1, x_2)) → T(x_1) |
T(first(x_1, x_2)) | → | T(x_2) | T(s(x_1)) | → | T(x_1) | |
T(from(x_1)) | → | T(x_1) | T(first(x_1, x_2)) | → | T(x_1) |
first(0, X) | → | nil | first(s(X), cons(Y, Z)) | → | cons(Y, first(X, Z)) | |
from(X) | → | cons(X, from(s(X))) |
Termination of terms over the following signature is verified: 0, s, from, first, nil, cons
Context-sensitive strategy:
μ(T) = μ(0) = μ(nil) = ∅
μ(s) = μ(from#) = μ(from) = μ(cons) = {1}
μ(first#) = μ(first) = {1, 2}
There are no usable rules
The following dependency pairs are strictly oriented by an ordering on the given polynomial interpretation, thus they are removed:
T(first(x_1, x_2)) | → | T(x_2) | T(first(x_1, x_2)) | → | T(x_1) |
T(s(x_1)) | → | T(x_1) | T(from(x_1)) | → | T(x_1) |
first(0, X) | → | nil | first(s(X), cons(Y, Z)) | → | cons(Y, first(X, Z)) | |
from(X) | → | cons(X, from(s(X))) |
Termination of terms over the following signature is verified: 0, s, from, first, cons, nil
Context-sensitive strategy:
μ(T) = μ(0) = μ(nil) = ∅
μ(from#) = μ(s) = μ(from) = μ(cons) = {1}
μ(first#) = μ(first) = {1, 2}
There are no usable rules
The following dependency pairs are strictly oriented by an ordering on the given polynomial interpretation, thus they are removed:
T(from(x_1)) | → | T(x_1) |
T(s(x_1)) | → | T(x_1) |
first(0, X) | → | nil | first(s(X), cons(Y, Z)) | → | cons(Y, first(X, Z)) | |
from(X) | → | cons(X, from(s(X))) |
Termination of terms over the following signature is verified: 0, s, from, first, nil, cons
Context-sensitive strategy:
μ(T) = μ(0) = μ(nil) = ∅
μ(s) = μ(from#) = μ(from) = μ(cons) = {1}
μ(first#) = μ(first) = {1, 2}
There are no usable rules
The following dependency pairs are strictly oriented by an ordering on the given polynomial interpretation, thus they are removed:
T(s(x_1)) | → | T(x_1) |