TIMEOUT

The TRS could not be proven terminating. The proof attempt took 60167 ms.

The following DP Processors were used


Problem 1 was processed with processor DependencyGraph (495ms).
 | – Problem 2 was processed with processor SubtermCriterion (1ms).
 | – Problem 3 was processed with processor SubtermCriterion (1ms).
 |    | – Problem 7 was processed with processor ReductionPairSAT (125ms).
 |    |    | – Problem 10 was processed with processor ReductionPairSAT (40ms).
 | – Problem 4 was processed with processor SubtermCriterion (1ms).
 |    | – Problem 8 was processed with processor ReductionPairSAT (46ms).
 |    |    | – Problem 11 was processed with processor ReductionPairSAT (64ms).
 | – Problem 5 was processed with processor SubtermCriterion (1ms).
 | – Problem 6 was processed with processor ReductionPairSAT (1615ms).
 |    | – Problem 9 was processed with processor ReductionPairSAT (1903ms).
 |    |    | – Problem 12 was processed with processor ReductionPairSAT (1686ms).
 |    |    |    | – Problem 13 was processed with processor ForwardNarrowing (8ms).
 |    |    |    |    | – Problem 14 was processed with processor ForwardNarrowing (10ms).
 |    |    |    |    |    | – Problem 15 was processed with processor ForwardNarrowing (10ms).
 |    |    |    |    |    |    | – Problem 16 was processed with processor ForwardNarrowing (9ms).
 |    |    |    |    |    |    |    | – Problem 17 was processed with processor ForwardNarrowing (7ms).
 |    |    |    |    |    |    |    |    | – Problem 18 was processed with processor ForwardNarrowing (17ms).
 |    |    |    |    |    |    |    |    |    | – Problem 19 was processed with processor ForwardNarrowing (11ms).
 |    |    |    |    |    |    |    |    |    |    | – Problem 20 was processed with processor ForwardNarrowing (11ms).
 |    |    |    |    |    |    |    |    |    |    |    | – Problem 21 was processed with processor ForwardNarrowing (12ms).
 |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 22 was processed with processor ForwardNarrowing (19ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 23 was processed with processor ForwardNarrowing (56ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 24 was processed with processor ForwardNarrowing (28ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 25 was processed with processor ForwardNarrowing (26ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 26 was processed with processor ForwardNarrowing (69ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 27 was processed with processor ForwardNarrowing (32ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 28 was processed with processor ForwardNarrowing (100ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 29 was processed with processor ForwardNarrowing (41ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 30 was processed with processor ForwardNarrowing (121ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 31 was processed with processor ForwardNarrowing (84ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 32 was processed with processor ForwardNarrowing (155ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 33 was processed with processor ForwardNarrowing (311ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 34 remains open; application of the following processors failed [ForwardNarrowing (197ms), ForwardNarrowing (130ms), ForwardNarrowing (150ms), ForwardNarrowing (356ms), ForwardNarrowing (189ms), ForwardNarrowing (460ms), ForwardNarrowing (200ms), ForwardNarrowing (351ms), ForwardNarrowing (456ms), ForwardNarrowing (584ms), ForwardNarrowing (488ms), ForwardNarrowing (179ms), ForwardNarrowing (650ms), ForwardNarrowing (588ms), ForwardNarrowing (787ms), ForwardNarrowing (262ms), ForwardNarrowing (676ms), ForwardNarrowing (436ms), ForwardNarrowing (574ms), ForwardNarrowing (608ms), ForwardNarrowing (737ms), ForwardNarrowing (695ms), ForwardNarrowing (122ms), ForwardNarrowing (208ms), ForwardNarrowing (211ms), ForwardNarrowing (777ms), ForwardNarrowing (824ms), ForwardNarrowing (545ms), ForwardNarrowing (469ms), ForwardNarrowing (693ms), ForwardNarrowing (1011ms), ForwardNarrowing (712ms), ForwardNarrowing (862ms), ForwardNarrowing (867ms), ForwardNarrowing (972ms), ForwardNarrowing (141ms), ForwardNarrowing (297ms), ForwardNarrowing (476ms), ForwardNarrowing (1068ms), ForwardNarrowing (346ms), ForwardNarrowing (1117ms), ForwardNarrowing (1217ms), ForwardNarrowing (610ms), ForwardNarrowing (1267ms)].

The following open problems remain:



Open Dependency Pair Problem 13

Dependency Pairs

active#(after(s(N), cons(X, XS)))mark#(after(N, XS))mark#(after(X1, X2))active#(after(mark(X1), mark(X2)))
mark#(from(X))active#(from(mark(X)))mark#(from(X))mark#(X)
mark#(cons(X1, X2))mark#(X1)mark#(after(X1, X2))mark#(X1)
mark#(s(X))mark#(X)active#(from(X))mark#(cons(X, from(s(X))))
active#(after(0, XS))mark#(XS)mark#(after(X1, X2))mark#(X2)

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons


Problem 1: DependencyGraph



Dependency Pair Problem

Dependency Pairs

mark#(cons(X1, X2))active#(cons(mark(X1), X2))cons#(mark(X1), X2)cons#(X1, X2)
from#(mark(X))from#(X)mark#(s(X))s#(mark(X))
active#(after(s(N), cons(X, XS)))mark#(after(N, XS))mark#(after(X1, X2))after#(mark(X1), mark(X2))
active#(from(X))cons#(X, from(s(X)))cons#(X1, mark(X2))cons#(X1, X2)
mark#(s(X))mark#(X)mark#(cons(X1, X2))cons#(mark(X1), X2)
active#(after(0, XS))mark#(XS)after#(active(X1), X2)after#(X1, X2)
after#(X1, active(X2))after#(X1, X2)mark#(0)active#(0)
mark#(s(X))active#(s(mark(X)))after#(X1, mark(X2))after#(X1, X2)
mark#(from(X))mark#(X)mark#(cons(X1, X2))mark#(X1)
cons#(active(X1), X2)cons#(X1, X2)mark#(after(X1, X2))mark#(X1)
active#(from(X))mark#(cons(X, from(s(X))))s#(mark(X))s#(X)
active#(from(X))s#(X)cons#(X1, active(X2))cons#(X1, X2)
mark#(from(X))from#(mark(X))mark#(after(X1, X2))active#(after(mark(X1), mark(X2)))
mark#(from(X))active#(from(mark(X)))from#(active(X))from#(X)
active#(after(s(N), cons(X, XS)))after#(N, XS)s#(active(X))s#(X)
mark#(after(X1, X2))mark#(X2)active#(from(X))from#(s(X))
after#(mark(X1), X2)after#(X1, X2)

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The following SCCs where found

after#(X1, active(X2)) → after#(X1, X2)after#(X1, mark(X2)) → after#(X1, X2)
after#(active(X1), X2) → after#(X1, X2)after#(mark(X1), X2) → after#(X1, X2)

from#(active(X)) → from#(X)from#(mark(X)) → from#(X)

mark#(cons(X1, X2)) → active#(cons(mark(X1), X2))mark#(0) → active#(0)
mark#(s(X)) → active#(s(mark(X)))mark#(from(X)) → mark#(X)
mark#(cons(X1, X2)) → mark#(X1)mark#(after(X1, X2)) → mark#(X1)
active#(from(X)) → mark#(cons(X, from(s(X))))active#(after(s(N), cons(X, XS))) → mark#(after(N, XS))
mark#(from(X)) → active#(from(mark(X)))mark#(after(X1, X2)) → active#(after(mark(X1), mark(X2)))
mark#(s(X)) → mark#(X)active#(after(0, XS)) → mark#(XS)
mark#(after(X1, X2)) → mark#(X2)

s#(mark(X)) → s#(X)s#(active(X)) → s#(X)

cons#(X1, active(X2)) → cons#(X1, X2)cons#(mark(X1), X2) → cons#(X1, X2)
cons#(X1, mark(X2)) → cons#(X1, X2)cons#(active(X1), X2) → cons#(X1, X2)

Problem 2: SubtermCriterion



Dependency Pair Problem

Dependency Pairs

from#(active(X))from#(X)from#(mark(X))from#(X)

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


Projection

The following projection was used:

Thus, the following dependency pairs are removed:

from#(active(X))from#(X)from#(mark(X))from#(X)

Problem 3: SubtermCriterion



Dependency Pair Problem

Dependency Pairs

cons#(X1, active(X2))cons#(X1, X2)cons#(mark(X1), X2)cons#(X1, X2)
cons#(X1, mark(X2))cons#(X1, X2)cons#(active(X1), X2)cons#(X1, X2)

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


Projection

The following projection was used:

Thus, the following dependency pairs are removed:

cons#(mark(X1), X2)cons#(X1, X2)cons#(active(X1), X2)cons#(X1, X2)

Problem 7: ReductionPairSAT



Dependency Pair Problem

Dependency Pairs

cons#(X1, active(X2))cons#(X1, X2)cons#(X1, mark(X2))cons#(X1, X2)

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


Function Precedence

active = mark < after = cons# = 0 = s = from = cons

Argument Filtering

after: collapses to 1
cons#: collapses to 2
0: all arguments are removed from 0
s: all arguments are removed from s
active: collapses to 1
mark: 1
from: 1
cons: 1 2

Status

0: multiset
s: multiset
mark: multiset
from: lexicographic with permutation 1 → 1
cons: lexicographic with permutation 1 → 2 2 → 1

Usable Rules

There are no usable rules.

The dependency pairs and usable rules are stronlgy conservative!

Eliminated dependency pairs

The following dependency pairs (at least) can be eliminated according to the given precedence.

cons#(X1, mark(X2)) → cons#(X1, X2)

Problem 10: ReductionPairSAT



Dependency Pair Problem

Dependency Pairs

cons#(X1, active(X2))cons#(X1, X2)

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


Function Precedence

active < after = cons# = 0 = s = mark = from = cons

Argument Filtering

after: all arguments are removed from after
cons#: collapses to 2
0: all arguments are removed from 0
s: all arguments are removed from s
active: 1
mark: all arguments are removed from mark
from: 1
cons: 1 2

Status

after: multiset
0: multiset
s: multiset
active: multiset
mark: multiset
from: lexicographic with permutation 1 → 1
cons: lexicographic with permutation 1 → 2 2 → 1

Usable Rules

There are no usable rules.

The dependency pairs and usable rules are stronlgy conservative!

Eliminated dependency pairs

The following dependency pairs (at least) can be eliminated according to the given precedence.

cons#(X1, active(X2)) → cons#(X1, X2)

Problem 4: SubtermCriterion



Dependency Pair Problem

Dependency Pairs

after#(X1, active(X2))after#(X1, X2)after#(X1, mark(X2))after#(X1, X2)
after#(active(X1), X2)after#(X1, X2)after#(mark(X1), X2)after#(X1, X2)

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


Projection

The following projection was used:

Thus, the following dependency pairs are removed:

after#(active(X1), X2)after#(X1, X2)after#(mark(X1), X2)after#(X1, X2)

Problem 8: ReductionPairSAT



Dependency Pair Problem

Dependency Pairs

after#(X1, active(X2))after#(X1, X2)after#(X1, mark(X2))after#(X1, X2)

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


Function Precedence

active = mark < after = after# = 0 = s = from = cons

Argument Filtering

after: collapses to 1
after#: collapses to 2
0: all arguments are removed from 0
s: all arguments are removed from s
active: collapses to 1
mark: 1
from: 1
cons: 1 2

Status

0: multiset
s: multiset
mark: multiset
from: lexicographic with permutation 1 → 1
cons: lexicographic with permutation 1 → 2 2 → 1

Usable Rules

There are no usable rules.

The dependency pairs and usable rules are stronlgy conservative!

Eliminated dependency pairs

The following dependency pairs (at least) can be eliminated according to the given precedence.

after#(X1, mark(X2)) → after#(X1, X2)

Problem 11: ReductionPairSAT



Dependency Pair Problem

Dependency Pairs

after#(X1, active(X2))after#(X1, X2)

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


Function Precedence

active < after = after# = 0 = s = mark = from = cons

Argument Filtering

after: all arguments are removed from after
after#: collapses to 2
0: all arguments are removed from 0
s: all arguments are removed from s
active: 1
mark: all arguments are removed from mark
from: 1
cons: 1 2

Status

after: multiset
0: multiset
s: multiset
active: multiset
mark: multiset
from: lexicographic with permutation 1 → 1
cons: lexicographic with permutation 1 → 2 2 → 1

Usable Rules

There are no usable rules.

The dependency pairs and usable rules are stronlgy conservative!

Eliminated dependency pairs

The following dependency pairs (at least) can be eliminated according to the given precedence.

after#(X1, active(X2)) → after#(X1, X2)

Problem 5: SubtermCriterion



Dependency Pair Problem

Dependency Pairs

s#(mark(X))s#(X)s#(active(X))s#(X)

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


Projection

The following projection was used:

Thus, the following dependency pairs are removed:

s#(mark(X))s#(X)s#(active(X))s#(X)

Problem 6: ReductionPairSAT



Dependency Pair Problem

Dependency Pairs

mark#(0)active#(0)mark#(cons(X1, X2))active#(cons(mark(X1), X2))
mark#(s(X))active#(s(mark(X)))mark#(from(X))mark#(X)
mark#(cons(X1, X2))mark#(X1)mark#(after(X1, X2))mark#(X1)
active#(from(X))mark#(cons(X, from(s(X))))active#(after(s(N), cons(X, XS)))mark#(after(N, XS))
mark#(after(X1, X2))active#(after(mark(X1), mark(X2)))mark#(from(X))active#(from(mark(X)))
mark#(s(X))mark#(X)active#(after(0, XS))mark#(XS)
mark#(after(X1, X2))mark#(X2)

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


Function Precedence

active = mark < after = 0 = s = from = active# = mark# = cons

Argument Filtering

after: all arguments are removed from after
0: all arguments are removed from 0
s: all arguments are removed from s
active: all arguments are removed from active
mark: all arguments are removed from mark
from: all arguments are removed from from
active#: collapses to 1
mark#: all arguments are removed from mark#
cons: all arguments are removed from cons

Status

after: multiset
0: multiset
s: multiset
active: multiset
mark: multiset
from: multiset
mark#: multiset
cons: multiset

Usable Rules

after(X1, mark(X2)) → after(X1, X2)cons(active(X1), X2) → cons(X1, X2)
from(mark(X)) → from(X)active(after(0, XS)) → mark(XS)
active(after(s(N), cons(X, XS))) → mark(after(N, XS))mark(s(X)) → active(s(mark(X)))
after(X1, active(X2)) → after(X1, X2)after(active(X1), X2) → after(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)cons(mark(X1), X2) → cons(X1, X2)
mark(from(X)) → active(from(mark(X)))mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(after(X1, X2)) → active(after(mark(X1), mark(X2)))after(mark(X1), X2) → after(X1, X2)
s(mark(X)) → s(X)active(from(X)) → mark(cons(X, from(s(X))))
mark(0) → active(0)s(active(X)) → s(X)
from(active(X)) → from(X)cons(X1, active(X2)) → cons(X1, X2)

The dependency pairs and usable rules are stronlgy conservative!

Eliminated dependency pairs

The following dependency pairs (at least) can be eliminated according to the given precedence.

mark#(0) → active#(0)

Problem 9: ReductionPairSAT



Dependency Pair Problem

Dependency Pairs

active#(after(s(N), cons(X, XS)))mark#(after(N, XS))mark#(cons(X1, X2))active#(cons(mark(X1), X2))
mark#(s(X))active#(s(mark(X)))mark#(from(X))active#(from(mark(X)))
mark#(after(X1, X2))active#(after(mark(X1), mark(X2)))mark#(from(X))mark#(X)
mark#(cons(X1, X2))mark#(X1)mark#(s(X))mark#(X)
mark#(after(X1, X2))mark#(X1)active#(from(X))mark#(cons(X, from(s(X))))
active#(after(0, XS))mark#(XS)mark#(after(X1, X2))mark#(X2)

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


Function Precedence

active < after = mark = from = active# = mark# < 0 = s = cons

Argument Filtering

after: all arguments are removed from after
0: all arguments are removed from 0
s: all arguments are removed from s
active: collapses to 1
mark: all arguments are removed from mark
from: all arguments are removed from from
active#: collapses to 1
mark#: all arguments are removed from mark#
cons: all arguments are removed from cons

Status

after: multiset
0: multiset
s: multiset
mark: multiset
from: multiset
mark#: multiset
cons: multiset

Usable Rules

after(X1, mark(X2)) → after(X1, X2)cons(active(X1), X2) → cons(X1, X2)
from(mark(X)) → from(X)active(after(0, XS)) → mark(XS)
active(after(s(N), cons(X, XS))) → mark(after(N, XS))mark(s(X)) → active(s(mark(X)))
after(X1, active(X2)) → after(X1, X2)after(active(X1), X2) → after(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)cons(mark(X1), X2) → cons(X1, X2)
mark(from(X)) → active(from(mark(X)))mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(after(X1, X2)) → active(after(mark(X1), mark(X2)))after(mark(X1), X2) → after(X1, X2)
s(mark(X)) → s(X)active(from(X)) → mark(cons(X, from(s(X))))
mark(0) → active(0)s(active(X)) → s(X)
from(active(X)) → from(X)cons(X1, active(X2)) → cons(X1, X2)

The dependency pairs and usable rules are stronlgy conservative!

Eliminated dependency pairs

The following dependency pairs (at least) can be eliminated according to the given precedence.

mark#(cons(X1, X2)) → active#(cons(mark(X1), X2))

Problem 12: ReductionPairSAT



Dependency Pair Problem

Dependency Pairs

active#(after(s(N), cons(X, XS)))mark#(after(N, XS))mark#(s(X))active#(s(mark(X)))
mark#(after(X1, X2))active#(after(mark(X1), mark(X2)))mark#(from(X))active#(from(mark(X)))
mark#(from(X))mark#(X)mark#(cons(X1, X2))mark#(X1)
mark#(after(X1, X2))mark#(X1)mark#(s(X))mark#(X)
active#(from(X))mark#(cons(X, from(s(X))))active#(after(0, XS))mark#(XS)
mark#(after(X1, X2))mark#(X2)

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


Function Precedence

active# < active < after = mark = from = mark# < 0 = s = cons

Argument Filtering

after: all arguments are removed from after
0: all arguments are removed from 0
s: all arguments are removed from s
active: collapses to 1
mark: all arguments are removed from mark
from: all arguments are removed from from
active#: collapses to 1
mark#: all arguments are removed from mark#
cons: all arguments are removed from cons

Status

after: multiset
0: multiset
s: multiset
mark: multiset
from: multiset
mark#: multiset
cons: multiset

Usable Rules

after(X1, mark(X2)) → after(X1, X2)cons(active(X1), X2) → cons(X1, X2)
from(mark(X)) → from(X)active(after(0, XS)) → mark(XS)
active(after(s(N), cons(X, XS))) → mark(after(N, XS))mark(s(X)) → active(s(mark(X)))
after(X1, active(X2)) → after(X1, X2)after(active(X1), X2) → after(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)cons(mark(X1), X2) → cons(X1, X2)
mark(from(X)) → active(from(mark(X)))mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(after(X1, X2)) → active(after(mark(X1), mark(X2)))after(mark(X1), X2) → after(X1, X2)
s(mark(X)) → s(X)active(from(X)) → mark(cons(X, from(s(X))))
mark(0) → active(0)s(active(X)) → s(X)
from(active(X)) → from(X)cons(X1, active(X2)) → cons(X1, X2)

The dependency pairs and usable rules are stronlgy conservative!

Eliminated dependency pairs

The following dependency pairs (at least) can be eliminated according to the given precedence.

mark#(s(X)) → active#(s(mark(X)))

Problem 13: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

active#(after(s(N), cons(X, XS)))mark#(after(N, XS))mark#(from(X))active#(from(mark(X)))
mark#(after(X1, X2))active#(after(mark(X1), mark(X2)))mark#(from(X))mark#(X)
mark#(cons(X1, X2))mark#(X1)mark#(s(X))mark#(X)
mark#(after(X1, X2))mark#(X1)active#(from(X))mark#(cons(X, from(s(X))))
active#(after(0, XS))mark#(XS)mark#(after(X1, X2))mark#(X2)

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(X1, X2)) → active#(after(mark(X1), mark(X2))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(after(mark(_x31), mark(_x32))), mark(X2))) 
active#(after(mark(X1), active(s(mark(_x41))))) 
active#(after(mark(X1), active(0))) 
active#(after(_x21, mark(X2))) 
active#(after(active(0), mark(X2))) 
active#(after(mark(X1), active(from(mark(_x41))))) 
active#(after(active(from(mark(_x31))), mark(X2))) 
active#(after(mark(X1), active(cons(mark(_x41), _x42)))) 
active#(after(mark(X1), active(after(mark(_x41), mark(_x42))))) 
active#(after(active(cons(mark(_x31), _x32)), mark(X2))) 
active#(after(active(s(mark(_x31))), mark(X2))) 
active#(after(mark(X1), _x22)) 
Thus, the rule mark#(after(X1, X2)) → active#(after(mark(X1), mark(X2))) is replaced by the following rules:
mark#(after(X1, 0)) → active#(after(mark(X1), active(0)))mark#(after(X1, _x22)) → active#(after(mark(X1), _x22))
mark#(after(X1, s(_x41))) → active#(after(mark(X1), active(s(mark(_x41)))))mark#(after(from(_x31), X2)) → active#(after(active(from(mark(_x31))), mark(X2)))
mark#(after(X1, after(_x41, _x42))) → active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))mark#(after(cons(_x31, _x32), X2)) → active#(after(active(cons(mark(_x31), _x32)), mark(X2)))
mark#(after(0, X2)) → active#(after(active(0), mark(X2)))mark#(after(X1, from(_x41))) → active#(after(mark(X1), active(from(mark(_x41)))))
mark#(after(after(_x31, _x32), X2)) → active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))mark#(after(s(_x31), X2)) → active#(after(active(s(mark(_x31))), mark(X2)))
mark#(after(X1, cons(_x41, _x42))) → active#(after(mark(X1), active(cons(mark(_x41), _x42))))mark#(after(_x21, X2)) → active#(after(_x21, mark(X2)))

Problem 14: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(X1, s(_x41)))active#(after(mark(X1), active(s(mark(_x41)))))mark#(from(X))mark#(X)
mark#(after(from(_x31), X2))active#(after(active(from(mark(_x31))), mark(X2)))mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))
mark#(cons(X1, X2))mark#(X1)mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))
mark#(after(X1, X2))mark#(X1)active#(from(X))mark#(cons(X, from(s(X))))
mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))
active#(after(s(N), cons(X, XS)))mark#(after(N, XS))mark#(after(X1, 0))active#(after(mark(X1), active(0)))
mark#(after(X1, _x22))active#(after(mark(X1), _x22))mark#(from(X))active#(from(mark(X)))
mark#(after(0, X2))active#(after(active(0), mark(X2)))mark#(s(X))mark#(X)
mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))
active#(after(0, XS))mark#(XS)mark#(after(X1, X2))mark#(X2)
mark#(after(_x21, X2))active#(after(_x21, mark(X2)))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(X1, s(_x41))) → active#(after(mark(X1), active(s(mark(_x41))))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72)))))) 
active#(after(mark(X1), active(s(_x61)))) 
active#(after(active(0), active(s(mark(_x41))))) 
active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72))))))) 
active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41))))) 
active#(after(mark(X1), active(s(active(s(mark(_x71))))))) 
active#(after(mark(X1), active(s(active(0))))) 
active#(after(mark(X1), active(s(active(from(mark(_x71))))))) 
active#(after(mark(X1), s(mark(_x41)))) 
active#(after(active(from(mark(_x31))), active(s(mark(_x41))))) 
active#(after(_x21, active(s(mark(_x41))))) 
active#(after(active(s(mark(_x31))), active(s(mark(_x41))))) 
active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41))))) 
Thus, the rule mark#(after(X1, s(_x41))) → active#(after(mark(X1), active(s(mark(_x41))))) is replaced by the following rules:
mark#(after(_x21, s(_x41))) → active#(after(_x21, active(s(mark(_x41)))))mark#(after(cons(_x31, _x32), s(_x41))) → active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))
mark#(after(s(_x31), s(_x41))) → active#(after(active(s(mark(_x31))), active(s(mark(_x41)))))mark#(after(X1, s(_x61))) → active#(after(mark(X1), active(s(_x61))))
mark#(after(0, s(_x41))) → active#(after(active(0), active(s(mark(_x41)))))mark#(after(X1, s(_x41))) → active#(after(mark(X1), s(mark(_x41))))
mark#(after(X1, s(cons(_x71, _x72)))) → active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))mark#(after(X1, s(after(_x71, _x72)))) → active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(X1, s(0))) → active#(after(mark(X1), active(s(active(0)))))mark#(after(after(_x31, _x32), s(_x41))) → active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))
mark#(after(X1, s(s(_x71)))) → active#(after(mark(X1), active(s(active(s(mark(_x71)))))))mark#(after(from(_x31), s(_x41))) → active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))
mark#(after(X1, s(from(_x71)))) → active#(after(mark(X1), active(s(active(from(mark(_x71)))))))

Problem 15: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x31), X2))active#(after(active(from(mark(_x31))), mark(X2)))mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))
mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), active(s(mark(_x41)))))
mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))
mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))active#(after(s(N), cons(X, XS)))mark#(after(N, XS))
mark#(after(X1, 0))active#(after(mark(X1), active(0)))mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))
mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))
mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))mark#(s(X))mark#(X)
active#(after(0, XS))mark#(XS)mark#(after(_x21, X2))active#(after(_x21, mark(X2)))
mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))mark#(from(X))mark#(X)
mark#(cons(X1, X2))mark#(X1)mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))
mark#(after(X1, X2))mark#(X1)active#(from(X))mark#(cons(X, from(s(X))))
mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))
mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))mark#(after(X1, _x22))active#(after(mark(X1), _x22))
mark#(from(X))active#(from(mark(X)))mark#(after(0, X2))active#(after(active(0), mark(X2)))
mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))
mark#(after(X1, X2))mark#(X2)

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(from(_x31), X2)) → active#(after(active(from(mark(_x31))), mark(X2))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2))) 
active#(after(from(mark(_x31)), mark(X2))) 
active#(after(active(from(active(from(mark(_x61))))), mark(X2))) 
active#(after(active(from(mark(_x31))), active(0))) 
active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42)))) 
active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2))) 
active#(after(active(from(active(0))), mark(X2))) 
active#(after(active(from(active(s(mark(_x61))))), mark(X2))) 
active#(after(active(from(mark(_x31))), _x22)) 
active#(after(active(from(_x51)), mark(X2))) 
active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42))))) 
active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2))) 
active#(after(active(from(mark(_x31))), active(s(mark(_x41))))) 
active#(after(active(from(mark(_x31))), active(from(mark(_x41))))) 
Thus, the rule mark#(after(from(_x31), X2)) → active#(after(active(from(mark(_x31))), mark(X2))) is replaced by the following rules:
mark#(after(from(_x31), 0)) → active#(after(active(from(mark(_x31))), active(0)))mark#(after(from(_x31), _x22)) → active#(after(active(from(mark(_x31))), _x22))
mark#(after(from(_x31), from(_x41))) → active#(after(active(from(mark(_x31))), active(from(mark(_x41)))))mark#(after(from(_x31), cons(_x41, _x42))) → active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))
mark#(after(from(_x31), after(_x41, _x42))) → active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))mark#(after(from(_x31), X2)) → active#(after(from(mark(_x31)), mark(X2)))
mark#(after(from(from(_x61)), X2)) → active#(after(active(from(active(from(mark(_x61))))), mark(X2)))mark#(after(from(cons(_x61, _x62)), X2)) → active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))
mark#(after(from(_x51), X2)) → active#(after(active(from(_x51)), mark(X2)))mark#(after(from(_x31), s(_x41))) → active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))
mark#(after(from(0), X2)) → active#(after(active(from(active(0))), mark(X2)))mark#(after(from(_x31), X2)) → active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))
mark#(after(from(after(_x61, _x62)), X2)) → active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))mark#(after(from(s(_x61)), X2)) → active#(after(active(from(active(s(mark(_x61))))), mark(X2)))

Problem 16: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), active(0)))mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))
mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), active(s(mark(_x41)))))
mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), active(from(mark(_x41)))))
mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))
mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))
mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))
active#(after(s(N), cons(X, XS)))mark#(after(N, XS))mark#(after(X1, 0))active#(after(mark(X1), active(0)))
mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))
mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))
mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))mark#(s(X))mark#(X)
mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))
active#(after(0, XS))mark#(XS)mark#(after(_x21, X2))active#(after(_x21, mark(X2)))
mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))
mark#(from(X))mark#(X)mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))
mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))mark#(cons(X1, X2))mark#(X1)
mark#(after(X1, X2))mark#(X1)mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))
active#(from(X))mark#(cons(X, from(s(X))))mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))
mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))
mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))mark#(after(X1, _x22))active#(after(mark(X1), _x22))
mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))mark#(from(X))active#(from(mark(X)))
mark#(after(0, X2))active#(after(active(0), mark(X2)))mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))
mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))
mark#(after(X1, X2))mark#(X2)

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(from(_x31), 0)) → active#(after(active(from(mark(_x31))), active(0))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0))) 
active#(after(active(from(active(0))), active(0))) 
active#(after(active(from(mark(_x31))), 0)) 
active#(after(active(from(active(s(mark(_x61))))), active(0))) 
active#(after(active(from(active(from(mark(_x61))))), active(0))) 
active#(after(from(mark(_x31)), active(0))) 
active#(after(active(from(_x51)), active(0))) 
active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0))) 
active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0))) 
Thus, the rule mark#(after(from(_x31), 0)) → active#(after(active(from(mark(_x31))), active(0))) is replaced by the following rules:
mark#(after(from(_x51), 0)) → active#(after(active(from(_x51)), active(0)))mark#(after(from(from(_x61)), 0)) → active#(after(active(from(active(from(mark(_x61))))), active(0)))
mark#(after(from(_x31), 0)) → active#(after(from(mark(_x31)), active(0)))mark#(after(from(_x31), 0)) → active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))
mark#(after(from(after(_x61, _x62)), 0)) → active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))mark#(after(from(s(_x61)), 0)) → active#(after(active(from(active(s(mark(_x61))))), active(0)))
mark#(after(from(_x31), 0)) → active#(after(active(from(mark(_x31))), 0))mark#(after(from(cons(_x61, _x62)), 0)) → active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))
mark#(after(from(0), 0)) → active#(after(active(from(active(0))), active(0)))

Problem 17: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), active(0)))mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), active(from(mark(_x41)))))
mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), active(s(mark(_x41)))))mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))
mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))
mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))mark#(after(X1, 0))active#(after(mark(X1), active(0)))
mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))mark#(s(X))mark#(X)
mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))
mark#(after(from(_x51), 0))active#(after(active(from(_x51)), active(0)))mark#(from(X))mark#(X)
mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))mark#(cons(X1, X2))mark#(X1)
mark#(after(X1, X2))mark#(X1)mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))
active#(from(X))mark#(cons(X, from(s(X))))mark#(from(X))active#(from(mark(X)))
mark#(after(0, X2))active#(after(active(0), mark(X2)))mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))
mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))mark#(after(X1, X2))mark#(X2)
mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))
mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))
mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))
mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))active#(after(s(N), cons(X, XS)))mark#(after(N, XS))
mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))
mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))
mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))
active#(after(0, XS))mark#(XS)mark#(after(_x21, X2))active#(after(_x21, mark(X2)))
mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))
mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))
mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))
mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))
mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))mark#(after(X1, _x22))active#(after(mark(X1), _x22))
mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))
mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(from(_x31), 0)) → active#(after(from(mark(_x31)), active(0))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(from(active(from(mark(_x51)))), active(0))) 
active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0))) 
active#(after(from(mark(_x31)), 0)) 
active#(after(from(active(cons(mark(_x51), _x52))), active(0))) 
active#(after(from(active(0)), active(0))) 
active#(after(from(_x41), active(0))) 
active#(after(from(active(s(mark(_x51)))), active(0))) 
Thus, the rule mark#(after(from(_x31), 0)) → active#(after(from(mark(_x31)), active(0))) is replaced by the following rules:
mark#(after(from(after(_x51, _x52)), 0)) → active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))mark#(after(from(s(_x51)), 0)) → active#(after(from(active(s(mark(_x51)))), active(0)))
mark#(after(from(from(_x51)), 0)) → active#(after(from(active(from(mark(_x51)))), active(0)))mark#(after(from(_x41), 0)) → active#(after(from(_x41), active(0)))
mark#(after(from(cons(_x51, _x52)), 0)) → active#(after(from(active(cons(mark(_x51), _x52))), active(0)))mark#(after(from(_x31), 0)) → active#(after(from(mark(_x31)), 0))
mark#(after(from(0), 0)) → active#(after(from(active(0)), active(0)))

