Term Rewriting System R:
[X, Y, Z, X1, X2]
a2nd(cons1(X, cons(Y, Z))) -> mark(Y)
a2nd(cons(X, X1)) -> a2nd(cons1(mark(X), mark(X1)))
a2nd(X) -> 2nd(X)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
mark(2nd(X)) -> a2nd(mark(X))
mark(from(X)) -> afrom(mark(X))
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
mark(cons1(X1, X2)) -> cons1(mark(X1), mark(X2))

Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

A2ND(cons1(X, cons(Y, Z))) -> MARK(Y)
A2ND(cons(X, X1)) -> A2ND(cons1(mark(X), mark(X1)))
A2ND(cons(X, X1)) -> MARK(X)
A2ND(cons(X, X1)) -> MARK(X1)
AFROM(X) -> MARK(X)
MARK(2nd(X)) -> A2ND(mark(X))
MARK(2nd(X)) -> MARK(X)
MARK(from(X)) -> AFROM(mark(X))
MARK(from(X)) -> MARK(X)
MARK(cons(X1, X2)) -> MARK(X1)
MARK(s(X)) -> MARK(X)
MARK(cons1(X1, X2)) -> MARK(X1)
MARK(cons1(X1, X2)) -> MARK(X2)

Furthermore, R contains one SCC.


   R
DPs
       →DP Problem 1
Narrowing Transformation


Dependency Pairs:

A2ND(cons(X, X1)) -> MARK(X1)
MARK(cons1(X1, X2)) -> MARK(X2)
MARK(cons1(X1, X2)) -> MARK(X1)
MARK(s(X)) -> MARK(X)
MARK(cons(X1, X2)) -> MARK(X1)
MARK(from(X)) -> MARK(X)
AFROM(X) -> MARK(X)
MARK(from(X)) -> AFROM(mark(X))
MARK(2nd(X)) -> MARK(X)
A2ND(cons(X, X1)) -> MARK(X)
A2ND(cons(X, X1)) -> A2ND(cons1(mark(X), mark(X1)))
MARK(2nd(X)) -> A2ND(mark(X))
A2ND(cons1(X, cons(Y, Z))) -> MARK(Y)


Rules:


a2nd(cons1(X, cons(Y, Z))) -> mark(Y)
a2nd(cons(X, X1)) -> a2nd(cons1(mark(X), mark(X1)))
a2nd(X) -> 2nd(X)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
mark(2nd(X)) -> a2nd(mark(X))
mark(from(X)) -> afrom(mark(X))
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
mark(cons1(X1, X2)) -> cons1(mark(X1), mark(X2))





On this DP problem, a Narrowing SCC transformation can be performed.
As a result of transforming the rule

A2ND(cons(X, X1)) -> A2ND(cons1(mark(X), mark(X1)))
10 new Dependency Pairs are created:

A2ND(cons(2nd(X''), X1)) -> A2ND(cons1(a2nd(mark(X'')), mark(X1)))
A2ND(cons(from(X''), X1)) -> A2ND(cons1(afrom(mark(X'')), mark(X1)))
A2ND(cons(cons(X1'', X2'), X1)) -> A2ND(cons1(cons(mark(X1''), X2'), mark(X1)))
A2ND(cons(s(X''), X1)) -> A2ND(cons1(s(mark(X'')), mark(X1)))
A2ND(cons(cons1(X1'', X2'), X1)) -> A2ND(cons1(cons1(mark(X1''), mark(X2')), mark(X1)))
A2ND(cons(X, 2nd(X''))) -> A2ND(cons1(mark(X), a2nd(mark(X''))))
A2ND(cons(X, from(X''))) -> A2ND(cons1(mark(X), afrom(mark(X''))))
A2ND(cons(X, cons(X1'', X2'))) -> A2ND(cons1(mark(X), cons(mark(X1''), X2')))
A2ND(cons(X, s(X''))) -> A2ND(cons1(mark(X), s(mark(X''))))
A2ND(cons(X, cons1(X1'', X2'))) -> A2ND(cons1(mark(X), cons1(mark(X1''), mark(X2'))))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
Nar
           →DP Problem 2
Narrowing Transformation


Dependency Pairs:

A2ND(cons(X, cons(X1'', X2'))) -> A2ND(cons1(mark(X), cons(mark(X1''), X2')))
A2ND(cons(X, from(X''))) -> A2ND(cons1(mark(X), afrom(mark(X''))))
A2ND(cons(X, 2nd(X''))) -> A2ND(cons1(mark(X), a2nd(mark(X''))))
A2ND(cons(cons1(X1'', X2'), X1)) -> A2ND(cons1(cons1(mark(X1''), mark(X2')), mark(X1)))
A2ND(cons(s(X''), X1)) -> A2ND(cons1(s(mark(X'')), mark(X1)))
A2ND(cons(cons(X1'', X2'), X1)) -> A2ND(cons1(cons(mark(X1''), X2'), mark(X1)))
A2ND(cons(from(X''), X1)) -> A2ND(cons1(afrom(mark(X'')), mark(X1)))
A2ND(cons(2nd(X''), X1)) -> A2ND(cons1(a2nd(mark(X'')), mark(X1)))
A2ND(cons(X, X1)) -> MARK(X)
MARK(cons1(X1, X2)) -> MARK(X2)
MARK(cons1(X1, X2)) -> MARK(X1)
MARK(s(X)) -> MARK(X)
MARK(cons(X1, X2)) -> MARK(X1)
MARK(from(X)) -> MARK(X)
AFROM(X) -> MARK(X)
MARK(from(X)) -> AFROM(mark(X))
MARK(2nd(X)) -> MARK(X)
A2ND(cons1(X, cons(Y, Z))) -> MARK(Y)
MARK(2nd(X)) -> A2ND(mark(X))
A2ND(cons(X, X1)) -> MARK(X1)


Rules:


a2nd(cons1(X, cons(Y, Z))) -> mark(Y)
a2nd(cons(X, X1)) -> a2nd(cons1(mark(X), mark(X1)))
a2nd(X) -> 2nd(X)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
mark(2nd(X)) -> a2nd(mark(X))
mark(from(X)) -> afrom(mark(X))
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
mark(cons1(X1, X2)) -> cons1(mark(X1), mark(X2))





On this DP problem, a Narrowing SCC transformation can be performed.
As a result of transforming the rule

MARK(2nd(X)) -> A2ND(mark(X))
five new Dependency Pairs are created:

MARK(2nd(2nd(X''))) -> A2ND(a2nd(mark(X'')))
MARK(2nd(from(X''))) -> A2ND(afrom(mark(X'')))
MARK(2nd(cons(X1', X2'))) -> A2ND(cons(mark(X1'), X2'))
MARK(2nd(s(X''))) -> A2ND(s(mark(X'')))
MARK(2nd(cons1(X1', X2'))) -> A2ND(cons1(mark(X1'), mark(X2')))

The transformation is resulting in one new DP problem:



   R
DPs
       →DP Problem 1
Nar
           →DP Problem 2
Nar
             ...
               →DP Problem 3
Remaining Obligation(s)




The following remains to be proven:
Dependency Pairs:

MARK(2nd(cons1(X1', X2'))) -> A2ND(cons1(mark(X1'), mark(X2')))
A2ND(cons(X, from(X''))) -> A2ND(cons1(mark(X), afrom(mark(X''))))
A2ND(cons(X, 2nd(X''))) -> A2ND(cons1(mark(X), a2nd(mark(X''))))
A2ND(cons(cons1(X1'', X2'), X1)) -> A2ND(cons1(cons1(mark(X1''), mark(X2')), mark(X1)))
A2ND(cons(s(X''), X1)) -> A2ND(cons1(s(mark(X'')), mark(X1)))
A2ND(cons(cons(X1'', X2'), X1)) -> A2ND(cons1(cons(mark(X1''), X2'), mark(X1)))
A2ND(cons(from(X''), X1)) -> A2ND(cons1(afrom(mark(X'')), mark(X1)))
A2ND(cons(2nd(X''), X1)) -> A2ND(cons1(a2nd(mark(X'')), mark(X1)))
MARK(2nd(cons(X1', X2'))) -> A2ND(cons(mark(X1'), X2'))
A2ND(cons(X, X1)) -> MARK(X1)
MARK(2nd(from(X''))) -> A2ND(afrom(mark(X'')))
A2ND(cons(X, X1)) -> MARK(X)
MARK(2nd(2nd(X''))) -> A2ND(a2nd(mark(X'')))
MARK(cons1(X1, X2)) -> MARK(X2)
MARK(cons1(X1, X2)) -> MARK(X1)
MARK(s(X)) -> MARK(X)
MARK(cons(X1, X2)) -> MARK(X1)
MARK(from(X)) -> MARK(X)
AFROM(X) -> MARK(X)
MARK(from(X)) -> AFROM(mark(X))
MARK(2nd(X)) -> MARK(X)
A2ND(cons1(X, cons(Y, Z))) -> MARK(Y)
A2ND(cons(X, cons(X1'', X2'))) -> A2ND(cons1(mark(X), cons(mark(X1''), X2')))


Rules:


a2nd(cons1(X, cons(Y, Z))) -> mark(Y)
a2nd(cons(X, X1)) -> a2nd(cons1(mark(X), mark(X1)))
a2nd(X) -> 2nd(X)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
mark(2nd(X)) -> a2nd(mark(X))
mark(from(X)) -> afrom(mark(X))
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
mark(cons1(X1, X2)) -> cons1(mark(X1), mark(X2))




The Proof could not be continued due to a Timeout.
Termination of R could not be shown.
Duration:
1:00 minutes