Problem 18: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), active(from(mark(_x41)))))mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), active(s(mark(_x41)))))
mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))
mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(X1, 0))active#(after(mark(X1), active(0)))mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))
mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(active(cons(mark(_x51), _x52))), active(0)))mark#(s(X))mark#(X)
mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))
mark#(after(from(_x51), 0))active#(after(active(from(_x51)), active(0)))mark#(after(from(s(_x51)), 0))active#(after(from(active(s(mark(_x51)))), active(0)))
mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))mark#(from(X))mark#(X)
mark#(cons(X1, X2))mark#(X1)mark#(after(X1, X2))mark#(X1)
active#(from(X))mark#(cons(X, from(s(X))))mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))
mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), 0))mark#(from(X))active#(from(mark(X)))
mark#(after(0, X2))active#(after(active(0), mark(X2)))mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))
mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))mark#(after(X1, X2))mark#(X2)
mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))
mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))
mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))
mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))mark#(after(from(after(_x51, _x52)), 0))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))
active#(after(s(N), cons(X, XS)))mark#(after(N, XS))mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))
mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))
mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))
mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))active#(after(0, XS))mark#(XS)
mark#(after(_x21, X2))active#(after(_x21, mark(X2)))mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))
mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))mark#(after(from(from(_x51)), 0))active#(after(from(active(from(mark(_x51)))), active(0)))
mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))
mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))
mark#(after(from(0), 0))active#(after(from(active(0)), active(0)))mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))
mark#(after(X1, _x22))active#(after(mark(X1), _x22))mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))
mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))mark#(after(from(_x41), 0))active#(after(from(_x41), active(0)))
mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))
mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(from(_x31), from(_x41))) → active#(after(active(from(mark(_x31))), active(from(mark(_x41))))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41))))))) 
active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41))))) 
active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72))))))) 
active#(after(active(from(mark(_x31))), from(mark(_x41)))) 
active#(after(active(from(_x51)), active(from(mark(_x41))))) 
active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72)))))) 
active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71))))))) 
active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41))))) 
active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41))))) 
active#(after(from(mark(_x31)), active(from(mark(_x41))))) 
active#(after(active(from(mark(_x31))), active(from(active(0))))) 
active#(after(active(from(active(0))), active(from(mark(_x41))))) 
active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41))))) 
active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(mark(_x71))))))) 
active#(after(active(from(mark(_x31))), active(from(_x61)))) 
Thus, the rule mark#(after(from(_x31), from(_x41))) → active#(after(active(from(mark(_x31))), active(from(mark(_x41))))) is replaced by the following rules:
mark#(after(from(cons(_x61, _x62)), from(_x41))) → active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41)))))mark#(after(from(_x31), from(0))) → active#(after(active(from(mark(_x31))), active(from(active(0)))))
mark#(after(from(_x31), from(s(_x71)))) → active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71)))))))mark#(after(from(_x31), from(_x41))) → active#(after(active(from(mark(_x31))), from(mark(_x41))))
mark#(after(from(_x31), from(_x41))) → active#(after(from(mark(_x31)), active(from(mark(_x41)))))mark#(after(from(_x51), from(_x41))) → active#(after(active(from(_x51)), active(from(mark(_x41)))))
mark#(after(from(_x31), from(_x61))) → active#(after(active(from(mark(_x31))), active(from(_x61))))mark#(after(from(_x31), from(_x41))) → active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41)))))))
mark#(after(from(_x31), from(from(_x71)))) → active#(after(active(from(mark(_x31))), active(from(active(from(mark(_x71)))))))mark#(after(from(after(_x61, _x62)), from(_x41))) → active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(after(_x71, _x72)))) → active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(cons(_x71, _x72)))) → active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72))))))
mark#(after(from(s(_x61)), from(_x41))) → active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41)))))mark#(after(from(0), from(_x41))) → active#(after(active(from(active(0))), active(from(mark(_x41)))))
mark#(after(from(from(_x61)), from(_x41))) → active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41)))))mark#(after(from(_x31), from(mark(_x31)))) → active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41)))))

Problem 19: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), active(s(mark(_x41)))))mark#(after(from(_x51), from(_x41)))active#(after(active(from(_x51)), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(active(from(mark(_x71)))))))mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))
mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))
mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))mark#(after(X1, 0))active#(after(mark(X1), active(0)))
mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(active(cons(mark(_x51), _x52))), active(0)))
mark#(after(from(from(_x61)), from(_x41)))active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41)))))mark#(s(X))mark#(X)
mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))
mark#(after(from(_x51), 0))active#(after(active(from(_x51)), active(0)))mark#(after(from(_x31), from(s(_x71))))active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71)))))))
mark#(after(from(s(_x51)), 0))active#(after(from(active(s(mark(_x51)))), active(0)))mark#(from(X))mark#(X)
mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))mark#(cons(X1, X2))mark#(X1)
mark#(after(X1, X2))mark#(X1)mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))
active#(from(X))mark#(cons(X, from(s(X))))mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), 0))
mark#(after(from(_x31), from(after(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(cons(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72))))))
mark#(from(X))active#(from(mark(X)))mark#(after(from(0), from(_x41)))active#(after(active(from(active(0))), active(from(mark(_x41)))))
mark#(after(0, X2))active#(after(active(0), mark(X2)))mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))
mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))mark#(after(X1, X2))mark#(X2)
mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))
mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))
mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), from(mark(_x41))))mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))
mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41)))))))mark#(after(from(_x31), from(_x61)))active#(after(active(from(mark(_x31))), active(from(_x61))))
mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))mark#(after(from(after(_x61, _x62)), from(_x41)))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41)))))
mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))mark#(after(from(after(_x51, _x52)), 0))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))
active#(after(s(N), cons(X, XS)))mark#(after(N, XS))mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))
mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))
mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))
active#(after(0, XS))mark#(XS)mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))
mark#(after(_x21, X2))active#(after(_x21, mark(X2)))mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))
mark#(after(from(cons(_x61, _x62)), from(_x41)))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41)))))mark#(after(from(_x31), from(0)))active#(after(active(from(mark(_x31))), active(from(active(0)))))
mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))mark#(after(from(from(_x51)), 0))active#(after(from(active(from(mark(_x51)))), active(0)))
mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))mark#(after(from(_x31), from(_x41)))active#(after(from(mark(_x31)), active(from(mark(_x41)))))
mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))
mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))mark#(after(from(0), 0))active#(after(from(active(0)), active(0)))
mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))
mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))mark#(after(X1, _x22))active#(after(mark(X1), _x22))
mark#(after(from(s(_x61)), from(_x41)))active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41)))))mark#(after(from(_x41), 0))active#(after(from(_x41), active(0)))
mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))mark#(after(from(_x31), from(mark(_x31))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41)))))
mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(s(_x31), s(_x41))) → active#(after(active(s(mark(_x31))), active(s(mark(_x41))))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(s(active(s(mark(_x61))))), active(s(mark(_x41))))) 
active#(after(active(s(mark(_x31))), active(s(active(cons(mark(_x71), _x72)))))) 
active#(after(active(s(mark(_x31))), s(mark(_x41)))) 
active#(after(s(mark(_x31)), active(s(mark(_x41))))) 
active#(after(active(s(mark(_x31))), active(s(_x61)))) 
active#(after(active(s(active(0))), active(s(mark(_x41))))) 
active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(mark(_x41))))) 
active#(after(active(s(mark(_x31))), active(s(active(0))))) 
active#(after(active(s(mark(_x31))), active(s(active(s(mark(_x71))))))) 
active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(mark(_x41))))) 
active#(after(active(s(active(from(mark(_x61))))), active(s(mark(_x41))))) 
active#(after(active(s(_x51)), active(s(mark(_x41))))) 
active#(after(active(s(mark(_x31))), active(s(active(after(mark(_x71), mark(_x72))))))) 
active#(after(active(s(mark(_x31))), active(s(active(from(mark(_x71))))))) 
Thus, the rule mark#(after(s(_x31), s(_x41))) → active#(after(active(s(mark(_x31))), active(s(mark(_x41))))) is replaced by the following rules:
mark#(after(s(_x51), s(_x41))) → active#(after(active(s(_x51)), active(s(mark(_x41)))))mark#(after(s(_x31), s(0))) → active#(after(active(s(mark(_x31))), active(s(active(0)))))
mark#(after(s(s(_x61)), s(_x41))) → active#(after(active(s(active(s(mark(_x61))))), active(s(mark(_x41)))))mark#(after(s(_x31), s(from(_x71)))) → active#(after(active(s(mark(_x31))), active(s(active(from(mark(_x71)))))))
mark#(after(s(after(_x61, _x62)), s(_x41))) → active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(mark(_x41)))))mark#(after(s(_x31), s(_x61))) → active#(after(active(s(mark(_x31))), active(s(_x61))))
mark#(after(s(_x31), s(cons(_x71, _x72)))) → active#(after(active(s(mark(_x31))), active(s(active(cons(mark(_x71), _x72))))))mark#(after(s(cons(_x61, _x62)), s(_x41))) → active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(mark(_x41)))))
mark#(after(s(_x31), s(s(_x71)))) → active#(after(active(s(mark(_x31))), active(s(active(s(mark(_x71)))))))mark#(after(s(_x31), s(_x41))) → active#(after(s(mark(_x31)), active(s(mark(_x41)))))
mark#(after(s(_x31), s(_x41))) → active#(after(active(s(mark(_x31))), s(mark(_x41))))mark#(after(s(_x31), s(after(_x71, _x72)))) → active#(after(active(s(mark(_x31))), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(s(0), s(_x41))) → active#(after(active(s(active(0))), active(s(mark(_x41)))))mark#(after(s(from(_x61)), s(_x41))) → active#(after(active(s(active(from(mark(_x61))))), active(s(mark(_x41)))))

Problem 20: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), active(s(active(0)))))mark#(after(from(_x51), from(_x41)))active#(after(active(from(_x51)), active(from(mark(_x41)))))
mark#(after(s(_x31), s(_x61)))active#(after(active(s(mark(_x31))), active(s(_x61))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(active(from(mark(_x71)))))))
mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))
mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))mark#(after(s(_x31), s(s(_x71))))active#(after(active(s(mark(_x31))), active(s(active(s(mark(_x71)))))))
mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))mark#(after(X1, 0))active#(after(mark(X1), active(0)))
mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(active(cons(mark(_x51), _x52))), active(0)))
mark#(s(X))mark#(X)mark#(after(from(from(_x61)), from(_x41)))active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41)))))
mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), s(mark(_x41))))mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))
mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))mark#(after(from(_x51), 0))active#(after(active(from(_x51)), active(0)))
mark#(after(s(_x51), s(_x41)))active#(after(active(s(_x51)), active(s(mark(_x41)))))mark#(after(from(_x31), from(s(_x71))))active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71)))))))
mark#(after(s(_x31), s(from(_x71))))active#(after(active(s(mark(_x31))), active(s(active(from(mark(_x71)))))))mark#(after(from(s(_x51)), 0))active#(after(from(active(s(mark(_x51)))), active(0)))
mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))mark#(from(X))mark#(X)
mark#(cons(X1, X2))mark#(X1)mark#(after(X1, X2))mark#(X1)
mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))active#(from(X))mark#(cons(X, from(s(X))))
mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), 0))mark#(after(s(_x31), s(cons(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(cons(mark(_x71), _x72))))))
mark#(after(from(_x31), from(after(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(s(cons(_x61, _x62)), s(_x41)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(cons(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72))))))mark#(from(X))active#(from(mark(X)))
mark#(after(from(0), from(_x41)))active#(after(active(from(active(0))), active(from(mark(_x41)))))mark#(after(0, X2))active#(after(active(0), mark(X2)))
mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))mark#(after(s(0), s(_x41)))active#(after(active(s(active(0))), active(s(mark(_x41)))))
mark#(after(s(_x31), s(after(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))
mark#(after(X1, X2))mark#(X2)mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))
mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))
mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))mark#(after(s(after(_x61, _x62)), s(_x41)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), from(mark(_x41))))mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))
mark#(after(from(_x31), from(_x61)))active#(after(active(from(mark(_x31))), active(from(_x61))))mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41)))))))
mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))mark#(after(from(after(_x61, _x62)), from(_x41)))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41)))))
mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))active#(after(s(N), cons(X, XS)))mark#(after(N, XS))
mark#(after(from(after(_x51, _x52)), 0))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))mark#(after(s(_x31), s(_x41)))active#(after(s(mark(_x31)), active(s(mark(_x41)))))
mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))
mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))
mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))
active#(after(0, XS))mark#(XS)mark#(after(_x21, X2))active#(after(_x21, mark(X2)))
mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))mark#(after(s(from(_x61)), s(_x41)))active#(after(active(s(active(from(mark(_x61))))), active(s(mark(_x41)))))
mark#(after(from(cons(_x61, _x62)), from(_x41)))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41)))))mark#(after(from(_x31), from(0)))active#(after(active(from(mark(_x31))), active(from(active(0)))))
mark#(after(s(s(_x61)), s(_x41)))active#(after(active(s(active(s(mark(_x61))))), active(s(mark(_x41)))))mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))
mark#(after(from(from(_x51)), 0))active#(after(from(active(from(mark(_x51)))), active(0)))mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))
mark#(after(from(_x31), from(_x41)))active#(after(from(mark(_x31)), active(from(mark(_x41)))))mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))
mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))
mark#(after(from(0), 0))active#(after(from(active(0)), active(0)))mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))
mark#(after(X1, _x22))active#(after(mark(X1), _x22))mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))
mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))mark#(after(from(s(_x61)), from(_x41)))active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41)))))
mark#(after(from(_x41), 0))active#(after(from(_x41), active(0)))mark#(after(from(_x31), from(mark(_x31))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41)))))
mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))
mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(s(_x31), s(0))) → active#(after(active(s(mark(_x31))), active(s(active(0))))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(active(0))))) 
active#(after(active(s(_x51)), active(s(active(0))))) 
active#(after(s(mark(_x31)), active(s(active(0))))) 
active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(active(0))))) 
active#(after(active(s(mark(_x31))), s(active(0)))) 
active#(after(active(s(active(s(mark(_x61))))), active(s(active(0))))) 
active#(after(active(s(active(from(mark(_x61))))), active(s(active(0))))) 
active#(after(active(s(active(0))), active(s(active(0))))) 
active#(after(active(s(mark(_x31))), active(s(0)))) 
Thus, the rule mark#(after(s(_x31), s(0))) → active#(after(active(s(mark(_x31))), active(s(active(0))))) is replaced by the following rules:
mark#(after(s(after(_x61, _x62)), s(0))) → active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(active(0)))))mark#(after(s(_x31), s(0))) → active#(after(active(s(mark(_x31))), active(s(0))))
mark#(after(s(cons(_x61, _x62)), s(0))) → active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(active(0)))))mark#(after(s(0), s(0))) → active#(after(active(s(active(0))), active(s(active(0)))))
mark#(after(s(s(_x61)), s(0))) → active#(after(active(s(active(s(mark(_x61))))), active(s(active(0)))))mark#(after(s(_x31), s(0))) → active#(after(s(mark(_x31)), active(s(active(0)))))
mark#(after(s(_x51), s(0))) → active#(after(active(s(_x51)), active(s(active(0)))))mark#(after(s(from(_x61)), s(0))) → active#(after(active(s(active(from(mark(_x61))))), active(s(active(0)))))
mark#(after(s(_x31), s(0))) → active#(after(active(s(mark(_x31))), s(active(0))))

Problem 21: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x51), from(_x41)))active#(after(active(from(_x51)), active(from(mark(_x41)))))mark#(after(s(_x31), s(_x61)))active#(after(active(s(mark(_x31))), active(s(_x61))))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(active(from(mark(_x71)))))))mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))
mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))
mark#(after(s(_x31), s(s(_x71))))active#(after(active(s(mark(_x31))), active(s(active(s(mark(_x71)))))))mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(X1, 0))active#(after(mark(X1), active(0)))mark#(after(s(after(_x61, _x62)), s(0)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(active(0)))))
mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(active(cons(mark(_x51), _x52))), active(0)))
mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), s(mark(_x41))))mark#(after(from(from(_x61)), from(_x41)))active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41)))))
mark#(s(X))mark#(X)mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))
mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), s(active(0))))
mark#(after(s(_x51), s(_x41)))active#(after(active(s(_x51)), active(s(mark(_x41)))))mark#(after(from(_x51), 0))active#(after(active(from(_x51)), active(0)))
mark#(after(from(_x31), from(s(_x71))))active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71)))))))mark#(after(s(_x31), s(from(_x71))))active#(after(active(s(mark(_x31))), active(s(active(from(mark(_x71)))))))
mark#(after(from(s(_x51)), 0))active#(after(from(active(s(mark(_x51)))), active(0)))mark#(from(X))mark#(X)
mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))mark#(cons(X1, X2))mark#(X1)
mark#(after(X1, X2))mark#(X1)mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))
active#(from(X))mark#(cons(X, from(s(X))))mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), 0))
mark#(after(s(_x31), s(cons(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(cons(mark(_x71), _x72))))))mark#(after(from(_x31), from(after(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72)))))))
mark#(after(s(cons(_x61, _x62)), s(_x41)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(mark(_x41)))))mark#(after(from(_x31), from(cons(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72))))))
mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), active(s(0))))mark#(from(X))active#(from(mark(X)))
mark#(after(from(0), from(_x41)))active#(after(active(from(active(0))), active(from(mark(_x41)))))mark#(after(0, X2))active#(after(active(0), mark(X2)))
mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))mark#(after(s(0), s(_x41)))active#(after(active(s(active(0))), active(s(mark(_x41)))))
mark#(after(s(_x31), s(after(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))
mark#(after(X1, X2))mark#(X2)mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))
mark#(after(s(0), s(0)))active#(after(active(s(active(0))), active(s(active(0)))))mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))
mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))
mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), from(mark(_x41))))mark#(after(s(after(_x61, _x62)), s(_x41)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(mark(_x41)))))
mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41)))))))
mark#(after(from(_x31), from(_x61)))active#(after(active(from(mark(_x31))), active(from(_x61))))mark#(after(s(_x51), s(0)))active#(after(active(s(_x51)), active(s(active(0)))))
mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))mark#(after(from(after(_x61, _x62)), from(_x41)))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41)))))
mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))mark#(after(s(_x31), s(_x41)))active#(after(s(mark(_x31)), active(s(mark(_x41)))))
mark#(after(from(after(_x51, _x52)), 0))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))active#(after(s(N), cons(X, XS)))mark#(after(N, XS))
mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))mark#(after(s(cons(_x61, _x62)), s(0)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(active(0)))))
mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))
mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))
active#(after(0, XS))mark#(XS)mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))
mark#(after(_x21, X2))active#(after(_x21, mark(X2)))mark#(after(s(from(_x61)), s(_x41)))active#(after(active(s(active(from(mark(_x61))))), active(s(mark(_x41)))))
mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))mark#(after(from(cons(_x61, _x62)), from(_x41)))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41)))))
mark#(after(s(s(_x61)), s(_x41)))active#(after(active(s(active(s(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(_x31), from(0)))active#(after(active(from(mark(_x31))), active(from(active(0)))))
mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))mark#(after(from(from(_x51)), 0))active#(after(from(active(from(mark(_x51)))), active(0)))
mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))mark#(after(from(_x31), from(_x41)))active#(after(from(mark(_x31)), active(from(mark(_x41)))))
mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))mark#(after(s(_x31), s(0)))active#(after(s(mark(_x31)), active(s(active(0)))))
mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))
mark#(after(from(0), 0))active#(after(from(active(0)), active(0)))mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))
mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))
mark#(after(X1, _x22))active#(after(mark(X1), _x22))mark#(after(from(s(_x61)), from(_x41)))active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41)))))
mark#(after(from(_x41), 0))active#(after(from(_x41), active(0)))mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))
mark#(after(from(_x31), from(mark(_x31))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41)))))mark#(after(s(s(_x61)), s(0)))active#(after(active(s(active(s(mark(_x61))))), active(s(active(0)))))
mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))
mark#(after(s(from(_x61)), s(0)))active#(after(active(s(active(from(mark(_x61))))), active(s(active(0)))))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(from(_x51), from(_x41))) → active#(after(active(from(_x51)), active(from(mark(_x41))))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(from(_x51)), mark(cons(mark(_x41), from(s(mark(_x41))))))) 
active#(after(active(from(_x51)), active(from(_x61)))) 
active#(after(mark(cons(_x31, from(s(_x31)))), active(from(mark(_x41))))) 
active#(after(active(from(_x51)), active(from(active(cons(mark(_x71), _x72)))))) 
active#(after(active(from(_x51)), from(mark(_x41)))) 
active#(after(from(_x51), active(from(mark(_x41))))) 
active#(after(active(from(_x51)), active(from(active(from(mark(_x71))))))) 
active#(after(active(from(_x51)), active(from(active(after(mark(_x71), mark(_x72))))))) 
active#(after(active(from(_x51)), active(from(active(0))))) 
active#(after(active(from(_x41)), active(from(mark(_x41))))) 
active#(after(active(from(_x51)), active(from(active(s(mark(_x71))))))) 
Thus, the rule mark#(after(from(_x51), from(_x41))) → active#(after(active(from(_x51)), active(from(mark(_x41))))) is replaced by the following rules:
mark#(after(from(_x51), from(from(_x71)))) → active#(after(active(from(_x51)), active(from(active(from(mark(_x71)))))))mark#(after(from(_x51), from(s(_x71)))) → active#(after(active(from(_x51)), active(from(active(s(mark(_x71)))))))
mark#(after(from(_x51), from(0))) → active#(after(active(from(_x51)), active(from(active(0)))))mark#(after(from(_x51), from(_x41))) → active#(after(active(from(_x51)), from(mark(_x41))))
mark#(after(from(_x51), from(_x41))) → active#(after(from(_x51), active(from(mark(_x41)))))mark#(after(from(_x51), from(cons(_x71, _x72)))) → active#(after(active(from(_x51)), active(from(active(cons(mark(_x71), _x72))))))
mark#(after(from(mark(_x41)), from(_x41))) → active#(after(active(from(_x41)), active(from(mark(_x41)))))mark#(after(from(mark(_x41)), from(_x41))) → active#(after(active(from(_x51)), mark(cons(mark(_x41), from(s(mark(_x41)))))))
mark#(after(from(_x31), from(_x41))) → active#(after(mark(cons(_x31, from(s(_x31)))), active(from(mark(_x41)))))mark#(after(from(active(_x41)), from(_x41))) → active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(_x51), from(after(_x71, _x72)))) → active#(after(active(from(_x51)), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x51), from(_x61))) → active#(after(active(from(_x51)), active(from(_x61))))

Problem 22: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(active(from(mark(_x71)))))))mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))
mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))mark#(after(s(_x31), s(s(_x71))))active#(after(active(s(mark(_x31))), active(s(active(s(mark(_x71)))))))
mark#(after(X1, 0))active#(after(mark(X1), active(0)))mark#(after(s(after(_x61, _x62)), s(0)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(active(0)))))
mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(active(cons(mark(_x51), _x52))), active(0)))mark#(after(from(_x51), from(_x41)))active#(after(from(_x51), active(from(mark(_x41)))))
mark#(after(from(_x51), from(cons(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(cons(mark(_x71), _x72))))))mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), s(mark(_x41))))
mark#(s(X))mark#(X)mark#(after(from(active(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(_x51), 0))active#(after(active(from(_x51)), active(0)))mark#(after(s(_x51), s(_x41)))active#(after(active(s(_x51)), active(s(mark(_x41)))))
mark#(cons(X1, X2))mark#(X1)mark#(after(X1, X2))mark#(X1)
active#(from(X))mark#(cons(X, from(s(X))))mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), 0))
mark#(after(from(_x51), from(after(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(0, X2))active#(after(active(0), mark(X2)))
mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))
mark#(after(X1, X2))mark#(X2)mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))
mark#(after(s(0), s(0)))active#(after(active(s(active(0))), active(s(active(0)))))mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))
mark#(after(s(after(_x61, _x62)), s(_x41)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(mark(_x41)))))mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))
mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41)))))))mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))
mark#(after(s(_x31), s(_x41)))active#(after(s(mark(_x31)), active(s(mark(_x41)))))mark#(after(from(after(_x51, _x52)), 0))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))
active#(after(s(N), cons(X, XS)))mark#(after(N, XS))mark#(after(s(cons(_x61, _x62)), s(0)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(active(0)))))
mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))mark#(after(_x21, X2))active#(after(_x21, mark(X2)))
mark#(after(s(from(_x61)), s(_x41)))active#(after(active(s(active(from(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(cons(_x61, _x62)), from(_x41)))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(0)))active#(after(active(from(mark(_x31))), active(from(active(0)))))mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))
mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))mark#(after(s(_x31), s(0)))active#(after(s(mark(_x31)), active(s(active(0)))))
mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))mark#(after(from(0), 0))active#(after(from(active(0)), active(0)))
mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))
mark#(after(s(_x31), s(_x61)))active#(after(active(s(mark(_x31))), active(s(_x61))))mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))
mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x51), from(s(_x71))))active#(after(active(from(_x51)), active(from(active(s(mark(_x71)))))))
mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))mark#(after(from(from(_x61)), from(_x41)))active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41)))))
mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), s(active(0))))
mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))mark#(after(from(_x31), from(s(_x71))))active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71)))))))
mark#(after(s(_x31), s(from(_x71))))active#(after(active(s(mark(_x31))), active(s(active(from(mark(_x71)))))))mark#(after(from(s(_x51)), 0))active#(after(from(active(s(mark(_x51)))), active(0)))
mark#(after(from(_x51), from(0)))active#(after(active(from(_x51)), active(from(active(0)))))mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))
mark#(from(X))mark#(X)mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))
mark#(after(from(_x31), from(after(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(s(_x31), s(cons(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(cons(mark(_x71), _x72))))))
mark#(after(s(cons(_x61, _x62)), s(_x41)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(mark(_x41)))))mark#(after(from(_x31), from(cons(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72))))))
mark#(from(X))active#(from(mark(X)))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), active(s(0))))
mark#(after(from(0), from(_x41)))active#(after(active(from(active(0))), active(from(mark(_x41)))))mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x51)), mark(cons(mark(_x41), from(s(mark(_x41)))))))
mark#(after(s(_x31), s(after(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(after(mark(_x71), mark(_x72)))))))mark#(after(s(0), s(_x41)))active#(after(active(s(active(0))), active(s(mark(_x41)))))
mark#(after(from(_x51), from(from(_x71))))active#(after(active(from(_x51)), active(from(active(from(mark(_x71)))))))mark#(after(from(_x51), from(_x41)))active#(after(active(from(_x51)), from(mark(_x41))))
mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))
mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), from(mark(_x41))))mark#(after(s(_x51), s(0)))active#(after(active(s(_x51)), active(s(active(0)))))
mark#(after(from(_x31), from(_x61)))active#(after(active(from(mark(_x31))), active(from(_x61))))mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))
mark#(after(from(after(_x61, _x62)), from(_x41)))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41)))))mark#(after(from(_x51), from(_x61)))active#(after(active(from(_x51)), active(from(_x61))))
mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))
mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))
active#(after(0, XS))mark#(XS)mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))
mark#(after(s(s(_x61)), s(_x41)))active#(after(active(s(active(s(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(from(_x51)), 0))active#(after(from(active(from(mark(_x51)))), active(0)))
mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))mark#(after(from(_x31), from(_x41)))active#(after(from(mark(_x31)), active(from(mark(_x41)))))
mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))
mark#(after(X1, _x22))active#(after(mark(X1), _x22))mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))
mark#(after(from(s(_x61)), from(_x41)))active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41)))))mark#(after(from(_x41), 0))active#(after(from(_x41), active(0)))
mark#(after(from(_x31), from(mark(_x31))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41)))))mark#(after(s(s(_x61)), s(0)))active#(after(active(s(active(s(mark(_x61))))), active(s(active(0)))))
mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))
mark#(after(s(from(_x61)), s(0)))active#(after(active(s(active(from(mark(_x61))))), active(s(active(0)))))mark#(after(from(_x31), from(_x41)))active#(after(mark(cons(_x31, from(s(_x31)))), active(from(mark(_x41)))))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(from(_x31), from(from(_x71)))) → active#(after(active(from(mark(_x31))), active(from(active(from(mark(_x71))))))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(mark(_x71))))))) 
active#(after(active(from(mark(_x31))), mark(cons(active(from(mark(_x71))), from(s(active(from(mark(_x71))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(0))))))) 
active#(after(from(mark(_x31)), active(from(active(from(mark(_x71))))))) 
active#(after(active(from(mark(_x31))), active(from(from(mark(_x71)))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(cons(mark(_x91), _x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(_x81)))))) 
active#(after(active(from(mark(_x31))), from(active(from(mark(_x71)))))) 
active#(after(active(from(active(0))), active(from(active(from(mark(_x71))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(s(mark(_x91))))))))) 
active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(mark(_x71))))))) 
active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(mark(_x71))))))) 
active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(mark(_x71))))))) 
active#(after(active(from(mark(_x31))), active(from(mark(cons(mark(_x71), from(s(mark(_x71))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(from(mark(_x91))))))))) 
active#(after(active(from(_x51)), active(from(active(from(mark(_x71))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), mark(_x92))))))))) 
active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(mark(_x71))))))) 
Thus, the rule mark#(after(from(_x31), from(from(_x71)))) → active#(after(active(from(mark(_x31))), active(from(active(from(mark(_x71))))))) is replaced by the following rules:
mark#(after(from(after(_x61, _x62)), from(from(_x71)))) → active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x51), from(from(_x71)))) → active#(after(active(from(_x51)), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x31), from(from(_x71)))) → active#(after(active(from(mark(_x31))), from(active(from(mark(_x71))))))mark#(after(from(_x31), from(from(_x71)))) → active#(after(active(from(mark(_x31))), active(from(mark(cons(mark(_x71), from(s(mark(_x71)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(from(_x91))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(from(mark(_x91)))))))))
mark#(after(from(_x31), from(from(cons(_x91, _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(cons(mark(_x91), _x92))))))))mark#(after(from(_x31), from(from(_x71)))) → active#(after(active(from(mark(_x31))), mark(cons(active(from(mark(_x71))), from(s(active(from(mark(_x71)))))))))
mark#(after(from(_x31), from(from(_x81)))) → active#(after(active(from(mark(_x31))), active(from(active(from(_x81))))))mark#(after(from(_x31), from(from(_x71)))) → active#(after(from(mark(_x31)), active(from(active(from(mark(_x71)))))))
mark#(after(from(0), from(from(_x71)))) → active#(after(active(from(active(0))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(0)))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(0)))))))
mark#(after(from(_x31), from(from(_x71)))) → active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(_x71)))) → active#(after(active(from(mark(_x31))), active(from(from(mark(_x71))))))
mark#(after(from(cons(_x61, _x62)), from(from(_x71)))) → active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(mark(_x71)))))))mark#(after(from(s(_x61)), from(from(_x71)))) → active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x31), from(from(s(_x91))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(s(mark(_x91)))))))))mark#(after(from(from(_x61)), from(from(_x71)))) → active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(mark(_x71)))))))

Problem 23: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))
mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))mark#(after(s(_x31), s(s(_x71))))active#(after(active(s(mark(_x31))), active(s(active(s(mark(_x71)))))))
mark#(after(X1, 0))active#(after(mark(X1), active(0)))mark#(after(s(after(_x61, _x62)), s(0)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(active(0)))))
mark#(after(from(_x51), from(_x41)))active#(after(from(_x51), active(from(mark(_x41)))))mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(active(cons(mark(_x51), _x52))), active(0)))
mark#(after(from(_x51), from(cons(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(cons(mark(_x71), _x72))))))mark#(s(X))mark#(X)
mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), s(mark(_x41))))mark#(after(from(active(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(_x51), 0))active#(after(active(from(_x51)), active(0)))mark#(after(s(_x51), s(_x41)))active#(after(active(s(_x51)), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), from(active(from(mark(_x71))))))mark#(cons(X1, X2))mark#(X1)
mark#(after(X1, X2))mark#(X1)active#(from(X))mark#(cons(X, from(s(X))))
mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), 0))mark#(after(from(_x51), from(after(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(after(mark(_x71), mark(_x72)))))))
mark#(after(0, X2))active#(after(active(0), mark(X2)))mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))
mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))mark#(after(X1, X2))mark#(X2)
mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))mark#(after(s(0), s(0)))active#(after(active(s(active(0))), active(s(active(0)))))
mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))mark#(after(s(after(_x61, _x62)), s(_x41)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(mark(_x41)))))
mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41)))))))
mark#(after(from(_x31), from(from(from(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(from(mark(_x91)))))))))mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))
active#(after(s(N), cons(X, XS)))mark#(after(N, XS))mark#(after(from(after(_x51, _x52)), 0))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))
mark#(after(s(_x31), s(_x41)))active#(after(s(mark(_x31)), active(s(mark(_x41)))))mark#(after(s(cons(_x61, _x62)), s(0)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(active(0)))))
mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))mark#(after(_x21, X2))active#(after(_x21, mark(X2)))
mark#(after(s(from(_x61)), s(_x41)))active#(after(active(s(active(from(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(cons(_x61, _x62)), from(_x41)))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41)))))
mark#(after(from(after(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(0)))active#(after(active(from(mark(_x31))), active(from(active(0)))))
mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))mark#(after(s(_x31), s(0)))active#(after(s(mark(_x31)), active(s(active(0)))))
mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(mark(cons(mark(_x71), from(s(mark(_x71)))))))))mark#(after(from(0), 0))active#(after(from(active(0)), active(0)))
mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))mark#(after(from(_x31), from(from(cons(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(cons(mark(_x91), _x92))))))))
mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))mark#(after(s(_x31), s(_x61)))active#(after(active(s(mark(_x31))), active(s(_x61))))
mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(_x51), from(s(_x71))))active#(after(active(from(_x51)), active(from(active(s(mark(_x71)))))))mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))
mark#(after(from(from(_x61)), from(_x41)))active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41)))))mark#(after(from(from(_x61)), from(from(_x71))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), s(active(0))))
mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))mark#(after(from(_x31), from(s(_x71))))active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71)))))))
mark#(after(s(_x31), s(from(_x71))))active#(after(active(s(mark(_x31))), active(s(active(from(mark(_x71)))))))mark#(after(from(s(_x51)), 0))active#(after(from(active(s(mark(_x51)))), active(0)))
mark#(after(from(_x51), from(0)))active#(after(active(from(_x51)), active(from(active(0)))))mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))
mark#(from(X))mark#(X)mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))
mark#(after(from(_x31), from(after(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(s(_x31), s(cons(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(cons(mark(_x71), _x72))))))
mark#(after(s(cons(_x61, _x62)), s(_x41)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(mark(_x41)))))mark#(after(from(_x31), from(cons(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72))))))
mark#(after(from(_x31), from(from(_x71))))active#(after(from(mark(_x31)), active(from(active(from(mark(_x71)))))))mark#(from(X))active#(from(mark(X)))
mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), active(s(0))))mark#(after(from(_x31), from(from(0))))active#(after(active(from(mark(_x31))), active(from(active(from(active(0)))))))
mark#(after(from(0), from(_x41)))active#(after(active(from(active(0))), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(_x71))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x31), from(from(s(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(s(mark(_x91)))))))))mark#(after(from(s(_x61)), from(from(_x71))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(mark(_x71)))))))
mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x51)), mark(cons(mark(_x41), from(s(mark(_x41)))))))mark#(after(s(_x31), s(after(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(s(0), s(_x41)))active#(after(active(s(active(0))), active(s(mark(_x41)))))mark#(after(from(_x51), from(from(_x71))))active#(after(active(from(_x51)), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x51), from(_x41)))active#(after(active(from(_x51)), from(mark(_x41))))mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))
mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), from(mark(_x41))))
mark#(after(s(_x51), s(0)))active#(after(active(s(_x51)), active(s(active(0)))))mark#(after(from(_x31), from(_x61)))active#(after(active(from(mark(_x31))), active(from(_x61))))
mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))mark#(after(from(after(_x61, _x62)), from(_x41)))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41)))))
mark#(after(from(_x51), from(_x61)))active#(after(active(from(_x51)), active(from(_x61))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), mark(cons(active(from(mark(_x71))), from(s(active(from(mark(_x71)))))))))
mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(_x81))))active#(after(active(from(mark(_x31))), active(from(active(from(_x81))))))
mark#(after(from(0), from(from(_x71))))active#(after(active(from(active(0))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))
mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))active#(after(0, XS))mark#(XS)
mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))
mark#(after(s(s(_x61)), s(_x41)))active#(after(active(s(active(s(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(from(_x51)), 0))active#(after(from(active(from(mark(_x51)))), active(0)))
mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))mark#(after(from(_x31), from(_x41)))active#(after(from(mark(_x31)), active(from(mark(_x41)))))
mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))
mark#(after(X1, _x22))active#(after(mark(X1), _x22))mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))
mark#(after(from(s(_x61)), from(_x41)))active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41)))))mark#(after(from(_x41), 0))active#(after(from(_x41), active(0)))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(from(mark(_x71))))))mark#(after(from(cons(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(mark(_x71)))))))
mark#(after(s(s(_x61)), s(0)))active#(after(active(s(active(s(mark(_x61))))), active(s(active(0)))))mark#(after(from(_x31), from(mark(_x31))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41)))))
mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))mark#(after(from(_x31), from(_x41)))active#(after(mark(cons(_x31, from(s(_x31)))), active(from(mark(_x41)))))
mark#(after(s(from(_x61)), s(0)))active#(after(active(s(active(from(mark(_x61))))), active(s(active(0)))))mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), mark(_x92))))))))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(after(mark(_x121), mark(_x122))))))))))) 
active#(after(active(from(active(0))), active(from(active(from(active(after(mark(_x91), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(mark(_x91), mark(_x92))))), from(s(active(from(active(after(mark(_x91), mark(_x92))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(0))))))))) 
active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(mark(_x91), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), from(active(from(active(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(after(mark(_x111), mark(_x112))), mark(_x92))))))))) 
active#(after(active(from(_x51)), active(from(active(from(active(after(mark(_x91), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(_x101, mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(s(mark(_x121))))))))))) 
active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), _x102)))))))) 
active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(mark(_x91), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(from(mark(_x111))), mark(_x92))))))))) 
active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(mark(_x91), mark(_x92))))))))) 
active#(after(from(mark(_x31)), active(from(active(from(active(after(mark(_x91), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(cons(mark(_x121), _x122)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(from(mark(_x121))))))))))) 
active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(mark(_x91), mark(_x92))), from(s(active(after(mark(_x91), mark(_x92))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(0), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(s(mark(_x111))), mark(_x92))))))))) 
active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92))))))))) 
Thus, the rule mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), mark(_x92))))))))) is replaced by the following rules:
mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x51), from(from(after(_x91, _x92))))) → active#(after(active(from(_x51)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, 0))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(0)))))))))mark#(after(from(_x31), from(from(after(_x91, after(_x121, _x122)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(after(mark(_x121), mark(_x122)))))))))))
mark#(after(from(_x31), from(from(after(_x91, _x102))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), _x102))))))))mark#(after(from(_x31), from(from(after(_x101, _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(_x101, mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(mark(_x91), mark(_x92))), from(s(active(after(mark(_x91), mark(_x92)))))))))))mark#(after(from(_x31), from(from(after(0, _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(0), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(s(_x111), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(s(mark(_x111))), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(after(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(after(mark(_x111), mark(_x112))), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(mark(_x91), mark(_x92))))), from(s(active(from(active(after(mark(_x91), mark(_x92)))))))))))mark#(after(from(_x31), from(from(after(_x91, cons(_x121, _x122)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(_x31), from(from(after(_x91, from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(from(_x111), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(from(mark(_x111))), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92))))) → active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92))))) → active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), from(active(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(from(_x61)), from(from(after(_x91, _x92))))) → active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(s(mark(_x121)))))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92))))) → active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(from(mark(_x31)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(0), from(from(after(_x91, _x92))))) → active#(after(active(from(active(0))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))

Problem 24: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))
mark#(after(s(_x31), s(s(_x71))))active#(after(active(s(mark(_x31))), active(s(active(s(mark(_x71)))))))mark#(after(X1, 0))active#(after(mark(X1), active(0)))
mark#(after(s(after(_x61, _x62)), s(0)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(active(0)))))mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(active(cons(mark(_x51), _x52))), active(0)))
mark#(after(from(_x51), from(_x41)))active#(after(from(_x51), active(from(mark(_x41)))))mark#(after(from(_x51), from(cons(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(cons(mark(_x71), _x72))))))
mark#(s(X))mark#(X)mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), s(mark(_x41))))
mark#(after(from(active(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))mark#(after(from(_x51), 0))active#(after(active(from(_x51)), active(0)))
mark#(after(s(_x51), s(_x41)))active#(after(active(s(_x51)), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), from(active(from(mark(_x71))))))
mark#(after(from(_x31), from(from(after(_x91, cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(cons(mark(_x121), _x122))))))))))mark#(cons(X1, X2))mark#(X1)
mark#(after(from(_x31), from(from(after(from(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(from(mark(_x111))), mark(_x92)))))))))mark#(after(X1, X2))mark#(X1)
active#(from(X))mark#(cons(X, from(s(X))))mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), 0))
mark#(after(from(_x51), from(after(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(0, X2))active#(after(active(0), mark(X2)))
mark#(after(from(_x31), from(from(after(_x91, s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(s(mark(_x121)))))))))))mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))
mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))mark#(after(X1, X2))mark#(X2)
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))
mark#(after(s(0), s(0)))active#(after(active(s(active(0))), active(s(active(0)))))mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))
mark#(after(s(after(_x61, _x62)), s(_x41)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(0)))))))))
mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41)))))))
mark#(after(from(_x31), from(from(after(_x91, after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(after(mark(_x121), mark(_x122)))))))))))mark#(after(from(_x31), from(from(from(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(from(mark(_x91)))))))))
mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))mark#(after(s(_x31), s(_x41)))active#(after(s(mark(_x31)), active(s(mark(_x41)))))
mark#(after(from(after(_x51, _x52)), 0))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))active#(after(s(N), cons(X, XS)))mark#(after(N, XS))
mark#(after(from(_x31), from(from(after(_x101, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(_x101, mark(_x92)))))))))mark#(after(s(cons(_x61, _x62)), s(0)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(active(0)))))
mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))mark#(after(_x21, X2))active#(after(_x21, mark(X2)))
mark#(after(s(from(_x61)), s(_x41)))active#(after(active(s(active(from(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(cons(_x61, _x62)), from(_x41)))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41)))))
mark#(after(from(after(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(mark(_x91), mark(_x92))))), from(s(active(from(active(after(mark(_x91), mark(_x92)))))))))))
mark#(after(from(_x31), from(0)))active#(after(active(from(mark(_x31))), active(from(active(0)))))mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))
mark#(after(s(_x31), s(0)))active#(after(s(mark(_x31)), active(s(active(0)))))mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))
mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(mark(cons(mark(_x71), from(s(mark(_x71)))))))))
mark#(after(from(0), 0))active#(after(from(active(0)), active(0)))mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(cons(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(cons(mark(_x91), _x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))mark#(after(s(_x31), s(_x61)))active#(after(active(s(mark(_x31))), active(s(_x61))))
mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(_x31), from(from(after(_x91, _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), _x102))))))))mark#(after(from(_x51), from(s(_x71))))active#(after(active(from(_x51)), active(from(active(s(mark(_x71)))))))
mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(mark(_x91), mark(_x92))), from(s(active(after(mark(_x91), mark(_x92)))))))))))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(0), mark(_x92)))))))))mark#(after(from(from(_x61)), from(_x41)))active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41)))))
mark#(after(from(from(_x61)), from(from(_x71))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))
mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), s(active(0))))mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))
mark#(after(from(_x31), from(from(after(after(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(after(mark(_x111), mark(_x112))), mark(_x92)))))))))mark#(after(from(_x31), from(s(_x71))))active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71)))))))
mark#(after(s(_x31), s(from(_x71))))active#(after(active(s(mark(_x31))), active(s(active(from(mark(_x71)))))))mark#(after(from(s(_x51)), 0))active#(after(from(active(s(mark(_x51)))), active(0)))
mark#(after(from(_x51), from(0)))active#(after(active(from(_x51)), active(from(active(0)))))mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))
mark#(from(X))mark#(X)mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))mark#(after(from(_x31), from(after(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72)))))))
mark#(after(s(_x31), s(cons(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(cons(mark(_x71), _x72))))))mark#(after(s(cons(_x61, _x62)), s(_x41)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(cons(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72))))))mark#(after(from(_x31), from(from(_x71))))active#(after(from(mark(_x31)), active(from(active(from(mark(_x71)))))))
mark#(from(X))active#(from(mark(X)))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), active(s(0))))
mark#(after(from(0), from(_x41)))active#(after(active(from(active(0))), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(0))))active#(after(active(from(mark(_x31))), active(from(active(from(active(0)))))))
mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(_x71))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(mark(_x71)))))))
mark#(after(s(0), s(_x41)))active#(after(active(s(active(0))), active(s(mark(_x41)))))mark#(after(s(_x31), s(after(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x51)), mark(cons(mark(_x41), from(s(mark(_x41)))))))mark#(after(from(s(_x61)), from(from(_x71))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x31), from(from(s(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(s(mark(_x91)))))))))mark#(after(from(_x51), from(from(_x71))))active#(after(active(from(_x51)), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x51), from(_x41)))active#(after(active(from(_x51)), from(mark(_x41))))mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))
mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), from(mark(_x41))))
mark#(after(from(_x31), from(_x61)))active#(after(active(from(mark(_x31))), active(from(_x61))))mark#(after(s(_x51), s(0)))active#(after(active(s(_x51)), active(s(active(0)))))
mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))mark#(after(from(after(_x61, _x62)), from(_x41)))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41)))))
mark#(after(from(_x51), from(_x61)))active#(after(active(from(_x51)), active(from(_x61))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), mark(cons(active(from(mark(_x71))), from(s(active(from(mark(_x71)))))))))
mark#(after(from(_x31), from(from(_x81))))active#(after(active(from(mark(_x31))), active(from(active(from(_x81))))))mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))
mark#(after(from(0), from(from(_x71))))active#(after(active(from(active(0))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))
mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(s(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(s(mark(_x111))), mark(_x92)))))))))
mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))active#(after(0, XS))mark#(XS)
mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))mark#(after(s(s(_x61)), s(_x41)))active#(after(active(s(active(s(mark(_x61))))), active(s(mark(_x41)))))
mark#(after(from(from(_x51)), 0))active#(after(from(active(from(mark(_x51)))), active(0)))mark#(after(from(_x31), from(from(after(_x91, from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(from(mark(_x121)))))))))))
mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x31), from(_x41)))active#(after(from(mark(_x31)), active(from(mark(_x41)))))mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))
mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))mark#(after(X1, _x22))active#(after(mark(X1), _x22))
mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))mark#(after(from(s(_x61)), from(_x41)))active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41)))))
mark#(after(from(_x41), 0))active#(after(from(_x41), active(0)))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(from(mark(_x71))))))
mark#(after(from(cons(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(mark(_x31))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41)))))
mark#(after(s(s(_x61)), s(0)))active#(after(active(s(active(s(mark(_x61))))), active(s(active(0)))))mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))
mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))mark#(after(s(from(_x61)), s(0)))active#(after(active(s(active(from(mark(_x61))))), active(s(active(0)))))
mark#(after(from(_x31), from(_x41)))active#(after(mark(cons(_x31, from(s(_x31)))), active(from(mark(_x41)))))mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(after(mark(_x141), mark(_x142))), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), _x102)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(mark(_x111), _x112), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(from(mark(_x141))), _x112)), mark(_x92))))))))) 
active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))) 
active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))) 
active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(0))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(s(mark(_x121))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92))))))))) 
active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(cons(mark(_x141), _x142)), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(after(mark(_x121), mark(_x122))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(from(mark(_x121))))))))))) 
active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))) 
active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))) 
active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(0), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(mark(_x111), _x112)), mark(_x92))), from(s(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))))) 
active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))) 
active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))) 
Thus, the rule mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))) is replaced by the following rules:
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(0, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(0), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(cons(_x141, _x142), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(cons(mark(_x141), _x142)), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, active(_x132)), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x121, _x122)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(after(mark(_x121), mark(_x122)))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(mark(_x111), _x112)), mark(_x92))), from(s(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))mark#(after(from(_x31), from(from(after(cons(from(_x141), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(from(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(mark(_x111), _x112), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x132)), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), 0))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(0)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))
mark#(after(from(_x31), from(from(after(cons(after(_x141, _x142), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(after(mark(_x141), mark(_x142))), _x112)), mark(_x92)))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), s(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(s(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x102))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), _x102))))))))mark#(after(from(_x51), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(0), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(from(mark(_x121)))))))))))

Problem 25: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))
mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))mark#(after(s(_x31), s(s(_x71))))active#(after(active(s(mark(_x31))), active(s(active(s(mark(_x71)))))))
mark#(after(X1, 0))active#(after(mark(X1), active(0)))mark#(after(s(after(_x61, _x62)), s(0)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(active(0)))))
mark#(after(from(_x51), from(_x41)))active#(after(from(_x51), active(from(mark(_x41)))))mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(active(cons(mark(_x51), _x52))), active(0)))
mark#(after(from(_x51), from(cons(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(cons(mark(_x71), _x72))))))mark#(s(X))mark#(X)
mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), s(mark(_x41))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(mark(_x111), _x112)), mark(_x92))), from(s(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))mark#(after(from(active(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(from(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(from(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(_x51), 0))active#(after(active(from(_x51)), active(0)))
mark#(after(s(_x51), s(_x41)))active#(after(active(s(_x51)), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), from(active(from(mark(_x71))))))
mark#(after(from(_x31), from(from(after(_x91, cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(cons(mark(_x121), _x122))))))))))mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(0)))))))))
mark#(cons(X1, X2))mark#(X1)mark#(after(from(_x31), from(from(after(from(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(from(mark(_x111))), mark(_x92)))))))))
mark#(after(X1, X2))mark#(X1)active#(from(X))mark#(cons(X, from(s(X))))
mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), 0))mark#(after(from(_x51), from(after(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(s(mark(_x121)))))))))))
mark#(after(0, X2))active#(after(active(0), mark(X2)))mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), _x102))))))))mark#(after(from(_x51), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))mark#(after(from(0), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(X1, X2))mark#(X2)
mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))mark#(after(s(0), s(0)))active#(after(active(s(active(0))), active(s(active(0)))))
mark#(after(from(_x31), from(from(after(cons(0, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(0), _x112)), mark(_x92)))))))))mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))
mark#(after(from(_x31), from(from(after(cons(cons(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(cons(mark(_x141), _x142)), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(0)))))))))
mark#(after(s(after(_x61, _x62)), s(_x41)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(mark(_x41)))))mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))
mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41)))))))mark#(after(from(_x31), from(from(after(_x91, after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(after(mark(_x121), mark(_x122)))))))))))
mark#(after(from(_x31), from(from(from(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(from(mark(_x91)))))))))mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))
mark#(after(s(_x31), s(_x41)))active#(after(s(mark(_x31)), active(s(mark(_x41)))))mark#(after(from(after(_x51, _x52)), 0))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))
active#(after(s(N), cons(X, XS)))mark#(after(N, XS))mark#(after(from(_x31), from(from(after(_x101, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(_x101, mark(_x92)))))))))
mark#(after(s(cons(_x61, _x62)), s(0)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(active(0)))))mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))
mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(after(mark(_x121), mark(_x122)))))))))))
mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))mark#(after(_x21, X2))active#(after(_x21, mark(X2)))
mark#(after(s(from(_x61)), s(_x41)))active#(after(active(s(active(from(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(cons(_x61, _x62)), from(_x41)))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41)))))
mark#(after(from(after(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(mark(_x91), mark(_x92))))), from(s(active(from(active(after(mark(_x91), mark(_x92)))))))))))mark#(after(from(_x31), from(0)))active#(after(active(from(mark(_x31))), active(from(active(0)))))
mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(s(_x31), s(0)))active#(after(s(mark(_x31)), active(s(active(0)))))mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))
mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(mark(cons(mark(_x71), from(s(mark(_x71)))))))))
mark#(after(from(0), 0))active#(after(from(active(0)), active(0)))mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(cons(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(cons(mark(_x91), _x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(s(mark(_x121)))))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(s(_x31), s(_x61)))active#(after(active(s(mark(_x31))), active(s(_x61))))mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))
mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(from(after(_x91, _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), _x102))))))))
mark#(after(from(_x51), from(s(_x71))))active#(after(active(from(_x51)), active(from(active(s(mark(_x71)))))))mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(mark(_x91), mark(_x92))), from(s(active(after(mark(_x91), mark(_x92)))))))))))mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(0), mark(_x92)))))))))
mark#(after(from(from(_x61)), from(_x41)))active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(_x111, active(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))
mark#(after(from(from(_x61)), from(from(_x71))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))
mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), s(active(0))))
mark#(after(from(_x31), from(from(after(after(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(after(mark(_x111), mark(_x112))), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(mark(_x111), _x112), mark(_x92)))))))))
mark#(after(from(_x31), from(s(_x71))))active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71)))))))mark#(after(s(_x31), s(from(_x71))))active#(after(active(s(mark(_x31))), active(s(active(from(mark(_x71)))))))
mark#(after(from(_x51), from(0)))active#(after(active(from(_x51)), active(from(active(0)))))mark#(after(from(s(_x51)), 0))active#(after(from(active(s(mark(_x51)))), active(0)))
mark#(from(X))mark#(X)mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(s(_x31), s(cons(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(cons(mark(_x71), _x72))))))
mark#(after(from(_x31), from(after(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(s(cons(_x61, _x62)), s(_x41)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))mark#(after(from(_x31), from(cons(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72))))))
mark#(after(from(_x31), from(from(after(cons(after(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(after(mark(_x141), mark(_x142))), _x112)), mark(_x92)))))))))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), active(s(0))))
mark#(from(X))active#(from(mark(X)))mark#(after(from(_x31), from(from(_x71))))active#(after(from(mark(_x31)), active(from(active(from(mark(_x71)))))))
mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(0))))active#(after(active(from(mark(_x31))), active(from(active(from(active(0)))))))
mark#(after(from(0), from(_x41)))active#(after(active(from(active(0))), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(_x71))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x31), from(from(s(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(s(mark(_x91)))))))))mark#(after(from(s(_x61)), from(from(_x71))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(mark(_x71)))))))
mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x51)), mark(cons(mark(_x41), from(s(mark(_x41)))))))mark#(after(s(_x31), s(after(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(s(0), s(_x41)))active#(after(active(s(active(0))), active(s(mark(_x41)))))mark#(after(from(_x51), from(from(_x71))))active#(after(active(from(_x51)), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x51), from(_x41)))active#(after(active(from(_x51)), from(mark(_x41))))mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))
mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), from(mark(_x41))))
mark#(after(s(_x51), s(0)))active#(after(active(s(_x51)), active(s(active(0)))))mark#(after(from(_x31), from(_x61)))active#(after(active(from(mark(_x31))), active(from(_x61))))
mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(after(_x61, _x62)), from(_x41)))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41)))))mark#(after(from(_x51), from(_x61)))active#(after(active(from(_x51)), active(from(_x61))))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), mark(cons(active(from(mark(_x71))), from(s(active(from(mark(_x71)))))))))mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(_x81))))active#(after(active(from(mark(_x31))), active(from(active(from(_x81))))))mark#(after(from(0), from(from(_x71))))active#(after(active(from(active(0))), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(s(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(s(mark(_x111))), mark(_x92)))))))))
mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))active#(after(0, XS))mark#(XS)
mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))
mark#(after(s(s(_x61)), s(_x41)))active#(after(active(s(active(s(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(from(mark(_x121)))))))))))
mark#(after(from(from(_x51)), 0))active#(after(from(active(from(mark(_x51)))), active(0)))mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(_x41)))active#(after(from(mark(_x31)), active(from(mark(_x41)))))
mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))
mark#(after(X1, _x22))active#(after(mark(X1), _x22))mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))
mark#(after(from(s(_x61)), from(_x41)))active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41)))))mark#(after(from(_x41), 0))active#(after(from(_x41), active(0)))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(from(mark(_x71))))))mark#(after(from(cons(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(mark(_x71)))))))
mark#(after(s(s(_x61)), s(0)))active#(after(active(s(active(s(mark(_x61))))), active(s(active(0)))))mark#(after(from(_x31), from(mark(_x31))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41)))))
mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))mark#(after(from(_x31), from(_x41)))active#(after(mark(cons(_x31, from(s(_x31)))), active(from(mark(_x41)))))
mark#(after(s(from(_x61)), s(0)))active#(after(active(s(active(from(mark(_x61))))), active(s(active(0)))))mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))
mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), mark(_x92)))))))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(0)))))))) 
active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(active(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(0), mark(_x92)))))))) 
active#(after(from(mark(_x31)), active(from(from(active(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(active(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(after(mark(_x101), mark(_x102))), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(after(mark(_x101), mark(_x102)))))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), _x82))))))) 
active#(after(active(from(active(s(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(cons(mark(_x101), _x102))))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(s(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(from(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), from(from(active(after(mark(_x91), mark(_x92))))))) 
active#(after(active(from(active(0))), active(from(from(active(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), mark(_x92))))))) 
active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(active(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(from(mark(_x101))), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), mark(cons(from(active(after(mark(_x91), mark(_x92)))), from(s(from(active(after(mark(_x91), mark(_x92)))))))))) 
active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(_x51)), active(from(from(active(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(_x81, mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x101), _x102)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(s(mark(_x101))), mark(_x92)))))))) 
Thus, the rule mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), mark(_x92)))))))) is replaced by the following rules:
mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102)))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))mark#(after(from(_x31), from(from(after(_x91, from(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(from(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), mark(cons(from(active(after(mark(_x91), mark(_x92)))), from(s(from(active(after(mark(_x91), mark(_x92))))))))))mark#(after(from(from(_x61)), from(from(after(_x91, _x92))))) → active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92))))) → active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92))))) → active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102)))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))mark#(after(from(_x31), from(from(after(_x91, _x82))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), _x82)))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(0, _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(0), mark(_x92))))))))mark#(after(from(_x31), from(from(after(from(_x101), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(from(mark(_x101))), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92))))) → active#(after(active(from(active(s(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), from(from(active(after(mark(_x91), mark(_x92)))))))
mark#(after(from(_x51), from(from(after(_x91, _x92))))) → active#(after(active(from(_x51)), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(s(_x101), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(s(mark(_x101))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x81, _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(_x81, mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, 0))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(0))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(from(mark(_x31)), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(0), from(from(after(_x91, _x92))))) → active#(after(active(from(active(0))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))

Problem 26: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))
mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(active(cons(mark(_x51), _x52))), active(0)))
mark#(after(from(_x51), from(_x41)))active#(after(from(_x51), active(from(mark(_x41)))))mark#(after(from(_x51), from(cons(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(cons(mark(_x71), _x72))))))
mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), s(mark(_x41))))mark#(s(X))mark#(X)
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(active(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(mark(_x111), _x112)), mark(_x92))), from(s(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))
mark#(after(from(_x51), 0))active#(after(active(from(_x51)), active(0)))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(from(active(after(mark(_x91), mark(_x92)))), from(s(from(active(after(mark(_x91), mark(_x92))))))))))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), from(active(from(mark(_x71))))))mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(X1, X2))mark#(X1)
active#(from(X))mark#(cons(X, from(s(X))))mark#(after(from(_x31), from(from(after(_x91, s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(s(mark(_x121)))))))))))
mark#(after(0, X2))active#(after(active(0), mark(X2)))mark#(after(from(_x51), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(0), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))
mark#(after(from(_x31), from(from(after(cons(0, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(0), _x112)), mark(_x92)))))))))mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))
mark#(after(from(_x31), from(from(after(cons(cons(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(cons(mark(_x141), _x142)), _x112)), mark(_x92)))))))))mark#(after(s(after(_x61, _x62)), s(_x41)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(0)))))))))mark#(after(from(_x31), from(from(after(_x91, after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(after(mark(_x121), mark(_x122)))))))))))
mark#(after(from(_x31), from(from(from(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(from(mark(_x91)))))))))mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))
mark#(after(from(after(_x51, _x52)), 0))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))mark#(after(s(_x31), s(_x41)))active#(after(s(mark(_x31)), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x101, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(_x101, mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(from(active(after(mark(_x91), mark(_x92)))))))
mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(s(from(_x61)), s(_x41)))active#(after(active(s(active(from(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(cons(_x61, _x62)), from(_x41)))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(0)))active#(after(active(from(mark(_x31))), active(from(active(0)))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(mark(_x91), mark(_x92))))), from(s(active(from(active(after(mark(_x91), mark(_x92)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))
mark#(after(s(_x31), s(0)))active#(after(s(mark(_x31)), active(s(active(0)))))mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(mark(cons(mark(_x71), from(s(mark(_x71)))))))))mark#(after(from(0), 0))active#(after(from(active(0)), active(0)))
mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x31), from(from(cons(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(cons(mark(_x91), _x92))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, from(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(from(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), _x102))))))))mark#(after(from(_x51), from(s(_x71))))active#(after(active(from(_x51)), active(from(active(s(mark(_x71)))))))
mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(0), mark(_x92)))))))))
mark#(after(from(from(_x61)), from(_x41)))active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41)))))mark#(after(from(from(_x61)), from(from(_x71))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))mark#(after(from(_x51), from(0)))active#(after(active(from(_x51)), active(from(active(0)))))
mark#(after(from(s(_x51)), 0))active#(after(from(active(s(mark(_x51)))), active(0)))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(s(_x31), s(cons(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(cons(mark(_x71), _x72))))))mark#(after(s(cons(_x61, _x62)), s(_x41)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(cons(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72))))))mark#(after(from(_x31), from(from(after(cons(after(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(after(mark(_x141), mark(_x142))), _x112)), mark(_x92)))))))))
mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(0), from(_x41)))active#(after(active(from(active(0))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(_x71))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(_x81, mark(_x92))))))))
mark#(after(from(_x31), from(from(s(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(s(mark(_x91)))))))))mark#(after(s(0), s(_x41)))active#(after(active(s(active(0))), active(s(mark(_x41)))))
mark#(after(from(_x51), from(from(_x71))))active#(after(active(from(_x51)), active(from(active(from(mark(_x71)))))))mark#(after(from(_x51), from(_x41)))active#(after(active(from(_x51)), from(mark(_x41))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(_x61)))active#(after(active(from(mark(_x31))), active(from(_x61))))
mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))mark#(after(from(_x51), from(_x61)))active#(after(active(from(_x51)), active(from(_x61))))
mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))mark#(after(from(0), from(from(_x71))))active#(after(active(from(active(0))), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(s(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(s(mark(_x111))), mark(_x92)))))))))
mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))mark#(after(from(from(_x51)), 0))active#(after(from(active(from(mark(_x51)))), active(0)))
mark#(after(from(_x31), from(from(after(_x91, from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(from(mark(_x121)))))))))))mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(_x41)))active#(after(from(mark(_x31)), active(from(mark(_x41)))))
mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))mark#(after(from(s(_x61)), from(_x41)))active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(mark(_x31))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41)))))mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))
mark#(after(s(from(_x61)), s(0)))active#(after(active(s(active(from(mark(_x61))))), active(s(active(0)))))mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(s(_x31), s(s(_x71))))active#(after(active(s(mark(_x31))), active(s(active(s(mark(_x71)))))))
mark#(after(X1, 0))active#(after(mark(X1), active(0)))mark#(after(s(after(_x61, _x62)), s(0)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(active(0)))))
mark#(after(from(_x31), from(from(after(cons(from(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(from(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(s(_x51), s(_x41)))active#(after(active(s(_x51)), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(cons(mark(_x121), _x122))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(0)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))mark#(cons(X1, X2))mark#(X1)
mark#(after(from(_x31), from(from(after(from(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(from(mark(_x111))), mark(_x92)))))))))mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), 0))
mark#(after(from(_x51), from(after(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), mark(_x92)))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), _x102))))))))mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))
mark#(after(X1, X2))mark#(X2)mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(s(0), s(0)))active#(after(active(s(active(0))), active(s(active(0)))))mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))
mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41)))))))mark#(after(from(_x31), from(from(after(_x91, _x82)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), _x82)))))))
active#(after(s(N), cons(X, XS)))mark#(after(N, XS))mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(s(cons(_x61, _x62)), s(0)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(active(0)))))mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))
mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(after(mark(_x121), mark(_x122)))))))))))
mark#(after(_x21, X2))active#(after(_x21, mark(X2)))mark#(after(from(after(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(mark(_x71)))))))
mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))
mark#(after(from(_x31), from(from(after(from(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(from(mark(_x101))), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(s(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(s(mark(_x101))), mark(_x92))))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(s(mark(_x121)))))))))))mark#(after(s(_x31), s(_x61)))active#(after(active(s(mark(_x31))), active(s(_x61))))
mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(0), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(mark(_x91), mark(_x92))), from(s(active(after(mark(_x91), mark(_x92)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, active(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), s(active(0))))
mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))mark#(after(from(_x31), from(from(after(after(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(after(mark(_x111), mark(_x112))), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(mark(_x111), _x112), mark(_x92)))))))))
mark#(after(from(_x31), from(s(_x71))))active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71)))))))mark#(after(s(_x31), s(from(_x71))))active#(after(active(s(mark(_x31))), active(s(active(from(mark(_x71)))))))
mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))mark#(from(X))mark#(X)
mark#(after(from(_x31), from(after(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))
mark#(after(from(_x31), from(from(_x71))))active#(after(from(mark(_x31)), active(from(active(from(mark(_x71)))))))mark#(from(X))active#(from(mark(X)))
mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), active(s(0))))mark#(after(from(_x31), from(from(0))))active#(after(active(from(mark(_x31))), active(from(active(from(active(0)))))))
mark#(after(s(_x31), s(after(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x51)), mark(cons(mark(_x41), from(s(mark(_x41)))))))
mark#(after(from(s(_x61)), from(from(_x71))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(mark(_x71)))))))mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))
mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), from(mark(_x41))))
mark#(after(s(_x51), s(0)))active#(after(active(s(_x51)), active(s(active(0)))))mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(after(_x61, _x62)), from(_x41)))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), mark(cons(active(from(mark(_x71))), from(s(active(from(mark(_x71)))))))))
mark#(after(from(_x31), from(from(_x81))))active#(after(active(from(mark(_x31))), active(from(active(from(_x81))))))mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(0))))))))mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))
active#(after(0, XS))mark#(XS)mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))
mark#(after(s(s(_x61)), s(_x41)))active#(after(active(s(active(s(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))mark#(after(X1, _x22))active#(after(mark(X1), _x22))
mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))mark#(after(from(_x41), 0))active#(after(from(_x41), active(0)))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(from(mark(_x71))))))mark#(after(from(cons(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(mark(_x71)))))))
mark#(after(s(s(_x61)), s(0)))active#(after(active(s(active(s(mark(_x61))))), active(s(active(0)))))mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))
mark#(after(from(_x31), from(_x41)))active#(after(mark(cons(_x31, from(s(_x31)))), active(from(mark(_x41)))))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), mark(_x92)))))))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), mark(_x92)))), from(s(active(from(after(mark(_x91), mark(_x92)))))))))) 
active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), _x82))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(0)))))))) 
active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), mark(_x92)))))))) 
active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), mark(_x92)), from(s(after(mark(_x91), mark(_x92)))))))))) 
active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), mark(_x92))))))) 
active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(cons(mark(_x101), _x102))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(after(mark(_x101), mark(_x102)))))))))) 
active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(from(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), mark(_x92))))))) 
active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, mark(_x92)))))))) 
Thus, the rule mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), mark(_x92)))))))) is replaced by the following rules:
mark#(after(from(_x31), from(from(after(_x91, s(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(s(_x101), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(0, _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x82))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), _x82)))))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92))))) → active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), mark(_x92)), from(s(after(mark(_x91), mark(_x92))))))))))
mark#(after(from(_x31), from(from(after(_x91, 0))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(0))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92))))) → active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(from(_x101), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), mark(_x92)))))))mark#(after(from(s(_x61)), from(from(after(_x91, _x92))))) → active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(from(from(_x61)), from(from(after(_x91, _x92))))) → active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(from(_x31), from(from(after(_x91, from(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(from(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x81, _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, mark(_x92))))))))
mark#(after(from(_x51), from(from(after(_x91, _x92))))) → active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(0), from(from(after(_x91, _x92))))) → active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92))))) → active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), mark(_x92)))), from(s(active(from(after(mark(_x91), mark(_x92))))))))))mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))

Problem 27: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))
mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(active(cons(mark(_x51), _x52))), active(0)))
mark#(after(from(_x51), from(_x41)))active#(after(from(_x51), active(from(mark(_x41)))))mark#(after(from(_x51), from(cons(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(cons(mark(_x71), _x72))))))
mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), s(mark(_x41))))mark#(s(X))mark#(X)
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(mark(_x111), _x112)), mark(_x92))), from(s(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))mark#(after(from(active(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))mark#(after(from(_x51), 0))active#(after(active(from(_x51)), active(0)))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(from(active(after(mark(_x91), mark(_x92)))), from(s(from(active(after(mark(_x91), mark(_x92))))))))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), from(active(from(mark(_x71))))))
mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))mark#(after(X1, X2))mark#(X1)
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))active#(from(X))mark#(cons(X, from(s(X))))
mark#(after(0, X2))active#(after(active(0), mark(X2)))mark#(after(from(_x31), from(from(after(_x91, s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(s(mark(_x121)))))))))))
mark#(after(from(_x51), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(0), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))mark#(after(from(_x31), from(from(after(cons(0, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(0), _x112)), mark(_x92)))))))))
mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))mark#(after(from(_x31), from(from(after(cons(cons(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(cons(mark(_x141), _x142)), _x112)), mark(_x92)))))))))
mark#(after(s(after(_x61, _x62)), s(_x41)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(0)))))))))
mark#(after(from(_x31), from(from(after(_x91, after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(after(mark(_x121), mark(_x122)))))))))))mark#(after(from(_x31), from(from(from(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(from(mark(_x91)))))))))
mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))mark#(after(from(after(_x51, _x52)), 0))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))
mark#(after(s(_x31), s(_x41)))active#(after(s(mark(_x31)), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x101, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(_x101, mark(_x92)))))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(from(active(after(mark(_x91), mark(_x92)))))))
mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(s(from(_x61)), s(_x41)))active#(after(active(s(active(from(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(cons(_x61, _x62)), from(_x41)))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(0)))active#(after(active(from(mark(_x31))), active(from(active(0)))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(mark(_x91), mark(_x92))))), from(s(active(from(active(after(mark(_x91), mark(_x92)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))mark#(after(s(_x31), s(0)))active#(after(s(mark(_x31)), active(s(active(0)))))
mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(mark(cons(mark(_x71), from(s(mark(_x71)))))))))
mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))mark#(after(from(0), 0))active#(after(from(active(0)), active(0)))
mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(cons(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(cons(mark(_x91), _x92))))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))
mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, from(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(from(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), _x102))))))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))
mark#(after(from(_x51), from(s(_x71))))active#(after(active(from(_x51)), active(from(active(s(mark(_x71)))))))mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(0), mark(_x92)))))))))mark#(after(from(from(_x61)), from(_x41)))active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41)))))
mark#(after(from(from(_x61)), from(from(_x71))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))
mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))mark#(after(from(s(_x51)), 0))active#(after(from(active(s(mark(_x51)))), active(0)))
mark#(after(from(_x51), from(0)))active#(after(active(from(_x51)), active(from(active(0)))))mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), mark(_x92)), from(s(after(mark(_x91), mark(_x92))))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))mark#(after(s(_x31), s(cons(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(cons(mark(_x71), _x72))))))
mark#(after(s(cons(_x61, _x62)), s(_x41)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(from(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), mark(_x92))))))))
mark#(after(from(_x31), from(cons(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72))))))mark#(after(from(_x31), from(from(after(cons(after(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(after(mark(_x141), mark(_x142))), _x112)), mark(_x92)))))))))
mark#(after(from(0), from(_x41)))active#(after(active(from(active(0))), active(from(mark(_x41)))))mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x31), from(from(_x71))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(_x91, from(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(from(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(_x81, mark(_x92))))))))
mark#(after(s(0), s(_x41)))active#(after(active(s(active(0))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(s(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(s(mark(_x91)))))))))
mark#(after(from(_x51), from(from(_x71))))active#(after(active(from(_x51)), active(from(active(from(mark(_x71)))))))mark#(after(from(_x51), from(_x41)))active#(after(active(from(_x51)), from(mark(_x41))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(_x61)))active#(after(active(from(mark(_x31))), active(from(_x61))))
mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))mark#(after(from(_x51), from(_x61)))active#(after(active(from(_x51)), active(from(_x61))))
mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))mark#(after(from(0), from(from(_x71))))active#(after(active(from(active(0))), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(s(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(s(mark(_x111))), mark(_x92)))))))))
mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))mark#(after(from(from(_x51)), 0))active#(after(from(active(from(mark(_x51)))), active(0)))
mark#(after(from(_x31), from(from(after(_x91, from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(from(mark(_x121)))))))))))mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(0))))))))
mark#(after(from(_x31), from(_x41)))active#(after(from(mark(_x31)), active(from(mark(_x41)))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))mark#(after(from(s(_x61)), from(_x41)))active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(mark(_x31))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41)))))mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))
mark#(after(s(from(_x61)), s(0)))active#(after(active(s(active(from(mark(_x61))))), active(s(active(0)))))mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), mark(_x92)))))))
mark#(after(s(_x31), s(s(_x71))))active#(after(active(s(mark(_x31))), active(s(active(s(mark(_x71)))))))mark#(after(X1, 0))active#(after(mark(X1), active(0)))
mark#(after(s(after(_x61, _x62)), s(0)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(active(0)))))mark#(after(from(_x31), from(from(after(cons(from(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(from(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(s(_x51), s(_x41)))active#(after(active(s(_x51)), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(0)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(cons(X1, X2))mark#(X1)
mark#(after(from(_x31), from(from(after(from(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(from(mark(_x111))), mark(_x92)))))))))mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), 0))
mark#(after(from(_x51), from(after(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), mark(_x92)))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), _x102))))))))
mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))mark#(after(X1, X2))mark#(X2)
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))mark#(after(s(0), s(0)))active#(after(active(s(active(0))), active(s(active(0)))))
mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41)))))))
mark#(after(from(_x31), from(from(after(_x91, _x82)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), _x82)))))))active#(after(s(N), cons(X, XS)))mark#(after(N, XS))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(s(cons(_x61, _x62)), s(0)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(active(0)))))
mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(after(mark(_x121), mark(_x122)))))))))))mark#(after(_x21, X2))active#(after(_x21, mark(X2)))
mark#(after(from(after(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(mark(_x71)))))))mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))
mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))mark#(after(from(_x31), from(from(after(from(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(from(mark(_x101))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(s(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(s(mark(_x101))), mark(_x92))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(s(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), mark(_x92)))), from(s(active(from(after(mark(_x91), mark(_x92))))))))))mark#(after(s(_x31), s(_x61)))active#(after(active(s(mark(_x31))), active(s(_x61))))
mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(0), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(mark(_x91), mark(_x92))), from(s(active(after(mark(_x91), mark(_x92)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, active(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), s(active(0))))
mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))mark#(after(from(_x31), from(from(after(after(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(after(mark(_x111), mark(_x112))), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(mark(_x111), _x112), mark(_x92)))))))))
mark#(after(from(_x31), from(s(_x71))))active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71)))))))mark#(after(s(_x31), s(from(_x71))))active#(after(active(s(mark(_x31))), active(s(active(from(mark(_x71)))))))
mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))mark#(from(X))mark#(X)
mark#(after(from(_x31), from(from(after(_x91, _x82)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), _x82)))))))mark#(after(from(_x31), from(after(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))mark#(after(from(_x31), from(from(_x71))))active#(after(from(mark(_x31)), active(from(active(from(mark(_x71)))))))
mark#(from(X))active#(from(mark(X)))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), active(s(0))))
mark#(after(from(_x31), from(from(0))))active#(after(active(from(mark(_x31))), active(from(active(from(active(0)))))))mark#(after(s(_x31), s(after(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x51)), mark(cons(mark(_x41), from(s(mark(_x41)))))))mark#(after(from(s(_x61)), from(from(_x71))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x31), from(from(after(s(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))
mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), from(mark(_x41))))mark#(after(s(_x51), s(0)))active#(after(active(s(_x51)), active(s(active(0)))))
mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(after(_x61, _x62)), from(_x41)))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), mark(cons(active(from(mark(_x71))), from(s(active(from(mark(_x71)))))))))mark#(after(from(_x31), from(from(_x81))))active#(after(active(from(mark(_x31))), active(from(active(from(_x81))))))
mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(0))))))))
active#(after(0, XS))mark#(XS)mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))
mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(s(s(_x61)), s(_x41)))active#(after(active(s(active(s(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))
mark#(after(X1, _x22))active#(after(mark(X1), _x22))mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))
mark#(after(from(_x41), 0))active#(after(from(_x41), active(0)))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(from(mark(_x71))))))
mark#(after(from(cons(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(mark(_x71)))))))mark#(after(s(s(_x61)), s(0)))active#(after(active(s(active(s(mark(_x61))))), active(s(active(0)))))
mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))
mark#(after(from(_x31), from(_x41)))active#(after(mark(cons(_x31, from(s(_x31)))), active(from(mark(_x41)))))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(from(_x31), from(from(after(_x91, s(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), active(s(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(from(mark(_x131)))))))))))) 
active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(_x121))))))))) 
active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, active(s(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), active(s(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), active(s(mark(_x101)))))))))) 
active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))) 
active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(s(mark(_x131)))))))))))) 
active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), active(s(mark(_x101)))), from(s(after(mark(_x91), active(s(mark(_x101)))))))))))) 
active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), active(s(mark(_x101)))))), from(s(active(from(after(mark(_x91), active(s(mark(_x101)))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), active(s(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(cons(mark(_x131), _x132))))))))))) 
active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), active(s(mark(_x101))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), s(mark(_x101))))))))) 
active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(after(mark(_x131), mark(_x132)))))))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), active(s(mark(_x101))))))))) 
active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), active(s(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(0)))))))))) 
Thus, the rule mark#(after(from(_x31), from(from(after(_x91, s(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))) is replaced by the following rules:
mark#(after(from(_x31), from(from(after(_x91, s(_x101)))))) → active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))mark#(after(from(_x31), from(from(after(_x91, s(0)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(0))))))))))
mark#(after(from(0), from(from(after(_x91, s(_x101)))))) → active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101)))))) → active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), active(s(mark(_x101)))))), from(s(active(from(after(mark(_x91), active(s(mark(_x101))))))))))))
mark#(after(from(s(_x61)), from(from(after(_x91, s(_x101)))))) → active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), active(s(mark(_x101)))))))))
mark#(after(from(_x31), from(from(after(0, s(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), s(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), active(s(mark(_x101))))))))))
mark#(after(from(_x51), from(from(after(_x91, s(_x101)))))) → active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x91, s(s(_x131))))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(s(mark(_x131))))))))))))
mark#(after(from(_x31), from(from(after(s(_x101), s(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x91, s(after(_x131, _x132))))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(after(mark(_x131), mark(_x132))))))))))))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), s(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), active(s(mark(_x101))))))))))mark#(after(from(from(_x61)), from(from(after(_x91, s(_x101)))))) → active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(cons(_x131, _x132))))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(cons(mark(_x131), _x132)))))))))))mark#(after(from(after(_x61, _x62)), from(from(after(_x91, s(_x101)))))) → active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x101)))))) → active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x91, s(from(_x131))))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(from(mark(_x131))))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x101)))))) → active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x81, s(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(from(_x101), s(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), s(mark(_x101)))))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), active(s(mark(_x101)))), from(s(after(mark(_x91), active(s(mark(_x101))))))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, s(_x101)))))) → active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(_x121)))))))))

Problem 28: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), active(s(mark(_x101)))))), from(s(active(from(after(mark(_x91), active(s(mark(_x101))))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))
mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(active(cons(mark(_x51), _x52))), active(0)))
mark#(after(from(_x51), from(_x41)))active#(after(from(_x51), active(from(mark(_x41)))))mark#(after(from(_x51), from(cons(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(cons(mark(_x71), _x72))))))
mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), s(mark(_x41))))mark#(s(X))mark#(X)
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))mark#(after(from(active(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(mark(_x111), _x112)), mark(_x92))), from(s(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))mark#(after(from(_x51), 0))active#(after(active(from(_x51)), active(0)))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(from(active(after(mark(_x91), mark(_x92)))), from(s(from(active(after(mark(_x91), mark(_x92))))))))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), from(active(from(mark(_x71))))))
mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(X1, X2))mark#(X1)
active#(from(X))mark#(cons(X, from(s(X))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), s(mark(_x101)))))))))
mark#(after(0, X2))active#(after(active(0), mark(X2)))mark#(after(from(_x31), from(from(after(_x91, s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(s(mark(_x121)))))))))))
mark#(after(from(_x51), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(0), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))mark#(after(from(_x31), from(from(after(cons(0, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(0), _x112)), mark(_x92)))))))))
mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))mark#(after(from(_x31), from(from(after(cons(cons(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(cons(mark(_x141), _x142)), _x112)), mark(_x92)))))))))
mark#(after(s(after(_x61, _x62)), s(_x41)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(0)))))))))
mark#(after(from(_x31), from(from(after(_x91, after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(after(mark(_x121), mark(_x122)))))))))))mark#(after(from(_x31), from(from(from(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(from(mark(_x91)))))))))
mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))mark#(after(from(after(_x51, _x52)), 0))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))
mark#(after(s(_x31), s(_x41)))active#(after(s(mark(_x31)), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x101, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(_x101, mark(_x92)))))))))mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(from(active(after(mark(_x91), mark(_x92)))))))mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))
mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(s(from(_x61)), s(_x41)))active#(after(active(s(active(from(mark(_x61))))), active(s(mark(_x41)))))
mark#(after(from(cons(_x61, _x62)), from(_x41)))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(0)))active#(after(active(from(mark(_x31))), active(from(active(0)))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(mark(_x91), mark(_x92))))), from(s(active(from(active(after(mark(_x91), mark(_x92)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))
mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))mark#(after(s(_x31), s(0)))active#(after(s(mark(_x31)), active(s(active(0)))))
mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(mark(cons(mark(_x71), from(s(mark(_x71)))))))))
mark#(after(from(0), 0))active#(after(from(active(0)), active(0)))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(cons(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(cons(mark(_x91), _x92))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, from(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(from(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), _x102))))))))mark#(after(from(_x51), from(s(_x71))))active#(after(active(from(_x51)), active(from(active(s(mark(_x71)))))))
mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(0), mark(_x92)))))))))
mark#(after(from(from(_x61)), from(_x41)))active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, s(cons(_x131, _x132)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(cons(mark(_x131), _x132)))))))))))
mark#(after(from(from(_x61)), from(from(_x71))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(mark(_x71)))))))mark#(after(from(after(_x61, _x62)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))
mark#(after(from(_x51), from(0)))active#(after(active(from(_x51)), active(from(active(0)))))mark#(after(from(s(_x51)), 0))active#(after(from(active(s(mark(_x51)))), active(0)))
mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), mark(_x92)), from(s(after(mark(_x91), mark(_x92))))))))))mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(s(_x31), s(cons(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(cons(mark(_x71), _x72))))))mark#(after(s(cons(_x61, _x62)), s(_x41)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(from(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), mark(_x92))))))))mark#(after(from(_x31), from(cons(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72))))))
mark#(after(from(_x31), from(from(after(cons(after(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(after(mark(_x141), mark(_x142))), _x112)), mark(_x92)))))))))mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(0), from(_x41)))active#(after(active(from(active(0))), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, from(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(from(mark(_x101))))))))))
mark#(after(from(_x31), from(from(_x71))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(_x81, mark(_x92))))))))mark#(after(s(0), s(_x41)))active#(after(active(s(active(0))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(s(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(s(mark(_x91)))))))))mark#(after(from(_x51), from(from(_x71))))active#(after(active(from(_x51)), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x51), from(_x41)))active#(after(active(from(_x51)), from(mark(_x41))))mark#(after(from(0), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(0))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(0))))))))))mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(_x61)))active#(after(active(from(mark(_x31))), active(from(_x61))))mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))
mark#(after(from(_x51), from(_x61)))active#(after(active(from(_x51)), active(from(_x61))))mark#(after(from(_x31), from(from(after(0, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), active(s(mark(_x101))))))))))
mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))mark#(after(from(_x51), from(from(after(_x91, s(_x101))))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(0), from(from(_x71))))active#(after(active(from(active(0))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(s(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(s(mark(_x111))), mark(_x92)))))))))mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(from(_x51)), 0))active#(after(from(active(from(mark(_x51)))), active(0)))
mark#(after(from(_x31), from(from(after(_x91, from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(from(mark(_x121)))))))))))mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(0))))))))
mark#(after(from(_x31), from(_x41)))active#(after(from(mark(_x31)), active(from(mark(_x41)))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))mark#(after(from(s(_x61)), from(_x41)))active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41)))))
mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), active(s(mark(_x101)))), from(s(after(mark(_x91), active(s(mark(_x101))))))))))))
mark#(after(from(_x31), from(mark(_x31))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41)))))mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))
mark#(after(s(from(_x61)), s(0)))active#(after(active(s(active(from(mark(_x61))))), active(s(active(0)))))mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), mark(_x92)))))))
mark#(after(s(_x31), s(s(_x71))))active#(after(active(s(mark(_x31))), active(s(active(s(mark(_x71)))))))mark#(after(X1, 0))active#(after(mark(X1), active(0)))
mark#(after(s(after(_x61, _x62)), s(0)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(active(0)))))mark#(after(from(_x31), from(from(after(cons(from(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(from(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(s(_x51), s(_x41)))active#(after(active(s(_x51)), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(0)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(cons(X1, X2))mark#(X1)
mark#(after(from(_x31), from(from(after(from(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(from(mark(_x111))), mark(_x92)))))))))mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), 0))
mark#(after(from(_x51), from(after(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), mark(_x92)))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), _x102))))))))
mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))mark#(after(X1, X2))mark#(X2)
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))mark#(after(s(0), s(0)))active#(after(active(s(active(0))), active(s(active(0)))))
mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), active(s(mark(_x101)))))))))
mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41)))))))mark#(after(from(_x31), from(from(after(_x91, _x82)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), _x82)))))))
active#(after(s(N), cons(X, XS)))mark#(after(N, XS))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(s(cons(_x61, _x62)), s(0)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(active(0)))))mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))
mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(_x101, _x102), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(after(mark(_x121), mark(_x122)))))))))))mark#(after(_x21, X2))active#(after(_x21, mark(X2)))
mark#(after(from(after(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(mark(_x71)))))))mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))
mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))mark#(after(from(_x31), from(from(after(from(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(from(mark(_x101))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(s(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(s(mark(_x101))), mark(_x92))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(s(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(_x121)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), mark(_x92)))), from(s(active(from(after(mark(_x91), mark(_x92))))))))))
mark#(after(s(_x31), s(_x61)))active#(after(active(s(mark(_x31))), active(s(_x61))))mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))
mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(0), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(mark(_x91), mark(_x92))), from(s(active(after(mark(_x91), mark(_x92)))))))))))mark#(after(from(_x31), from(from(after(_x91, s(s(_x131)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(s(mark(_x131))))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, active(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), s(active(0))))
mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))mark#(after(from(_x31), from(from(after(after(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(after(mark(_x111), mark(_x112))), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))mark#(after(from(_x31), from(from(after(_x91, s(from(_x131)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(from(mark(_x131))))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(mark(_x111), _x112), mark(_x92)))))))))mark#(after(from(_x31), from(s(_x71))))active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71)))))))
mark#(after(s(_x31), s(from(_x71))))active#(after(active(s(mark(_x31))), active(s(active(from(mark(_x71)))))))mark#(from(X))mark#(X)
mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))mark#(after(from(_x31), from(from(after(_x91, _x82)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), _x82)))))))
mark#(after(from(_x31), from(from(after(_x81, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, active(s(mark(_x101))))))))))mark#(after(from(_x31), from(after(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), active(s(0))))
mark#(from(X))active#(from(mark(X)))mark#(after(from(_x31), from(from(_x71))))active#(after(from(mark(_x31)), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x31), from(from(0))))active#(after(active(from(mark(_x31))), active(from(active(from(active(0)))))))mark#(after(from(s(_x61)), from(from(_x71))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(mark(_x71)))))))
mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x51)), mark(cons(mark(_x41), from(s(mark(_x41)))))))mark#(after(s(_x31), s(after(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(_x31), from(from(after(s(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))
mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), from(mark(_x41))))
mark#(after(from(s(_x61)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(s(_x51), s(0)))active#(after(active(s(_x51)), active(s(active(0)))))
mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(after(_x61, _x62)), from(_x41)))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), mark(cons(active(from(mark(_x71))), from(s(active(from(mark(_x71)))))))))mark#(after(from(_x31), from(from(_x81))))active#(after(active(from(mark(_x31))), active(from(active(from(_x81))))))
mark#(after(from(_x31), from(from(after(s(_x101), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), active(s(mark(_x101))))))))))mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, s(after(_x131, _x132)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(after(mark(_x131), mark(_x132))))))))))))mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(0))))))))
mark#(after(from(from(_x61)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))
active#(after(0, XS))mark#(XS)mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))
mark#(after(s(s(_x61)), s(_x41)))active#(after(active(s(active(s(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))mark#(after(X1, _x22))active#(after(mark(X1), _x22))
mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))mark#(after(from(_x31), from(from(after(from(_x101), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), active(s(mark(_x101))))))))))
mark#(after(from(_x41), 0))active#(after(from(_x41), active(0)))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(from(mark(_x71))))))
mark#(after(from(cons(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(mark(_x71)))))))mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(s(s(_x61)), s(0)))active#(after(active(s(active(s(mark(_x61))))), active(s(active(0)))))mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))
mark#(after(from(_x31), from(_x41)))active#(after(mark(cons(_x31, from(s(_x31)))), active(from(mark(_x41)))))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(s(mark(_x141)), _x132)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(s(mark(_x121))))))))))) 
active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))) 
active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))) 
active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), _x102)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(cons(mark(_x121), _x122)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(_x161)), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(0))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(from(mark(_x171))))), _x112)), mark(_x92))))))))) 
active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(0))), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(after(mark(_x171), mark(_x172))))), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x132)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(s(mark(_x171))))), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(active(s(mark(_x141))), _x112), mark(_x92))))))))) 
active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))) 
active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(after(mark(_x121), mark(_x122))))))))))) 
active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(cons(mark(_x171), _x172)))), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))) 
active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))), from(s(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))))) 
Thus, the rule mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))) is replaced by the following rules:
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), mark(_x132)), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x132)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x51), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), cons(_x121, _x122)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), s(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(s(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(s(s(_x171)), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(s(mark(_x171))))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(after(_x171, _x172)), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(after(mark(_x171), mark(_x172))))), _x112)), mark(_x92)))))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x132), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(s(mark(_x141)), _x132)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), active(_x132)), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x132)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), 0))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(0)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x161), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(_x161)), _x112)), mark(_x92)))))))))mark#(after(from(0), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(s(_x61)), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(0), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(0))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x102))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), _x102))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))), from(s(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))))mark#(after(from(_x31), from(from(after(cons(s(cons(_x171, _x172)), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(cons(mark(_x171), _x172)))), _x112)), mark(_x92)))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), after(_x121, _x122)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(after(mark(_x121), mark(_x122)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(active(s(mark(_x141))), _x112), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(from(_x171)), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(from(mark(_x171))))), _x112)), mark(_x92)))))))))

Problem 29: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), active(s(mark(_x101)))))), from(s(active(from(after(mark(_x91), active(s(mark(_x101))))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))
mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(active(cons(mark(_x51), _x52))), active(0)))mark#(after(from(_x51), from(_x41)))active#(after(from(_x51), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(s(_x171)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(s(mark(_x171))))), _x112)), mark(_x92)))))))))mark#(after(from(_x51), from(cons(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(cons(mark(_x71), _x72))))))
mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), s(mark(_x41))))mark#(s(X))mark#(X)
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(mark(_x111), _x112)), mark(_x92))), from(s(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))mark#(after(from(active(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))mark#(after(from(_x51), 0))active#(after(active(from(_x51)), active(0)))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(from(active(after(mark(_x91), mark(_x92)))), from(s(from(active(after(mark(_x91), mark(_x92))))))))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), from(active(from(mark(_x71))))))
mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(X1, X2))mark#(X1)mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
active#(from(X))mark#(cons(X, from(s(X))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), s(mark(_x101)))))))))
mark#(after(0, X2))active#(after(active(0), mark(X2)))mark#(after(from(_x31), from(from(after(_x91, s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(s(mark(_x121)))))))))))
mark#(after(from(_x51), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(0), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))mark#(after(from(_x31), from(from(after(cons(0, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(0), _x112)), mark(_x92)))))))))
mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))mark#(after(from(_x31), from(from(after(cons(cons(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(cons(mark(_x141), _x142)), _x112)), mark(_x92)))))))))
mark#(after(s(after(_x61, _x62)), s(_x41)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(0)))))))))
mark#(after(from(_x31), from(from(after(_x91, after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(after(mark(_x121), mark(_x122)))))))))))mark#(after(from(_x31), from(from(from(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(from(mark(_x91)))))))))
mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))mark#(after(from(after(_x51, _x52)), 0))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))
mark#(after(s(_x31), s(_x41)))active#(after(s(mark(_x31)), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x101, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(_x101, mark(_x92)))))))))mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(from(active(after(mark(_x91), mark(_x92)))))))mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))
mark#(after(from(after(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(s(from(_x61)), s(_x41)))active#(after(active(s(active(from(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(cons(_x61, _x62)), from(_x41)))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(mark(_x91), mark(_x92))))), from(s(active(from(active(after(mark(_x91), mark(_x92)))))))))))mark#(after(from(_x31), from(0)))active#(after(active(from(mark(_x31))), active(from(active(0)))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))mark#(after(s(_x31), s(0)))active#(after(s(mark(_x31)), active(s(active(0)))))
mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(mark(cons(mark(_x71), from(s(mark(_x71)))))))))
mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))mark#(after(from(0), 0))active#(after(from(active(0)), active(0)))
mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(cons(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(cons(mark(_x91), _x92))))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), _x102))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))
mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, from(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(from(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), mark(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x132)), mark(_x92)))))))))mark#(after(from(_x51), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), _x102))))))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))
mark#(after(from(_x51), from(s(_x71))))active#(after(active(from(_x51)), active(from(active(s(mark(_x71)))))))mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(0), mark(_x92)))))))))mark#(after(from(from(_x61)), from(_x41)))active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, s(cons(_x131, _x132)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(cons(mark(_x131), _x132)))))))))))mark#(after(from(after(_x61, _x62)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(from(_x61)), from(from(_x71))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))
mark#(after(from(_x31), from(from(after(cons(s(after(_x171, _x172)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(after(mark(_x171), mark(_x172))))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))
mark#(after(from(s(_x51)), 0))active#(after(from(active(s(mark(_x51)))), active(0)))mark#(after(from(_x51), from(0)))active#(after(active(from(_x51)), active(from(active(0)))))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), mark(_x92)), from(s(after(mark(_x91), mark(_x92))))))))))mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(s(_x31), s(cons(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(cons(mark(_x71), _x72))))))mark#(after(s(cons(_x61, _x62)), s(_x41)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(from(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), mark(_x92))))))))mark#(after(from(_x31), from(cons(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72))))))
mark#(after(from(_x31), from(from(after(cons(after(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(after(mark(_x141), mark(_x142))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))), from(s(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))))
mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(0), from(_x41)))active#(after(active(from(active(0))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, from(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(from(mark(_x101))))))))))mark#(after(from(_x31), from(from(_x71))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(_x81, mark(_x92))))))))
mark#(after(s(0), s(_x41)))active#(after(active(s(active(0))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(s(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(s(mark(_x91)))))))))
mark#(after(from(_x51), from(from(_x71))))active#(after(active(from(_x51)), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x51), from(_x41)))active#(after(active(from(_x51)), from(mark(_x41))))mark#(after(from(0), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(0))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(0))))))))))mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(_x61)))active#(after(active(from(mark(_x31))), active(from(_x61))))mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))
mark#(after(from(_x51), from(_x61)))active#(after(active(from(_x51)), active(from(_x61))))mark#(after(from(_x31), from(from(after(0, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), active(s(mark(_x101))))))))))
mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(s(mark(_x121)))))))))))
mark#(after(from(_x51), from(from(after(_x91, s(_x101))))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(0), from(from(_x71))))active#(after(active(from(active(0))), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(s(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(s(mark(_x111))), mark(_x92)))))))))
mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(s(mark(_x141)), _x132)), mark(_x92)))))))))mark#(after(from(from(_x51)), 0))active#(after(from(active(from(mark(_x51)))), active(0)))
mark#(after(from(_x31), from(from(after(_x91, from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(from(mark(_x121)))))))))))mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(0)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(0))))))))mark#(after(from(_x31), from(_x41)))active#(after(from(mark(_x31)), active(from(mark(_x41)))))
mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))
mark#(after(from(s(_x61)), from(_x41)))active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41)))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), active(s(mark(_x101)))), from(s(after(mark(_x91), active(s(mark(_x101))))))))))))mark#(after(from(_x31), from(mark(_x31))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41)))))
mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))mark#(after(s(from(_x61)), s(0)))active#(after(active(s(active(from(mark(_x61))))), active(s(active(0)))))
mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(from(_x171)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(from(mark(_x171))))), _x112)), mark(_x92)))))))))
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), mark(_x92)))))))
mark#(after(s(_x31), s(s(_x71))))active#(after(active(s(mark(_x31))), active(s(active(s(mark(_x71)))))))mark#(after(X1, 0))active#(after(mark(X1), active(0)))
mark#(after(s(after(_x61, _x62)), s(0)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(active(0)))))mark#(after(from(_x31), from(from(after(cons(from(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(from(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(s(_x51), s(_x41)))active#(after(active(s(_x51)), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(0)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(cons(X1, X2))mark#(X1)
mark#(after(from(_x31), from(from(after(from(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(from(mark(_x111))), mark(_x92)))))))))mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), 0))
mark#(after(from(_x51), from(after(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(from(after(cons(s(0), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(0))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), mark(_x92)))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(cons(_x171, _x172)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(cons(mark(_x171), _x172)))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(after(mark(_x121), mark(_x122)))))))))))mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), _x102))))))))mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))
mark#(after(X1, X2))mark#(X2)mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))
mark#(after(s(0), s(0)))active#(after(active(s(active(0))), active(s(active(0)))))mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))
mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), active(s(mark(_x101)))))))))mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41)))))))
mark#(after(from(_x31), from(from(after(_x91, _x82)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), _x82)))))))active#(after(s(N), cons(X, XS)))mark#(after(N, XS))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(s(cons(_x61, _x62)), s(0)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(active(0)))))
mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(after(mark(_x121), mark(_x122)))))))))))
mark#(after(_x21, X2))active#(after(_x21, mark(X2)))mark#(after(from(after(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(mark(_x71)))))))
mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))mark#(after(from(0), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))mark#(after(from(_x31), from(from(after(from(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(from(mark(_x101))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(s(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(s(mark(_x101))), mark(_x92))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(s(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(active(s(mark(_x141))), _x112), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), mark(_x92)))), from(s(active(from(after(mark(_x91), mark(_x92))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(_x121)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))))mark#(after(s(_x31), s(_x61)))active#(after(active(s(mark(_x31))), active(s(_x61))))
mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(0), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(mark(_x91), mark(_x92))), from(s(active(after(mark(_x91), mark(_x92)))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(s(_x131)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(s(mark(_x131))))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, active(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))
mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), s(active(0))))
mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))mark#(after(from(_x31), from(from(after(after(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(after(mark(_x111), mark(_x112))), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, s(from(_x131)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(from(mark(_x131))))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(mark(_x111), _x112), mark(_x92)))))))))
mark#(after(from(_x31), from(s(_x71))))active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71)))))))mark#(after(s(_x31), s(from(_x71))))active#(after(active(s(mark(_x31))), active(s(active(from(mark(_x71)))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), active(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x132)), mark(_x92)))))))))mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))
mark#(from(X))mark#(X)mark#(after(from(_x31), from(from(after(_x91, _x82)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), _x82)))))))
mark#(after(from(_x31), from(from(after(_x81, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x161), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(_x161)), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(after(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))
mark#(after(from(_x31), from(from(_x71))))active#(after(from(mark(_x31)), active(from(active(from(mark(_x71)))))))mark#(from(X))active#(from(mark(X)))
mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), active(s(0))))mark#(after(from(_x31), from(from(0))))active#(after(active(from(mark(_x31))), active(from(active(from(active(0)))))))
mark#(after(s(_x31), s(after(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x51)), mark(cons(mark(_x41), from(s(mark(_x41)))))))
mark#(after(from(s(_x61)), from(from(_x71))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(s(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))
mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))mark#(after(from(s(_x61)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), from(mark(_x41))))mark#(after(s(_x51), s(0)))active#(after(active(s(_x51)), active(s(active(0)))))
mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(after(_x61, _x62)), from(_x41)))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(cons(mark(_x121), _x122))))))))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), mark(cons(active(from(mark(_x71))), from(s(active(from(mark(_x71)))))))))
mark#(after(from(_x31), from(from(_x81))))active#(after(active(from(mark(_x31))), active(from(active(from(_x81))))))mark#(after(from(_x31), from(from(after(s(_x101), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), active(s(mark(_x101))))))))))
mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, s(after(_x131, _x132)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(after(mark(_x131), mark(_x132))))))))))))
mark#(after(from(from(_x61)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(0))))))))
active#(after(0, XS))mark#(XS)mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))
mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))mark#(after(from(cons(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(s(s(_x61)), s(_x41)))active#(after(active(s(active(s(mark(_x61))))), active(s(mark(_x41)))))
mark#(after(from(s(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))
mark#(after(X1, _x22))active#(after(mark(X1), _x22))mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))
mark#(after(from(_x31), from(from(after(from(_x101), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), active(s(mark(_x101))))))))))mark#(after(from(_x41), 0))active#(after(from(_x41), active(0)))
mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(from(mark(_x71))))))
mark#(after(from(cons(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(mark(_x71)))))))mark#(after(s(s(_x61)), s(0)))active#(after(active(s(active(s(mark(_x61))))), active(s(active(0)))))
mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))
mark#(after(from(_x31), from(_x41)))active#(after(mark(cons(_x31, from(s(_x31)))), active(from(mark(_x41)))))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(s(mark(_x141)), _x102)), mark(_x92)))))))) 
active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(0))), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x102)), mark(_x92)))))))) 
active#(after(active(from(_x51)), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))) 
active#(after(from(mark(_x31)), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))) 
active#(after(active(from(active(s(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(s(mark(_x101)))))))))) 
active#(after(active(from(active(0))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), mark(cons(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))), from(s(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(cons(mark(_x101), _x102))))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(s(mark(_x131))))), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(cons(mark(_x131), _x132)))), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(after(mark(_x101), mark(_x102)))))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(cons(active(s(mark(_x141))), _x112), mark(_x92)))))))) 
active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(from(mark(_x131))))), _x112)), mark(_x92)))))))) 
active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(0)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(_x121)), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), _x82))))))) 
active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))) 
Thus, the rule mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))) is replaced by the following rules:
mark#(after(from(s(_x61)), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(active(s(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x51), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(_x51)), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(cons(_x131, _x132)), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(cons(mark(_x131), _x132)))), _x112)), mark(_x92))))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), after(_x101, _x102)))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(after(mark(_x101), mark(_x102))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), active(_x102)), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x102)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(from(_x131)), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(from(mark(_x131))))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(mark(_x31))), mark(cons(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))), from(s(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), s(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(s(mark(_x101))))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), cons(_x101, _x102)))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(cons(mark(_x101), _x102)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x102), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(s(mark(_x141)), _x102)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(s(_x131)), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(s(mark(_x131))))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x82))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), _x82)))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), mark(_x102)), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x102)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(from(mark(_x31)), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(mark(_x31))), from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), 0))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(0))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(cons(active(s(mark(_x141))), _x112), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(0), from(from(after(cons(s(_x141), _x112), _x92))))) → active#(after(active(from(active(0))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x121), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(_x121)), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(0), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(0))), _x112)), mark(_x92))))))))

Problem 30: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), active(s(mark(_x101)))))), from(s(active(from(after(mark(_x91), active(s(mark(_x101))))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))
mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(active(cons(mark(_x51), _x52))), active(0)))mark#(after(from(_x51), from(_x41)))active#(after(from(_x51), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(s(_x171)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(s(mark(_x171))))), _x112)), mark(_x92)))))))))mark#(after(from(_x51), from(cons(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(cons(mark(_x71), _x72))))))
mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), s(mark(_x41))))mark#(s(X))mark#(X)
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))mark#(after(from(active(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(mark(_x111), _x112)), mark(_x92))), from(s(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))mark#(after(from(_x51), 0))active#(after(active(from(_x51)), active(0)))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(from(active(after(mark(_x91), mark(_x92)))), from(s(from(active(after(mark(_x91), mark(_x92))))))))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), from(active(from(mark(_x71))))))
mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(X1, X2))mark#(X1)
active#(from(X))mark#(cons(X, from(s(X))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), s(mark(_x101)))))))))
mark#(after(0, X2))active#(after(active(0), mark(X2)))mark#(after(from(_x31), from(from(after(_x91, s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(s(mark(_x121)))))))))))
mark#(after(from(_x51), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(0), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(0))), _x112)), mark(_x92))))))))
mark#(after(from(0), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))
mark#(after(from(_x31), from(from(after(cons(0, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(0), _x112)), mark(_x92)))))))))mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))
mark#(after(from(_x31), from(from(after(cons(cons(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(cons(mark(_x141), _x142)), _x112)), mark(_x92)))))))))mark#(after(s(after(_x61, _x62)), s(_x41)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(0)))))))))mark#(after(from(_x31), from(from(after(_x91, after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(after(mark(_x121), mark(_x122)))))))))))
mark#(after(from(_x31), from(from(from(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(from(mark(_x91)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), active(_x102)), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x102)), mark(_x92))))))))
mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))mark#(after(from(after(_x51, _x52)), 0))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))
mark#(after(s(_x31), s(_x41)))active#(after(s(mark(_x31)), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x101, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(_x101, mark(_x92)))))))))mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(from(active(after(mark(_x91), mark(_x92)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x101))))))))))
mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(s(from(_x61)), s(_x41)))active#(after(active(s(active(from(mark(_x61))))), active(s(mark(_x41)))))
mark#(after(from(cons(_x61, _x62)), from(_x41)))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(0)))active#(after(active(from(mark(_x31))), active(from(active(0)))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(mark(_x91), mark(_x92))))), from(s(active(from(active(after(mark(_x91), mark(_x92)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))
mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))mark#(after(s(_x31), s(0)))active#(after(s(mark(_x31)), active(s(active(0)))))
mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(mark(cons(mark(_x71), from(s(mark(_x71)))))))))
mark#(after(from(0), 0))active#(after(from(active(0)), active(0)))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(cons(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(cons(mark(_x91), _x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), _x102))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, from(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(from(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), mark(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x132)), mark(_x92)))))))))
mark#(after(from(_x51), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), _x102))))))))
mark#(after(from(_x51), from(s(_x71))))active#(after(active(from(_x51)), active(from(active(s(mark(_x71)))))))mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(0), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(s(mark(_x101))))))))))
mark#(after(from(from(_x61)), from(_x41)))active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, s(cons(_x131, _x132)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(cons(mark(_x131), _x132)))))))))))
mark#(after(from(from(_x61)), from(from(_x71))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(mark(_x71)))))))mark#(after(from(after(_x61, _x62)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(s(after(_x171, _x172)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(after(mark(_x171), mark(_x172))))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))
mark#(after(from(_x31), from(from(after(cons(s(_x141), mark(_x102)), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x102)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))
mark#(after(from(_x51), from(0)))active#(after(active(from(_x51)), active(from(active(0)))))mark#(after(from(s(_x51)), 0))active#(after(from(active(s(mark(_x51)))), active(0)))
mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), mark(_x92)), from(s(after(mark(_x91), mark(_x92))))))))))mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(cons(active(s(mark(_x141))), _x112), mark(_x92))))))))mark#(after(s(_x31), s(cons(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(cons(mark(_x71), _x72))))))
mark#(after(s(cons(_x61, _x62)), s(_x41)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(from(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), mark(_x92))))))))
mark#(after(from(_x31), from(cons(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72))))))mark#(after(from(_x31), from(from(after(cons(after(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(after(mark(_x141), mark(_x142))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))), from(s(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))))mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(0), from(_x41)))active#(after(active(from(active(0))), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, from(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(from(mark(_x101))))))))))
mark#(after(from(_x31), from(from(_x71))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(_x81, mark(_x92))))))))mark#(after(s(0), s(_x41)))active#(after(active(s(active(0))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(s(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(s(mark(_x91)))))))))mark#(after(from(s(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x51), from(from(_x71))))active#(after(active(from(_x51)), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(cons(_x131, _x132)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(cons(mark(_x131), _x132)))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x51), from(_x41)))active#(after(active(from(_x51)), from(mark(_x41))))
mark#(after(from(0), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x91, s(0))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(0))))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(_x61)))active#(after(active(from(mark(_x31))), active(from(_x61))))
mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))mark#(after(from(_x51), from(_x61)))active#(after(active(from(_x51)), active(from(_x61))))
mark#(after(from(_x31), from(from(after(0, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(s(from(_x131)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(from(mark(_x131))))), _x112)), mark(_x92))))))))
mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(s(mark(_x121)))))))))))
mark#(after(from(_x51), from(from(after(_x91, s(_x101))))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(0), from(from(_x71))))active#(after(active(from(active(0))), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))), from(s(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))))mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(s(_x131)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(s(mark(_x131))))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(s(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(s(mark(_x111))), mark(_x92)))))))))
mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x82)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), _x82)))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(s(mark(_x141)), _x132)), mark(_x92)))))))))
mark#(after(from(from(_x51)), 0))active#(after(from(active(from(mark(_x51)))), active(0)))mark#(after(from(_x31), from(from(after(_x91, from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(from(mark(_x121)))))))))))
mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(0)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(0))))))))
mark#(after(from(_x31), from(_x41)))active#(after(from(mark(_x31)), active(from(mark(_x41)))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))mark#(after(from(s(_x61)), from(_x41)))active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41)))))
mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), active(s(mark(_x101)))), from(s(after(mark(_x91), active(s(mark(_x101))))))))))))
mark#(after(from(_x31), from(mark(_x31))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41)))))mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))
mark#(after(s(from(_x61)), s(0)))active#(after(active(s(active(from(mark(_x61))))), active(s(active(0)))))mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(from(_x171)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(from(mark(_x171))))), _x112)), mark(_x92)))))))))mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), mark(_x92)))))))mark#(after(s(_x31), s(s(_x71))))active#(after(active(s(mark(_x31))), active(s(active(s(mark(_x71)))))))
mark#(after(X1, 0))active#(after(mark(X1), active(0)))mark#(after(s(after(_x61, _x62)), s(0)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(active(0)))))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(from(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(from(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))mark#(after(s(_x51), s(_x41)))active#(after(active(s(_x51)), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(cons(mark(_x121), _x122))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(0)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(cons(X1, X2))mark#(X1)mark#(after(from(_x31), from(from(after(from(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(from(mark(_x111))), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(0))))))))mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), 0))
mark#(after(from(_x51), from(after(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(from(after(cons(s(0), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(0))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), mark(_x92)))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(cons(_x171, _x172)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(cons(mark(_x171), _x172)))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x121), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(_x121)), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(after(mark(_x121), mark(_x122)))))))))))mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), _x102))))))))mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))
mark#(after(X1, X2))mark#(X2)mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))
mark#(after(s(0), s(0)))active#(after(active(s(active(0))), active(s(active(0)))))mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))
mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41)))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), active(s(mark(_x101)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x82)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), _x82)))))))active#(after(s(N), cons(X, XS)))mark#(after(N, XS))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(s(cons(_x61, _x62)), s(0)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(active(0)))))mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(cons(mark(_x101), _x102)))))))))
mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(after(mark(_x121), mark(_x122)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), active(s(mark(_x101))))))))))mark#(after(_x21, X2))active#(after(_x21, mark(X2)))
mark#(after(from(after(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(mark(_x71)))))))mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))
mark#(after(from(0), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))
mark#(after(from(_x31), from(from(after(from(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(from(mark(_x101))), mark(_x92))))))))mark#(after(from(0), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(0))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(s(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(s(mark(_x101))), mark(_x92))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(s(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(active(s(mark(_x141))), _x112), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(_x121)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), mark(_x92)))), from(s(active(from(after(mark(_x91), mark(_x92))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x51), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(_x51)), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))))mark#(after(s(_x31), s(_x61)))active#(after(active(s(mark(_x31))), active(s(_x61))))
mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(_x31), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(0), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(mark(_x91), mark(_x92))), from(s(active(after(mark(_x91), mark(_x92)))))))))))mark#(after(from(_x31), from(from(after(_x91, s(s(_x131)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(s(mark(_x131))))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, active(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), s(active(0))))
mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))mark#(after(from(_x31), from(from(after(after(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(after(mark(_x111), mark(_x112))), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))mark#(after(from(_x31), from(from(after(_x91, s(from(_x131)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(from(mark(_x131))))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(mark(_x111), _x112), mark(_x92)))))))))
mark#(after(from(_x31), from(s(_x71))))active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))
mark#(after(s(_x31), s(from(_x71))))active#(after(active(s(mark(_x31))), active(s(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), active(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x132)), mark(_x92)))))))))
mark#(from(X))mark#(X)mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))
mark#(after(from(_x31), from(from(after(_x91, _x82)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), _x82)))))))mark#(after(from(_x31), from(from(after(_x81, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x161), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(_x161)), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(after(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), active(s(0))))
mark#(from(X))active#(from(mark(X)))mark#(after(from(_x31), from(from(_x71))))active#(after(from(mark(_x31)), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x31), from(from(0))))active#(after(active(from(mark(_x31))), active(from(active(from(active(0)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(s(_x61)), from(from(_x71))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(mark(_x71)))))))mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x51)), mark(cons(mark(_x41), from(s(mark(_x41)))))))
mark#(after(s(_x31), s(after(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(from(after(s(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))
mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), from(mark(_x41))))mark#(after(from(s(_x61)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(s(_x51), s(0)))active#(after(active(s(_x51)), active(s(active(0)))))mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(cons(mark(_x121), _x122))))))))))mark#(after(from(after(_x61, _x62)), from(_x41)))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), mark(cons(active(from(mark(_x71))), from(s(active(from(mark(_x71)))))))))mark#(after(from(_x31), from(from(_x81))))active#(after(active(from(mark(_x31))), active(from(active(from(_x81))))))
mark#(after(from(_x31), from(from(after(s(_x101), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(s(mark(_x141)), _x102)), mark(_x92))))))))
mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, s(after(_x131, _x132)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(after(mark(_x131), mark(_x132))))))))))))
mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(0))))))))mark#(after(from(from(_x61)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))active#(after(0, XS))mark#(XS)
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))
mark#(after(s(s(_x61)), s(_x41)))active#(after(active(s(active(s(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))
mark#(after(X1, _x22))active#(after(mark(X1), _x22))mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))
mark#(after(from(_x31), from(from(after(from(_x101), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), active(s(mark(_x101))))))))))mark#(after(from(_x41), 0))active#(after(from(_x41), active(0)))
mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(from(mark(_x71))))))
mark#(after(from(cons(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(mark(_x71)))))))mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(s(s(_x61)), s(0)))active#(after(active(s(active(s(mark(_x61))))), active(s(active(0)))))mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))
mark#(after(from(_x31), from(_x41)))active#(after(mark(cons(_x31, from(s(_x31)))), active(from(mark(_x41)))))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x122)), active(from(mark(_x121))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(after(mark(_x161), mark(_x162))))), _x112)), active(from(mark(_x121))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(after(mark(_x141), mark(_x142))))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(cons(mark(_x161), _x162)))), _x112)), active(from(mark(_x121))))))))))) 
active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(cons(mark(_x121), from(s(mark(_x121))))))))))))) 
active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))) 
active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(from(mark(_x161))))), _x112)), active(from(mark(_x121))))))))))) 
active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))), from(s(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(_x151)), _x112)), active(from(mark(_x121))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(s(mark(_x141)), _x122)), active(from(mark(_x121))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(from(mark(_x141))))))))))))) 
active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), from(mark(_x121)))))))))) 
active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))) 
active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))) 
active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))) 
active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(_x131)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(s(mark(_x141))))))))))))) 
active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(0))), _x112)), active(from(mark(_x121))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(cons(mark(_x141), _x142)))))))))))) 
active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))), from(s(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(0))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(s(mark(_x161))))), _x112)), active(from(mark(_x121))))))))))) 
active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(active(s(mark(_x141))), _x112), active(from(mark(_x121))))))))))) 
Thus, the rule mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))) is replaced by the following rules:
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x131)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(_x131))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x151), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(_x151)), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))), from(s(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))))mark#(after(from(s(_x61)), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x122), from(s(mark(_x141)))))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(s(mark(_x141)), _x122)), active(from(mark(_x121)))))))))))mark#(after(from(_x51), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), from(mark(_x121))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), mark(_x122)), from(active(s(mark(_x141))))))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x122)), active(from(mark(_x121)))))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(cons(_x161, _x162)), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(cons(mark(_x161), _x162)))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))
mark#(after(from(0), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(after(_x141, _x142))))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(after(mark(_x141), mark(_x142)))))))))))))
mark#(after(from(_x31), from(from(after(cons(s(from(_x161)), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(from(mark(_x161))))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(0)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(0)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(s(_x161)), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(s(mark(_x161))))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(0), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(0))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))), from(s(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(cons(mark(_x121), from(s(mark(_x121)))))))))))))mark#(after(from(_x31), from(from(after(cons(s(after(_x161, _x162)), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(after(mark(_x161), mark(_x162))))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(s(_x141))))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(s(mark(_x141)))))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(from(_x141))))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(from(mark(_x141)))))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(cons(_x141, _x142))))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(cons(mark(_x141), _x142))))))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(active(s(mark(_x141))), _x112), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121)))))) → active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), active(_x122)), from(active(s(mark(_x141))))))))) → active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x122)), active(from(mark(_x121)))))))))))

Problem 31: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))), from(s(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), active(s(mark(_x101)))))), from(s(active(from(after(mark(_x91), active(s(mark(_x101))))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))
mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(active(cons(mark(_x51), _x52))), active(0)))mark#(after(from(_x51), from(_x41)))active#(after(from(_x51), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(s(_x171)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(s(mark(_x171))))), _x112)), mark(_x92)))))))))mark#(after(from(_x51), from(cons(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(cons(mark(_x71), _x72))))))
mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), s(mark(_x41))))mark#(s(X))mark#(X)
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(mark(_x111), _x112)), mark(_x92))), from(s(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))mark#(after(from(active(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))mark#(after(from(_x51), 0))active#(after(active(from(_x51)), active(0)))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(from(active(after(mark(_x91), mark(_x92)))), from(s(from(active(after(mark(_x91), mark(_x92))))))))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), from(active(from(mark(_x71))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(0))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(0)))))))))))mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(X1, X2))mark#(X1)
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))active#(from(X))mark#(cons(X, from(s(X))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), s(mark(_x101)))))))))
mark#(after(0, X2))active#(after(active(0), mark(X2)))mark#(after(from(_x31), from(from(after(_x91, s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(s(mark(_x121)))))))))))
mark#(after(from(_x51), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(0), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(0))), _x112)), mark(_x92))))))))
mark#(after(from(0), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))
mark#(after(from(_x31), from(from(after(cons(0, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(0), _x112)), mark(_x92)))))))))mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))
mark#(after(from(_x31), from(from(after(cons(cons(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(cons(mark(_x141), _x142)), _x112)), mark(_x92)))))))))mark#(after(s(after(_x61, _x62)), s(_x41)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(0)))))))))mark#(after(from(_x31), from(from(after(_x91, after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(after(mark(_x121), mark(_x122)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(from(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(from(mark(_x91)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), active(_x102)), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x102)), mark(_x92))))))))mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))
mark#(after(from(after(_x51, _x52)), 0))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))mark#(after(s(_x31), s(_x41)))active#(after(s(mark(_x31)), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(after(_x101, _x102), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x101, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(_x101, mark(_x92)))))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(from(active(after(mark(_x91), mark(_x92)))))))
mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x101))))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(s(from(_x61)), s(_x41)))active#(after(active(s(active(from(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(cons(_x61, _x62)), from(_x41)))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(mark(_x91), mark(_x92))))), from(s(active(from(active(after(mark(_x91), mark(_x92)))))))))))mark#(after(from(_x31), from(0)))active#(after(active(from(mark(_x31))), active(from(active(0)))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))mark#(after(s(_x31), s(0)))active#(after(s(mark(_x31)), active(s(active(0)))))
mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(mark(cons(mark(_x71), from(s(mark(_x71)))))))))
mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))mark#(after(from(0), 0))active#(after(from(active(0)), active(0)))
mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(cons(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(cons(mark(_x91), _x92))))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), _x102))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))
mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), active(_x122)), from(active(s(mark(_x141)))))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x122)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, from(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(from(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), mark(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x132)), mark(_x92)))))))))mark#(after(from(_x51), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(after(mark(_x101), mark(_x102))))))))))mark#(after(from(_x31), from(from(after(_x91, _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), _x102))))))))
mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))mark#(after(from(_x51), from(s(_x71))))active#(after(active(from(_x51)), active(from(active(s(mark(_x71)))))))
mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(0), mark(_x92)))))))))
mark#(after(from(from(_x61)), from(_x41)))active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, s(cons(_x131, _x132)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(cons(mark(_x131), _x132)))))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(from(_x61)), from(from(_x71))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))mark#(after(from(_x31), from(from(after(cons(s(after(_x171, _x172)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(after(mark(_x171), mark(_x172))))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), mark(_x102)), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x102)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))
mark#(after(from(_x51), from(0)))active#(after(active(from(_x51)), active(from(active(0)))))mark#(after(from(s(_x51)), 0))active#(after(from(active(s(mark(_x51)))), active(0)))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), mark(_x92)), from(s(after(mark(_x91), mark(_x92))))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(cons(active(s(mark(_x141))), _x112), mark(_x92))))))))
mark#(after(s(_x31), s(cons(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(cons(mark(_x71), _x72))))))mark#(after(s(cons(_x61, _x62)), s(_x41)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(from(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), mark(_x92))))))))mark#(after(from(_x31), from(cons(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72))))))
mark#(after(from(_x31), from(from(after(cons(after(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(after(mark(_x141), mark(_x142))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))), from(s(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))))
mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(0), from(_x41)))active#(after(active(from(active(0))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, from(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(from(mark(_x101))))))))))mark#(after(from(_x31), from(from(_x71))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(_x81, mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(active(s(mark(_x141))), _x112), active(from(mark(_x121)))))))))))mark#(after(s(0), s(_x41)))active#(after(active(s(active(0))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(s(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(s(mark(_x91)))))))))mark#(after(from(s(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x51), from(from(_x71))))active#(after(active(from(_x51)), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(_x151), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(_x151)), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(cons(_x131, _x132)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(cons(mark(_x131), _x132)))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x51), from(_x41)))active#(after(active(from(_x51)), from(mark(_x41))))mark#(after(from(0), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(0))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(0))))))))))mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x51), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(_x61)))active#(after(active(from(mark(_x31))), active(from(_x61))))
mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), from(mark(_x121))))))))))
mark#(after(from(_x51), from(_x61)))active#(after(active(from(_x51)), active(from(_x61))))mark#(after(from(_x31), from(from(after(0, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(s(from(_x131)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(from(mark(_x131))))), _x112)), mark(_x92))))))))mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(s(mark(_x121)))))))))))mark#(after(from(_x51), from(from(after(_x91, s(_x101))))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(0), from(from(_x71))))active#(after(active(from(active(0))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))), from(s(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))))
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(s(_x131)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(s(mark(_x131))))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(s(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(s(mark(_x111))), mark(_x92)))))))))mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x82)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), _x82)))))))mark#(after(from(0), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(after(_x141, _x142)))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(after(mark(_x141), mark(_x142)))))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(s(mark(_x141)), _x132)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(s(_x161)), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(s(mark(_x161))))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(from(_x51)), 0))active#(after(from(active(from(mark(_x51)))), active(0)))mark#(after(from(_x31), from(from(after(_x91, from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))), from(s(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))))mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(0)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(0))))))))mark#(after(from(_x31), from(_x41)))active#(after(from(mark(_x31)), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(after(_x161, _x162)), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(after(mark(_x161), mark(_x162))))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(s(_x141)))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(s(mark(_x141)))))))))))))
mark#(after(from(s(_x61)), from(_x41)))active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(cons(_x141, _x142)))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(cons(mark(_x141), _x142))))))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), active(s(mark(_x101)))), from(s(after(mark(_x91), active(s(mark(_x101))))))))))))
mark#(after(from(_x31), from(mark(_x31))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41)))))mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))
mark#(after(s(from(_x61)), s(0)))active#(after(active(s(active(from(mark(_x61))))), active(s(active(0)))))mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(from(_x171)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(from(mark(_x171))))), _x112)), mark(_x92)))))))))mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(s(_x61)), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), mark(_x92)))))))
mark#(after(s(_x31), s(s(_x71))))active#(after(active(s(mark(_x31))), active(s(active(s(mark(_x71)))))))mark#(after(X1, 0))active#(after(mark(X1), active(0)))
mark#(after(s(after(_x61, _x62)), s(0)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(active(0)))))mark#(after(from(cons(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(from(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(from(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))
mark#(after(s(_x51), s(_x41)))active#(after(active(s(_x51)), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(0)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(cons(X1, X2))mark#(X1)
mark#(after(from(_x31), from(from(after(from(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(from(mark(_x111))), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(0))))))))
mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), 0))mark#(after(from(_x51), from(after(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(_x31), from(from(after(cons(s(0), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(0))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))mark#(after(from(_x31), from(from(after(cons(s(cons(_x171, _x172)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(cons(mark(_x171), _x172)))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(after(mark(_x121), mark(_x122)))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x121), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(_x121)), _x112)), mark(_x92))))))))
mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), _x102))))))))
mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(X1, X2))mark#(X2)mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x131))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(_x131))))))))))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), mark(_x92))))))))
mark#(after(s(0), s(0)))active#(after(active(s(active(0))), active(s(active(0)))))mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))
mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), active(s(mark(_x101)))))))))mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41)))))))
mark#(after(from(_x31), from(from(after(_x91, _x82)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), _x82)))))))active#(after(s(N), cons(X, XS)))mark#(after(N, XS))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), mark(_x122)), from(active(s(mark(_x141)))))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x122)), active(from(mark(_x121)))))))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(s(cons(_x61, _x62)), s(0)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(active(0)))))mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(cons(mark(_x101), _x102)))))))))mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(after(mark(_x121), mark(_x122)))))))))))
mark#(after(_x21, X2))active#(after(_x21, mark(X2)))mark#(after(from(after(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(mark(_x71)))))))
mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))mark#(after(from(0), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(cons(mark(_x121), from(s(mark(_x121)))))))))))))mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))
mark#(after(from(0), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(0))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(from(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(from(mark(_x101))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(from(_x141)))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(from(mark(_x141)))))))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(s(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(s(mark(_x101))), mark(_x92))))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(s(mark(_x121)))))))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(active(s(mark(_x141))), _x112), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), mark(_x92)))), from(s(active(from(after(mark(_x91), mark(_x92))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(_x121)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x51), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(_x51)), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x122), from(s(mark(_x141))))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(s(mark(_x141)), _x122)), active(from(mark(_x121)))))))))))
mark#(after(s(_x31), s(_x61)))active#(after(active(s(mark(_x31))), active(s(_x61))))mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))
mark#(after(from(_x31), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92))))))))mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(0), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(mark(_x91), mark(_x92))), from(s(active(after(mark(_x91), mark(_x92)))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(s(_x131)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(s(mark(_x131))))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, active(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(cons(_x161, _x162)), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(cons(mark(_x161), _x162)))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))
mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), s(active(0))))mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))
mark#(after(from(_x31), from(from(after(after(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(after(mark(_x111), mark(_x112))), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, s(from(_x131)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(from(mark(_x131))))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(mark(_x111), _x112), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))mark#(after(from(_x31), from(s(_x71))))active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71)))))))
mark#(after(s(_x31), s(from(_x71))))active#(after(active(s(mark(_x31))), active(s(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), active(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x132)), mark(_x92)))))))))
mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))mark#(from(X))mark#(X)
mark#(after(from(_x31), from(from(after(_x91, _x82)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), _x82)))))))mark#(after(from(_x31), from(from(after(_x81, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x161), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(_x161)), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(after(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))mark#(after(from(_x31), from(from(_x71))))active#(after(from(mark(_x31)), active(from(active(from(mark(_x71)))))))
mark#(from(X))active#(from(mark(X)))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), active(s(0))))
mark#(after(from(_x31), from(from(0))))active#(after(active(from(mark(_x31))), active(from(active(from(active(0)))))))mark#(after(from(cons(_x61, _x62)), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(s(_x31), s(after(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x51)), mark(cons(mark(_x41), from(s(mark(_x41)))))))
mark#(after(from(s(_x61)), from(from(_x71))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(s(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))
mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))mark#(after(from(s(_x61)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), from(mark(_x41))))mark#(after(s(_x51), s(0)))active#(after(active(s(_x51)), active(s(active(0)))))
mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(after(_x61, _x62)), from(_x41)))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(cons(mark(_x121), _x122))))))))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), mark(cons(active(from(mark(_x71))), from(s(active(from(mark(_x71)))))))))
mark#(after(from(_x31), from(from(_x81))))active#(after(active(from(mark(_x31))), active(from(active(from(_x81))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(s(mark(_x141)), _x102)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(s(_x101), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), active(s(mark(_x101))))))))))mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, s(after(_x131, _x132)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(after(mark(_x131), mark(_x132))))))))))))mark#(after(from(from(_x61)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(0))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))
active#(after(0, XS))mark#(XS)mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))
mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))mark#(after(from(cons(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(s(s(_x61)), s(_x41)))active#(after(active(s(active(s(mark(_x61))))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(from(_x161)), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(from(mark(_x161))))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(s(0), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(0))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(s(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))
mark#(after(X1, _x22))active#(after(mark(X1), _x22))mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))
mark#(after(from(_x31), from(from(after(from(_x101), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), active(s(mark(_x101))))))))))mark#(after(from(_x41), 0))active#(after(from(_x41), active(0)))
mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(from(mark(_x71))))))
mark#(after(from(cons(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(mark(_x71)))))))mark#(after(s(s(_x61)), s(0)))active#(after(active(s(active(s(mark(_x61))))), active(s(active(0)))))
mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))
mark#(after(from(_x31), from(_x41)))active#(after(mark(cons(_x31, from(s(_x31)))), active(from(mark(_x41)))))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(from(mark(_x31))), from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))) 
active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))) 
active#(after(active(from(_x51)), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))) 
active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), mark(cons(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))), from(s(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))) 
active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(from(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(cons(mark(_x111), _x112), mark(_x92)))))))) 
active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x101), _x102))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(from(mark(_x121))), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(cons(mark(_x121), _x122)), _x112)), mark(_x92)))))))) 
active#(after(from(mark(_x31)), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(0), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(s(mark(_x121))), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(after(mark(_x121), mark(_x122))), _x112)), mark(_x92)))))))) 
active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))) 
active#(after(active(from(mark(_x31))), active(from(mark(cons(after(active(cons(mark(_x111), _x112)), mark(_x92)), from(s(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(s(mark(_x101)))))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), _x82))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(0)))))))) 
active#(after(active(from(active(0))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x102)), mark(_x92)))))))) 
active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(_x101, _x102)), mark(_x92)))))))) 
Thus, the rule mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))) is replaced by the following rules:
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x82))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), _x82)))))))mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(_x101, _x102)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), mark(cons(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))), from(s(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))))mark#(after(from(_x31), from(from(after(cons(0, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(0), _x112)), mark(_x92))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), s(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, active(_x102)), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x102)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), 0))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(0))))))))mark#(after(from(_x31), from(from(after(cons(from(_x121), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(from(mark(_x121))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x102)), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x102)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(cons(_x121, _x122), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(cons(mark(_x121), _x122)), _x112)), mark(_x92))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), from(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(from(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x101, _x102)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x101), _x102)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(from(mark(_x31)), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(0), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(active(0))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(_x51), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(_x51)), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(after(_x121, _x122), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(after(mark(_x121), mark(_x122))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(mark(cons(after(active(cons(mark(_x111), _x112)), mark(_x92)), from(s(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x121), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(s(mark(_x121))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x101, _x102)))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(active(from(after(cons(mark(_x111), _x112), mark(_x92))))))))

Problem 32: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))), from(s(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), active(s(mark(_x101)))))), from(s(active(from(after(mark(_x91), active(s(mark(_x101))))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))
mark#(after(from(from(_x61)), X2))active#(after(active(from(active(from(mark(_x61))))), mark(X2)))mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(active(cons(mark(_x51), _x52))), active(0)))mark#(after(from(_x51), from(_x41)))active#(after(from(_x51), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(s(_x171)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(s(mark(_x171))))), _x112)), mark(_x92)))))))))mark#(after(from(_x51), from(cons(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(cons(mark(_x71), _x72))))))
mark#(after(s(_x31), s(_x41)))active#(after(active(s(mark(_x31))), s(mark(_x41))))mark#(s(X))mark#(X)
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))mark#(after(from(active(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(mark(_x111), _x112)), mark(_x92))), from(s(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))mark#(after(from(_x51), 0))active#(after(active(from(_x51)), active(0)))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(from(active(after(mark(_x91), mark(_x92)))), from(s(from(active(after(mark(_x91), mark(_x92))))))))))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), from(active(from(mark(_x71))))))
mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x102)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x102)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(0))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(0)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(X1, X2))mark#(X1)mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
active#(from(X))mark#(cons(X, from(s(X))))mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), s(mark(_x101)))))))))
mark#(after(0, X2))active#(after(active(0), mark(X2)))mark#(after(from(_x31), from(from(after(_x91, s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(s(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102))))))))))mark#(after(from(_x51), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(0), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(0))), _x112)), mark(_x92))))))))mark#(after(from(0), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))mark#(after(from(_x31), from(from(after(cons(0, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(0), _x112)), mark(_x92)))))))))
mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))mark#(after(from(_x31), from(from(after(cons(cons(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(cons(mark(_x141), _x142)), _x112)), mark(_x92)))))))))
mark#(after(s(after(_x61, _x62)), s(_x41)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(0)))))))))
mark#(after(from(_x31), from(from(after(_x91, after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(after(mark(_x121), mark(_x122)))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(from(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(from(mark(_x91)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), active(_x102)), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x102)), mark(_x92))))))))
mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))mark#(after(from(after(_x51, _x52)), 0))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))
mark#(after(s(_x31), s(_x41)))active#(after(s(mark(_x31)), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x101, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(_x101, mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, active(_x102)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x102)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(from(active(after(mark(_x91), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x101))))))))))mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))
mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(s(from(_x61)), s(_x41)))active#(after(active(s(active(from(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(cons(_x61, _x62)), from(_x41)))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(0)))active#(after(active(from(mark(_x31))), active(from(active(0)))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(mark(_x91), mark(_x92))))), from(s(active(from(active(after(mark(_x91), mark(_x92)))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))mark#(after(s(_x31), s(0)))active#(after(s(mark(_x31)), active(s(active(0)))))
mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(mark(cons(mark(_x71), from(s(mark(_x71)))))))))
mark#(after(from(0), 0))active#(after(from(active(0)), active(0)))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(cons(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(cons(mark(_x91), _x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), _x102))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(after(_x121, _x122), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(after(mark(_x121), mark(_x122))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x121), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(s(mark(_x121))), _x112)), mark(_x92))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), active(_x122)), from(active(s(mark(_x141)))))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x122)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, from(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(from(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), mark(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x132)), mark(_x92)))))))))
mark#(after(from(_x51), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))), from(s(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), _x102))))))))mark#(after(from(_x51), from(s(_x71))))active#(after(active(from(_x51)), active(from(active(s(mark(_x71)))))))
mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(0), mark(_x92)))))))))
mark#(after(from(from(_x61)), from(_x41)))active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, s(cons(_x131, _x132)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(cons(mark(_x131), _x132)))))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(from(_x61)), from(from(_x71))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(mark(_x71)))))))
mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))mark#(after(from(_x31), from(from(after(cons(s(after(_x171, _x172)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(after(mark(_x171), mark(_x172))))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), mark(_x102)), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x102)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))
mark#(after(from(_x51), from(0)))active#(after(active(from(_x51)), active(from(active(0)))))mark#(after(from(s(_x51)), 0))active#(after(from(active(s(mark(_x51)))), active(0)))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), mark(_x92)), from(s(after(mark(_x91), mark(_x92))))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(cons(active(s(mark(_x141))), _x112), mark(_x92))))))))mark#(after(s(_x31), s(cons(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(cons(mark(_x71), _x72))))))
mark#(after(s(cons(_x61, _x62)), s(_x41)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(from(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), mark(_x92))))))))
mark#(after(from(_x31), from(cons(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72))))))mark#(after(from(_x31), from(from(after(cons(after(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(after(mark(_x141), mark(_x142))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))), from(s(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))))mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(0), from(_x41)))active#(after(active(from(active(0))), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(_x91, from(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(from(mark(_x101))))))))))
mark#(after(from(_x31), from(from(_x71))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(_x81, mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(active(s(mark(_x141))), _x112), active(from(mark(_x121)))))))))))
mark#(after(s(0), s(_x41)))active#(after(active(s(active(0))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(s(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(s(mark(_x91)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(cons(mark(_x111), _x112), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x51), from(from(_x71))))active#(after(active(from(_x51)), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(_x151), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(_x151)), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(cons(_x131, _x132)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(cons(mark(_x131), _x132)))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x51), from(_x41)))active#(after(active(from(_x51)), from(mark(_x41))))mark#(after(from(0), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(0))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(0))))))))))mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x51), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(_x61)))active#(after(active(from(mark(_x31))), active(from(_x61))))
mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), from(mark(_x121))))))))))
mark#(after(from(_x51), from(_x61)))active#(after(active(from(_x51)), active(from(_x61))))mark#(after(from(_x31), from(from(after(0, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(s(from(_x131)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(from(mark(_x131))))), _x112)), mark(_x92))))))))mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(s(mark(_x121)))))))))))mark#(after(from(_x51), from(from(after(_x91, s(_x101))))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(0), from(from(_x71))))active#(after(active(from(active(0))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))), from(s(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))))
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(0))))))))
mark#(after(from(_x31), from(from(after(cons(s(s(_x131)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(s(mark(_x131))))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(s(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(s(mark(_x111))), mark(_x92)))))))))
mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x82)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), _x82)))))))
mark#(after(from(0), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(after(_x141, _x142)))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(after(mark(_x141), mark(_x142)))))))))))))mark#(after(from(_x31), from(from(after(cons(cons(_x121, _x122), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(cons(mark(_x121), _x122)), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(s(mark(_x141)), _x132)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(s(_x161)), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(s(mark(_x161))))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(from(_x51)), 0))active#(after(from(active(from(mark(_x51)))), active(0)))mark#(after(from(_x31), from(from(after(_x91, from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))), from(s(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))))mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(0)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(0))))))))mark#(after(from(_x31), from(_x41)))active#(after(from(mark(_x31)), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(after(_x161, _x162)), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(after(mark(_x161), mark(_x162))))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))mark#(after(from(0), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(0))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(s(_x141)))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(s(mark(_x141)))))))))))))mark#(after(from(s(_x61)), from(_x41)))active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(cons(_x141, _x142)))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(cons(mark(_x141), _x142))))))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), active(s(mark(_x101)))), from(s(after(mark(_x91), active(s(mark(_x101))))))))))))mark#(after(from(_x31), from(mark(_x31))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41)))))
mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))mark#(after(s(from(_x61)), s(0)))active#(after(active(s(active(from(mark(_x61))))), active(s(active(0)))))
mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(from(_x171)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(from(mark(_x171))))), _x112)), mark(_x92)))))))))
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(s(_x61)), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), mark(_x92)))))))mark#(after(s(_x31), s(s(_x71))))active#(after(active(s(mark(_x31))), active(s(active(s(mark(_x71)))))))
mark#(after(X1, 0))active#(after(mark(X1), active(0)))mark#(after(s(after(_x61, _x62)), s(0)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(active(0)))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(s(mark(_x101))))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(from(_x121), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(from(mark(_x121))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(from(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(from(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(s(_x51), s(_x41)))active#(after(active(s(_x51)), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(_x91, cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(cons(mark(_x121), _x122))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(0)))))))))mark#(cons(X1, X2))mark#(X1)
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(from(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(from(mark(_x111))), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(0))))))))mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), 0))
mark#(after(from(_x51), from(after(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(from(after(cons(s(0), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(0))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), mark(_x92)))))))
mark#(after(from(_x51), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(_x51)), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(cons(_x171, _x172)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(cons(mark(_x171), _x172)))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x121), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(_x121)), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(after(mark(_x121), mark(_x122)))))))))))
mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), _x102))))))))
mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))mark#(after(X1, X2))mark#(X2)
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x131))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(_x131))))))))))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))
mark#(after(s(0), s(0)))active#(after(active(s(active(0))), active(s(active(0)))))mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))
mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41)))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), active(s(mark(_x101)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x82)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), _x82)))))))mark#(after(from(_x31), from(from(after(cons(0, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(0), _x112)), mark(_x92))))))))
active#(after(s(N), cons(X, XS)))mark#(after(N, XS))mark#(after(from(_x31), from(from(after(cons(s(_x141), mark(_x122)), from(active(s(mark(_x141)))))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x122)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(s(cons(_x61, _x62)), s(0)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(active(0)))))mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(cons(mark(_x101), _x102)))))))))
mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(after(mark(_x121), mark(_x122)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), active(s(mark(_x101))))))))))mark#(after(_x21, X2))active#(after(_x21, mark(X2)))
mark#(after(from(after(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(mark(_x71)))))))mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(cons(mark(_x121), from(s(mark(_x121)))))))))))))mark#(after(from(0), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x101), _x102)))))))))mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(from(_x141)))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(from(mark(_x141)))))))))))))mark#(after(from(_x31), from(from(after(from(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(from(mark(_x101))), mark(_x92))))))))
mark#(after(from(0), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(0))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(s(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(s(mark(_x101))), mark(_x92))))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(s(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(active(s(mark(_x141))), _x112), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(_x121)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), mark(_x92)))), from(s(active(from(after(mark(_x91), mark(_x92))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x51), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(_x51)), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(_x101, _x102)), mark(_x92))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x122), from(s(mark(_x141))))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(s(mark(_x141)), _x122)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))))mark#(after(s(_x31), s(_x61)))active#(after(active(s(mark(_x31))), active(s(_x61))))
mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(0), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(mark(_x91), mark(_x92))), from(s(active(after(mark(_x91), mark(_x92)))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(s(_x131)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(s(mark(_x131))))))))))))mark#(after(from(_x31), from(from(after(cons(s(cons(_x161, _x162)), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(cons(mark(_x161), _x162)))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, active(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), s(active(0))))
mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))mark#(after(from(_x31), from(from(after(after(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(after(mark(_x111), mark(_x112))), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))mark#(after(from(_x31), from(from(after(_x91, s(from(_x131)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(from(mark(_x131))))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(mark(_x111), _x112), mark(_x92)))))))))
mark#(after(from(_x31), from(s(_x71))))active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))
mark#(after(s(_x31), s(from(_x71))))active#(after(active(s(mark(_x31))), active(s(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), active(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x132)), mark(_x92)))))))))
mark#(from(X))mark#(X)mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))
mark#(after(from(_x31), from(from(after(_x91, _x82)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), _x82)))))))mark#(after(from(_x31), from(from(after(_x81, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x161), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(_x161)), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), from(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(from(mark(_x101))))))))))
mark#(after(from(_x31), from(after(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))
mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), active(s(0))))mark#(from(X))active#(from(mark(X)))
mark#(after(from(_x31), from(from(_x71))))active#(after(from(mark(_x31)), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(0))))active#(after(active(from(mark(_x31))), active(from(active(from(active(0)))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(s(_x61)), from(from(_x71))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(mark(_x71)))))))mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x51)), mark(cons(mark(_x41), from(s(mark(_x41)))))))
mark#(after(s(_x31), s(after(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(from(after(s(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x82)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), _x82)))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))
mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), from(mark(_x41))))
mark#(after(from(s(_x61)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(s(_x51), s(0)))active#(after(active(s(_x51)), active(s(active(0)))))
mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(after(_x61, _x62)), from(_x41)))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41)))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), mark(cons(active(from(mark(_x71))), from(s(active(from(mark(_x71)))))))))mark#(after(from(_x31), from(from(_x81))))active#(after(active(from(mark(_x31))), active(from(active(from(_x81))))))
mark#(after(from(_x31), from(from(after(s(_x101), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(s(mark(_x141)), _x102)), mark(_x92))))))))
mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(_x91, s(after(_x131, _x132)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(after(mark(_x131), mark(_x132))))))))))))mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(0))))))))
mark#(after(from(from(_x61)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))
mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))active#(after(0, XS))mark#(XS)
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))
mark#(after(s(s(_x61)), s(_x41)))active#(after(active(s(active(s(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(from(_x161)), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(from(mark(_x161))))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(s(0), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(0))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(s(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))mark#(after(X1, _x22))active#(after(mark(X1), _x22))
mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))mark#(after(from(_x31), from(from(after(from(_x101), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), active(s(mark(_x101))))))))))
mark#(after(from(_x41), 0))active#(after(from(_x41), active(0)))mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(from(mark(_x71))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(after(active(cons(mark(_x111), _x112)), mark(_x92)), from(s(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))))
mark#(after(from(cons(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(mark(_x71)))))))mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(s(s(_x61)), s(0)))active#(after(active(s(active(s(mark(_x61))))), active(s(active(0)))))mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))
mark#(after(from(_x31), from(_x41)))active#(after(mark(cons(_x31, from(s(_x31)))), active(from(mark(_x41)))))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(0))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(cons(mark(_x101), _x102)), _x112)), mark(_x92))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102))))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(0), _x112)), mark(_x92))))))) 
active#(after(active(from(_x51)), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))) 
active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))) 
active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))) 
active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(s(mark(_x101))))))))) 
active#(after(active(from(active(from(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(s(mark(_x101))), _x112)), mark(_x92))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(_x91, _x92)), mark(_x92))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(cons(mark(_x111), _x112), mark(_x92))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(from(mark(_x101))), _x112)), mark(_x92))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x92)), mark(_x92))))))) 
active#(after(active(from(active(0))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(from(mark(_x101))))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), _x72)))))) 
active#(after(active(from(mark(_x31))), mark(cons(from(after(active(cons(mark(_x111), _x112)), mark(_x92))), from(s(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))) 
active#(after(active(from(mark(_x31))), from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))) 
active#(after(from(mark(_x31)), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x101), _x102)))))))) 
active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))) 
active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(after(mark(_x101), mark(_x102))), _x112)), mark(_x92))))))) 
Thus, the rule mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))) is replaced by the following rules:
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), 0))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(0)))))))mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(active(from(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x101, _x102)))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(after(cons(mark(_x111), _x112), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))mark#(after(from(_x31), from(from(after(cons(after(_x101, _x102), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(after(mark(_x101), mark(_x102))), _x112)), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(cons(s(_x101), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(s(mark(_x101))), _x112)), mark(_x92)))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), from(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(from(mark(_x101)))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), s(_x101)))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(s(mark(_x101)))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x72))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), _x72))))))
mark#(after(from(_x31), from(from(after(cons(0, _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(0), _x112)), mark(_x92)))))))mark#(after(from(_x31), from(from(after(cons(_x91, _x92), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(_x91, _x92)), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(cons(cons(_x101, _x102), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(cons(mark(_x101), _x102)), _x112)), mark(_x92)))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), from(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))mark#(after(from(_x31), from(from(after(cons(from(_x101), _x112), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(from(mark(_x101))), _x112)), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x101, _x102)))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x101), _x102))))))))mark#(after(from(_x31), from(from(after(cons(_x111, active(_x92)), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x92)), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x92)), _x92))))) → active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x92)), mark(_x92)))))))mark#(after(from(0), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(active(0))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(from(mark(_x31)), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))mark#(after(from(_x51), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(_x51)), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92))))) → active#(after(active(from(mark(_x31))), mark(cons(from(after(active(cons(mark(_x111), _x112)), mark(_x92))), from(s(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))

Problem 33: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), active(s(mark(_x101)))))), from(s(active(from(after(mark(_x91), active(s(mark(_x101))))))))))))mark#(after(s(from(mark(_x61))), s(after(_x61, _x62))))active#(after(active(s(active(from(_x61)))), s(active(after(mark(_x61), mark(_x62))))))
mark#(s(X))mark#(X)mark#(after(from(active(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(from(active(after(mark(_x91), mark(_x92)))), from(s(from(active(after(mark(_x91), mark(_x92))))))))))mark#(after(X1, X2))mark#(X1)
mark#(after(s(from(after(_x81, _x82))), s(_x41)))active#(after(active(s(active(from(active(after(mark(_x81), mark(_x82))))))), s(mark(_x41))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, from(_x131)), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), active(from(mark(_x131))))), mark(_x102))))))))
mark#(after(from(cons(_x61, mark(_x62))), 0))active#(after(from(cons(_x61, _x62)), active(0)))mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x92)), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x92)), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(cons(s(0), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(0))), _x112)), mark(_x92))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, cons(_x171, _x172))), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), active(cons(mark(_x171), _x172)))))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x101, from(_x131)))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), active(from(mark(_x131)))))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(s(_x131)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(s(mark(_x131))))), _x112)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(_x101, after(_x131, _x132)))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), active(after(mark(_x131), mark(_x132)))))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x91, _x92), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(_x91, _x92)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(_x31), 0))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(0)))mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), 0)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), active(0))))))))
mark#(after(s(_x31), s(_x41)))active#(after(s(mark(_x31)), active(s(mark(_x41)))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), cons(_x131, _x132)))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), active(cons(mark(_x131), _x132))))))))))
mark#(after(from(_x41), from(from(after(_x91, _x92)))))active#(after(from(_x41), active(from(from(after(mark(_x91), mark(_x92)))))))mark#(after(from(s(_x61)), from(from(after(cons(from(_x101), _x112), after(_x101, _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(active(from(mark(_x101))), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(after(mark(_x131), mark(_x132)))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x101))))))))))
mark#(after(s(from(_x61)), s(_x41)))active#(after(active(s(active(from(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(cons(_x61, _x62)), from(_x41)))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(mark(_x41)))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(from(_x151), _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(active(from(mark(_x151))), mark(_x122))), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(_x101, from(_x131)))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), active(from(mark(_x131)))))))))))mark#(after(s(_x31), s(0)))active#(after(s(mark(_x31)), active(s(active(0)))))
mark#(after(from(active(_x41)), from(from(after(_x81, _x92)))))active#(after(active(from(_x41)), active(from(active(from(after(_x81, mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), _x112), 0)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), active(0))))))))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102))))))))
mark#(after(from(s(after(_x81, _x82))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(after(mark(_x81), mark(_x82))))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(s(_x71)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(_x71)))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, from(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(from(mark(_x101))))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x92)))))active#(after(from(active(from(mark(_x61)))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), mark(_x92))))))))mark#(after(s(_x31), s(cons(_x61, _x62))))active#(after(active(s(mark(_x31))), s(active(cons(mark(_x61), _x62)))))
mark#(after(s(from(_x71)), s(from(_x61))))active#(after(active(s(active(from(_x71)))), s(active(from(mark(_x61))))))mark#(after(from(s(cons(0, _x82))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(active(0), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(s(active(cons(mark(_x81), _x82))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(after(_x151, _x152), _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(active(after(mark(_x151), mark(_x152))), mark(_x122))), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))), from(s(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))))mark#(after(from(_x51), X2))active#(after(active(from(_x51)), mark(X2)))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(s(mark(_x61)))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))mark#(after(s(0), s(_x41)))active#(after(active(s(active(0))), s(mark(_x41))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(s(mark(_x101))))))))))
mark#(after(from(s(s(_x81))), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(active(s(mark(_x81))))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(_x91, s(cons(_x131, _x132)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(cons(mark(_x131), _x132)))))))))))
mark#(after(from(from(_x61)), from(from(_x71))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), X2))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), mark(X2)))
mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x131, _x132)), _x102))))))))mark#(after(from(_x51), from(from(after(_x81, _x92)))))active#(after(from(_x51), active(from(active(from(after(_x81, mark(_x92))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), cons(_x101, _x102))))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(cons(mark(_x101), _x102)))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(cons(mark(_x61), from(s(mark(_x61))))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x51), from(from(after(s(_x101), _x92)))))active#(after(active(from(_x51)), active(from(active(from(after(active(s(mark(_x101))), mark(_x92))))))))mark#(after(0, s(_x41)))active#(after(active(0), active(s(mark(_x41)))))
mark#(after(from(from(0)), _x22))active#(after(active(from(active(from(active(0))))), _x22))mark#(after(from(_x31), from(from(after(0, s(_x101))))))active#(after(from(mark(_x31)), active(from(from(active(after(active(0), active(s(mark(_x101))))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, cons(_x161, _x162)), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), active(cons(mark(_x161), _x162)))), mark(_x102)))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), from(_x131)))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), active(from(mark(_x131)))))))))))
mark#(after(from(0), from(_x41)))active#(after(active(from(active(0))), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))), from(s(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))))
mark#(after(from(cons(cons(_x61, _x62), _x52)), 0))active#(after(from(cons(active(cons(mark(_x61), _x62)), _x52)), active(0)))mark#(after(from(_x31), from(from(after(cons(_x131, _x132), s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x131, _x132)), active(s(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(_x71))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(_x91, from(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(from(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(_x81, mark(_x92))))))))
mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(mark(_x101), mark(_x102))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), cons(_x111, _x112)))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), active(cons(mark(_x111), _x112)))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x102), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132)))), _x102)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(cons(mark(_x111), _x112), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(_x131, _x132)), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(mark(_x101), mark(_x102))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, active(_x92)), after(_x101, _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x92)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(_x51), from(_x61)))active#(after(active(from(_x51)), active(from(_x61))))
mark#(after(from(s(cons(_x81, mark(_x92)))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x92)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(after(_x31, _x32), s(_x41)))active#(after(active(after(mark(_x31), mark(_x32))), active(s(mark(_x41)))))
mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(_x101, 0))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), active(0)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))), from(s(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(0))))))))mark#(after(X1, s(from(_x71))))active#(after(mark(X1), active(s(active(from(mark(_x71)))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(0, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(active(0), mark(_x122))), mark(_x102)))))))))mark#(after(from(cons(after(_x61, _x62), mark(mark(_x62)))), 0))active#(after(from(cons(active(after(mark(_x61), mark(_x62))), _x62)), active(0)))
mark#(after(from(0), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(from(_x61)), _x22))active#(after(mark(cons(active(from(mark(_x61))), from(s(active(from(mark(_x61))))))), _x22))
mark#(after(from(s(_x61)), from(from(after(cons(s(_x101), _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(active(s(mark(_x101))), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(after(_x141, _x142)))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(after(mark(_x141), mark(_x142)))))))))))))
mark#(after(from(_x31), from(from(after(cons(_x91, _x92), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(_x91, _x92)), mark(_x92)))))))mark#(after(s(from(_x61)), s(from(mark(_x61)))))active#(after(active(s(from(mark(_x61)))), s(mark(_x41))))
mark#(after(s(from(_x61)), s(from(_x61))))active#(after(active(s(active(from(mark(_x61))))), s(active(from(mark(_x61))))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(from(from(_x71)), from(from(after(cons(s(_x141), _x112), 0)))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(0))))))))mark#(after(from(cons(s(0), _x52)), 0))active#(after(from(active(cons(active(s(active(0))), _x52))), active(0)))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), from(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x101), _x102))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(s(_x191), _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(active(s(mark(_x191))), _x162)), mark(_x132))))), _x112)), mark(_x92))))))))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, active(_x92)), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x92)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), s(_x101))))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), active(s(mark(_x101)))), from(s(after(mark(_x91), active(s(mark(_x101))))))))))))
mark#(after(from(after(_x61, _x62)), X2))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), mark(X2)))mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122)))), from(s(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))))mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), s(_x111)))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), active(s(mark(_x111))))))))))mark#(after(from(_x31), from(from(after(cons(after(_x131, _x132), _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(after(mark(_x131), mark(_x132))), _x112)), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(mark(_x101), _x112), after(_x101, _x112))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), _x112))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), mark(_x92)))))))
mark#(after(X1, 0))active#(after(mark(X1), active(0)))mark#(after(s(_x51), s(_x41)))active#(after(active(s(_x51)), s(mark(_x41))))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92)))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(0, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(active(0), mark(_x122))), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(cons(from(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(from(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(cons(X1, X2))mark#(X1)mark#(after(s(from(_x71)), s(from(_x71))))active#(after(active(s(from(_x71))), s(mark(_x41))))
mark#(after(from(_x31), from(from(after(cons(cons(_x101, _x102), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(cons(mark(_x101), _x102)), _x112)), mark(_x92)))))))mark#(after(from(cons(cons(_x61, _x62), mark(mark(_x62)))), 0))active#(after(from(cons(active(cons(mark(_x61), _x62)), _x62)), active(0)))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, 0), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), active(0))), mark(_x102))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), mark(_x92)))))))
mark#(after(from(_x51), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(_x51)), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(s(after(_x81, _x82))), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(active(after(mark(_x81), mark(_x82))))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), mark(_x102)), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x102)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(_x131, _x132), mark(_x92)))))))))
mark#(after(from(_x31), 0))active#(after(active(from(mark(_x31))), 0))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(after(_x161, _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(after(mark(_x161), mark(_x162))), mark(_x132))))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x131))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(_x131))))))))))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))mark#(after(from(active(_x41)), from(from(after(_x91, _x92)))))active#(after(active(from(_x41)), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x141, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(_x141, mark(_x122))), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(cons(_x91, _x92), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(_x91, _x92)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x92)))))active#(after(mark(cons(active(from(mark(_x61))), from(s(active(from(mark(_x61))))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(cons(mark(_x101), _x102)))))))))
mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x41)), active(from(mark(_x41)))))mark#(after(from(_x31), from(from(after(cons(_x101, _x102), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x101), _x102)), active(s(mark(_x101))))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), _x112), from(_x101))))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), active(from(mark(_x101))))))))))mark#(after(s(from(_x61)), s(0)))active#(after(active(s(from(mark(_x61)))), s(active(0))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x101, cons(_x131, _x132)))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), active(cons(mark(_x131), _x132))))))))))mark#(after(s(from(_x71)), s(0)))active#(after(active(s(active(from(_x71)))), s(active(0))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x101, after(_x131, _x132)))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), active(after(mark(_x131), mark(_x132)))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), mark(cons(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102))))), from(s(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))))
mark#(after(from(0), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(cons(mark(_x121), from(s(mark(_x121)))))))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), active(_x102)), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x102)), mark(_x92))))))))mark#(after(s(_x31), s(_x41)))active#(after(s(mark(_x31)), s(mark(_x41))))
mark#(after(from(0), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(0))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(active(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x41), from(from(after(after(_x101, _x102), _x92)))))active#(after(from(_x41), active(from(from(active(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(0)))))))
mark#(after(from(_x41), from(from(after(_x91, 0)))))active#(after(from(_x41), active(from(from(active(after(mark(_x91), active(0))))))))mark#(after(from(from(cons(_x81, _x82))), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(active(from(active(cons(mark(_x81), _x82)))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(_x51), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(_x51)), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, active(_x92)), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x92)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))))
mark#(after(from(s(_x61)), from(from(after(cons(from(_x101), _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(active(from(mark(_x101))), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))mark#(after(X1, s(_x41)))active#(after(mark(X1), s(mark(_x41))))
mark#(after(s(from(cons(_x81, _x82))), s(_x41)))active#(after(active(s(active(from(active(cons(mark(_x81), _x82)))))), s(mark(_x41))))mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(active(cons(mark(_x51), _x52))), 0))
mark#(after(from(cons(from(_x71), mark(_x42))), 0))active#(after(from(cons(active(from(mark(_x71))), _x42)), active(0)))mark#(after(s(from(active(_x61))), s(_x41)))active#(after(active(s(active(from(_x61)))), s(mark(_x41))))
mark#(after(from(mark(_x41)), 0))active#(after(active(from(_x41)), active(0)))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(from(active(s(mark(_x61)))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))
mark#(after(s(after(_x61, _x62)), s(_x41)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), s(mark(_x41))))mark#(after(s(from(_x71)), s(s(_x61))))active#(after(active(s(active(from(_x71)))), s(active(s(mark(_x61))))))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(from(mark(_x31)), mark(cons(from(active(after(active(0), mark(_x92)))), from(s(from(active(after(active(0), mark(_x92))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, active(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(s(_x101), _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(active(s(mark(_x101))), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, s(from(_x131)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(from(mark(_x131))))))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(from(mark(_x61)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(from(active(s(active(cons(mark(_x81), _x82))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x151, _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(_x151, mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x131, _x132))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(_x131, _x132))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), active(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x132)), mark(_x92)))))))))
mark#(after(from(s(_x61)), from(from(after(cons(active(after(mark(_x121), mark(_x122))), _x112), after(after(_x121, _x122), _x112))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), _x112))))))))mark#(after(from(_x31), from(from(after(cons(s(_x161), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(_x161)), _x112)), mark(_x92)))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(_x101, cons(_x131, _x132)))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), active(cons(mark(_x131), _x132))))))))))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(from(mark(_x31)), active(from(from(after(active(0), mark(_x92)))))))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(cons(mark(_x81), _x82))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(s(_x61)), from(from(after(cons(after(mark(_x121), mark(_x122)), mark(_x102)), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(after(mark(_x121), mark(_x122)), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(s(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x92)))))active#(after(active(from(from(mark(_x61)))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(s(cons(_x61, _x62)), s(_x41)))active#(after(active(s(active(cons(mark(_x61), _x62)))), s(mark(_x41))))mark#(after(X1, after(_x41, _x42)))active#(after(mark(X1), active(after(mark(_x41), mark(_x42)))))
mark#(after(from(_x41), from(from(after(_x91, after(_x101, _x102))))))active#(after(from(_x41), active(from(from(active(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), from(mark(_x41))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), from(_x111)))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), active(from(mark(_x111))))))))))mark#(after(from(cons(after(_x61, _x62), _x52)), 0))active#(after(from(cons(active(after(mark(_x61), mark(_x62))), _x52)), active(0)))
mark#(after(s(_x51), s(0)))active#(after(active(s(_x51)), active(s(active(0)))))mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(from(_x151), _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(active(from(mark(_x151))), mark(_x122))), mark(_x102)))))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(cons(_x91, _x92), _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(active(cons(mark(_x91), _x92)), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))mark#(after(from(_x31), from(from(_x81))))active#(after(active(from(mark(_x31))), active(from(active(from(_x81))))))
mark#(after(from(s(cons(after(_x101, _x102), _x82))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(active(after(mark(_x101), mark(_x102))), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x81, _x82), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(_x81, _x82), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(from(_x71)), from(from(after(cons(s(s(_x131)), _x112), _x92)))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(active(cons(active(s(active(s(mark(_x131))))), _x112)), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(s(mark(_x141)), _x102)), mark(_x92))))))))mark#(after(s(s(_x61)), s(_x41)))active#(after(active(s(active(s(mark(_x61))))), s(mark(_x41))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, active(_x122)), cons(mark(_x111), _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x122)), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(s(_x61)), 0))active#(after(active(from(active(s(mark(_x61))))), active(0)))mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(s(from(_x51)), s(_x41)))active#(after(active(s(mark(cons(_x51, from(s(_x51)))))), s(mark(_x41))))mark#(after(from(s(_x61)), from(from(after(cons(cons(_x101, _x102), _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(active(cons(mark(_x101), _x102)), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(cons(s(from(_x161)), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(from(mark(_x161))))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(_x81, mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(after(mark(_x121), mark(_x122)), mark(_x102))))))))mark#(after(from(_x41), from(from(after(_x91, _x92)))))active#(after(from(_x41), from(from(active(after(mark(_x91), mark(_x92)))))))
mark#(after(from(s(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(s(from(_x61)), s(after(_x61, _x62))))active#(after(active(s(active(from(mark(_x61))))), s(active(after(mark(_x61), mark(_x62))))))
mark#(after(from(_x51), from(from(after(_x91, after(_x101, _x102))))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(after(active(cons(mark(_x111), _x112)), mark(_x92)), from(s(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))))
mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(cons(_x101, _x102), _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(active(cons(mark(_x101), _x102)), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(from(_x71)), from(from(after(cons(s(0), _x112), _x92)))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(active(cons(active(s(active(0))), _x112)), mark(_x92))))))))
mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(from(_x121), _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(from(mark(_x121))), mark(_x102)))))))))mark#(after(from(from(_x71)), X2))active#(after(active(from(active(from(_x71)))), mark(X2)))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(0, _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(0), mark(_x102)))))))))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(0, _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(0), mark(_x102)))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), after(_x101, _x102))))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), active(after(mark(_x101), mark(_x102))))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, active(_x92)), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x92)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(_x51), from(from(after(_x81, from(_x121))))))active#(after(active(from(_x51)), active(from(active(from(after(_x81, active(from(mark(_x121))))))))))mark#(after(from(_x31), from(from(after(cons(from(_x101), _x112), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(from(mark(_x101))), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))), from(s(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(from(active(s(mark(_x61)))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))mark#(after(from(from(_x71)), from(from(after(cons(s(from(_x131)), _x112), _x92)))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(active(cons(active(s(active(from(mark(_x131))))), _x112)), mark(_x92))))))))
mark#(after(from(0), 0))active#(after(active(from(active(0))), active(0)))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(mark(cons(active(s(mark(_x61))), from(s(active(s(mark(_x61))))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(from(_x61)), _x22))active#(after(active(from(from(mark(_x61)))), _x22))mark#(after(from(_x51), from(_x41)))active#(after(from(_x51), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(s(_x171)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(s(mark(_x171))))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(after(_x141, _x142), _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(active(after(mark(_x141), mark(_x142))), _x122))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x131), _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x131))), _x112)), active(cons(mark(_x121), _x122))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(mark(_x111), _x112)), mark(_x92))), from(s(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))
mark#(after(from(_x31), from(from(after(cons(0, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(0), _x112)), mark(_x92)))))))mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x102)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x102)), mark(_x92))))))))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), from(active(from(mark(_x71))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(cons(_x151, _x152), _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(active(cons(mark(_x151), _x152)), mark(_x122))), mark(_x102)))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), mark(cons(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102))))), from(s(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))))mark#(after(from(from(0)), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(active(from(active(0))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(_x41), from(from(after(_x91, cons(_x101, _x102))))))active#(after(from(_x41), active(from(from(active(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))mark#(after(s(from(mark(_x61))), s(cons(_x61, _x62))))active#(after(active(s(active(from(_x61)))), s(active(cons(mark(_x61), _x62)))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122)))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, cons(_x161, _x162)), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), active(cons(mark(_x161), _x162)))), mark(_x102)))))))))
mark#(after(from(from(_x81)), _x22))active#(after(active(from(active(from(_x81)))), _x22))mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(cons(_x131, _x132), _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(active(cons(mark(_x131), _x132)), mark(_x122))), mark(_x102))))))))mark#(after(from(_x31), from(from(after(cons(_x131, _x132), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x131, _x132)), active(0)))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112), mark(_x92))))))))mark#(after(from(_x51), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(from(_x61)), cons(_x41, _x42)))active#(after(active(from(active(from(mark(_x61))))), active(cons(mark(_x41), _x42))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(s(_x151), _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(active(s(mark(_x151))), mark(_x122))), mark(_x102)))))))))
mark#(after(s(from(_x61)), s(0)))active#(after(active(s(mark(cons(mark(_x61), from(s(mark(_x61))))))), s(active(0))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(from(mark(_x31)), active(from(from(active(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(X1, s(0)))active#(after(mark(X1), active(s(active(0)))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), active(s(mark(_x101))))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), 0))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), active(0)))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), _x112), _x82)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), _x82)))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(cons(s(_x101), _x112), after(_x101, _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(active(s(mark(_x101))), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x101, s(_x131)))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), active(s(mark(_x131)))))))))))mark#(after(from(_x41), from(from(after(0, _x92)))))active#(after(from(_x41), active(from(from(active(after(active(0), mark(_x92))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(mark(_x91), mark(_x92))))), from(s(active(from(active(after(mark(_x91), mark(_x92)))))))))))mark#(after(from(_x31), from(0)))active#(after(active(from(mark(_x31))), active(from(active(0)))))
mark#(after(from(s(_x61)), from(from(after(cons(from(_x101), _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(active(from(mark(_x101))), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))mark#(after(from(mark(_x41)), from(from(after(_x91, _x92)))))active#(after(active(from(_x41)), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(from(s(cons(_x91, _x92))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(_x91, _x92)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))
mark#(after(from(_x31), X2))active#(after(from(mark(_x31)), mark(X2)))mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(mark(cons(mark(_x71), from(s(mark(_x71)))))))))
mark#(after(from(0), 0))active#(after(from(active(0)), active(0)))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), _x102))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), s(_x101))))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(s(mark(_x101))))))))))
mark#(after(from(from(_x71)), from(from(after(cons(s(_x141), _x112), cons(_x101, _x102))))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(cons(mark(_x101), _x102)))))))))mark#(after(from(s(after(_x81, _x82))), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(active(after(mark(_x81), mark(_x82))))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))
mark#(after(from(0), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(0))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))
mark#(after(from(cons(s(_x91), _x52)), 0))active#(after(from(active(cons(active(s(_x91)), _x52))), active(0)))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x91, _x92), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(_x91, _x92)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(_x51), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(_x51), from(from(after(_x81, after(_x121, _x122))))))active#(after(active(from(_x51)), active(from(active(from(after(_x81, active(after(mark(_x121), mark(_x122))))))))))mark#(after(from(from(from(_x81))), X2))active#(after(active(from(active(from(active(from(mark(_x81))))))), mark(X2)))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(0), mark(_x92)))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, mark(_x182)), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x182)), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), from(_x101))))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x101))))))))))mark#(after(s(from(_x61)), s(0)))active#(after(active(s(active(from(mark(_x61))))), s(0)))
mark#(after(from(from(after(mark(_x91), mark(_x92)))), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(from(after(mark(_x91), mark(_x92)))))))mark#(after(from(_x31), from(from(after(_x81, _x92)))))active#(after(mark(cons(_x31, from(s(_x31)))), active(from(active(from(after(_x81, mark(_x92))))))))
mark#(after(from(from(_x71)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(from(_x71))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(after(mark(_x91), mark(_x92)), from(s(after(mark(_x91), mark(_x92))))))))))
mark#(after(s(from(mark(_x51))), s(_x41)))active#(after(active(s(mark(cons(_x51, from(s(_x51)))))), s(mark(_x41))))mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(_x31, from(s(_x31)))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(cons(_x121, _x122), _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(cons(mark(_x121), _x122)), mark(_x102)))))))))
mark#(after(s(cons(_x61, _x62)), s(_x41)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(mark(_x41)))))mark#(after(from(s(cons(_x81, active(_x92)))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x92)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(0), from(from(after(0, _x92)))))active#(after(from(active(0)), active(from(from(active(after(active(0), mark(_x92))))))))mark#(after(from(from(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x101), _x112), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(s(mark(_x101))), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(_x31), from(from(s(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(s(mark(_x91)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(active(s(mark(_x141))), _x112), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(mark(_x111), _x112), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(_x51), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(_x51)), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))mark#(after(from(_x31), from(from(after(cons(s(_x151), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(_x151)), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(s(_x61)), from(from(after(cons(mark(_x121), _x112), after(after(_x121, _x112), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), _x112)), mark(_x102))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, 0), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), active(0))), mark(_x102)))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(0), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(0))), _x112)), mark(_x92))))))))mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(cons(_x131, _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(cons(mark(_x131), _x132)))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(_x61)))active#(after(active(from(mark(_x31))), active(from(_x61))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), from(mark(_x121))))))))))mark#(after(from(_x51), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(_x51)), active(from(active(from(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x92)))))active#(after(active(from(mark(cons(mark(_x61), from(s(mark(_x61))))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), mark(_x92))))))))mark#(after(from(from(s(_x81))), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(active(from(active(s(mark(_x81))))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(s(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(s(mark(_x101)))))))))
mark#(after(from(0), from(from(_x71))))active#(after(active(from(active(0))), active(from(active(from(mark(_x71)))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(mark(cons(active(from(mark(_x61))), from(s(active(from(mark(_x61))))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(0, 0)))))active#(after(from(mark(_x31)), active(from(from(active(after(active(0), active(0))))))))mark#(after(from(_x31), from(from(after(s(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(s(mark(_x111))), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x82)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), _x82)))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(cons(_x101, _x102), _x112), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(cons(mark(_x101), _x102)), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(s(from(mark(_x61))), s(from(_x61))))active#(after(active(s(active(from(_x61)))), s(active(from(mark(_x61))))))
mark#(after(from(_x51), from(from(after(_x81, _x92)))))active#(after(active(from(_x51)), active(from(mark(cons(after(_x81, mark(_x92)), from(s(after(_x81, mark(_x92))))))))))mark#(after(from(_x31), from(from(after(_x91, from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(from(mark(_x121)))))))))))
mark#(after(from(s(_x61)), from(from(after(cons(after(mark(_x121), mark(_x122)), mark(_x102)), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(after(mark(_x121), mark(_x122)), mark(_x102)))))))))mark#(after(from(from(_x71)), from(from(after(cons(s(_x141), _x112), _x82)))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), _x82)))))))
mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(0))))))))mark#(after(from(_x31), from(from(after(cons(s(after(_x161, _x162)), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(after(mark(_x161), mark(_x162))))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(_x101, 0))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), active(0)))))))))mark#(after(from(0), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(0))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(_x51), from(from(after(after(_x101, _x102), _x92)))))active#(after(active(from(_x51)), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))mark#(after(from(cons(s(_x71), active(_x62))), 0))active#(after(from(active(cons(active(s(mark(_x71))), _x62))), active(0)))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), mark(cons(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92)))), from(s(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92))))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(_x101, s(_x131)))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), active(s(mark(_x131)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(from(mark(_x31)), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(_x121), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(_x121)), _x112)), mark(_x92))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(after(active(cons(mark(_x161), _x162)), mark(_x132)))), _x112)), mark(_x92))))))))
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(from(s(_x61)), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(from(s(_x91))), _x22))active#(after(active(from(active(from(active(s(mark(_x91))))))), _x22))mark#(after(from(from(_x71)), from(from(after(cons(s(_x141), _x102), _x92)))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(active(cons(s(mark(_x141)), _x102)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(s(mark(_x101))))))))))mark#(after(from(s(s(_x81))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(s(mark(_x81))))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(0, _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(active(0), _x162)), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x82)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), _x82)))))))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(_x101, after(_x131, _x132)))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), active(after(mark(_x131), mark(_x132)))))))))))
mark#(after(from(_x51), from(from(after(from(_x101), _x92)))))active#(after(active(from(_x51)), active(from(active(from(after(active(from(mark(_x101))), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))
mark#(after(from(_x51), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))mark#(after(from(cons(0, _x52)), 0))active#(after(from(active(cons(active(0), _x52))), active(0)))
mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102))))))active#(after(from(mark(_x31)), active(from(from(active(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))mark#(after(from(_x31), from(from(after(_x91, cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(cons(mark(_x121), _x122))))))))))
mark#(after(s(from(cons(_x81, _x82))), s(0)))active#(after(active(s(active(from(active(cons(mark(_x81), _x82)))))), s(active(0))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(0)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(0))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(from(_x121), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(from(mark(_x121))), mark(_x102)))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, cons(_x131, _x132)), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), active(cons(mark(_x131), _x132)))), mark(_x102))))))))mark#(after(from(_x31), from(from(after(cons(s(0), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(0))), _x112)), mark(_x92)))))))))
mark#(after(from(cons(after(_x71, _x72), mark(_x42))), 0))active#(after(from(cons(active(after(mark(_x71), mark(_x72))), _x42)), active(0)))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(from(mark(_x31)), from(from(active(after(active(0), mark(_x92)))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(0, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(0), mark(_x102)))))))))
mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(from(_x101), _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(active(from(mark(_x101))), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(from(_x71)), from(from(after(cons(s(cons(_x131, _x132)), _x112), _x92)))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(active(cons(active(s(active(cons(mark(_x131), _x132)))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), _x102))))))))mark#(after(from(cons(after(_x71, _x72), _x52)), 0))active#(after(from(active(cons(active(after(mark(_x71), mark(_x72))), _x52))), active(0)))
mark#(after(from(_x51), from(from(after(_x91, 0)))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), active(0))))))))mark#(after(from(from(_x71)), from(from(after(cons(s(_x141), active(_x102)), _x92)))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x102)), mark(_x92))))))))
mark#(after(from(_x51), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(_x51)), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(_x31), after(_x41, _x42)))active#(after(active(from(mark(_x31))), active(after(mark(_x41), mark(_x42)))))
mark#(after(from(_x31), from(_x41)))active#(after(active(from(mark(_x31))), mark(cons(mark(_x41), from(s(mark(_x41)))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(after(mark(_x91), active(s(mark(_x101)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(0, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(active(0), _x122))))))))))mark#(after(from(_x31), from(from(after(_x91, _x82)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), _x82)))))))
mark#(after(from(s(_x71)), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(_x71)))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(cons(0, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(0), _x112)), mark(_x92))))))))
mark#(after(from(cons(_x51, mark(mark(active(_x42))))), 0))active#(after(from(cons(mark(_x51), _x42)), active(0)))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(from(active(s(mark(_x61)))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, mark(_x102)), after(_x111, _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(_x111, mark(_x102)))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, s(_x161)), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), active(s(mark(_x161))))), mark(_x102)))))))))mark#(after(_x21, X2))active#(after(_x21, mark(X2)))
mark#(after(s(from(mark(_x61))), s(_x41)))active#(after(s(active(from(_x61))), s(mark(_x41))))mark#(after(s(from(_x61)), s(_x41)))active#(after(s(active(from(mark(_x61)))), s(mark(_x41))))
mark#(after(from(cons(_x51, _x52)), 0))active#(after(from(cons(mark(_x51), _x52)), 0))mark#(after(from(active(_x31)), from(from(after(_x91, _x92)))))active#(after(from(_x31), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(after(_x51, _x52)), from(from(after(_x91, _x92)))))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x101), _x102)))))))))
mark#(after(X1, s(cons(_x71, _x72))))active#(after(mark(X1), active(s(active(cons(mark(_x71), _x72))))))mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x92)), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x92)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(from(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(from(mark(_x101))), mark(_x92))))))))mark#(after(from(_x31), from(from(after(s(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(s(mark(_x101))), mark(_x92))))))))
mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(_x101, s(_x131)))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), active(s(mark(_x131)))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(active(s(mark(_x141))), _x112), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(after(mark(_x91), mark(_x92)))), from(s(active(from(after(mark(_x91), mark(_x92))))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(after(_x191, _x192), _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(active(after(mark(_x191), mark(_x192))), _x162)), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(s(from(s(_x81))), s(_x41)))active#(after(active(s(active(from(active(s(mark(_x81))))))), s(mark(_x41))))mark#(after(from(cons(s(_x71), _x62)), 0))active#(after(from(active(cons(s(mark(_x71)), _x62))), active(0)))
mark#(after(from(cons(_x51, mark(_x62))), 0))active#(after(from(active(cons(mark(_x51), _x62))), active(0)))mark#(after(s(_x31), s(after(_x61, _x62))))active#(after(active(s(mark(_x31))), s(active(after(mark(_x61), mark(_x62))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, after(_x161, _x162)), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), active(after(mark(_x161), mark(_x162))))), mark(_x102)))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(mark(_x61))))), from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x122), from(s(mark(_x141))))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(s(mark(_x141)), _x122)), active(from(mark(_x121)))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x101), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(s(mark(_x101))), _x112)), mark(_x92)))))))
mark#(after(from(_x31), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(from(_x131), _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(active(from(mark(_x131))), mark(_x122))), mark(_x102))))))))
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(from(_x51), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(0), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(mark(_x91), mark(_x92))), from(s(active(after(mark(_x91), mark(_x92)))))))))))mark#(after(from(from(_x71)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(_x71)))), mark(cons(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))), from(s(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))))
mark#(after(from(cons(s(from(_x101)), _x52)), 0))active#(after(from(active(cons(active(s(active(from(mark(_x101))))), _x52))), active(0)))mark#(after(from(from(_x71)), from(from(after(cons(s(_x141), _x112), from(_x101))))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(s(cons(_x161, _x162)), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(cons(mark(_x161), _x162)))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(cons(s(after(_x101, _x102)), _x52)), 0))active#(after(from(active(cons(active(s(active(after(mark(_x101), mark(_x102))))), _x52))), active(0)))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(from(mark(_x61)))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92))))))))mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), s(active(0))))
mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(cons(mark(_x111), _x112), mark(_x92)))))))))
mark#(after(from(_x31), from(s(_x71))))active#(after(active(from(mark(_x31))), active(from(active(s(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(s(_x141), _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(active(s(mark(_x141))), _x122))))))))))
mark#(after(from(s(_x61)), from(from(after(cons(cons(_x101, _x102), _x112), after(_x101, _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(active(cons(mark(_x101), _x102)), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(_x91, _x82)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), _x82)))))))
mark#(after(from(0), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))mark#(after(from(cons(_x41, _x42)), 0))active#(after(from(cons(_x41, _x42)), active(0)))
mark#(after(from(_x31), 0))active#(after(mark(cons(_x31, from(s(_x31)))), active(0)))mark#(after(from(s(_x61)), from(from(after(cons(cons(_x101, _x102), _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(active(cons(mark(_x101), _x102)), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))
mark#(from(X))active#(from(mark(X)))mark#(after(from(s(_x61)), from(from(after(cons(0, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(active(0), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(cons(_x51, _x52)), from(from(after(_x91, _x92)))))active#(after(from(active(cons(mark(_x51), _x52))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(cons(cons(_x71, _x72), _x52)), 0))active#(after(from(active(cons(active(cons(mark(_x71), _x72)), _x52))), active(0)))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(cons(mark(_x111), _x112), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(from(from(from(_x81))), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(active(from(active(from(mark(_x81))))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), from(active(from(after(mark(_x91), active(s(mark(_x101)))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(after(_x151, _x152), _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(active(after(mark(_x151), mark(_x152))), mark(_x122))), mark(_x102)))))))))mark#(after(s(from(0)), s(_x41)))active#(after(active(s(active(from(active(0))))), s(mark(_x41))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), cons(_x171, _x172))), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), active(cons(mark(_x171), _x172)))))), _x112)), mark(_x92))))))))mark#(after(cons(_x31, _x32), X2))active#(after(active(cons(mark(_x31), _x32)), mark(X2)))
mark#(after(s(from(from(_x81))), s(_x41)))active#(after(active(s(active(from(active(from(mark(_x81))))))), s(mark(_x41))))mark#(after(from(s(_x61)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), after(_x131, _x132)))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), active(after(mark(_x131), mark(_x132)))))))))))mark#(after(from(after(_x61, _x62)), from(_x41)))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(mark(_x41)))))
mark#(after(s(from(mark(_x61))), s(0)))active#(after(active(s(active(from(_x61)))), s(active(0))))mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x102), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(s(mark(_x141)), _x102)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))mark#(after(from(_x31), s(_x41)))active#(after(active(from(mark(_x31))), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, s(after(_x131, _x132)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(after(mark(_x131), mark(_x132))))))))))))mark#(after(from(_x31), from(from(after(0, _x82)))))active#(after(from(mark(_x31)), active(from(from(active(after(active(0), _x82)))))))
mark#(after(from(from(_x61)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(0))))))))
mark#(after(from(cons(_x61, _x62)), 0))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(0)))mark#(after(from(from(_x71)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(s(after(_x81, _x82))), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(active(after(mark(_x81), mark(_x82))))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))mark#(after(from(from(cons(_x81, _x82))), X2))active#(after(active(from(active(from(active(cons(mark(_x81), _x82)))))), mark(X2)))
mark#(after(from(_x31), from(from(after(cons(s(0), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(0))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(0, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(active(0), mark(_x122))), mark(_x102))))))))
mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(from(active(0)), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(from(_x61)), 0))active#(after(active(from(active(from(mark(_x61))))), active(0)))
mark#(after(from(from(from(_x81))), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(active(from(mark(_x81))))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, mark(_x82)), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x82), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(s(from(_x71)), s(_x51)))active#(after(active(s(active(from(_x71)))), s(_x51)))
mark#(after(from(0), from(from(after(_x91, _x92)))))active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x31), from(_x41)))active#(after(mark(cons(_x31, from(s(_x31)))), active(from(mark(_x41)))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), s(_x131)))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), active(s(mark(_x131)))))))))))mark#(after(from(_x31), from(from(after(from(_x101), _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(active(from(mark(_x101))), mark(_x92))))))))
mark#(after(s(from(_x61)), s(cons(_x61, _x62))))active#(after(active(s(active(from(mark(_x61))))), s(active(cons(mark(_x61), _x62)))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), mark(cons(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102))))), from(s(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), active(_x102)), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x102)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(from(mark(_x31)), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92)))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), from(_x131)))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), active(from(mark(_x131)))))))))))mark#(after(from(s(_x71)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(_x71)))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))
active#(from(X))mark#(cons(X, from(s(X))))mark#(after(from(s(_x61)), from(from(after(cons(from(_x91), _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(active(from(mark(_x91))), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(from(active(after(mark(_x91), mark(_x92))))), from(from(after(_x91, _x92)))))active#(after(from(_x41), mark(cons(from(active(after(mark(_x91), mark(_x92)))), from(s(from(active(after(mark(_x91), mark(_x92))))))))))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, mark(_x92)), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x92)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(from(_x51)), from(from(after(0, _x92)))))active#(after(from(active(from(mark(_x51)))), active(from(from(active(after(active(0), mark(_x92))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x181, _x182), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(_x181, _x182)), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x91, _x92), after(_x101, _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(_x91, _x92)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(from(mark(_x61))), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(_x61)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(cons(0, mark(mark(_x62)))), 0))active#(after(from(cons(active(0), _x62)), active(0)))mark#(after(from(cons(s(cons(_x101, _x102)), _x52)), 0))active#(after(from(active(cons(active(s(active(cons(mark(_x101), _x102)))), _x52))), active(0)))
mark#(after(from(0), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(s(from(_x81))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(from(mark(_x81))))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(_x41), from(from(after(cons(_x101, _x102), _x92)))))active#(after(from(_x41), active(from(from(active(after(active(cons(mark(_x101), _x102)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(0, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(active(0), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(mark(cons(active(s(active(cons(mark(_x81), _x82)))), from(s(active(s(active(cons(mark(_x81), _x82)))))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(cons(0, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(0), _x112)), mark(_x92)))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), mark(_x102)), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x102)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(cons(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(cons(mark(_x141), _x142)), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(0)))))))))
mark#(after(from(_x31), from(from(from(_x91)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(from(mark(_x91)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), active(_x102)), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x102)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(mark(_x101), _x112), after(_x101, _x112))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), _x112))))))))mark#(after(from(_x31), from(from(after(cons(_x111, active(_x102)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x102)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x102)), after(_x111, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(_x111, mark(_x102)))))))))mark#(after(from(from(s(_x81))), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(active(s(mark(_x81))))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(after(_x101, _x102), _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(active(after(mark(_x101), mark(_x102))), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))mark#(after(from(0), X2))active#(after(active(from(active(0))), mark(X2)))
mark#(after(from(from(_x61)), s(_x41)))active#(after(active(from(active(from(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))
mark#(after(from(active(_x41)), 0))active#(after(active(from(_x41)), active(0)))mark#(after(from(_x31), from(from(after(cons(from(_x101), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(from(mark(_x101))), _x112)), mark(_x92)))))))
mark#(after(from(_x51), 0))active#(after(from(_x51), active(0)))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(_x101, cons(_x131, _x132)))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), active(cons(mark(_x131), _x132))))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(from(_x131)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(from(mark(_x131))))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(after(_x121, _x122), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(after(mark(_x121), mark(_x122))), _x112)), mark(_x92))))))))mark#(after(from(cons(0, _x52)), 0))active#(after(from(cons(active(0), _x52)), active(0)))
mark#(after(from(_x51), from(from(after(_x81, 0)))))active#(after(active(from(_x51)), active(from(active(from(after(_x81, active(0))))))))mark#(after(from(_x31), from(from(after(cons(s(_x121), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(s(mark(_x121))), _x112)), mark(_x92))))))))
mark#(after(s(from(_x61)), s(_x41)))active#(after(active(s(mark(cons(mark(_x61), from(s(mark(_x61))))))), s(mark(_x41))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(from(after(active(cons(mark(_x111), _x112)), mark(_x92))), from(s(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, mark(_x122)), after(after(_x111, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(_x111, mark(_x122))), mark(_x102))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), mark(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x132)), mark(_x92)))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(mark(cons(active(s(mark(_x61))), from(s(active(s(mark(_x61))))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, from(_x161)), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), active(from(mark(_x161))))), mark(_x102)))))))))mark#(after(from(_x41), from(from(after(_x91, s(_x101))))))active#(after(from(_x41), active(from(from(active(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(from(after(_x81, _x82))), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(active(after(mark(_x81), mark(_x82))))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(after(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(after(mark(_x101), mark(_x102))), mark(_x92))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))mark#(after(from(_x51), from(from(after(_x81, s(_x121))))))active#(after(active(from(_x51)), active(from(active(from(after(_x81, active(s(mark(_x121))))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, from(_x171))), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), active(from(mark(_x171))))))), _x112)), mark(_x92))))))))mark#(after(from(from(after(_x81, _x82))), X2))active#(after(active(from(active(from(active(after(mark(_x81), mark(_x82))))))), mark(X2)))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), from(_x101))))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), active(from(mark(_x101))))))))))mark#(after(from(from(_x61)), from(_x41)))active#(after(active(from(active(from(mark(_x61))))), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(after(_x171, _x172)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(after(mark(_x171), mark(_x172))))), _x112)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), mark(_x102)), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x102)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(after(_x131, _x132), _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(active(after(mark(_x131), mark(_x132))), mark(_x122))), mark(_x102))))))))mark#(after(from(_x31), from(from(after(_x91, cons(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(from(_x141), _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(active(from(mark(_x141))), _x122))))))))))mark#(after(from(s(cons(cons(_x101, _x102), _x82))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(active(cons(mark(_x101), _x102)), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(s(_x51)), 0))active#(after(from(active(s(mark(_x51)))), active(0)))mark#(after(from(s(_x61)), from(from(after(cons(s(_x91), _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(active(s(mark(_x91))), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122)))))))))mark#(after(from(cons(_x51, mark(_x42))), 0))active#(after(from(cons(mark(_x51), _x42)), 0))
mark#(after(s(_x31), s(cons(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(cons(mark(_x71), _x72))))))mark#(after(from(_x31), from(from(after(from(_x101), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), mark(_x92))))))))
mark#(after(from(_x31), from(cons(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(cons(mark(_x71), _x72))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, mark(_x92)), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x92)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(_x51), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), from(from(active(after(mark(_x91), mark(_x92)))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, s(_x171))), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), active(s(mark(_x171))))))), _x112)), mark(_x92))))))))mark#(after(from(_x51), from(from(_x71))))active#(after(active(from(_x51)), active(from(active(from(mark(_x71)))))))
mark#(after(from(s(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(from(_x71)), from(from(after(cons(s(_x141), mark(_x102)), _x92)))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x102)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(cons(_x131, _x132)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(cons(mark(_x131), _x132)))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, s(0))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(0))))))))))
mark#(after(from(s(from(_x81))), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(active(from(mark(_x81))))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))mark#(after(from(_x51), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(_x51)), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, active(_x132)))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x132))))))))))mark#(after(from(from(after(_x81, mark(_x92)))), from(from(after(_x81, _x92)))))active#(after(active(from(_x51)), active(from(from(after(_x81, mark(_x92)))))))
mark#(after(from(_x31), from(from(after(0, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(s(from(_x131)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(from(mark(_x131))))), _x112)), mark(_x92))))))))
mark#(after(from(_x51), from(from(after(_x91, s(_x101))))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x72)))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), _x72))))))
mark#(after(from(_x31), from(from(after(cons(_x131, _x132), after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x131, _x132)), active(after(mark(_x121), mark(_x122)))))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x142), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), _x142)), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(s(mark(_x141)), _x132)), mark(_x92)))))))))mark#(after(from(_x31), from(from(after(cons(cons(_x121, _x122), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(cons(mark(_x121), _x122)), _x112)), mark(_x92))))))))
mark#(after(from(after(_x51, _x52)), from(from(after(0, _x92)))))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(from(from(active(after(active(0), mark(_x92))))))))mark#(after(from(from(_x51)), 0))active#(after(from(active(from(mark(_x51)))), active(0)))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))), from(s(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), 0)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(0)))))))))
mark#(after(from(_x31), from(_x41)))active#(after(from(mark(_x31)), active(from(mark(_x41)))))mark#(after(from(cons(s(_x61), _x52)), 0))active#(after(from(cons(active(s(mark(_x61))), _x52)), active(0)))
mark#(after(from(cons(from(_x61), _x52)), 0))active#(after(from(cons(active(from(mark(_x61))), _x52)), active(0)))mark#(after(from(cons(from(_x71), _x52)), 0))active#(after(from(active(cons(active(from(mark(_x71))), _x52))), active(0)))
mark#(after(after(_x31, _x32), X2))active#(after(active(after(mark(_x31), mark(_x32))), mark(X2)))mark#(after(from(from(_x51)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(cons(_x51, from(s(_x51)))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, active(_x92)), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x92)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))mark#(after(from(_x31), from(from(after(cons(active(_x121), _x122), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x121, _x122)), mark(_x92)))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(s(_x131), _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(active(s(mark(_x131))), mark(_x122))), mark(_x102))))))))mark#(after(from(_x31), from(mark(_x31))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(mark(_x41)))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), after(_x111, _x112)))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), active(after(mark(_x111), mark(_x112))))))))))mark#(after(from(cons(s(_x71), _x52)), 0))active#(after(from(active(cons(active(s(mark(_x71))), _x52))), 0))
mark#(after(from(_x31), from(from(after(cons(s(from(_x171)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(from(mark(_x171))))), _x112)), mark(_x92)))))))))mark#(after(s(from(_x71)), s(_x41)))active#(after(s(active(from(_x71))), s(mark(_x41))))
mark#(after(s(from(mark(_x61))), s(_x51)))active#(after(active(s(active(from(_x61)))), s(_x51)))mark#(after(from(from(_x61)), mark(_x32)))active#(after(active(from(active(from(mark(_x61))))), _x32))
mark#(after(s(after(_x61, _x62)), s(0)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(active(0)))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x141, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(_x141, mark(_x122))), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(cons(from(_x121), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(active(from(mark(_x121))), _x112)), mark(_x92))))))))mark#(after(from(s(0)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(active(0))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(s(_x31), s(s(_x61))))active#(after(active(s(mark(_x31))), s(active(s(mark(_x61))))))mark#(after(s(_x51), s(_x41)))active#(after(active(s(_x51)), active(s(mark(_x41)))))
mark#(after(s(from(after(_x81, _x82))), s(0)))active#(after(active(s(active(from(active(after(mark(_x81), mark(_x82))))))), s(active(0))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(from(active(from(mark(_x61)))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x132)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x132)), mark(_x92)))))))))mark#(after(from(s(_x61)), from(from(after(cons(mark(_x101), _x112), after(_x101, _x112))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), _x112))))))))
mark#(after(from(_x31), from(from(after(from(_x111), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(from(mark(_x111))), mark(_x92)))))))))mark#(after(from(_x51), from(from(after(_x91, cons(_x101, _x102))))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), active(cons(mark(_x101), _x102)))))))))
mark#(after(from(s(from(_x81))), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(active(from(mark(_x81))))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x91, _x92), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(_x91, _x92)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122)))))), from(s(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))))
mark#(after(from(s(_x61)), from(from(after(cons(after(_x101, _x102), _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(active(after(mark(_x101), mark(_x102))), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))mark#(after(from(_x31), from(from(after(cons(s(_x121), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(_x121)), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), after(mark(_x101), mark(_x102))))))))mark#(after(from(after(_x61, _x62)), 0))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(0)))
mark#(after(from(_x51), from(from(after(_x81, _x92)))))active#(after(active(from(_x51)), mark(cons(active(from(after(_x81, mark(_x92)))), from(s(active(from(after(_x81, mark(_x92))))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))
mark#(after(X1, X2))mark#(X2)mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))
mark#(after(s(0), s(0)))active#(after(active(s(active(0))), active(s(active(0)))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(cons(mark(_x111), _x112), mark(_x92)))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, 0)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), active(0))))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), mark(_x122)), from(active(s(mark(_x141)))))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x122)), active(from(mark(_x121)))))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(cons(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(cons(mark(_x121), _x122)), mark(_x102)))))))))
mark#(after(from(s(_x61)), from(from(after(_x91, _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(s(cons(_x61, _x62)), s(0)))active#(after(active(s(active(cons(mark(_x61), _x62)))), active(s(active(0)))))
mark#(after(from(_x31), from(from(after(0, from(_x101))))))active#(after(from(mark(_x31)), active(from(from(active(after(active(0), active(from(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102))))))active#(after(from(mark(_x31)), active(from(from(active(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(after(mark(_x121), mark(_x122)))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(from(mark(_x31)), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(_x31), from(from(after(cons(_x121, active(_x122)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x121, _x122)), mark(_x92)))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(_x41), from(from(after(s(_x101), _x92)))))active#(after(from(_x41), active(from(from(active(after(active(s(mark(_x101))), mark(_x92))))))))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(s(_x101), _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(active(s(mark(_x101))), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(from(_x61)), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(s(mark(_x61)))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(from(_x141)))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(from(mark(_x141)))))))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(from(active(from(mark(_x61)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(from(_x61)), _x22))active#(after(active(from(mark(cons(mark(_x61), from(s(mark(_x61))))))), _x22))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(s(mark(_x121)))))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, mark(_x92)), after(_x101, _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x92)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(cons(_x51, active(_x42))), 0))active#(after(from(cons(mark(_x51), _x42)), active(0)))
mark#(after(from(_x41), from(from(after(_x81, _x92)))))active#(after(from(_x41), active(from(from(active(after(_x81, mark(_x92))))))))mark#(after(from(s(_x51)), from(from(after(_x91, _x92)))))active#(after(from(active(s(mark(_x51)))), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(s(_x31), s(_x61)))active#(after(active(s(mark(_x31))), active(s(_x61))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, after(_x131, _x132)), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), active(after(mark(_x131), mark(_x132))))), mark(_x102))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(0, _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(0), _x112)), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), mark(cons(active(from(after(mark(_x91), mark(_x92)))), from(s(active(from(after(mark(_x91), mark(_x92))))))))))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(s(_x121), _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(s(mark(_x121))), mark(_x102)))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), _x112), after(_x101, _x102))))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), active(after(mark(_x101), mark(_x102))))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), s(_x131)))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), active(s(mark(_x131)))))))))))
mark#(after(from(_x31), from(from(after(_x91, s(s(_x131)))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(active(s(mark(_x131))))))))))))mark#(after(from(s(cons(s(_x101), _x82))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(active(s(mark(_x101))), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(s(_x61)), X2))active#(after(active(from(active(s(mark(_x61))))), mark(X2)))mark#(after(from(_x31), _x22))active#(after(active(from(mark(_x31))), _x22))
mark#(after(from(_x31), from(from(after(_x81, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(_x81, active(s(mark(_x101))))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), from(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(from(mark(_x101))))))))))
mark#(after(from(s(s(_x81))), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(active(s(mark(_x81))))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92))))), from(s(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, active(_x92)), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x92)), mark(_x92)))))))mark#(after(from(from(active(_x61))), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(_x61)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x131, _x132), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x131, _x132)), active(from(mark(_x121)))))))))))mark#(after(from(from(s(_x81))), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(active(s(mark(_x81))))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(0, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(active(0), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))mark#(after(from(mark(_x41)), from(_x41)))active#(after(active(from(_x51)), mark(cons(mark(_x41), from(s(mark(_x41)))))))
mark#(after(s(_x31), s(after(_x71, _x72))))active#(after(active(s(mark(_x31))), active(s(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(s(from(_x81))), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(active(from(mark(_x81))))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x82)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), _x82)))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x142), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), _x142)), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(cons(_x141, _x142), _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(active(cons(mark(_x141), _x142)), _x122))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x82)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), _x82)))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), from(_x101))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(from(mark(_x101)))))))))
mark#(after(from(cons(_x51, mark(active(_x62)))), 0))active#(after(from(cons(mark(_x51), _x62)), active(0)))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), cons(_x131, _x132)))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), active(cons(mark(_x131), _x132))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122)))))))))mark#(after(from(from(cons(_x91, _x92))), _x22))active#(after(active(from(active(from(active(cons(mark(_x91), _x92)))))), _x22))
active#(after(0, XS))mark#(XS)mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, s(_x161)), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), active(s(mark(_x161))))), mark(_x102)))))))))
mark#(after(from(from(_x71)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(_x71)))), from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))
mark#(after(from(cons(_x51, _x52)), from(from(after(0, _x92)))))active#(after(from(active(cons(mark(_x51), _x52))), active(from(from(active(after(active(0), mark(_x92))))))))mark#(after(from(from(s(_x81))), X2))active#(after(active(from(active(from(active(s(mark(_x81))))))), mark(X2)))
mark#(after(from(_x51), from(from(after(_x101, _x102)))))active#(after(active(from(_x51)), active(from(active(from(after(_x101, _x102)))))))mark#(after(s(from(mark(_x61))), s(s(_x61))))active#(after(active(s(active(from(_x61)))), s(active(s(mark(_x61))))))
mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(cons(mark(_x111), _x112), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(cons(_x61, _x62)), X2))active#(after(active(from(active(cons(mark(_x61), _x62)))), mark(X2)))
mark#(after(X1, _x22))active#(after(mark(X1), _x22))mark#(after(from(_x31), from(from(after(from(_x101), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(from(mark(_x101))), active(s(mark(_x101))))))))))
mark#(after(from(_x41), from(from(after(_x91, _x82)))))active#(after(from(_x41), active(from(from(active(after(mark(_x91), _x82)))))))mark#(after(from(_x41), 0))active#(after(from(_x41), active(0)))
mark#(after(from(from(_x61)), X2))active#(after(active(from(from(mark(_x61)))), mark(X2)))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), mark(cons(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102))))), from(s(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), active(from(from(mark(_x71))))))mark#(after(from(cons(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(mark(_x71)))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(from(active(s(mark(_x61)))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(s(s(_x61)), s(0)))active#(after(active(s(active(s(mark(_x61))))), active(s(active(0)))))
mark#(after(s(_x31), X2))active#(after(active(s(mark(_x31))), mark(X2)))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, from(_x161)), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), active(from(mark(_x161))))), mark(_x102)))))))))
mark#(after(from(s(_x51)), from(from(after(0, _x92)))))active#(after(from(active(s(mark(_x51)))), active(from(from(active(after(active(0), mark(_x92))))))))mark#(after(s(from(mark(mark(_x71)))), s(_x41)))active#(after(active(s(active(from(_x71)))), s(mark(_x41))))
mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), from(active(from(after(mark(_x91), mark(_x92)))))))mark#(after(from(_x31), from(from(after(0, cons(_x101, _x102))))))active#(after(from(mark(_x31)), active(from(from(active(after(active(0), active(cons(mark(_x101), _x102)))))))))
mark#(after(from(from(_x61)), X2))active#(after(mark(cons(active(from(mark(_x61))), from(s(active(from(mark(_x61))))))), mark(X2)))mark#(after(from(_x31), from(from(after(cons(_x121, mark(_x122)), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x121, _x122)), mark(_x92)))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(from(_x191), _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(active(from(mark(_x191))), _x162)), mark(_x132))))), _x112)), mark(_x92))))))))mark#(after(from(0), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(0))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(s(_x61)), from(from(after(cons(0, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(active(0), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))mark#(after(from(from(_x71)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(mark(cons(active(from(_x71)), from(s(active(from(_x71)))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x51), from(cons(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(cons(mark(_x71), _x72))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x92))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), _x92)))))))
mark#(after(from(cons(s(_x71), mark(_x42))), 0))active#(after(from(cons(active(s(mark(_x71))), _x42)), active(0)))mark#(after(s(_x31), s(_x51)))active#(after(active(s(mark(_x31))), s(_x51)))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(0))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(0)))))))))))mark#(after(from(cons(s(_x61), mark(mark(_x62)))), 0))active#(after(from(cons(active(s(mark(_x61))), _x62)), active(0)))
mark#(after(from(_x51), from(from(after(mark(_x101), _x92)))))active#(after(active(from(_x51)), active(from(active(from(after(_x101, mark(_x92))))))))mark#(after(from(_x51), from(from(after(0, _x92)))))active#(after(active(from(_x51)), active(from(active(from(after(active(0), mark(_x92))))))))
mark#(after(from(0), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(active(0))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), 0)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), active(0))))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121))))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), after(_x131, _x132)))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), active(after(mark(_x131), mark(_x132)))))))))))
mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(mark(_x31))), mark(cons(active(from(active(after(active(cons(_x131, _x132)), mark(_x92))))), from(s(active(from(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))))mark#(after(from(_x31), from(from(after(_x91, s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), s(mark(_x101)))))))))
mark#(after(0, X2))active#(after(active(0), mark(X2)))mark#(after(from(_x31), from(from(after(_x91, s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(s(mark(_x121)))))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(mark(cons(active(from(mark(_x61))), from(s(active(from(mark(_x61))))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, from(_x101))))))active#(after(from(mark(_x31)), active(from(from(active(after(mark(_x91), active(from(mark(_x101))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102))))))))))mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(mark(cons(active(after(active(cons(_x131, _x132)), mark(_x92))), from(s(active(after(active(cons(_x131, _x132)), mark(_x92)))))))))))
mark#(after(X1, s(_x61)))active#(after(mark(X1), active(s(_x61))))mark#(after(s(from(_x71)), s(after(_x61, _x62))))active#(after(active(s(active(from(_x71)))), s(active(after(mark(_x61), mark(_x62))))))
mark#(after(s(after(_x61, _x62)), s(_x41)))active#(after(active(s(active(after(mark(_x61), mark(_x62))))), active(s(mark(_x41)))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))
mark#(after(from(_x31), from(from(after(_x91, after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), active(after(mark(_x121), mark(_x122)))))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(after(_x51, _x52)), 0))active#(after(from(active(after(mark(_x51), mark(_x52)))), active(0)))mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), s(_x171))), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), active(s(mark(_x171))))))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x101, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(_x101, mark(_x92)))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x152)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), _x152)))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(active(from(mark(_x31))), from(from(active(after(mark(_x91), mark(_x92)))))))mark#(after(s(from(_x71)), s(cons(_x61, _x62))))active#(after(active(s(active(from(_x71)))), s(active(cons(mark(_x61), _x62)))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(cons(mark(_x161), _x162), mark(_x132))))), _x112)), mark(_x92))))))))mark#(after(from(from(_x71)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(_x71)))), active(from(from(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))
mark#(after(from(from(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92)))), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92)))))))mark#(after(from(_x31), from(from(after(_x91, 0)))))active#(after(from(mark(_x31)), active(from(from(active(after(mark(_x91), active(0))))))))
mark#(after(from(from(_x51)), from(from(after(_x91, _x92)))))active#(after(from(active(from(mark(_x51)))), active(from(from(active(after(mark(_x91), mark(_x92))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), _x102), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(s(active(after(mark(_x131), mark(_x132)))), _x102)), mark(_x92))))))))
mark#(after(from(_x41), from(from(after(_x91, from(_x101))))))active#(after(from(_x41), active(from(from(active(after(mark(_x91), active(from(mark(_x101))))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(cons(_x191, _x192), _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(active(cons(mark(_x191), _x192)), _x162)), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), cons(_x41, _x42)))active#(after(active(from(mark(_x31))), active(cons(mark(_x41), _x42))))mark#(after(s(from(0)), s(0)))active#(after(active(s(active(from(active(0))))), s(active(0))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(mark(cons(active(s(mark(_x61))), from(s(active(s(mark(_x61))))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), after(_x101, _x102))))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(from(_x31), from(from(cons(_x91, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(cons(mark(_x91), _x92))))))))mark#(after(from(from(_x71)), from(from(after(cons(s(_x121), _x112), _x92)))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(active(cons(active(s(_x121)), _x112)), mark(_x92))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x152)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), _x152)))), _x112)), mark(_x92))))))))mark#(after(X1, from(_x41)))active#(after(mark(X1), active(from(mark(_x41)))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), active(_x122)), from(active(s(mark(_x141)))))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x122)), active(from(mark(_x121)))))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(s(_x151), _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(active(s(mark(_x151))), mark(_x122))), mark(_x102)))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), mark(cons(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), mark(_x92)))), from(s(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), mark(_x92))))))))))mark#(after(from(_x31), from(from(after(_x91, _x82)))))active#(after(from(mark(_x31)), active(from(from(active(after(mark(_x91), _x82)))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), mark(_x102)), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x102)), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(cons(_x151, _x152), _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(active(cons(mark(_x151), _x152)), mark(_x122))), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(from(_x121), _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(from(mark(_x121))), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(from(from(0)), X2))active#(after(active(from(active(from(active(0))))), mark(X2)))mark#(after(from(_x31), from(from(after(_x91, _x102)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(mark(_x91), _x102))))))))
mark#(after(from(_x51), from(s(_x71))))active#(after(active(from(_x51)), active(from(active(s(mark(_x71)))))))mark#(after(from(from(after(_x91, _x92))), _x22))active#(after(active(from(active(from(active(after(mark(_x91), mark(_x92))))))), _x22))
mark#(after(from(_x51), from(from(after(_x91, from(_x101))))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), active(from(mark(_x101))))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, after(_x171, _x172))), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), active(after(mark(_x171), mark(_x172))))))), _x112)), mark(_x92))))))))
mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))mark#(after(from(after(_x61, _x62)), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), 0)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(0))))))))mark#(after(from(from(_x61)), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(active(from(mark(_x61))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), after(_x171, _x172))), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), active(after(mark(_x171), mark(_x172))))))), _x112)), mark(_x92))))))))mark#(after(from(_x51), from(0)))active#(after(active(from(_x51)), active(from(active(0)))))
mark#(after(s(from(_x61)), s(_x51)))active#(after(active(s(active(from(mark(_x61))))), s(_x51)))mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(active(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(after(active(cons(mark(_x111), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(cons(active(s(mark(_x141))), _x112), mark(_x92))))))))
mark#(after(from(cons(_x51, mark(mark(mark(_x42))))), 0))active#(after(from(cons(mark(_x51), _x42)), active(0)))mark#(after(from(_x31), from(from(after(cons(after(_x141, _x142), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(after(mark(_x141), mark(_x142))), _x112)), mark(_x92)))))))))
mark#(after(from(from(_x71)), from(from(after(cons(s(_x141), _x112), after(_x101, _x102))))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(after(mark(_x101), mark(_x102))))))))))mark#(after(from(_x31), from(from(after(cons(_x121, _x122), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x121, _x122)), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(from(_x71)), from(from(after(cons(s(_x141), _x112), s(_x101))))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(s(mark(_x101))))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(mark(cons(mark(_x61), from(s(mark(_x61))))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(s(0), s(_x41)))active#(after(active(s(active(0))), active(s(mark(_x41)))))mark#(after(from(s(_x61)), from(from(after(cons(after(_x101, _x102), _x112), after(_x101, _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(active(after(mark(_x101), mark(_x102))), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(s(_x121), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(s(mark(_x121))), mark(_x102)))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(s(mark(_x61)))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))
mark#(after(from(_x51), from(_x41)))active#(after(active(from(_x51)), from(mark(_x41))))mark#(after(from(0), from(from(after(_x91, s(_x101))))))active#(after(active(from(active(0))), active(from(active(from(after(mark(_x91), active(s(mark(_x101))))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), active(_x102)), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x102)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, mark(_x132)))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), active(cons(mark(_x121), _x132))))))))))
mark#(after(X1, cons(_x41, _x42)))active#(after(mark(X1), active(cons(mark(_x41), _x42))))mark#(after(from(s(_x61)), from(from(after(cons(s(_x101), _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(active(s(mark(_x101))), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))
mark#(after(from(from(from(_x81))), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(active(from(mark(_x81))))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(s(_x121), _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(s(mark(_x121))), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(cons(s(s(_x131)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(active(s(active(s(mark(_x131))))), _x112)), mark(_x92))))))))
mark#(after(s(from(from(_x81))), s(0)))active#(after(active(s(active(from(active(from(mark(_x81))))))), s(active(0))))mark#(after(from(from(_x61)), after(_x41, _x42)))active#(after(active(from(active(from(mark(_x61))))), active(after(mark(_x41), mark(_x42)))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), _x112), s(_x101))))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), active(s(mark(_x101))))))))))mark#(after(from(_x51), 0))active#(after(active(from(_x51)), 0))
mark#(after(from(_x31), from(from(after(cons(s(s(_x161)), _x112), from(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(s(mark(_x161))))), _x112)), active(from(mark(_x121)))))))))))mark#(after(cons(_x31, _x32), s(_x41)))active#(after(active(cons(mark(_x31), _x32)), active(s(mark(_x41)))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(active(after(mark(_x91), mark(_x92)))))))))mark#(after(s(from(mark(_x61))), s(from(_x61))))active#(after(active(s(from(_x61))), s(mark(_x41))))
mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(_x101, from(_x131)))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), active(from(mark(_x131)))))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, mark(_x102)), after(_x111, _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(_x111, mark(_x102)))))))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(s(_x141)))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(s(mark(_x141)))))))))))))
mark#(after(from(s(_x61)), from(_x41)))active#(after(active(from(active(s(mark(_x61))))), active(from(mark(_x41)))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(s(mark(_x61)))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(s(from(mark(active(_x71)))), s(_x41)))active#(after(active(s(active(from(_x71)))), s(mark(_x41))))mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), from(cons(_x141, _x142)))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(active(cons(mark(_x141), _x142))))))))))))
mark#(after(from(cons(s(_x71), mark(_x62))), 0))active#(after(from(active(cons(active(s(mark(_x71))), _x62))), active(0)))mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))
mark#(after(s(from(_x61)), s(0)))active#(after(active(s(active(from(mark(_x61))))), active(s(active(0)))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x101, 0))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), active(0)))))))))
mark#(after(from(_x51), from(from(after(_x91, _x82)))))active#(after(active(from(_x51)), active(from(active(from(after(mark(_x91), _x82)))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), 0))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), active(0))))))))
mark#(after(from(_x51), from(from(after(_x81, _x92)))))active#(after(active(from(_x51)), from(active(from(after(_x81, mark(_x92)))))))mark#(after(from(_x51), from(from(after(_x91, _x92)))))active#(after(active(from(_x51)), active(from(mark(cons(after(mark(_x91), mark(_x92)), from(s(after(mark(_x91), mark(_x92))))))))))
mark#(after(s(_x31), s(s(_x71))))active#(after(active(s(mark(_x31))), active(s(active(s(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(_x131, _x132), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x131, _x132)), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102))))))))mark#(after(from(from(0)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(active(0))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(cons(cons(_x71, _x72), mark(_x42))), 0))active#(after(from(cons(active(cons(mark(_x71), _x72)), _x42)), active(0)))mark#(after(from(cons(from(_x61), mark(mark(_x62)))), 0))active#(after(from(cons(active(from(mark(_x61))), _x62)), active(0)))
mark#(after(s(from(s(_x81))), s(0)))active#(after(active(s(active(from(active(s(mark(_x81))))))), s(active(0))))mark#(after(from(after(_x61, _x62)), from(from(after(_x91, _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))
mark#(after(from(cons(0, mark(_x42))), 0))active#(after(from(cons(active(0), _x42)), active(0)))mark#(after(from(_x31), 0))active#(after(from(mark(_x31)), 0))
mark#(after(from(_x51), from(after(_x71, _x72))))active#(after(active(from(_x51)), active(from(active(after(mark(_x71), mark(_x72)))))))mark#(after(from(_x31), from(from(after(cons(0, _x112), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(0), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(from(cons(_x81, _x82))), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(active(cons(mark(_x81), _x82)))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(_x31), from(from(after(_x91, after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(from(_x31), from(from(after(cons(s(cons(_x171, _x172)), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(active(cons(mark(_x171), _x172)))), _x112)), mark(_x92)))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(_x131, _x132)), _x112), cons(_x101, _x102))))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), active(cons(mark(_x101), _x102)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), after(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(after(mark(_x121), mark(_x122)))))))))))mark#(after(from(from(0)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(active(0))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(0), mark(_x92))))))))mark#(after(from(cons(_x41, mark(mark(_x42)))), 0))active#(after(from(cons(_x41, _x42)), active(0)))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(mark(_x61))))), mark(cons(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102))))), from(s(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(from(_x161), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(from(mark(_x161))), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(cons(mark(_x121), _x122), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(_x121, _x122)), mark(_x92)))))))))
active#(after(s(N), cons(X, XS)))mark#(after(N, XS))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), mark(cons(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102)))), from(s(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))))
mark#(after(from(s(cons(from(_x101), _x82))), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(active(from(mark(_x101))), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(_x51), from(from(after(active(_x101), _x92)))))active#(after(active(from(_x51)), active(from(active(from(after(_x101, mark(_x92))))))))
mark#(after(from(from(after(_x81, _x82))), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(active(after(mark(_x81), mark(_x82))))))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(X1, s(s(_x71))))active#(after(mark(X1), active(s(active(s(mark(_x71)))))))
mark#(after(from(from(from(_x91))), _x22))active#(after(active(from(active(from(active(from(mark(_x91))))))), _x22))mark#(after(from(_x31), from(from(after(cons(after(_x101, _x102), _x112), after(_x101, _x102))))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(after(mark(_x101), mark(_x102))), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(from(_x61)), X2))active#(after(from(active(from(mark(_x61)))), mark(X2)))mark#(after(from(_x31), from(from(after(0, after(_x101, _x102))))))active#(after(from(mark(_x31)), active(from(from(active(after(active(0), active(after(mark(_x101), mark(_x102))))))))))
mark#(after(from(cons(_x51, active(_x62))), 0))active#(after(from(active(cons(mark(_x51), _x62))), active(0)))mark#(after(from(from(_x71)), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))mark#(after(from(from(_x71)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(_x71)))), active(from(from(active(after(cons(active(s(mark(_x141))), _x112), mark(_x92))))))))
mark#(after(from(from(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))mark#(after(s(from(_x61)), s(0)))active#(after(s(active(from(mark(_x61)))), s(active(0))))
mark#(after(from(_x31), from(from(after(0, _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(0, mark(_x92))))))))mark#(after(from(after(_x61, _x62)), from(from(_x71))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(mark(_x71)))))))
mark#(after(_x21, s(_x41)))active#(after(_x21, active(s(mark(_x41)))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), from(_x171))), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), active(from(mark(_x171))))))), _x112)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, 0), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), active(0))), mark(_x102)))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(0, _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(0), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, active(_x182)), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x182)), mark(_x132))))), _x112)), mark(_x92))))))))mark#(after(from(_x41), from(from(after(from(_x101), _x92)))))active#(after(from(_x41), active(from(from(active(after(active(from(mark(_x101))), mark(_x92))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(cons(active(s(mark(_x141))), _x112), mark(_x92))))))))mark#(after(from(mark(_x31)), from(from(after(_x91, _x92)))))active#(after(from(_x31), active(from(from(active(after(mark(_x91), mark(_x92))))))))
mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(0, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(active(0), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(after(_x61, _x62)), from(from(after(cons(_x111, _x112), _x92)))))active#(after(active(from(active(after(mark(_x61), mark(_x62))))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))))
mark#(after(s(from(_x61)), s(s(_x61))))active#(after(active(s(active(from(mark(_x61))))), s(active(s(mark(_x61))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, active(_x82)), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x82), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(_x91, s(_x121))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(mark(_x91), active(s(_x121)))))))))mark#(after(from(cons(_x51, mark(mark(_x62)))), 0))active#(after(from(cons(mark(_x51), _x62)), 0))
mark#(after(from(_x31), from(from(after(cons(_x101, _x102), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(cons(_x101, _x102)), mark(_x92))))))))mark#(after(from(s(0)), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(0))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), mark(cons(from(active(after(mark(_x91), mark(_x92)))), from(s(from(active(after(mark(_x91), mark(_x92))))))))))mark#(after(from(cons(s(s(_x101)), _x52)), 0))active#(after(from(active(cons(active(s(active(s(mark(_x101))))), _x52))), active(0)))
mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, after(_x161, _x162)), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), active(after(mark(_x161), mark(_x162))))), mark(_x102)))))))))mark#(after(X1, s(after(_x71, _x72))))active#(after(mark(X1), active(s(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(s(s(_x81))), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(active(s(mark(_x81))))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, s(_x131)), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), active(s(mark(_x131))))), mark(_x102))))))))
mark#(after(from(_x31), from(from(after(cons(_x131, _x132), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(active(after(active(cons(_x131, _x132)), mark(_x92))))))))mark#(after(from(from(cons(_x81, _x82))), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(active(cons(mark(_x81), _x82)))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(_x31), from(from(after(cons(_x111, _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x112)), cons(mark(_x121), _x122)))))))))mark#(after(from(_x31), from(from(after(after(_x111, _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(after(mark(_x111), mark(_x112))), mark(_x92)))))))))
mark#(after(from(_x31), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(from(mark(_x31)), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), 0))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), active(0)))))))))
mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(_x111, _x112), after(cons(_x121, _x122), _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(cons(mark(_x121), _x122)), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(cons(from(_x131), _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(from(mark(_x131))), _x112)), active(cons(mark(_x121), _x122))))))))))
mark#(after(s(_x31), s(from(_x71))))active#(after(active(s(mark(_x31))), active(s(active(from(mark(_x71)))))))mark#(after(from(from(_x61)), active(_x32)))active#(after(active(from(active(from(mark(_x61))))), _x32))
mark#(from(X))mark#(X)mark#(after(from(_x31), from(from(after(cons(_x111, mark(_x122)), cons(mark(_x111), _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(mark(_x111), _x122)), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(mark(_x41)), from(from(after(_x81, _x92)))))active#(after(active(from(_x41)), active(from(active(from(after(_x81, mark(_x92))))))))mark#(after(from(from(_x61)), X2))active#(after(active(from(mark(cons(mark(_x61), from(s(mark(_x61))))))), mark(X2)))
mark#(after(from(s(_x61)), from(from(after(cons(active(after(mark(_x121), mark(_x122))), _x112), after(after(_x121, _x122), _x112))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), _x112))))))))mark#(after(from(_x31), from(after(_x71, _x72))))active#(after(active(from(mark(_x31))), active(from(active(after(mark(_x71), mark(_x72)))))))
mark#(after(from(s(_x61)), from(from(after(cons(after(_x91, _x92), _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(cons(active(after(mark(_x91), mark(_x92))), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(cons(cons(_x131, _x132), _x112), cons(_x121, _x122))))))active#(after(active(from(mark(_x31))), active(from(active(from(active(after(active(cons(active(cons(mark(_x131), _x132)), _x112)), active(cons(mark(_x121), _x122))))))))))
mark#(after(from(from(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), mark(_x92)))), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), mark(_x92)))))))mark#(after(from(_x31), from(from(_x71))))active#(after(from(mark(_x31)), active(from(active(from(mark(_x71)))))))
mark#(after(s(_x31), s(0)))active#(after(active(s(mark(_x31))), active(s(0))))mark#(after(from(_x31), from(from(0))))active#(after(active(from(mark(_x31))), active(from(active(from(active(0)))))))
mark#(after(from(cons(s(_x71), _x52)), 0))active#(after(from(cons(active(s(mark(_x71))), _x52)), active(0)))mark#(after(from(cons(_x61, _x62)), from(from(after(cons(s(_x141), _x112), from(_x121))))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), active(from(mark(_x121)))))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), mark(_x92)))))))mark#(after(from(from(_x61)), from(from(after(cons(s(after(s(_x161), _x132)), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(s(mark(_x161))), mark(_x132))))), _x112)), mark(_x92))))))))
mark#(after(from(s(_x61)), from(from(_x71))))active#(after(active(from(active(s(mark(_x61))))), active(from(active(from(mark(_x71)))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), _x92)))))active#(after(from(mark(_x31)), active(from(from(after(active(cons(mark(_x111), _x112)), mark(_x92)))))))
mark#(after(from(from(after(_x81, _x82))), from(from(after(cons(s(after(_x131, _x132)), _x112), _x92)))))active#(after(active(from(active(from(active(after(mark(_x81), mark(_x82))))))), active(from(from(active(after(active(cons(active(s(active(after(mark(_x131), mark(_x132))))), _x112)), mark(_x92))))))))mark#(after(from(from(_x61)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(from(mark(_x61))))), mark(cons(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))), from(s(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))))
mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(active(from(after(mark(_x91), mark(_x92))))))))mark#(after(from(_x51), from(from(after(_x81, cons(_x121, _x122))))))active#(after(active(from(_x51)), active(from(active(from(after(_x81, active(cons(mark(_x121), _x122)))))))))
mark#(after(from(s(0)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(active(0))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(mark(cons(active(s(mark(_x61))), from(s(active(s(mark(_x61))))))), active(from(from(after(cons(mark(_x111), _x112), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(_x31), from(from(after(cons(after(_x101, _x102), _x112), _x92)))))active#(after(active(from(mark(_x31))), active(from(from(after(active(cons(active(after(mark(_x101), mark(_x102))), _x112)), mark(_x92)))))))mark#(after(from(s(0)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(active(0))))), active(from(from(after(active(cons(mark(_x111), _x112)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))
mark#(after(from(cons(_x61, _x62)), 0))active#(after(from(active(cons(_x61, _x62))), active(0)))mark#(after(s(_x31), s(from(_x61))))active#(after(active(s(mark(_x31))), s(active(from(mark(_x61))))))
mark#(after(from(_x31), from(from(_x71))))active#(after(active(from(mark(_x31))), mark(cons(active(from(mark(_x71))), from(s(active(from(mark(_x71)))))))))mark#(after(from(_x31), from(from(after(s(_x101), s(_x101))))))active#(after(active(from(mark(_x31))), active(from(active(from(after(active(s(mark(_x101))), active(s(mark(_x101))))))))))
mark#(after(from(from(_x61)), from(from(after(cons(s(after(cons(_x161, _x162), _x132)), _x112), cons(_x101, _x102))))))active#(after(active(from(active(from(mark(_x61))))), active(from(from(active(after(active(cons(active(s(active(after(active(cons(mark(_x161), _x162)), mark(_x132))))), _x112)), active(cons(mark(_x101), _x102)))))))))mark#(after(from(cons(_x61, _x62)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(active(from(active(cons(mark(_x61), _x62)))), active(from(active(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92)))))))))
mark#(after(s(s(_x61)), s(_x41)))active#(after(active(s(active(s(mark(_x61))))), active(s(mark(_x41)))))mark#(after(from(s(_x71)), from(from(after(cons(_x111, _x112), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(_x71)))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(active(after(mark(_x121), mark(_x122))), mark(_x102)))))))))
mark#(after(from(from(_x61)), _x32))active#(after(from(active(from(mark(_x61)))), _x32))mark#(after(from(_x31), from(from(after(_x91, _x92)))))active#(after(from(mark(_x31)), active(from(from(after(mark(_x91), mark(_x92)))))))
mark#(after(from(from(_x71)), from(from(after(cons(s(_x141), _x112), _x92)))))active#(after(from(active(from(_x71))), active(from(from(active(after(active(cons(active(s(mark(_x141))), _x112)), mark(_x92))))))))mark#(after(from(s(_x61)), from(from(after(cons(_x111, mark(_x92)), after(after(_x121, _x122), _x102))))))active#(after(active(from(active(s(mark(_x61))))), active(from(from(after(active(cons(mark(_x111), _x92)), after(active(after(mark(_x121), mark(_x122))), mark(_x102))))))))
mark#(after(from(s(cons(_x81, _x82))), from(from(after(cons(after(_x101, _x102), _x112), after(_x101, _x102))))))active#(after(active(from(active(s(active(cons(mark(_x81), _x82)))))), active(from(from(after(active(cons(active(after(mark(_x101), mark(_x102))), _x112)), active(after(mark(_x101), mark(_x102)))))))))mark#(after(from(_x31), from(from(after(cons(_x111, _x112), after(_x101, _x102))))))active#(after(mark(cons(mark(_x31), from(s(mark(_x31))))), active(from(from(after(active(cons(mark(_x111), _x112)), active(after(mark(_x101), mark(_x102)))))))))

Rewrite Rules

active(from(X))mark(cons(X, from(s(X))))active(after(0, XS))mark(XS)
active(after(s(N), cons(X, XS)))mark(after(N, XS))mark(from(X))active(from(mark(X)))
mark(cons(X1, X2))active(cons(mark(X1), X2))mark(s(X))active(s(mark(X)))
mark(after(X1, X2))active(after(mark(X1), mark(X2)))mark(0)active(0)
from(mark(X))from(X)from(active(X))from(X)
cons(mark(X1), X2)cons(X1, X2)cons(X1, mark(X2))cons(X1, X2)
cons(active(X1), X2)cons(X1, X2)cons(X1, active(X2))cons(X1, X2)
s(mark(X))s(X)s(active(X))s(X)
after(mark(X1), X2)after(X1, X2)after(X1, mark(X2))after(X1, X2)
after(active(X1), X2)after(X1, X2)after(X1, active(X2))after(X1, X2)

Original Signature

Termination of terms over the following signature is verified: after, 0, s, active, mark, from, cons

Strategy


The right-hand side of the rule mark#(after(s(from(after(_x81, _x82))), s(_x41))) → active#(after(active(s(active(from(active(after(mark(_x81), mark(_x82))))))), s(mark(_x41)))) is narrowed to the following relevant and irrelevant terms (a narrowing is irrelevant if by dropping it the correctness (and completeness) of the processor is not influenced).
Relevant TermsIrrelevant Terms
active#(after(active(s(active(from(active(after(mark(_x81), mark(_x82))))))), s(active(cons(mark(_x61), _x62))))) 
active#(after(active(s(active(from(active(after(mark(_x81), mark(_x82))))))), s(active(from(mark(_x61)))))) 
active#(after(active(s(active(from(active(after(mark(_x81), active(from(mark(_x111))))))))), s(mark(_x41)))) 
active#(after(active(s(from(active(after(mark(_x81), mark(_x82)))))), s(mark(_x41)))) 
active#(after(active(s(active(from(active(after(mark(_x81), mark(_x82))))))), s(active(after(mark(_x61), mark(_x62)))))) 
active#(after(active(s(active(from(active(after(active(from(mark(_x101))), mark(_x82))))))), s(mark(_x41)))) 
active#(after(active(s(active(from(active(after(active(after(mark(_x101), mark(_x102))), mark(_x82))))))), s(mark(_x41)))) 
active#(after(active(s(active(from(active(after(mark(_x81), active(0))))))), s(mark(_x41)))) 
active#(after(active(s(active(from(active(after(active(cons(mark(_x101), _x102)), mark(_x82))))))), s(mark(_x41)))) 
active#(after(active(s(mark(cons(active(after(mark(_x81), mark(_x82))), from(s(active(after(mark(_x81), mark(_x82))))))))), s(mark(_x41)))) 
active#(after(active(s(active(from(active(after(mark(_x81), _x92)))))), s(mark(_x41)))) 
active#(after(active(s(active(from(active(after(_x91, mark(_x82))))))), s(mark(_x41)))) 
active#(after(s(active(from(active(after(mark(_x81), mark(_x82)))))), s(mark(_x41)))) 
active#(after(active(s(active(from(after(mark(_x81), mark(_x82)))))), s(mark(_x41)))) 
active#(after(active(s(active(from(active(after(mark(_x81), mark(_x82))))))), s(active(0)))) 
active#(after(active(s(active(from(active(after(mark(_x81), mark(_x82))))))), s(active(s(mark(_x61)))))) 
active#(after(active(s(active(from(active(after(active(0), mark(_x82))))))), s(mark(_x41)))) 
active#(after(active(s(active(from(active(after(mark(_x81), active(after(mark(_x111), mark(_x112))))))))), s(mark(_x41)))) 
active#(after(active(s(active(from(active(after(mark(_x81), active(cons(mark(_x111), _x112)))))))), s(mark(_x41)))) 
active#(after(active(s(active(from(active(after(active(s(mark(_x101))), mark(_x82))))))), s(mark(_x41)))) 
active#(after(active(s(active(from(active(after(mark(_x81), mark(_x82))))))), s(_x51))) 
active#(after(active(s(active(from(active(after(mark(_x81), active(s(mark(_x111))))))))), s(mark(_x41)))) 
Thus, the rule mark#(after(s(from(after(_x81, _x82))), s(_x41))) → active#(after(active(s(active(from(active(after(mark(_x81), mark(_x82))))))), s(mark(_x41)))) is replaced by the following rules:
mark#(after(s(from(after(_x81, cons(_x111, _x112)))), s(_x41))) → active#(after(active(s(active(from(active(after(mark(_x81), active(cons(mark(_x111), _x112)))))))), s(mark(_x41))))mark#(after(s(from(after(_x81, _x82))), s(0))) → active#(after(active(s(active(from(active(after(mark(_x81), mark(_x82))))))), s(active(0))))
mark#(after(s(from(after(_x81, _x82))), s(_x51))) → active#(after(active(s(active(from(active(after(mark(_x81), mark(_x82))))))), s(_x51)))mark#(after(s(from(after(_x81, _x82))), s(after(_x61, _x62)))) → active#(after(active(s(active(from(active(after(mark(_x81), mark(_x82))))))), s(active(after(mark(_x61), mark(_x62))))))
mark#(after(s(from(after(_x91, _x82))), s(_x41))) → active#(after(active(s(active(from(active(after(_x91, mark(_x82))))))), s(mark(_x41))))mark#(after(s(from(after(s(_x101), _x82))), s(_x41))) → active#(after(active(s(active(from(active(after(active(s(mark(_x101))), mark(_x82))))))), s(mark(_x41))))
mark#(after(s(from(after(_x81, _x82))), s(s(_x61)))) → active#(after(active(s(active(from(active(after(mark(_x81), mark(_x82))))))), s(active(s(mark(_x61))))))mark#(after(s(from(after(_x81, _x82))), s(cons(_x61, _x62)))) → active#(after(active(s(active(from(active(after(mark(_x81), mark(_x82))))))), s(active(cons(mark(_x61), _x62)))))
mark#(after(s(from(after(_x81, s(_x111)))), s(_x41))) → active#(after(active(s(active(from(active(after(mark(_x81), active(s(mark(_x111))))))))), s(mark(_x41))))mark#(after(s(from(after(_x81, after(_x111, _x112)))), s(_x41))) → active#(after(active(s(active(from(active(after(mark(_x81), active(after(mark(_x111), mark(_x112))))))))), s(mark(_x41))))
mark#(after(s(from(after(_x81, _x82))), s(from(_x61)))) → active#(after(active(s(active(from(active(after(mark(_x81), mark(_x82))))))), s(active(from(mark(_x61))))))mark#(after(s(from(after(cons(_x101, _x102), _x82))), s(_x41))) → active#(after(active(s(active(from(active(after(active(cons(mark(_x101), _x102)), mark(_x82))))))), s(mark(_x41))))
mark#(after(s(from(after(_x81, 0))), s(_x41))) → active#(after(active(s(active(from(active(after(mark(_x81), active(0))))))), s(mark(_x41))))mark#(after(s(from(after(from(_x101), _x82))), s(_x41))) → active#(after(active(s(active(from(active(after(active(from(mark(_x101))), mark(_x82))))))), s(mark(_x41))))
mark#(after(s(from(after(_x81, _x82))), s(from(active(after(mark(_x81), mark(_x82))))))) → active#(after(active(s(from(active(after(mark(_x81), mark(_x82)))))), s(mark(_x41))))mark#(after(s(from(after(_x81, from(_x111)))), s(_x41))) → active#(after(active(s(active(from(active(after(mark(_x81), active(from(mark(_x111))))))))), s(mark(_x41))))
mark#(after(s(from(after(after(_x101, _x102), _x82))), s(_x41))) → active#(after(active(s(active(from(active(after(active(after(mark(_x101), mark(_x102))), mark(_x82))))))), s(mark(_x41))))mark#(after(s(from(after(_x81, _x82))), s(_x41))) → active#(after(s(active(from(active(after(mark(_x81), mark(_x82)))))), s(mark(_x41))))
mark#(after(s(from(after(0, _x82))), s(_x41))) → active#(after(active(s(active(from(active(after(active(0), mark(_x82))))))), s(mark(_x41))))mark#(after(s(from(after(_x81, _x82))), s(_x41))) → active#(after(active(s(mark(cons(active(after(mark(_x81), mark(_x82))), from(s(active(after(mark(_x81), mark(_x82))))))))), s(mark(_x41))))
mark#(after(s(from(after(_x81, _x92))), s(_x41))) → active#(after(active(s(active(from(active(after(mark(_x81), _x92)))))), s(mark(_x41))))mark#(after(s(from(after(_x81, _x82))), s(_x41))) → active#(after(active(s(active(from(after(mark(_x81), mark(_x82)))))), s(mark(_x41))))