TIMEOUT

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

The following DP Processors were used


Problem 1 was processed with processor DependencyGraph (43ms).
 | – Problem 2 was processed with processor ForwardNarrowing (2ms).
 |    | – Problem 6 was processed with processor ForwardNarrowing (4ms).
 |    |    | – Problem 7 was processed with processor ForwardNarrowing (7ms).
 |    |    |    | – Problem 8 was processed with processor ForwardNarrowing (8ms).
 |    |    |    |    | – Problem 9 was processed with processor ForwardNarrowing (9ms).
 |    |    |    |    |    | – Problem 10 was processed with processor ForwardNarrowing (6ms).
 |    |    |    |    |    |    | – Problem 11 was processed with processor ForwardNarrowing (6ms).
 |    |    |    |    |    |    |    | – Problem 12 was processed with processor ForwardNarrowing (15ms).
 |    |    |    |    |    |    |    |    | – Problem 13 was processed with processor ForwardNarrowing (10ms).
 |    |    |    |    |    |    |    |    |    | – Problem 14 was processed with processor ForwardNarrowing (9ms).
 |    |    |    |    |    |    |    |    |    |    | – Problem 15 was processed with processor ForwardNarrowing (16ms).
 |    |    |    |    |    |    |    |    |    |    |    | – Problem 16 was processed with processor ForwardNarrowing (21ms).
 |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 17 was processed with processor ForwardNarrowing (61ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 18 was processed with processor ForwardNarrowing (27ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 19 was processed with processor ForwardNarrowing (23ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 20 was processed with processor ForwardNarrowing (57ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 21 was processed with processor ForwardNarrowing (34ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 22 was processed with processor ForwardNarrowing (30ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 23 was processed with processor ForwardNarrowing (34ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 24 was processed with processor ForwardNarrowing (60ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 25 was processed with processor ForwardNarrowing (97ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 26 was processed with processor ForwardNarrowing (943ms).
 |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    | – Problem 27 remains open; application of the following processors failed [ForwardNarrowing (583ms), ForwardNarrowing (369ms), ForwardNarrowing (787ms), ForwardNarrowing (542ms), ForwardNarrowing (905ms), ForwardNarrowing (986ms), ForwardNarrowing (926ms), ForwardNarrowing (407ms), ForwardNarrowing (683ms), ForwardNarrowing (705ms), ForwardNarrowing (835ms), ForwardNarrowing (645ms), ForwardNarrowing (963ms), ForwardNarrowing (991ms), ForwardNarrowing (1056ms), ForwardNarrowing (151ms), ForwardNarrowing (692ms), ForwardNarrowing (764ms), ForwardNarrowing (771ms), ForwardNarrowing (947ms), ForwardNarrowing (1149ms), ForwardNarrowing (661ms), ForwardNarrowing (1426ms), ForwardNarrowing (1310ms), ForwardNarrowing (518ms), ForwardNarrowing (163ms), ForwardNarrowing (532ms), ForwardNarrowing (413ms), ForwardNarrowing (727ms), ForwardNarrowing (617ms), ForwardNarrowing (798ms), ForwardNarrowing (674ms), ForwardNarrowing (681ms), ForwardNarrowing (687ms), ForwardNarrowing (698ms), ForwardNarrowing (707ms), ForwardNarrowing (664ms), ForwardNarrowing (802ms), ForwardNarrowing (timeout)].
 | – Problem 3 was processed with processor PolynomialLinearRange4iUR (362ms).
 |    | – Problem 4 was processed with processor DependencyGraph (3ms).
 |    |    | – Problem 5 was processed with processor PolynomialLinearRange4iUR (30ms).

The following open problems remain:



Open Dependency Pair Problem 2

Dependency Pairs

length#(cons(N, L))length#(activate(L))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, tt, zeros, take, length, n__take, n__zeros, nil, and, cons


Problem 1: DependencyGraph



Dependency Pair Problem

Dependency Pairs

length#(cons(N, L))length#(activate(L))and#(tt, X)activate#(X)
activate#(n__zeros)zeros#activate#(n__take(X1, X2))activate#(X1)
take#(s(M), cons(N, IL))activate#(IL)activate#(n__take(X1, X2))activate#(X2)
activate#(n__take(X1, X2))take#(activate(X1), activate(X2))length#(cons(N, L))activate#(L)

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, zeros, tt, take, length, n__take, n__zeros, cons, and, nil

Strategy


The following SCCs where found

length#(cons(N, L)) → length#(activate(L))

activate#(n__take(X1, X2)) → activate#(X1)take#(s(M), cons(N, IL)) → activate#(IL)
activate#(n__take(X1, X2)) → activate#(X2)activate#(n__take(X1, X2)) → take#(activate(X1), activate(X2))

Problem 2: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, L))length#(activate(L))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, zeros, tt, take, length, n__take, n__zeros, cons, and, nil

Strategy


The right-hand side of the rule length#(cons(N, L)) → length#(activate(L)) 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
length#(_x21) 
length#(zeros) 
length#(take(activate(_x21), activate(_x22))) 
Thus, the rule length#(cons(N, L)) → length#(activate(L)) is replaced by the following rules:
length#(cons(N, n__take(_x21, _x22))) → length#(take(activate(_x21), activate(_x22)))length#(cons(N, _x21)) → length#(_x21)
length#(cons(N, n__zeros)) → length#(zeros)

Problem 6: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(_x21, _x22)))length#(take(activate(_x21), activate(_x22)))length#(cons(N, _x21))length#(_x21)
length#(cons(N, n__zeros))length#(zeros)

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, tt, zeros, take, length, n__take, n__zeros, nil, and, cons

Strategy


The right-hand side of the rule length#(cons(N, n__take(_x21, _x22))) → length#(take(activate(_x21), activate(_x22))) 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
length#(take(activate(_x21), _x51)) 
length#(take(activate(_x21), zeros)) 
length#(n__take(activate(_x21), activate(_x22))) 
length#(take(_x41, activate(_x22))) 
length#(take(take(activate(_x41), activate(_x42)), activate(_x22))) 
length#(take(activate(_x21), take(activate(_x51), activate(_x52)))) 
length#(take(zeros, activate(_x22))) 
Thus, the rule length#(cons(N, n__take(_x21, _x22))) → length#(take(activate(_x21), activate(_x22))) is replaced by the following rules:
length#(cons(N, n__take(n__take(_x41, _x42), _x22))) → length#(take(take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(_x21, _x51))) → length#(take(activate(_x21), _x51))
length#(cons(N, n__take(_x21, n__zeros))) → length#(take(activate(_x21), zeros))length#(cons(N, n__take(_x41, _x22))) → length#(take(_x41, activate(_x22)))
length#(cons(N, n__take(_x21, n__take(_x51, _x52)))) → length#(take(activate(_x21), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__zeros, _x22))) → length#(take(zeros, activate(_x22)))
length#(cons(N, n__take(_x21, _x22))) → length#(n__take(activate(_x21), activate(_x22)))

Problem 7: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))
length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))
length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))length#(cons(N, n__zeros))length#(zeros)
length#(cons(N, _x21))length#(_x21)length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))
length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, zeros, tt, take, length, n__take, n__zeros, cons, and, nil

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(_x41, _x42), _x22))) → length#(take(take(activate(_x41), activate(_x42)), activate(_x22))) 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
length#(take(take(_x61, activate(_x42)), activate(_x22))) 
length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22))) 
length#(take(take(activate(_x41), activate(_x42)), _x51)) 
length#(take(take(zeros, activate(_x42)), activate(_x22))) 
length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(activate(_x41), activate(_x42)), zeros)) 
length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22))) 
length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22))) 
length#(take(take(activate(_x41), zeros), activate(_x22))) 
length#(take(take(activate(_x41), _x71), activate(_x22))) 
Thus, the rule length#(cons(N, n__take(n__take(_x41, _x42), _x22))) → length#(take(take(activate(_x41), activate(_x42)), activate(_x22))) is replaced by the following rules:
length#(cons(N, n__take(n__take(_x41, _x42), _x51))) → length#(take(take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, _x71), _x22))) → length#(take(take(activate(_x41), _x71), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x22))) → length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22))) → length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22))) → length#(take(take(activate(_x41), zeros), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, _x42), _x22))) → length#(take(take(_x61, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22))) → length#(take(take(zeros, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__zeros))) → length#(take(take(activate(_x41), activate(_x42)), zeros))length#(cons(N, n__take(n__take(_x41, _x42), _x22))) → length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52)))) → length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))

Problem 8: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))length#(cons(N, _x21))length#(_x21)
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))
length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__zeros))length#(zeros)length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))
length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, tt, zeros, take, length, n__take, n__zeros, nil, and, cons

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(_x41, _x42), _x51))) → length#(take(take(activate(_x41), activate(_x42)), _x51)) 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
length#(take(take(activate(_x41), zeros), _x51)) 
length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51)) 
length#(take(take(zeros, activate(_x42)), _x51)) 
length#(n__take(take(activate(_x41), activate(_x42)), _x22)) 
length#(take(take(_x51, activate(_x42)), _x51)) 
length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51)) 
length#(take(n__take(activate(_x41), activate(_x42)), _x51)) 
length#(take(take(activate(_x41), _x51), _x51)) 
Thus, the rule length#(cons(N, n__take(n__take(_x41, _x42), _x51))) → length#(take(take(activate(_x41), activate(_x42)), _x51)) is replaced by the following rules:
length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51))) → length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51))) → length#(take(take(activate(_x41), zeros), _x51))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x51))) → length#(take(take(zeros, activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, _x51), _x51))) → length#(take(take(activate(_x41), _x51), _x51))
length#(cons(N, n__take(n__take(_x51, _x42), _x51))) → length#(take(take(_x51, activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, _x42), _x51))) → length#(take(n__take(activate(_x41), activate(_x42)), _x51))
length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51))) → length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, _x42), _x22))) → length#(n__take(take(activate(_x41), activate(_x42)), _x22))

Problem 9: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), zeros), _x51))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), _x22))length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))
length#(cons(N, _x21))length#(_x21)length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__zeros))length#(zeros)length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))
length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))
length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))
length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))
length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, zeros, tt, take, length, n__take, n__zeros, cons, and, nil

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22))) → length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22))) 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
length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51)) 
length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22))) 
length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22))) 
length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22))) 
length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22))) 
length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22))) 
length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros)) 
length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22))) 
length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22))) 
Thus, the rule length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22))) → length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22))) is replaced by the following rules:
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22))) → length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22))) → length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52)))) → length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22))) → length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22))) → length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22))) → length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51))) → length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros))) → length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22))) → length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22))) → length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22))) → length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22))) → length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22))) → length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22))) → length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))

Problem 10: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), _x22))
length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))length#(cons(N, _x21))length#(_x21)
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__zeros))length#(zeros)length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))
length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))
length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))
length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, tt, zeros, take, length, n__take, n__zeros, nil, and, cons

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(_x41, n__zeros), _x51))) → length#(take(take(activate(_x41), zeros), _x51)) 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
length#(take(take(zeros, zeros), _x51)) 
length#(take(take(activate(_x41), cons(0, n__zeros)), _x51)) 
length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51)) 
length#(take(n__take(activate(_x41), zeros), _x51)) 
length#(take(take(activate(_x41), n__zeros), _x51)) 
length#(take(take(_x51, zeros), _x51)) 
length#(n__take(take(activate(_x41), zeros), _x22)) 
Thus, the rule length#(cons(N, n__take(n__take(_x41, n__zeros), _x51))) → length#(take(take(activate(_x41), zeros), _x51)) is replaced by the following rules:
length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51))) → length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22))) → length#(n__take(take(activate(_x41), zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51))) → length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51))) → length#(take(take(zeros, zeros), _x51))
length#(cons(N, n__take(n__take(_x51, n__zeros), _x51))) → length#(take(take(_x51, zeros), _x51))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51))) → length#(take(take(activate(_x41), n__zeros), _x51))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51))) → length#(take(n__take(activate(_x41), zeros), _x51))

Problem 11: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), _x22))length#(cons(N, n__take(n__take(_x51, n__zeros), _x51)))length#(take(take(_x51, zeros), _x51))
length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, _x21))length#(_x21)length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__zeros))length#(zeros)
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(n__take(activate(_x41), zeros), _x51))length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))
length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))
length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51)))length#(take(take(zeros, zeros), _x51))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), n__zeros), _x51))length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, zeros, tt, take, length, n__take, n__zeros, cons, and, nil

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(_x41, n__zeros), _x22))) → length#(n__take(take(activate(_x41), zeros), _x22)) 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
length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22)) 
length#(n__take(take(_x61, zeros), _x22)) 
length#(n__take(take(zeros, zeros), _x22)) 
length#(n__take(n__take(activate(_x41), zeros), _x22)) 
length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22)) 
length#(n__take(take(activate(_x41), n__zeros), _x22)) 
Thus, the rule length#(cons(N, n__take(n__take(_x41, n__zeros), _x22))) → length#(n__take(take(activate(_x41), zeros), _x22)) is replaced by the following rules:
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22))) → length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22))) → length#(n__take(take(zeros, zeros), _x22))
length#(cons(N, n__take(n__take(_x61, n__zeros), _x22))) → length#(n__take(take(_x61, zeros), _x22))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22))) → length#(n__take(n__take(activate(_x41), zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22))) → length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22))) → length#(n__take(take(activate(_x41), n__zeros), _x22))

Problem 12: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x51, n__zeros), _x51)))length#(take(take(_x51, zeros), _x51))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))
length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, n__zeros), _x22)))length#(n__take(take(_x61, zeros), _x22))length#(cons(N, n__zeros))length#(zeros)
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(n__take(activate(_x41), zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))
length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))
length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))
length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51)))length#(take(take(zeros, zeros), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22)))length#(n__take(take(zeros, zeros), _x22))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), n__zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))
length#(cons(N, _x21))length#(_x21)length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(n__take(activate(_x41), zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), n__zeros), _x51))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, tt, zeros, take, length, n__take, n__zeros, nil, and, cons

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22))) 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
length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22))) 
length#(take(take(take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22))) 
length#(take(take(take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22))) 
length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros)) 
length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51)) 
length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(take(take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22))) 
length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22))) 
length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22))) 
Thus, the rule length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22))) is replaced by the following rules:
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22))) → length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51))) → length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22))) → length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22))) → length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22))) → length#(take(take(take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52)))) → length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22))) → length#(take(take(take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22))) → length#(take(take(take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22))) → length#(take(take(take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros))) → length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22))) → length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))

Problem 13: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))length#(cons(N, n__take(n__take(_x51, n__zeros), _x51)))length#(take(take(_x51, zeros), _x51))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, n__zeros), _x22)))length#(n__take(take(_x61, zeros), _x22))length#(cons(N, n__zeros))length#(zeros)
length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(n__take(activate(_x41), zeros), _x51))
length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))
length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))
length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51)))length#(take(take(zeros, zeros), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22)))length#(n__take(take(zeros, zeros), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), n__zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))length#(cons(N, _x21))length#(_x21)
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(n__take(activate(_x41), zeros), _x22))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), n__zeros), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, zeros, tt, take, length, n__take, n__zeros, cons, and, nil

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(_x41, _x42), _x22))) → length#(n__take(take(activate(_x41), activate(_x42)), _x22)) 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
length#(n__take(n__take(activate(_x41), activate(_x42)), _x22)) 
length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x22)) 
length#(n__take(take(_x61, activate(_x42)), _x22)) 
length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), _x22)) 
length#(n__take(take(zeros, activate(_x42)), _x22)) 
length#(n__take(take(activate(_x41), _x71), _x22)) 
length#(n__take(take(activate(_x41), zeros), _x22)) 
Thus, the rule length#(cons(N, n__take(n__take(_x41, _x42), _x22))) → length#(n__take(take(activate(_x41), activate(_x42)), _x22)) is replaced by the following rules:
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22))) → length#(n__take(take(zeros, activate(_x42)), _x22))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22))) → length#(n__take(take(activate(_x41), zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22))) → length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22))) → length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), _x22))
length#(cons(N, n__take(n__take(_x61, _x42), _x22))) → length#(n__take(take(_x61, activate(_x42)), _x22))length#(cons(N, n__take(n__take(_x41, _x42), _x22))) → length#(n__take(n__take(activate(_x41), activate(_x42)), _x22))
length#(cons(N, n__take(n__take(_x41, _x71), _x22))) → length#(n__take(take(activate(_x41), _x71), _x22))

Problem 14: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), zeros), _x22))
length#(cons(N, n__take(n__take(_x51, n__zeros), _x51)))length#(take(take(_x51, zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, n__zeros), _x22)))length#(n__take(take(_x61, zeros), _x22))length#(cons(N, n__zeros))length#(zeros)
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(n__take(activate(_x41), zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))
length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))
length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51)))length#(take(take(zeros, zeros), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22)))length#(n__take(take(zeros, zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), n__zeros), _x22))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(n__take(take(zeros, activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(n__take(take(_x61, activate(_x42)), _x22))
length#(cons(N, _x21))length#(_x21)length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))
length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(n__take(activate(_x41), zeros), _x22))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(n__take(activate(_x41), activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), n__zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(n__take(take(activate(_x41), _x71), _x22))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, tt, zeros, take, length, n__take, n__zeros, nil, and, cons

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(_x41, n__zeros), _x22))) → length#(n__take(take(activate(_x41), zeros), _x22)) 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
length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22)) 
length#(n__take(take(_x61, zeros), _x22)) 
length#(n__take(take(zeros, zeros), _x22)) 
length#(n__take(n__take(activate(_x41), zeros), _x22)) 
length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22)) 
length#(n__take(take(activate(_x41), n__zeros), _x22)) 
Thus, the rule length#(cons(N, n__take(n__take(_x41, n__zeros), _x22))) → length#(n__take(take(activate(_x41), zeros), _x22)) is replaced by the following rules:
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22))) → length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))length#(cons(N, n__take(n__take(_x61, n__zeros), _x22))) → length#(n__take(take(_x61, zeros), _x22))
length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22))) → length#(n__take(take(zeros, zeros), _x22))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22))) → length#(n__take(n__take(activate(_x41), zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22))) → length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22))) → length#(n__take(take(activate(_x41), n__zeros), _x22))

Problem 15: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))length#(cons(N, n__take(n__take(_x51, n__zeros), _x51)))length#(take(take(_x51, zeros), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x61, n__zeros), _x22)))length#(n__take(take(_x61, zeros), _x22))
length#(cons(N, n__zeros))length#(zeros)length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(n__take(activate(_x41), zeros), _x51))length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), _x22))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))
length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51)))length#(take(take(zeros, zeros), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22)))length#(n__take(take(zeros, zeros), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), n__zeros), _x22))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(n__take(take(zeros, activate(_x42)), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(n__take(take(_x61, activate(_x42)), _x22))length#(cons(N, _x21))length#(_x21)
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x22))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(n__take(activate(_x41), zeros), _x22))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(n__take(activate(_x41), activate(_x42)), _x22))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), n__zeros), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(n__take(take(activate(_x41), _x71), _x22))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, zeros, tt, take, length, n__take, n__zeros, cons, and, nil

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 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
length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros)) 
length#(take(take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22))) 
length#(take(take(take(activate(_x61), activate(_x62)), nil), activate(_x22))) 
length#(take(take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22))) 
length#(take(take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 
length#(n__take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51)) 
length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22))) 
Thus, the rule length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) is replaced by the following rules:
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22))) → length#(take(take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51))) → length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22))) → length#(n__take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22))) → length#(take(take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22))) → length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22))) → length#(take(take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros))) → length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22))) → length#(take(take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22))) → length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22))) → length#(take(take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))

Problem 16: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x51, n__zeros), _x51)))length#(take(take(_x51, zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x61, n__zeros), _x22)))length#(n__take(take(_x61, zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))length#(cons(N, n__zeros))length#(zeros)
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(n__take(activate(_x41), zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), _x22))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))
length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51)))length#(take(take(zeros, zeros), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22)))length#(n__take(take(zeros, zeros), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), n__zeros), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(n__take(take(zeros, activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(n__take(take(_x61, activate(_x42)), _x22))length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))
length#(cons(N, _x21))length#(_x21)length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(n__take(activate(_x41), zeros), _x22))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(n__take(activate(_x41), activate(_x42)), _x22))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), n__zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(n__take(take(activate(_x41), _x71), _x22))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, tt, zeros, take, length, n__take, n__zeros, nil, and, cons

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 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
length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22))) 
length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros)) 
length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51)) 
length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22))) 
length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), nil), activate(_x22))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22))) 
length#(take(n__take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 
Thus, the rule length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) is replaced by the following rules:
length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22))) → length#(take(n__take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22))) → length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22))) → length#(take(n__take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22))) → length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22))) → length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22))) → length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22))) → length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22))) → length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22))) → length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))

Problem 17: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))length#(cons(N, n__take(n__take(_x51, n__zeros), _x51)))length#(take(take(_x51, zeros), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))
length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))
length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), _x22))length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51)))length#(take(take(zeros, zeros), _x51))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))
length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(n__take(take(_x61, activate(_x42)), _x22))length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))
length#(cons(N, _x21))length#(_x21)length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(n__take(activate(_x41), activate(_x42)), _x22))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), n__zeros), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x61, n__zeros), _x22)))length#(n__take(take(_x61, zeros), _x22))
length#(cons(N, n__zeros))length#(zeros)length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(n__take(activate(_x41), zeros), _x51))length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))
length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22)))length#(n__take(take(zeros, zeros), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), n__zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(n__take(take(zeros, activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(n__take(activate(_x41), zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(n__take(take(activate(_x41), _x71), _x22))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, zeros, tt, take, length, n__take, n__zeros, cons, and, nil

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22))) → length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22))) 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
length#(take(take(activate(_x41), n__take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22))) 
length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(_x61, n__take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(zeros, n__take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), _x51)) 
length#(take(take(activate(_x41), n__take(activate(_x71), zeros)), activate(_x22))) 
length#(take(take(activate(_x41), n__take(activate(_x71), _x101)), activate(_x22))) 
length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), zeros)) 
length#(n__take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(n__take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(take(take(activate(_x41), n__take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22))) 
length#(take(take(activate(_x41), n__take(zeros, activate(_x72))), activate(_x22))) 
length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(take(activate(_x41), n__take(_x91, activate(_x72))), activate(_x22))) 
Thus, the rule length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22))) → length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22))) is replaced by the following rules:
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22))) → length#(n__take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22))) → length#(take(take(activate(_x41), n__take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22))) → length#(take(take(activate(_x41), n__take(activate(_x71), _x101)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22))) → length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52)))) → length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22))) → length#(take(take(activate(_x41), n__take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22))) → length#(take(take(zeros, n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22))) → length#(take(n__take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22))) → length#(take(take(activate(_x41), n__take(_x91, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51))) → length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros))) → length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22))) → length#(take(take(activate(_x41), n__take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22))) → length#(take(take(_x61, n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22))) → length#(take(take(activate(_x41), n__take(activate(_x71), zeros)), activate(_x22)))

Problem 18: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))length#(cons(N, n__take(n__take(_x51, n__zeros), _x51)))length#(take(take(_x51, zeros), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))
length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), _x101)), activate(_x22)))
length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), _x22))length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51)))length#(take(take(zeros, zeros), _x51))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(n__take(take(_x61, activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))length#(cons(N, _x21))length#(_x21)
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(n__take(activate(_x41), activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), n__zeros), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), n__take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), n__take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, n__zeros), _x22)))length#(n__take(take(_x61, zeros), _x22))length#(cons(N, n__zeros))length#(zeros)
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(n__take(activate(_x41), zeros), _x51))
length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22)))length#(n__take(take(zeros, zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), n__zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(n__take(take(zeros, activate(_x42)), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), n__take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(n__take(activate(_x41), zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(n__take(take(activate(_x41), _x71), _x22))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, n__take(activate(_x71), activate(_x72))), activate(_x22)))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, tt, zeros, take, length, n__take, n__zeros, nil, and, cons

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 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
length#(take(n__take(take(_x51, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(_x61, activate(_x52)))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), zeros))) 
length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62))))) 
length#(take(n__take(take(take(activate(_x51), activate(_x52)), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), nil), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(zeros, activate(_x52)))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), _x61))) 
Thus, the rule length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) is replaced by the following rules:
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x51, _x72)), n__take(_x51, activate(_x72))))) → length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(0, _x72)), n__take(activate(_x72), _x52)))) → length#(take(n__take(take(activate(_x61), activate(_x62)), nil), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__zeros)))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x61)))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x61, _x52)))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(_x61, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), _x62), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(take(activate(_x51), activate(_x52)), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(_x51, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52)))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62))))) → length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))

Problem 19: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))length#(cons(N, n__take(n__take(_x51, n__zeros), _x51)))length#(take(take(_x51, zeros), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))
length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), _x101)), activate(_x22)))
length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), _x22))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))
length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51)))length#(take(take(zeros, zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))
length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(n__take(take(_x61, activate(_x42)), _x22))length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))
length#(cons(N, _x21))length#(_x21)length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(n__take(activate(_x41), activate(_x42)), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), n__zeros), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), n__take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), n__take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, n__zeros), _x22)))length#(n__take(take(_x61, zeros), _x22))length#(cons(N, n__zeros))length#(zeros)
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(n__take(activate(_x41), zeros), _x51))
length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))
length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22)))length#(n__take(take(zeros, zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), n__zeros), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(n__take(take(zeros, activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), n__take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(n__take(activate(_x41), zeros), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(n__take(take(activate(_x41), _x71), _x22))length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, zeros, tt, take, length, n__take, n__zeros, cons, and, nil

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 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
length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), nil), take(activate(_x51), activate(_x52)))) 
length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), _x61))) 
length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(_x61, activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52)))) 
length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62))))) 
Thus, the rule length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) is replaced by the following rules:
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x61)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(activate(_x72), _x52)))) → length#(take(n__take(take(activate(_x61), zeros), nil), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(_x51, activate(_x72))))) → length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x61, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62))))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))

Problem 20: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x51, n__zeros), _x51)))length#(take(take(_x51, zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), _x101)), activate(_x22)))
length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(_x61, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), _x22))length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51)))length#(take(take(zeros, zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(n__take(take(_x61, activate(_x42)), _x22))
length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))length#(cons(N, _x21))length#(_x21)
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(_x61, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(n__take(activate(_x41), activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), n__zeros), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), n__take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), n__take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, n__zeros), _x22)))length#(n__take(take(_x61, zeros), _x22))length#(cons(N, n__zeros))length#(zeros)
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(n__take(activate(_x41), zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), zeros), nil), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22)))length#(n__take(take(zeros, zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), n__zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(n__take(take(zeros, activate(_x42)), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), n__take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(n__take(activate(_x41), zeros), _x22))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(n__take(take(activate(_x41), _x71), _x22))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, n__take(activate(_x71), activate(_x72))), activate(_x22)))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, tt, zeros, take, length, n__take, n__zeros, nil, and, cons

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52)))) 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
length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(zeros, activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, take(activate(_x61), activate(_x62))))) 
length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), nil), take(zeros, activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(n__zeros, activate(_x52)))) 
length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, zeros))) 
length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(zeros, activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(zeros, activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(zeros, activate(_x52)))) 
length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(zeros, activate(_x52)))) 
length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, _x61))) 
length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52)))) 
length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52)))) 
Thus, the rule length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52)))) is replaced by the following rules:
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), nil), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52)))) → length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72))))) → length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62))))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52)))) → length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))

Problem 21: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x51, n__zeros), _x51)))length#(take(take(_x51, zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))
length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), _x101)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), _x22))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51)))length#(take(take(zeros, zeros), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(n__take(take(_x61, activate(_x42)), _x22))
length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, _x61)))
length#(cons(N, _x21))length#(_x21)length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(n__take(activate(_x41), activate(_x42)), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), n__zeros), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), n__take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), n__take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x61, n__zeros), _x22)))length#(n__take(take(_x61, zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__zeros))length#(zeros)length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(n__take(activate(_x41), zeros), _x51))length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), zeros), nil), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), nil), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(zeros, activate(_x52))))
length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22)))length#(n__take(take(zeros, zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), n__zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(n__take(take(zeros, activate(_x42)), _x22))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), n__take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(n__take(activate(_x41), zeros), _x22))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(n__take(take(activate(_x41), _x71), _x22))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, zeros, tt, take, length, n__take, n__zeros, cons, and, nil

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 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
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52)))) 
length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(_x61, activate(_x52)))) 
length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, _x81)), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62))))) 
length#(take(n__take(take(zeros, n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52)))) 
length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), nil), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), _x61))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52)))) 
Thus, the rule length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) is replaced by the following rules:
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62))))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(_x51, activate(_x72))))) → length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x61)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, _x81)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(zeros, n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(activate(_x72), _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), nil), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x61, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(_x61, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))

Problem 22: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x51, n__zeros), _x51)))length#(take(take(_x51, zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), _x101)), activate(_x22)))
length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(_x61, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), _x22))length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51)))length#(take(take(zeros, zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))
length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(n__take(take(_x61, activate(_x42)), _x22))length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, _x61)))length#(cons(N, _x21))length#(_x21)
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, _x81)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(n__take(activate(_x41), activate(_x42)), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), n__zeros), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), n__take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), n__take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, n__zeros), _x22)))length#(n__take(take(_x61, zeros), _x22))length#(cons(N, n__zeros))length#(zeros)
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(n__take(activate(_x41), zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), nil), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), zeros), nil), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(zeros, activate(_x52))))
length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22)))length#(n__take(take(zeros, zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), n__zeros), _x22))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(n__take(take(zeros, activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), n__take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(n__take(activate(_x41), zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(n__take(take(activate(_x41), _x71), _x22))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, n__take(activate(_x71), activate(_x72))), activate(_x22)))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, tt, zeros, take, length, n__take, n__zeros, nil, and, cons

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52)))) 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
length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, zeros)), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(_x61, activate(_x52)))) 
length#(take(n__take(take(zeros, n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(take(activate(_x61), activate(_x62)), activate(_x52)))) 
length#(take(n__take(take(_x51, n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), zeros))) 
length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, n__zeros)), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(zeros, activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), take(activate(_x61), activate(_x62))))) 
length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), _x61))) 
length#(take(n__take(take(activate(_x61), n__zeros), nil), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(activate(_x51), activate(_x52)))) 
Thus, the rule length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52)))) is replaced by the following rules:
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52)))) → length#(take(n__take(take(_x51, n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x61)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(zeros, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), nil), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x61, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, n__take(_x61, _x62))))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, n__zeros)), n__take(_x51, zeros)))) → length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52)))) → length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52)))) → length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__take(_x61, _x62), _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(take(activate(_x61), activate(_x62)), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, n__zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52)))) → length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52)))) → length#(take(n__take(take(zeros, n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, n__zeros)))) → length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), zeros)))

Problem 23: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, n__zeros)), n__take(_x51, zeros))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(n__take(take(_x61, activate(_x42)), _x22))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(_x61, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, _x81)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(n__take(activate(_x41), zeros), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), nil), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), zeros), nil), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), n__zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(n__take(take(zeros, activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(n__take(activate(_x41), zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(n__take(take(activate(_x41), _x71), _x22))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))
length#(cons(N, n__take(n__take(_x51, n__zeros), _x51)))length#(take(take(_x51, zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), _x101)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(take(activate(_x61), activate(_x62)), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))
length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51)))length#(take(take(zeros, zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))
length#(cons(N, _x21))length#(_x21)length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(n__take(activate(_x41), activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), n__zeros), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), n__take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, n__zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), n__take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x61, n__zeros), _x22)))length#(n__take(take(_x61, zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__zeros))length#(zeros)
length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22)))length#(n__take(take(zeros, zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), n__take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, zeros, tt, take, length, n__take, n__zeros, cons, and, nil

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22))) → length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 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
length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), zeros)) 
length#(take(n__take(n__take(_x51, activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 
length#(n__take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(n__take(take(_x71, activate(_x62)), take(_x81, _x81)), activate(_x22))) 
length#(take(n__take(take(_x71, _x71), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(n__take(nil, take(_x81, activate(_x72))), activate(_x22))) 
length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(n__take(take(_x71, activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22))) 
length#(take(n__take(take(_x71, take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(n__take(take(_x71, activate(_x62)), nil), activate(_x22))) 
length#(take(n__take(take(_x71, zeros), take(_x81, activate(_x72))), activate(_x22))) 
length#(take(n__take(take(_x71, activate(_x62)), take(_x81, zeros)), activate(_x22))) 
length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), _x51)) 
length#(take(n__take(take(_x71, activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22))) 
Thus, the rule length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22))) → length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22))) is replaced by the following rules:
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(_x81, _x72)), _x22))) → length#(take(n__take(take(_x71, zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), n__zeros))) → length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), n__take(_x51, _x52)))) → length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x71), n__take(_x81, _x72)), _x22))) → length#(take(n__take(take(_x71, _x71), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22))) → length#(take(n__take(take(_x71, take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, n__take(_x81, _x82))), _x22))) → length#(take(n__take(take(_x71, activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(0, _x62), n__take(_x81, _x72)), _x22))) → length#(take(n__take(nil, take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, n__zeros)), _x22))) → length#(take(n__take(take(_x71, activate(_x62)), take(_x81, zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22))) → length#(n__take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x51))) → length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(0, _x72)), _x22))) → length#(take(n__take(take(_x71, activate(_x62)), nil), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x81)), _x22))) → length#(take(n__take(take(_x71, activate(_x62)), take(_x81, _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(_x81, _x72)), _x22))) → length#(take(n__take(n__take(_x51, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(_x61, _x72)), _x22))) → length#(take(n__take(take(_x71, activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))

Problem 24: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(_x71, take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__zeros, _x22)))length#(take(zeros, activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, n__zeros)), n__take(_x51, zeros))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(n__take(_x51, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(n__take(take(_x61, activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(0, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(nil, take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(_x61, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, _x81)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x51)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(n__take(activate(_x41), zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), zeros), nil), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), nil), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), n__zeros), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(n__take(take(zeros, activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(_x61, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(n__take(activate(_x41), zeros), _x22))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(n__take(take(activate(_x41), _x71), _x22))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(_x71, zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x51, n__zeros), _x51)))length#(take(take(_x51, zeros), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x81)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, _x81)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), _x101)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(take(activate(_x61), activate(_x62)), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), _x22))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51)))length#(take(take(zeros, zeros), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))length#(cons(N, _x21))length#(_x21)
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, _x61)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(0, _x72)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), nil), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(n__take(activate(_x41), activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), n__zeros), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), n__take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, n__zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), n__take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x61, n__zeros), _x22)))length#(n__take(take(_x61, zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__zeros))length#(zeros)
length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x71), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(_x71, _x71), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22)))length#(n__take(take(zeros, zeros), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), n__take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, tt, zeros, take, length, n__take, n__zeros, nil, and, cons

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(_x41, _x42), _x22))) → length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22))) 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
length#(n__take(take(activate(_x41), zeros), activate(_x22))) 
length#(n__take(take(_x61, activate(_x42)), activate(_x22))) 
length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22))) 
length#(n__take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52)))) 
length#(n__take(take(activate(_x41), activate(_x42)), _x51)) 
length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22))) 
length#(n__take(take(zeros, activate(_x42)), activate(_x22))) 
length#(n__take(take(activate(_x41), activate(_x42)), zeros)) 
length#(n__take(n__take(activate(_x41), activate(_x42)), activate(_x22))) 
length#(n__take(take(activate(_x41), _x71), activate(_x22))) 
Thus, the rule length#(cons(N, n__take(n__take(_x41, _x42), _x22))) → length#(n__take(take(activate(_x41), activate(_x42)), activate(_x22))) is replaced by the following rules:
length#(cons(N, n__take(n__take(_x41, _x71), _x22))) → length#(n__take(take(activate(_x41), _x71), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), n__zeros))) → length#(n__take(take(activate(_x41), activate(_x42)), zeros))
length#(cons(N, n__take(n__take(_x41, _x42), _x51))) → length#(n__take(take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22))) → length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22))) → length#(n__take(take(activate(_x41), zeros), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22))) → length#(n__take(take(zeros, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22))) → length#(n__take(n__take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52)))) → length#(n__take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22))) → length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x61, _x42), _x22))) → length#(n__take(take(_x61, activate(_x42)), activate(_x22)))

Problem 25: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x72), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(_x71, take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x91, _x91), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(_x91, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x81)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), _x81)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), _x62), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(n__take(n__take(take(activate(_x51), activate(_x52)), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, _x61)))
length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), n__take(_x51, _x52))))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, zeros)), n__take(zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(zeros, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, n__take(_x61, _x62)))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), n__zeros)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), zeros), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x51)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), zeros)), activate(_x22)))length#(cons(N, n__take(n__zeros, _x22)))length#(take(cons(0, n__zeros), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(zeros, n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(n__take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x72), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x72), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(n__take(activate(_x41), zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(n__take(_x61, _x62), _x52))))length#(take(take(activate(_x41), activate(_x42)), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), zeros), nil), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), nil), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__zeros, _x22)))length#(take(n__zeros, activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(n__take(n__take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(activate(_x81), _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x71, _x91), _x72)), _x51)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(_x71, _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x51), n__take(_x51, _x52))))length#(take(take(activate(_x41), _x51), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), nil), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(take(activate(_x51), activate(_x52)), n__zeros), nil), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), activate(_x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(n__take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(activate(_x81), _x62), n__take(n__take(_x81, _x62), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(n__take(activate(_x81), _x62), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(n__take(take(zeros, activate(_x42)), _x22))
length#(cons(N, n__take(n__zeros, _x22)))length#(n__take(zeros, activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), n__take(_x51, _x52))))length#(take(take(activate(_x41), zeros), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x72), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(n__take(take(activate(_x41), _x71), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(n__take(n__take(zeros, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(zeros, _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(take(activate(_x61), _x71), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x91, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(_x91, activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__zeros, _x51)))length#(take(n__zeros, _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, n__zeros)), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x71, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(_x71, _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(take(zeros, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(activate(_x81), _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(_x61, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__zeros, n__zeros)))length#(n__take(zeros, zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x61))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x22)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x51, n__zeros)), n__take(n__zeros, zeros))))length#(n__take(n__take(take(_x51, n__zeros), n__take(_x51, zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__zeros, _x51)))length#(take(cons(0, n__zeros), _x51))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(zeros, _x61)))
length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(n__take(take(activate(_x41), _x71), _x22))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(_x51, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(_x71, zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), nil), n__take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(_x51, n__zeros), _x51)))length#(take(take(_x51, zeros), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x61))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, zeros)), n__take(zeros, _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, n__take(_x91, _x92)), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), take(activate(_x91), activate(_x92))), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x81)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x61, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, _x61)))
length#(cons(N, n__take(n__zeros, _x22)))length#(n__take(zeros, _x22))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x81)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__zeros)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(take(activate(_x61), activate(_x62)), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(_x71, _x71), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(0, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(nil, take(_x81, n__zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(take(_x51, n__zeros), n__take(_x51, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), _x22))length#(cons(N, n__take(n__take(_x41, _x42), n__take(n__zeros, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x61, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(_x61, zeros)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(take(activate(_x81), _x91), activate(_x72)))))length#(take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(_x51, n__zeros), nil), n__take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x71, activate(n__take(_x101, _x102))), n__take(_x61, n__take(_x101, _x102))), _x22)))length#(take(n__take(take(_x71, activate(_x62)), n__take(_x61, take(activate(_x101), activate(_x102)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(_x71, zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, n__zeros)), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(0, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(nil, take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), nil), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))
length#(cons(N, _x21))length#(_x21)length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(n__take(take(activate(_x41), activate(_x42)), _x51))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x41, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(n__take(_x41, n__zeros), take(_x81, n__zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(take(activate(_x61), zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x81)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x41, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(n__take(_x41, n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__take(_x71, _x72), _x91), _x72)), _x51)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(take(activate(_x71), activate(_x72)), _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), activate(_x72)), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, activate(n__zeros)), n__take(_x61, n__zeros)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), n__take(_x61, zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__zeros, n__zeros)))length#(take(cons(0, n__zeros), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__take(_x91, _x92), _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, n__zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), n__take(_x91, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__zeros))length#(zeros)
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), _x72)), n__zeros)))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__take(_x61, _x62)))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, zeros)), n__take(zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__zeros)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__zeros)), _x51)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), zeros)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(zeros, activate(_x52))))
length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), take(activate(_x81), _x91))))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, n__zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), zeros), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22)))length#(n__take(take(zeros, zeros), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x91, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(_x91, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x81)), _x22)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(activate(_x81), _x91), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, n__zeros)), n__take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), n__take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(_x61, _x72)), _x51)))length#(take(n__take(take(_x71, activate(_x62)), n__take(_x61, activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__zeros)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(_x51, n__zeros), nil), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), nil), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x91, _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(_x91, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x51)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), _x51))length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(_x71, zeros), n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), n__take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(take(activate(_x71), activate(_x72)), zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, n__zeros), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), zeros), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(activate(_x81), _x91), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, n__zeros)), n__take(n__zeros, cons(0, n__zeros)))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, cons(0, n__zeros))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(take(activate(_x51), activate(_x52)), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), n__zeros)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(activate(_x81), _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(take(_x71, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, _x81)), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(n__take(take(activate(_x41), activate(_x42)), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(n__take(n__take(activate(_x61), _x71), take(take(activate(_x81), _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x81)), _x22)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), nil), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(n__take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, n__zeros)), n__take(_x51, zeros))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), cons(0, n__zeros))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(zeros, zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(n__take(_x51, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), _x71), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x91, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(_x91, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__zeros, n__zeros)))length#(take(zeros, cons(0, n__zeros)))
length#(cons(N, n__take(n__take(n__take(activate(_x81), _x62), n__take(n__take(_x81, _x62), _x72)), _x51)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(n__take(activate(_x81), _x62), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), nil), n__take(n__zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, n__zeros)), n__take(n__zeros, zeros))))length#(n__take(n__take(take(activate(_x61), n__zeros), n__take(_x51, zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(_x41, n__zeros), nil), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(n__take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(n__take(take(_x61, activate(_x42)), _x22))length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(0, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(nil, take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(n__take(n__take(_x51, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(zeros, _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), nil), n__take(n__zeros, _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__take(_x91, _x92), _x91), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(_x51, n__zeros), nil), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x72), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, zeros)), n__take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(n__take(_x51, activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, activate(_x101)), n__take(_x61, _x101)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), n__take(_x61, _x101)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), zeros), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, _x81)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), nil), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(zeros, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__take(_x91, _x92), _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(take(activate(_x91), activate(_x92)), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(_x71, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__zeros, n__take(_x51, _x52))))length#(take(zeros, take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__take(_x71, _x72), _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(take(activate(_x71), activate(_x72)), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), _x61)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(zeros, _x61)))length#(cons(N, n__take(n__zeros, n__zeros)))length#(take(zeros, n__zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__take(_x61, _x62)))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(n__zeros, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x61, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(n__take(n__take(take(_x71, activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x71), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, _x71), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(_x61, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x71, activate(_x62)), n__take(_x61, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, _x81)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), nil), n__take(n__zeros, zeros)))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), n__zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), _x71), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, n__zeros))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(activate(_x51), activate(_x52)), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), n__take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(s(_x52), n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), cons(0, n__take(_x52, activate(n__zeros)))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(_x51, n__zeros), nil), n__take(zeros, _x61)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(zeros, n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(n__take(activate(_x41), zeros), _x22))length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(n__take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), zeros), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, _x61)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x81)), _x51)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), _x81)), _x51))
length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(_x71, take(activate(_x71), activate(_x72))), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(nil, nil), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), n__take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__take(_x91, _x92), _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), nil), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(n__take(take(zeros, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(n__take(take(_x61, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), n__zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), _x101)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, _x81)), take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, n__zeros), nil), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(zeros, n__zeros), nil), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__zeros, n__zeros)))length#(take(n__zeros, zeros))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51)))length#(take(take(zeros, zeros), _x51))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x61))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, n__zeros)), n__take(zeros, _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, _x81)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, _x81)), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))
length#(cons(N, n__take(n__take(_x51, _x42), n__take(_x51, _x52))))length#(take(take(_x51, activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, n__zeros)), n__take(n__zeros, zeros))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__zeros)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, zeros)), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(0, _x72)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), nil), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), _x81)), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(activate(_x81), _x91), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__take(_x91, _x92), _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x91, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(_x91, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(activate(_x72), n__zeros))))length#(take(n__take(take(activate(_x61), zeros), nil), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__take(_x61, _x62)))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, n__zeros)), n__take(zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(_x61, _x72)), n__zeros)))length#(take(n__take(take(_x71, activate(_x62)), n__take(_x61, activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(n__take(activate(_x41), activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x51, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), n__take(_x51, n__zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, n__zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), _x71), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))length#(cons(N, n__take(n__take(n__take(0, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(nil, n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), n__zeros), _x51))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x41, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(_x41, n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, _x81)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(activate(_x81), _x91), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), n__take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(zeros, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), nil), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(_x61, n__zeros), _x22)))length#(n__take(take(_x61, zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, n__zeros))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__take(_x91, _x92), _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x71), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(_x71, _x71), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(zeros, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), nil), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__take(_x91, _x92), _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__take(_x71, _x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, take(activate(_x71), activate(_x72))), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x22)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, _x42), n__take(_x51, _x52))))length#(take(take(zeros, activate(_x42)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), cons(0, n__zeros)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(0, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(nil, take(_x81, zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x61))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, _x61)))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(n__take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x91, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(_x91, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x61))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(activate(_x81), _x62), n__take(n__take(_x81, _x72), _x72)), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x51)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), _x51))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, zeros, tt, take, length, n__take, n__zeros, cons, and, nil

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22))) → length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22))) 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
length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22))) 
length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), zeros)), activate(_x22))) 
length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), activate(_x72))), zeros)) 
length#(n__take(take(n__take(_x71, cons(0, n__zeros)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22))) 
length#(n__take(take(n__take(_x71, zeros), take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22))) 
length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(n__take(take(n__take(_x71, zeros), take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22))) 
length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), _x81)), activate(_x22))) 
length#(n__take(take(n__take(_x71, n__zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22))) 
length#(n__take(take(n__take(_x71, zeros), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22))) 
length#(n__take(n__take(n__take(_x71, zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22))) 
length#(n__take(take(n__take(_x71, zeros), take(take(_x91, _x91), activate(_x72))), activate(_x22))) 
length#(n__take(take(n__take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22))) 
length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), activate(_x72))), _x51)) 
Thus, the rule length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22))) → length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22))) is replaced by the following rules:
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x91, _x91), _x72)), _x22))) → length#(n__take(take(n__take(_x71, zeros), take(take(_x91, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x51))) → length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22))) → length#(n__take(take(n__take(_x71, n__zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), n__zeros))) → length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__take(_x91, _x92), _x91), _x72)), _x22))) → length#(n__take(take(n__take(_x71, zeros), take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52)))) → length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(activate(_x81), n__zeros), n__take(n__take(_x81, _x72), _x72)), _x22))) → length#(n__take(take(n__take(_x71, zeros), take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x81)), _x22))) → length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22))) → length#(n__take(take(n__take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22))) → length#(n__take(take(n__take(_x71, zeros), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22))) → length#(n__take(take(n__take(_x71, cons(0, n__zeros)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x22))) → length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22))) → length#(n__take(n__take(n__take(_x71, zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), n__zeros)), _x22))) → length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), zeros)), activate(_x22)))

Problem 26: ForwardNarrowing



Dependency Pair Problem

Dependency Pairs

length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x72), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(_x71, take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x91, _x91), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(_x91, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x81)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), _x81)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), _x62), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(n__take(n__take(take(activate(_x51), activate(_x52)), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x81)), _x22)))length#(n__take(take(n__take(zeros, activate(_x62)), take(take(activate(_x81), _x91), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(n__take(_x61, _x62), _x61))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(take(activate(_x61), activate(_x62)), _x61)))
length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), n__take(_x51, _x52))))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(_x61, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x51)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__take(_x71, _x72)), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(take(_x71, take(activate(_x71), activate(_x72))), take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(n__zeros, zeros), zeros)), activate(_x22)))length#(cons(N, n__take(n__zeros, _x22)))length#(take(cons(0, n__zeros), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), n__zeros)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(take(cons(0, n__zeros), _x91), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(n__zeros, _x82))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), take(zeros, activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(n__take(take(take(zeros, activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x51), activate(_x52)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x72), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(zeros, activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x72), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(n__take(_x51, activate(_x62)), take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__zeros, _x22)))length#(take(n__zeros, activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(n__take(n__take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(activate(_x81), _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(take(_x71, activate(_x62)), n__take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(n__zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(activate(_x81), _x62), n__take(n__take(_x81, _x62), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(n__take(activate(_x81), _x62), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), cons(0, n__zeros)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), n__zeros)), _x51)))length#(take(take(take(_x71, activate(_x62)), take(take(zeros, _x91), zeros)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(n__take(take(zeros, activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(take(activate(_x51), activate(_x52)), activate(_x62)), take(take(n__zeros, _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__zeros), n__take(_x51, _x52))))length#(take(take(activate(_x41), zeros), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(take(zeros, _x91), activate(_x72)), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(zeros, n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, zeros)), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x72), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(zeros, _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, zeros), zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(take(activate(_x61), _x71), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(zeros, _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__zeros, _x51)))length#(take(n__zeros, _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), activate(_x82)), cons(0, n__zeros))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), n__zeros)))length#(take(take(activate(_x41), zeros), zeros))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, n__zeros)), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(n__take(activate(_x61), zeros), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x71, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(_x71, _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x51)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), activate(_x82)), zeros)), _x51))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(take(n__zeros, zeros), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(activate(_x91), _x91), activate(_x72)), n__take(n__take(_x91, _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), n__take(take(_x91, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x51)))length#(take(n__take(take(_x71, activate(_x62)), take(take(zeros, _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x22)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, n__zeros))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), zeros))), zeros))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x51, n__zeros)), n__take(n__zeros, zeros))))length#(n__take(n__take(take(_x51, n__zeros), n__take(_x51, zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__zeros, _x51)))length#(take(cons(0, n__zeros), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x62), _x72)), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(n__take(n__zeros, _x62), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(n__take(_x91, _x92))), zeros), n__take(n__take(_x81, n__take(_x91, _x92)), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), take(activate(_x91), activate(_x92))), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(take(n__zeros, zeros), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__zeros), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), n__zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(n__take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, zeros)), n__take(cons(0, n__zeros), zeros)))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(n__take(activate(_x81), activate(_x82)), cons(0, n__zeros))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(take(n__take(zeros, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, activate(_x81)), n__take(n__take(_x81, _x82), activate(_x82))), _x22)))length#(n__take(take(take(activate(_x61), _x71), take(n__take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x81)), _x51)))length#(take(take(take(_x71, activate(_x62)), take(take(zeros, _x91), _x81)), _x51))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, n__take(_x91, _x92)), n__zeros)), _x22)))length#(take(take(take(activate(_x61), _x71), take(take(n__zeros, take(activate(_x91), activate(_x92))), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, n__take(_x91, _x92)), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), take(activate(_x91), activate(_x92))), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x61))))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x61, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(_x61, activate(_x52))))length#(cons(N, n__take(n__zeros, _x22)))length#(n__take(zeros, _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x81)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(zeros, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), nil), n__take(zeros, cons(0, n__zeros))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(n__take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), activate(_x82)), n__zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__zeros)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(take(n__zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(activate(_x61), _x71), take(take(n__zeros, activate(_x82)), n__zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, zeros), zeros)), _x51))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(take(_x51, n__zeros), n__take(_x51, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, zeros), cons(0, n__zeros))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), _x22))length#(cons(N, n__take(n__take(n__take(_x41, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(n__take(_x41, n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__zeros)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(take(activate(_x81), _x91), activate(_x72)))))length#(take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(_x51, n__zeros), nil), n__take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(take(_x71, activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, activate(n__take(_x101, _x102))), n__take(_x61, n__take(_x101, _x102))), _x22)))length#(take(n__take(take(_x71, activate(_x62)), n__take(_x61, take(activate(_x101), activate(_x102)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), cons(0, n__zeros))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(cons(0, n__zeros), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, cons(0, n__zeros)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x41, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x51)))length#(take(take(n__take(_x41, activate(_x62)), take(take(zeros, _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x62), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(n__take(n__zeros, _x62), take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x62), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(n__take(n__zeros, _x62), n__take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))length#(cons(N, _x21))length#(_x21)
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, _x61)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(n__take(take(activate(_x61), zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, zeros)), n__take(zeros, cons(0, n__zeros))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(take(activate(_x61), zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x41, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(n__take(_x41, n__zeros), take(_x81, n__zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), activate(_x72))), cons(0, n__zeros)))
length#(cons(N, n__take(n__take(n__take(n__take(_x81, _x82), _x62), _x42), _x22)))length#(n__take(take(take(take(activate(_x81), activate(_x82)), activate(_x62)), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), n__zeros)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(n__take(take(zeros, activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x81)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), take(zeros, _x91))))length#(take(take(take(_x71, activate(_x62)), n__take(take(zeros, _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, zeros), cons(0, n__zeros))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__take(_x71, _x72), _x91), _x72)), _x51)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(take(activate(_x71), activate(_x72)), _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, n__zeros), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(n__take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), n__zeros)))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), zeros))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x51)))length#(n__take(take(take(activate(_x61), zeros), take(take(n__zeros, activate(_x82)), zeros)), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x62), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(n__take(n__zeros, _x62), take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(zeros, n__zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), cons(0, n__zeros)), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(activate(_x61), cons(0, n__zeros)), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x72), _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(n__take(zeros, _x72), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(zeros, _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(_x71, activate(_x62)), n__take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), zeros), take(take(n__zeros, activate(_x82)), n__zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), zeros), take(n__take(n__zeros, activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x71), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(n__take(take(take(take(activate(_x71), activate(_x72)), _x71), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(zeros, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(0, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(nil, take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(n__take(take(take(activate(_x61), zeros), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(take(activate(_x51), activate(_x52)), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(take(activate(_x51), activate(_x52)), zeros), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), n__zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(n__take(n__zeros, activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), _x72)), n__zeros)))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(take(take(_x61, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__take(_x61, _x62)))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, zeros)), n__take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), zeros)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, n__zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), activate(_x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(n__take(n__zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__zeros)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), cons(0, n__zeros))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x81)), _x22)))length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, _x91), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x22)))length#(n__take(take(n__take(zeros, activate(_x62)), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x71), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), _x71), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x71), n__take(n__take(n__zeros, _x91), _x72)), _x51)))length#(take(take(take(_x71, _x71), take(take(zeros, _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), take(activate(_x81), _x91))))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, n__zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__take(_x71, _x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(zeros, take(activate(_x71), activate(_x72))), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22)))length#(n__take(take(zeros, zeros), _x22))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), zeros), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x91, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(_x91, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(n__zeros, activate(_x82)), n__zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), zeros), n__take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(take(zeros, _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, _x91), n__zeros)), _x22)))length#(take(take(take(activate(_x61), _x71), take(take(n__zeros, _x91), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), nil), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(_x51, n__zeros), nil), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(zeros, _x62), n__take(n__take(n__zeros, _x72), _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(n__take(zeros, _x72), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__zeros)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(_x51, n__zeros), nil), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), nil), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x51)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, n__take(_x91, _x92)), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), take(activate(_x91), activate(_x92))), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(take(n__zeros, activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(take(activate(_x71), activate(_x72)), zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), _x42), _x22)))length#(n__take(take(take(zeros, activate(_x62)), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(0, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(nil, take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x51)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, zeros), zeros)), _x51))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(take(n__zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), n__zeros)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, zeros), zeros)), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, n__zeros)), n__take(n__zeros, cons(0, n__zeros)))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, cons(0, n__zeros))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(n__take(take(activate(_x61), zeros), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), n__zeros)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(activate(_x81), _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, zeros)), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(_x51, n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, zeros), zeros)), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(n__zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, _x91), activate(_x72))), n__zeros))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(n__zeros, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x91)), zeros), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), cons(0, n__zeros))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), _x71), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, n__zeros), _x72)), _x22)))length#(n__take(take(take(activate(_x61), _x71), take(take(activate(_x81), zeros), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), _x101)), _x22))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x62), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(n__take(n__zeros, _x62), n__take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(n__take(zeros, activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), n__zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(n__take(take(activate(_x41), activate(_x42)), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(n__take(n__take(activate(_x61), _x71), take(take(activate(_x81), _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(n__take(take(_x71, activate(_x62)), take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(n__take(take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), nil), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, n__zeros), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, n__zeros)), n__take(_x51, zeros))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(_x41, _x22)))length#(take(_x41, activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), cons(0, n__zeros))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(zeros, zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(n__take(_x51, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x91, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(_x91, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(activate(_x81), _x62), n__take(n__take(_x81, _x62), _x72)), _x51)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(n__take(activate(_x81), _x62), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), nil), n__take(n__zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, n__zeros))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), zeros))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, n__zeros))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), take(activate(_x81), zeros))), zeros))length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(_x41, n__zeros), nil), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(zeros, activate(_x62)), n__take(take(activate(_x81), activate(_x82)), cons(0, n__zeros))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x81)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(take(cons(0, n__zeros), _x91), _x81)), activate(_x22)))
length#(cons(N, n__take(_x21, n__take(_x51, _x52))))length#(take(activate(_x21), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(0, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(nil, take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), zeros), n__take(take(n__zeros, _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, n__zeros))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(zeros, zeros), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(n__zeros, _x62), _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(n__take(n__zeros, _x62), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(_x51, n__zeros), nil), n__take(zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__take(_x91, _x92), _x91), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x51, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(_x51, take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x72), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(activate(_x71), activate(_x72)), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), n__zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), zeros), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(zeros, activate(_x62)), take(take(zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, _x81)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x51)))length#(take(take(take(_x71, activate(_x62)), take(take(cons(0, n__zeros), _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(n__take(_x91, _x92), _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(take(activate(_x91), activate(_x92)), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(zeros, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(n__take(take(take(_x71, activate(_x62)), take(take(cons(0, n__zeros), _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(take(n__zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(take(n__zeros, zeros), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, _x82), n__zeros)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), _x71), take(take(n__zeros, activate(_x82)), zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__zeros, n__take(_x51, _x52))))length#(take(zeros, take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(take(activate(n__zeros), activate(_x82)), zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(zeros, activate(_x82)), cons(0, n__zeros))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, n__zeros)), n__take(n__zeros, zeros))))length#(take(n__take(n__take(activate(_x61), n__zeros), n__take(_x51, zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, n__zeros)), n__take(n__zeros, zeros))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, zeros)), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(take(activate(_x51), activate(_x52)), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x91, _x82))), n__zeros)))length#(take(take(n__take(zeros, zeros), take(take(n__zeros, _x91), n__take(_x91, activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), _x61)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(zeros, _x61)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), n__zeros)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x91, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(_x91, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(n__take(n__take(take(_x51, n__zeros), n__take(_x51, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(n__take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(n__zeros, zeros), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, n__zeros))), n__zeros)))length#(take(take(n__take(zeros, zeros), take(take(n__zeros, _x91), n__take(activate(_x81), zeros))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(n__take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x51)))length#(n__take(take(take(_x71, activate(_x62)), take(take(cons(0, n__zeros), _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x61))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(n__zeros, _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), n__zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(take(activate(_x71), activate(_x72)), zeros), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, zeros), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(take(zeros, activate(_x82)), activate(_x72)), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), zeros)), zeros))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), n__take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), n__take(_x51, _x52))))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, zeros), zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(activate(_x61), _x71), take(n__take(n__zeros, activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, cons(0, n__zeros)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x91)), zeros), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), _x22))
length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(n__take(n__take(take(_x71, activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(zeros, zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(zeros, zeros), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x91))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), take(activate(_x81), _x91))), zeros))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x72)), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(n__take(take(n__take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(n__take(take(take(_x71, activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), _x81)), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), _x81)), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), cons(0, n__zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x72), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(n__take(zeros, _x72), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__zeros)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(n__zeros, _x82))), n__zeros)))length#(take(take(n__take(zeros, zeros), take(take(n__zeros, _x91), n__take(zeros, activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), _x71), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), activate(_x62)), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), n__take(_x51, _x52))))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(_x71, activate(_x62)), take(take(zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x82), _x72)), n__take(_x51, _x52))))length#(n__take(take(take(activate(_x61), _x71), take(take(activate(_x81), activate(_x82)), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), n__take(_x51, _x52))))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), activate(_x82)), cons(0, n__zeros))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x52), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), _x52), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(n__take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(_x51, zeros), take(take(n__zeros, _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(zeros, zeros), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__take(_x71, _x72)), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(_x71, take(activate(_x71), activate(_x72))), take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__take(_x91, _x92), _x82), _x72)), _x22)))length#(n__take(take(take(activate(_x61), _x71), take(take(take(activate(_x91), activate(_x92)), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, _x81)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(n__take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), zeros)), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(zeros, n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(n__take(activate(_x41), zeros), _x22))length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x52))))length#(take(n__take(activate(_x41), activate(_x42)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(take(n__zeros, activate(_x82)), zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(n__zeros, zeros), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(n__take(_x91, _x92))), zeros), n__take(n__take(_x81, n__take(_x91, _x92)), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), take(activate(_x91), activate(_x92))), cons(0, n__zeros))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, _x61)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(zeros, take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x51)))length#(take(take(take(_x71, activate(_x62)), take(take(n__zeros, _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(take(take(_x61, n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x71), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(zeros, _x71), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x61, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(_x61, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, n__take(_x91, _x92)))), n__zeros)))length#(take(take(n__take(zeros, zeros), take(take(n__zeros, _x91), n__take(activate(_x81), take(activate(_x91), activate(_x92))))), zeros))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(_x51, zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), nil), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x82), _x81)), _x22)))length#(n__take(take(take(activate(_x61), _x71), take(take(activate(_x81), activate(_x82)), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(_x61, n__take(_x71, _x72)), _x22)))length#(n__take(take(_x61, take(activate(_x71), activate(_x72))), _x22))length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), n__take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(cons(0, n__zeros), _x62), n__take(n__take(n__zeros, _x72), _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(n__take(cons(0, n__zeros), _x72), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__take(_x51, _x52))))length#(n__take(take(take(_x71, activate(_x62)), take(take(cons(0, n__zeros), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(n__take(n__take(take(_x51, n__zeros), n__take(_x51, activate(_x72))), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(n__take(take(zeros, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(n__take(take(_x61, activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, n__take(_x91, _x92)))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), take(activate(_x91), activate(_x92))))), zeros))length#(cons(N, n__take(n__take(n__take(take(n__zeros, activate(_x82)), zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), zeros), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), n__zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, _x81)), take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), _x51))
length#(cons(N, n__take(n__zeros, n__zeros)))length#(take(n__zeros, zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), zeros), take(take(n__zeros, zeros), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(cons(0, n__zeros), _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x51)))length#(take(take(zeros, zeros), _x51))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(_x71, activate(_x62)), take(take(zeros, _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), n__take(_x51, _x52))))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), activate(_x82)), zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), n__zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(n__take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x91))), n__zeros)))length#(take(take(n__take(zeros, zeros), take(take(n__zeros, _x91), n__take(activate(_x81), _x91))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, _x81)), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, _x81)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(_x51, _x42), n__take(_x51, _x52))))length#(take(take(_x51, activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__take(_x91, _x92)), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(zeros, take(activate(_x91), activate(_x92))), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, n__zeros)), n__take(n__zeros, zeros))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x52), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(n__take(activate(_x61), _x52), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x51, n__take(_x71, _x72)), n__take(_x51, _x61))))length#(take(take(_x51, take(activate(_x71), activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(0, _x72)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), nil), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), n__zeros)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), activate(_x82)), zeros)), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__take(_x91, _x92), _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x91))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), _x91))), zeros))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), take(activate(_x101), activate(_x102)))), _x22))length#(cons(N, n__take(_x21, _x22)))length#(n__take(activate(_x21), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(take(n__take(activate(_x41), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x91), _x42), _x22)))length#(n__take(take(take(activate(_x61), _x91), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(_x61, _x72)), n__zeros)))length#(take(n__take(take(_x71, activate(_x62)), n__take(_x61, activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, n__zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x51, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), n__take(_x51, n__zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(n__zeros, activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x51), _x51)))length#(take(take(activate(_x41), _x51), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), _x71), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), n__zeros), take(take(n__zeros, _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), n__zeros), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(n__zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(_x71, n__take(_x71, _x72)), n__take(n__take(n__zeros, _x91), _x72)), _x51)))length#(take(take(take(_x71, take(activate(_x71), activate(_x72))), take(take(zeros, _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, n__take(_x91, _x92)), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), zeros), take(take(n__zeros, take(activate(_x91), activate(_x92))), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(_x51, zeros), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x41, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(_x41, n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x81, _x62), _x42), _x22)))length#(n__take(take(take(_x81, activate(_x62)), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(_x71, activate(_x62)), take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x61, _x62), _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(take(activate(_x61), activate(_x62)), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x81)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x91, _x92)), _x42), _x22)))length#(n__take(take(take(activate(_x61), take(activate(_x91), activate(_x92))), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), n__zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(n__take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), n__zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(n__take(take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__take(_x91, _x92), _x82), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(take(activate(_x91), activate(_x92)), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(zeros, n__zeros), nil), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, n__zeros), nil), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__take(_x91, _x92), _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, n__zeros))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(0, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x51)))length#(take(take(nil, take(take(zeros, _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x81)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x71), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(_x71, _x71), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, _x81)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x81)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(zeros, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(n__take(take(activate(_x61), _x71), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x82), n__take(_x81, _x82))), _x22)))length#(n__take(take(take(activate(_x61), _x71), take(take(activate(_x81), activate(_x82)), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x51)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), n__zeros)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), zeros)), zeros))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(_x71, activate(_x62)), take(take(cons(0, n__zeros), _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), n__zeros)), _x22)))length#(n__take(take(take(_x71, activate(_x62)), take(take(cons(0, n__zeros), _x91), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(n__zeros, _x61))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(zeros, _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), n__zeros)))length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x22)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(take(n__zeros, zeros), zeros), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(take(n__zeros, zeros), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__zeros), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), zeros), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(n__take(n__take(zeros, zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(zeros, zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), n__zeros))
length#(cons(N, n__take(n__take(n__zeros, _x42), n__take(_x51, _x52))))length#(take(take(zeros, activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, zeros)), n__take(zeros, n__zeros)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(take(activate(_x51), activate(_x52)), activate(_x62)), take(take(zeros, _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(n__take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), cons(0, n__zeros)), _x22))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x81)), _x22)))length#(n__take(take(take(_x71, activate(_x62)), take(take(cons(0, n__zeros), _x91), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, zeros), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), n__take(_x51, _x61))))length#(take(take(activate(_x41), take(zeros, activate(_x72))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__take(_x91, _x92), _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, zeros), take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), _x71), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), nil), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(n__zeros, _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(activate(_x71), _x61))))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x51)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), zeros)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(n__take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x52))))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x91))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), take(activate(_x81), _x91))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x91))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), _x91))), zeros))length#(cons(N, n__take(n__take(n__take(_x71, _x71), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(_x71, _x71), take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, n__take(_x91, _x92)))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), take(activate(_x81), take(activate(_x91), activate(_x92))))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, n__take(_x91, _x92)))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), take(activate(_x91), activate(_x92))))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(n__take(take(take(activate(_x61), _x71), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(take(n__zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(n__take(take(take(_x71, activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, n__take(_x91, _x92)), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), take(activate(_x91), activate(_x92))), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(n__take(take(activate(_x41), take(zeros, activate(_x72))), _x22))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x61, _x61))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(_x61, _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(n__zeros, _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), take(zeros, activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(n__zeros, _x82))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(zeros, activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), n__take(_x51, _x52))))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(n__take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), n__zeros)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(cons(0, n__zeros), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), _x51)))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(zeros, zeros), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), _x71), take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(n__take(take(take(activate(_x61), zeros), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, _x91), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(n__take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), _x22))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(activate(_x61), cons(0, n__zeros)), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), cons(0, n__zeros)), take(take(n__zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x82), _x72)), _x51)))length#(n__take(take(take(activate(_x61), _x71), take(take(activate(_x81), activate(_x82)), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x51, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), n__take(_x51, zeros)), n__take(zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), _x71), n__take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, n__take(_x61, _x62)))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), n__zeros)))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(n__zeros, zeros), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), cons(0, n__zeros)), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(take(activate(n__zeros), _x91), activate(_x72)), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), n__take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x81)), n__take(_x51, _x61))))length#(take(take(activate(_x41), take(activate(_x71), _x81)), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), _x71), take(take(zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(activate(_x51), n__take(_x71, _x72)), n__take(_x51, _x42))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), n__take(activate(_x51), _x42)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, n__zeros), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), zeros), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(n__zeros, zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), n__take(_x51, _x52))))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x41, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(n__take(_x41, n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, n__zeros))))length#(take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), nil), n__take(n__zeros, zeros)))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__zeros, n__zeros), _x22)))length#(take(take(zeros, zeros), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(n__zeros, activate(_x82)), _x71), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(activate(_x61), _x71), n__take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(zeros, n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x91, _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), take(_x91, activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x91, _x82))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(_x91, activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x81)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, _x91), _x81)), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(n__take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(n__take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(n__take(take(zeros, take(activate(_x71), activate(_x72))), _x22))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x51)))length#(take(take(take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(take(activate(_x71), activate(_x72)), activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(n__take(_x91, _x92), _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), take(take(activate(_x91), activate(_x92)), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(n__take(_x91, _x92), _x82))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(take(activate(_x91), activate(_x92)), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(take(_x71, zeros), take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(zeros, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), nil), n__take(cons(0, n__zeros), zeros)))
length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, zeros)), n__take(n__zeros, zeros)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(n__take(activate(_x41), zeros), _x51))length#(cons(N, n__take(n__take(_x41, _x42), n__take(n__take(_x61, _x62), _x52))))length#(take(take(activate(_x41), activate(_x42)), take(take(activate(_x61), activate(_x62)), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x51)))length#(n__take(take(take(activate(_x61), activate(_x62)), activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), _x71), n__take(take(activate(_x81), activate(_x82)), cons(0, n__zeros))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), nil), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(activate(_x72), _x52))))length#(take(n__take(take(activate(_x61), zeros), nil), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), _x22)))length#(take(take(take(_x71, activate(_x62)), take(take(cons(0, n__zeros), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(n__take(_x91, _x92), _x91), _x72)), _x22)))length#(n__take(take(n__take(zeros, activate(_x62)), take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x71, _x91), _x72)), _x51)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(_x71, _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(activate(_x61), _x71), take(take(n__zeros, activate(_x82)), cons(0, n__zeros))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x81)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(n__take(_x51, activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, _x82), n__zeros)), n__zeros)))length#(take(take(take(activate(_x61), _x71), take(take(n__zeros, activate(_x82)), zeros)), zeros))
length#(cons(N, n__take(n__take(_x41, _x51), n__take(_x51, _x52))))length#(take(take(activate(_x41), _x51), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), nil), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(take(activate(_x51), activate(_x52)), n__zeros), nil), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x51)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), activate(_x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(n__take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x82), n__zeros)), n__take(_x51, _x52))))length#(n__take(take(take(activate(_x61), zeros), take(take(n__zeros, activate(_x82)), zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__zeros, _x22)))length#(n__take(zeros, activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(n__take(take(activate(_x41), _x71), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(n__zeros, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(n__take(n__take(zeros, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(n__take(take(n__take(zeros, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), zeros)))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x61, _x62), _x72)), n__take(_x51, _x61))))length#(take(take(activate(_x41), take(take(activate(_x61), activate(_x62)), activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, _x61))))length#(n__take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x91, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(_x91, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x71), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(n__take(take(take(_x71, _x71), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(zeros, _x62), n__take(n__take(n__zeros, _x62), _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(n__take(zeros, _x62), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, n__zeros))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), take(activate(_x81), zeros))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(activate(_x81), _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(take(zeros, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x61, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(_x61, activate(_x52))))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x22)))length#(take(take(zeros, activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), zeros), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(_x41, _x42), n__zeros)))length#(take(take(activate(_x41), activate(_x42)), zeros))length#(cons(N, n__take(n__zeros, n__zeros)))length#(n__take(zeros, zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x61))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x72), activate(_x72)), n__take(n__take(_x81, _x72), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), n__take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x51, _x52)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x51), activate(_x52))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x91, _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(_x91, activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(n__take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), n__zeros)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(take(zeros, _x91), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(n__take(take(activate(_x41), _x71), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(zeros, _x61)))length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(_x51, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(_x71, zeros), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), nil), n__take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(cons(0, n__zeros), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x51, n__zeros), _x51)))length#(take(take(_x51, zeros), _x51))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(zeros, activate(_x62)), take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x61, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(_x61, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x61))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, zeros)), n__take(zeros, _x61)))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), activate(_x82)), cons(0, n__zeros))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), n__take(take(activate(_x81), activate(_x82)), cons(0, n__zeros))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x81)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, _x61)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(zeros, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(take(activate(_x51), activate(_x52)), n__zeros), nil), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), nil), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(activate(n__take(_x91, _x92)), activate(_x82)), zeros), n__take(n__take(n__take(_x91, _x92), _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(take(activate(_x91), activate(_x92)), activate(_x82)), cons(0, n__zeros))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), zeros), take(take(n__zeros, activate(_x82)), cons(0, n__zeros))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(_x71, _x71), n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(0, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(nil, take(_x81, n__zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x71), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), _x71), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(n__take(take(_x71, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, _x42), n__take(n__zeros, _x52))))length#(take(take(activate(_x41), activate(_x42)), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x71), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(take(_x71, _x71), take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, _x42), _x51)))length#(take(take(zeros, activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x61, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(_x61, zeros)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(_x51, zeros), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(_x51, zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(_x71, zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, n__zeros)), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(0, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(nil, take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x51)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), activate(_x82)), cons(0, n__zeros))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), zeros), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), _x71), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(n__take(take(take(activate(_x61), _x71), n__take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), nil), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(zeros, zeros), n__take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(n__zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(n__take(take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(n__take(_x91, _x92), _x82))), n__zeros)))length#(take(take(n__take(zeros, zeros), take(take(n__zeros, _x91), n__take(take(activate(_x91), activate(_x92)), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x71), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(zeros, _x71), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(n__zeros, _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(zeros, activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, _x81)), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, n__zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, n__zeros)), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(zeros, activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(_x71, zeros), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(n__zeros, zeros), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(n__zeros, zeros), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(_x71, zeros), take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x41, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(n__take(_x41, n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, zeros)), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__take(_x91, _x92)), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, take(activate(_x91), activate(_x92))), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), cons(0, n__zeros)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), cons(0, n__zeros)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(n__zeros, zeros), zeros), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(n__zeros, zeros), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, cons(0, n__zeros)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), cons(0, n__zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), activate(_x72)), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, activate(n__zeros)), n__take(_x61, n__zeros)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), n__take(_x61, zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(zeros, zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), cons(0, n__zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__zeros, n__zeros)))length#(take(cons(0, n__zeros), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(take(activate(n__take(_x91, _x92)), activate(_x82)), zeros), n__take(n__take(n__take(_x91, _x92), _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(take(activate(_x91), activate(_x92)), activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(zeros, zeros), take(take(n__zeros, _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__take(_x91, _x92), _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, n__zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), n__take(_x51, _x61))))length#(take(take(activate(_x41), take(activate(_x71), zeros)), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(n__take(_x81, _x82))), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), n__zeros)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), activate(_x82)), cons(0, n__zeros))), zeros))
length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), n__take(_x91, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(activate(_x91), activate(_x82)), zeros), n__take(n__take(_x91, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(_x91, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__zeros))length#(zeros)length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x91, _x82), _x72)), _x22)))length#(n__take(take(take(activate(_x61), _x71), take(take(_x91, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(take(zeros, _x91), activate(_x72)), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__zeros)), _x51)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), zeros)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), n__zeros)), n__zeros)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), zeros)), zeros))length#(cons(N, n__take(_x21, _x51)))length#(take(activate(_x21), _x51))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x81)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x71), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(n__take(take(take(zeros, _x71), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x81)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), _x81)), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(zeros, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), nil), n__take(zeros, n__zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), n__take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x81)), _x22)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(activate(_x81), _x91), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), n__zeros)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), zeros)), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, n__zeros)), n__take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(n__zeros, _x72)), _x22)))length#(take(take(activate(_x41), n__take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), activate(_x72))), n__zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(n__take(take(activate(_x61), zeros), take(take(n__zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(take(take(take(activate(_x61), _x71), take(take(n__zeros, zeros), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(n__zeros)), zeros), n__take(n__take(_x81, n__zeros), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), zeros), cons(0, n__zeros))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x91, _x82), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(_x91, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(_x61, _x72)), _x51)))length#(take(n__take(take(_x71, activate(_x62)), n__take(_x61, activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), _x71), take(take(n__zeros, zeros), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x91, _x82))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), take(_x91, activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x91, _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(_x91, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(n__take(take(activate(_x41), take(_x91, activate(_x72))), _x22))length#(cons(N, n__take(n__take(n__take(cons(0, n__zeros), _x62), n__take(n__take(n__zeros, _x72), _x72)), _x22)))length#(n__take(take(take(_x71, activate(_x62)), take(n__take(cons(0, n__zeros), _x72), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(_x71, zeros), n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x51, activate(_x62)), take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(n__take(take(activate(_x61), zeros), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), n__zeros))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), n__take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(n__zeros, activate(_x72)))))length#(take(n__take(take(activate(_x61), n__zeros), n__take(_x51, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x62), _x72)), _x51)))length#(take(take(take(_x71, activate(_x62)), take(n__take(zeros, _x62), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__take(_x91, _x92)), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, take(activate(_x91), activate(_x92))), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, n__zeros), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), zeros), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(take(zeros, zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(activate(_x81), _x91), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), _x71), take(take(n__zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(take(activate(_x51), activate(_x52)), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(n__take(take(n__take(zeros, activate(_x62)), take(take(activate(_x81), _x91), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__take(_x91, _x92), _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(take(activate(_x91), activate(_x92)), activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(zeros, zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(n__take(n__zeros, zeros), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, zeros), n__zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), _x22)))length#(n__take(take(take(_x71, activate(_x62)), take(take(cons(0, n__zeros), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(_x51, activate(_x62)), take(take(zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(n__take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(take(_x71, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(zeros, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(nil, nil), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x91, _x91), _x72)), _x22)))length#(n__take(take(n__take(zeros, activate(_x62)), take(take(_x91, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, _x52), n__take(_x71, _x72)), n__take(_x51, _x61))))length#(take(take(take(activate(_x51), activate(_x52)), take(activate(_x71), activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(_x71, activate(_x62)), take(take(cons(0, n__zeros), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, _x81)), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(take(n__zeros, activate(_x82)), activate(_x72)), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(take(n__zeros, activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(n__zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), _x22)))length#(take(take(take(_x71, activate(_x62)), take(take(zeros, _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(activate(_x61), n__zeros), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x81)), _x22)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(n__take(activate(_x41), zeros), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(zeros, activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x71, n__take(_x71, _x72)), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(_x71, take(activate(_x71), activate(_x72))), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(zeros, activate(_x62)), take(take(n__zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x81, _x82))), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x81), activate(_x82)))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), _x42), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), _x71), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), _x51)))length#(take(take(take(_x71, activate(_x62)), take(take(zeros, _x91), take(activate(_x81), activate(_x82)))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__zeros, n__zeros)))length#(take(zeros, cons(0, n__zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x61))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), n__zeros)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, _x91), zeros)), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, n__zeros)), n__take(n__zeros, zeros))))length#(n__take(n__take(take(activate(_x61), n__zeros), n__take(_x51, zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, n__take(_x81, _x82))), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x82), _x72)), n__zeros)))length#(n__take(take(take(activate(_x61), _x71), take(take(activate(_x81), activate(_x82)), activate(_x72))), zeros))length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(n__take(activate(_x41), activate(_x42)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(_x71, activate(_x62)), n__take(take(activate(_x81), activate(_x82)), cons(0, n__zeros))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__take(_x81, _x82))), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(_x61, _x42), _x22)))length#(n__take(take(_x61, activate(_x42)), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x81)), n__take(n__take(_x81, _x91), _x81)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(n__take(n__take(_x51, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(zeros, _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), nil), n__take(n__zeros, _x61)))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), zeros), n__take(take(activate(_x81), activate(_x82)), cons(0, n__zeros))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), _x71), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(n__take(n__zeros, zeros), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, zeros), n__zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), activate(_x82))), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(n__take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), cons(0, n__zeros)), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, n__take(_x91, _x92)))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), take(activate(_x81), take(activate(_x91), activate(_x92))))), zeros))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, zeros)), n__take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x51)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x51, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(n__take(_x51, activate(_x62)), n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, activate(_x101)), n__take(_x61, _x101)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), n__take(_x61, _x101)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x71), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(_x71, _x71), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(take(activate(_x51), activate(_x52)), n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), nil), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__zeros)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__take(_x91, _x92), _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(take(activate(_x91), activate(_x92)), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), activate(_x72)), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(_x71, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(cons(0, n__zeros), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(n__take(take(take(zeros, activate(_x62)), take(take(n__zeros, zeros), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), n__take(_x51, _x61))))length#(take(take(zeros, take(activate(_x71), activate(_x72))), take(activate(_x51), _x61)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__take(_x71, _x72), _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(take(activate(_x71), activate(_x72)), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x81)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), _x81)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, _x91), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(n__take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(zeros, activate(_x62)), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(activate(_x71), activate(_x72)))))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), n__zeros), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(take(activate(_x51), activate(_x52)), zeros), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__zeros, n__zeros)))length#(take(zeros, n__zeros))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(n__take(take(take(_x71, activate(_x62)), take(take(n__zeros, zeros), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), cons(0, n__zeros))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x51)))length#(take(take(activate(_x41), cons(0, n__zeros)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__take(_x61, _x62)))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(n__zeros, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), _x51)))length#(take(n__take(activate(_x41), activate(_x42)), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x61, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(_x61, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(zeros, activate(_x62)), n__take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(zeros, cons(0, n__zeros)), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__take(_x81, _x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(zeros, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(n__take(_x41, n__zeros), nil), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(n__take(take(take(zeros, activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(0, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(nil, take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x51, _x72)), n__take(_x51, activate(_x72)))))length#(take(n__take(take(activate(_x61), zeros), n__take(_x51, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, _x71), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, _x71), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(_x61, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(_x71, activate(_x62)), n__take(_x61, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x72), _x72)), _x22)))length#(n__take(take(n__take(zeros, activate(_x62)), take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x51, _x42), _x51)))length#(take(take(_x51, activate(_x42)), _x51))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, _x81)), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), nil), n__take(n__zeros, zeros)))
length#(cons(N, n__take(n__take(n__take(take(zeros, activate(_x82)), activate(_x72)), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), n__take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(n__take(take(n__take(zeros, zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), n__zeros), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), activate(_x82))), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(n__take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, n__zeros), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), zeros), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(0, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(nil, take(_x81, activate(_x72))), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(activate(_x81), n__zeros), n__take(n__take(_x81, _x72), _x72)), _x22)))length#(n__take(take(n__take(_x71, zeros), take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x81, n__zeros)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(_x81, zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), _x42), _x22)))length#(n__take(take(take(activate(_x61), zeros), activate(_x42)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(activate(n__zeros), activate(_x82)), zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, n__zeros))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, take(activate(_x81), activate(_x82)))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, _x82), n__zeros)), _x51)))length#(take(take(take(activate(_x61), _x71), take(take(n__zeros, activate(_x82)), zeros)), _x51))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(n__take(take(take(_x71, activate(_x62)), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(activate(_x51), activate(_x52)), n__take(_x51, _x52))))length#(take(take(activate(_x41), activate(_x42)), n__take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(n__take(take(activate(_x61), _x71), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x61))))length#(take(n__take(take(_x51, n__zeros), nil), n__take(zeros, _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(s(_x52), n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), cons(0, n__take(_x52, activate(n__zeros)))), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__take(_x51, _x52), n__zeros), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(take(activate(_x51), activate(_x52)), zeros), take(take(n__zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, n__take(_x91, _x92)), _x72)), _x22)))length#(n__take(take(take(activate(_x61), _x71), take(take(activate(_x81), take(activate(_x91), activate(_x92))), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), take(activate(_x71), _x101)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(n__zeros)), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(n__take(_x91, _x92), _x82))), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), take(take(activate(_x91), activate(_x92)), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(n__take(n__take(take(activate(_x61), _x71), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, zeros)), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), n__zeros), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(_x51, n__take(_x61, _x62)))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(activate(_x51), take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__zeros, _x72)), _x22)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(zeros, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(n__take(take(activate(_x41), zeros), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x81)), _x51)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), _x81)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), n__zeros)), _x51)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), zeros)), _x51))length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(take(_x71, take(activate(_x71), activate(_x72))), n__take(_x61, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(activate(_x72), n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(nil, nil), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, cons(0, n__zeros))), n__take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(n__take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x91, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, zeros), take(take(_x91, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(take(activate(n__take(_x91, _x92)), _x91), activate(_x72)), n__take(n__take(n__take(_x91, _x92), _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), n__take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(activate(_x61), zeros), n__take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), n__take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__take(_x91, _x92), _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__take(_x71, _x72), _x62), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(_x81, _x91), _x72)), n__zeros)))length#(n__take(take(n__take(zeros, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(n__zeros)), zeros), n__take(n__take(_x81, n__zeros), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), zeros), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(_x81, _x91), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(activate(_x81), _x91), activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, zeros), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__take(_x71, _x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), take(activate(_x71), activate(_x72))), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(_x51, activate(_x62)), take(take(n__zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(take(activate(_x61), n__zeros), nil), n__take(n__zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, n__take(_x61, _x62)))))length#(take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(zeros, take(activate(_x61), activate(_x62)))))
length#(cons(N, n__take(n__take(activate(_x51), n__take(_x71, _x72)), n__take(_x51, _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), n__take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x51, _x52), _x42), _x51)))length#(take(take(take(activate(_x51), activate(_x52)), activate(_x42)), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(n__take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), n__zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x101)), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), _x101)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(activate(_x61), n__zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(activate(_x61), n__zeros), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, n__zeros), nil), n__take(n__zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(zeros, n__zeros), nil), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(_x21, n__zeros)))length#(take(activate(_x21), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), cons(0, n__zeros)), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x101, _x102))), _x22)))length#(take(take(activate(_x41), n__take(activate(_x71), take(activate(_x101), activate(_x102)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x61))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, n__zeros)), n__take(zeros, _x61)))length#(cons(N, n__take(n__take(n__take(activate(_x72), _x62), n__take(0, _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), nil), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__take(_x61, _x62)))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(n__zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), zeros), n__take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__zeros, n__take(_x71, _x72)), _x22)))length#(take(take(zeros, n__take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__zeros)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, zeros)), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, zeros), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), _x81)), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(activate(_x81), _x91), _x81)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), n__take(n__take(_x61, _x62), _x52))))length#(take(take(activate(_x41), take(activate(_x71), activate(_x72))), take(take(activate(_x61), activate(_x62)), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x91, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(_x91, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(activate(_x72), n__zeros))))length#(take(n__take(take(activate(_x61), zeros), nil), take(activate(_x51), zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x71, _x72)), _x22)))length#(take(take(n__take(activate(_x61), _x71), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(_x71, _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(activate(_x71), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(_x51, _x52))))length#(take(n__take(take(_x51, n__zeros), take(_x81, zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__take(_x61, _x62)))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, n__zeros)), n__take(zeros, take(activate(_x61), activate(_x62)))))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(n__take(n__zeros, _x62), n__take(_x81, _x82))), n__zeros)))length#(take(take(n__take(zeros, zeros), take(n__take(n__zeros, _x62), n__take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x71, activate(_x72)), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), n__take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x82), n__zeros)), n__zeros)))length#(n__take(take(take(activate(_x61), zeros), take(take(n__zeros, activate(_x82)), zeros)), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x61))))length#(take(n__take(take(activate(_x61), n__zeros), nil), n__take(n__zeros, _x61)))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), activate(_x82)), zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(take(activate(_x71), activate(_x72)), activate(_x62)), n__take(take(activate(_x81), activate(_x82)), cons(0, n__zeros))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x61))))length#(take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(zeros, _x61)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, _x72)), _x51)))length#(take(take(n__take(activate(_x61), activate(_x62)), take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), take(_x81, activate(_x72))), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(_x41, _x42), _x22)))length#(n__take(n__take(activate(_x41), activate(_x42)), _x22))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), activate(_x82))), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(n__take(zeros, activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(0, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(nil, take(_x81, zeros)), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(n__zeros, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(zeros, n__zeros), take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(0, activate(_x72)), n__take(_x61, _x72)), _x22)))length#(take(n__take(nil, n__take(_x61, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), _x22)))length#(take(n__take(n__take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), activate(_x62)), take(_x81, activate(_x72))), take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), take(cons(0, n__zeros), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(take(n__take(_x71, activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), nil), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x41, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(n__take(_x41, n__zeros), take(_x81, zeros)), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__zeros), n__zeros)), _x22)))length#(n__take(n__take(take(activate(_x61), activate(_x62)), take(take(n__zeros, zeros), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x81)), n__take(n__zeros, _x52))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, _x81)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__take(_x81, _x82))), n__take(_x51, n__zeros))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, take(activate(_x81), activate(_x82)))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(zeros, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, n__zeros))))length#(n__take(n__take(take(_x51, n__zeros), nil), n__take(n__zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), n__zeros)), _x22)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(activate(_x81), _x91), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(n__take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), n__take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(n__take(take(n__take(activate(_x61), zeros), take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))length#(cons(N, n__take(n__take(n__take(_x71, _x71), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(_x71, _x71), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(n__take(_x91, _x92), _x72)), _x22)))length#(take(take(activate(_x41), n__take(take(activate(_x91), activate(_x92)), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x71), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), _x71), take(_x81, activate(_x72))), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x72)), n__take(n__take(_x81, _x91), _x72)), n__zeros)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, n__zeros))))length#(take(n__take(n__take(activate(_x61), zeros), take(_x81, activate(_x72))), take(activate(_x51), zeros)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), zeros), take(take(activate(_x81), activate(_x82)), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(zeros, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(_x51, n__zeros), nil), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x81)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(_x61, n__zeros), _x22)))length#(n__take(take(_x61, zeros), _x22))
length#(cons(N, n__take(n__take(_x41, n__take(_x91, _x72)), _x22)))length#(take(take(activate(_x41), take(_x91, activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x51)))length#(take(take(activate(_x41), n__take(activate(_x71), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x81)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(take(zeros, _x91), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), n__take(_x81, _x82))), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(take(take(take(activate(_x61), zeros), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__take(_x91, _x92)), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, take(activate(_x91), activate(_x92))), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x51)))length#(n__take(take(n__take(activate(_x61), activate(_x62)), n__take(take(activate(_x81), _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(0, n__zeros), n__take(_x81, _x72)), n__take(n__zeros, _x52))))length#(n__take(n__take(nil, take(_x81, activate(_x72))), n__take(zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), nil), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(take(n__take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__take(_x91, _x92), _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), zeros), take(take(take(activate(_x91), activate(_x92)), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(cons(0, n__zeros), activate(_x82)), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, n__take(_x91, _x92)), n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, take(activate(_x91), activate(_x92))), zeros)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(take(take(_x71, activate(_x62)), take(take(n__zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, n__zeros))))length#(take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, zeros)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(_x71, n__zeros)), _x22)))length#(take(take(take(activate(_x61), activate(_x62)), take(activate(_x71), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(take(n__take(take(_x71, activate(_x62)), take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(_x41, n__take(_x61, _x72)), n__take(_x51, _x61))))length#(take(take(activate(_x41), take(_x61, activate(_x72))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), _x91), activate(_x72))), zeros))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, n__take(_x71, _x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(_x71, take(activate(_x71), activate(_x72))), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), zeros)), take(activate(_x51), activate(_x52))))
length#(cons(N, n__take(n__take(_x61, n__zeros), _x22)))length#(take(take(_x61, zeros), activate(_x22)))length#(cons(N, n__take(n__take(n__take(take(activate(_x91), activate(_x82)), zeros), n__take(n__take(_x91, _x82), n__zeros)), _x22)))length#(n__take(take(take(activate(_x61), activate(_x62)), n__take(take(_x91, activate(_x82)), cons(0, n__zeros))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__zeros)), _x22)))length#(n__take(take(activate(_x41), take(activate(_x71), zeros)), _x22))length#(cons(N, n__take(n__take(n__take(_x71, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x22)))length#(n__take(take(take(_x71, activate(_x62)), take(take(zeros, _x91), activate(_x72))), _x22))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x81, _x82), n__zeros)), n__take(_x51, _x52))))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(activate(_x81), activate(_x82)), zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(n__zeros, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), _x22)))length#(take(take(take(zeros, activate(_x62)), take(take(n__zeros, activate(_x82)), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, _x72)), n__take(_x51, _x52))))length#(take(n__take(take(activate(_x61), zeros), take(_x81, activate(_x72))), n__take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), cons(0, n__zeros)), take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), n__zeros)))length#(take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, _x91), activate(_x72))), cons(0, n__zeros)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(_x81, _x91), n__take(_x81, _x82))), _x22)))length#(n__take(take(n__take(_x71, zeros), take(take(activate(_x81), _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(0, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(nil, take(_x81, zeros)), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, _x72)), _x22)))length#(take(n__take(activate(_x41), take(activate(_x71), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), n__zeros)), n__take(_x51, _x52))))length#(n__take(take(take(activate(_x61), activate(_x62)), take(take(n__zeros, activate(_x82)), zeros)), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, _x71), _x22)))length#(take(take(activate(_x41), _x71), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(_x81, n__zeros)), n__take(n__zeros, _x61))))length#(n__take(n__take(take(activate(_x61), n__zeros), take(_x81, zeros)), n__take(zeros, _x61)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), n__zeros)))length#(take(take(take(activate(_x61), zeros), n__take(take(n__zeros, _x91), take(activate(_x81), activate(_x82)))), zeros))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(_x91, _x91), _x72)), _x22)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(_x91, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(take(activate(_x61), n__zeros), nil), n__take(n__zeros, activate(_x52))))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(0, n__zeros)), n__take(n__zeros, _x52))))length#(n__take(n__take(n__take(activate(_x61), n__zeros), nil), n__take(zeros, activate(_x52))))length#(cons(N, n__take(n__take(n__take(take(activate(_x81), _x91), activate(_x72)), n__take(n__take(_x81, _x91), _x72)), _x22)))length#(n__take(take(n__take(activate(_x61), take(activate(_x71), activate(_x72))), n__take(take(activate(_x81), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(_x41, n__zeros), _x22)))length#(take(take(activate(_x41), cons(0, n__zeros)), activate(_x22)))length#(cons(N, n__take(n__take(_x41, _x42), n__take(_x51, _x61))))length#(take(take(activate(_x41), activate(_x42)), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x82), _x72)), n__take(_x51, _x52))))length#(take(take(take(activate(_x61), activate(_x62)), take(take(zeros, activate(_x82)), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(_x41, n__take(_x71, n__take(_x81, _x82))), n__take(_x51, _x61))))length#(take(take(activate(_x41), take(activate(_x71), take(activate(_x81), activate(_x82)))), take(activate(_x51), _x61)))
length#(cons(N, n__take(n__take(n__take(activate(_x81), _x62), n__take(n__take(_x81, _x72), _x72)), _x22)))length#(n__take(take(n__take(_x71, activate(_x62)), take(n__take(activate(_x81), _x72), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x61, _x62), n__take(n__take(n__zeros, _x91), _x72)), _x51)))length#(n__take(n__take(n__take(activate(_x61), activate(_x62)), take(take(zeros, _x91), activate(_x72))), _x51))
length#(cons(N, n__take(n__take(n__take(_x61, n__zeros), n__take(n__take(n__zeros, _x91), n__zeros)), n__zeros)))length#(take(take(take(activate(_x61), zeros), take(take(n__zeros, _x91), zeros)), zeros))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, zeros, tt, take, length, n__take, n__zeros, cons, and, nil

Strategy


The right-hand side of the rule length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22))) → length#(take(take(take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22))) 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
length#(take(take(take(_x71, zeros), take(take(zeros, _x91), zeros)), activate(_x22))) 
length#(take(take(take(_x71, zeros), take(take(zeros, _x91), _x81)), activate(_x22))) 
length#(take(take(take(_x71, zeros), take(take(zeros, _x91), take(activate(_x81), activate(_x82)))), activate(_x22))) 
length#(take(take(n__take(_x51, zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22))) 
length#(take(take(nil, take(take(zeros, _x91), activate(_x72))), activate(_x22))) 
length#(take(take(take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), _x51)) 
length#(n__take(take(take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22))) 
length#(take(take(take(_x71, n__zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22))) 
length#(take(n__take(take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22))) 
length#(take(take(take(_x71, zeros), take(take(n__zeros, _x91), activate(_x72))), activate(_x22))) 
length#(take(take(take(_x71, cons(0, n__zeros)), take(take(zeros, _x91), activate(_x72))), activate(_x22))) 
length#(take(take(take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), zeros)) 
length#(take(take(take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), take(activate(_x51), activate(_x52)))) 
length#(take(take(take(_x71, zeros), take(n__take(zeros, _x72), activate(_x72))), activate(_x22))) 
length#(take(take(take(_x71, zeros), take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22))) 
length#(take(take(take(_x71, zeros), n__take(take(zeros, _x91), activate(_x72))), activate(_x22))) 
Thus, the rule length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22))) → length#(take(take(take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22))) is replaced by the following rules:
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22))) → length#(take(take(take(_x71, zeros), take(take(n__zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22))) → length#(take(take(take(_x71, cons(0, n__zeros)), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x81)), _x22))) → length#(take(take(take(_x71, zeros), take(take(zeros, _x91), _x81)), activate(_x22)))length#(cons(N, n__take(n__take(n__take(0, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22))) → length#(take(take(nil, take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x51))) → length#(take(take(take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), _x51))length#(cons(N, n__take(n__take(n__take(_x51, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22))) → length#(take(take(n__take(_x51, zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), n__take(_x81, _x82))), _x22))) → length#(take(take(take(_x71, zeros), take(take(zeros, _x91), take(activate(_x81), activate(_x82)))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22))) → length#(take(n__take(take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(zeros, n__zeros), n__take(n__take(n__zeros, _x72), _x72)), _x22))) → length#(take(take(take(_x71, zeros), take(n__take(zeros, _x72), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22))) → length#(take(take(take(_x71, zeros), take(take(cons(0, n__zeros), _x91), activate(_x72))), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), n__take(_x51, _x52)))) → length#(take(take(take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), take(activate(_x51), activate(_x52))))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), n__zeros)), _x22))) → length#(take(take(take(_x71, zeros), take(take(zeros, _x91), zeros)), activate(_x22)))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22))) → length#(n__take(take(take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), n__zeros))) → length#(take(take(take(_x71, zeros), take(take(zeros, _x91), activate(_x72))), zeros))
length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22))) → length#(take(take(take(_x71, n__zeros), take(take(zeros, _x91), activate(_x72))), activate(_x22)))length#(cons(N, n__take(n__take(n__take(_x71, n__zeros), n__take(n__take(n__zeros, _x91), _x72)), _x22))) → length#(take(take(take(_x71, zeros), n__take(take(zeros, _x91), activate(_x72))), activate(_x22)))

Problem 3: PolynomialLinearRange4iUR



Dependency Pair Problem

Dependency Pairs

activate#(n__take(X1, X2))activate#(X1)take#(s(M), cons(N, IL))activate#(IL)
activate#(n__take(X1, X2))activate#(X2)activate#(n__take(X1, X2))take#(activate(X1), activate(X2))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, zeros, tt, take, length, n__take, n__zeros, cons, and, nil

Strategy


Polynomial Interpretation

Improved Usable rules

activate(n__zeros)zerostake(X1, X2)n__take(X1, X2)
take(0, IL)nilzeroscons(0, n__zeros)
activate(X)Xactivate(n__take(X1, X2))take(activate(X1), activate(X2))
take(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))zerosn__zeros

The following dependency pairs are strictly oriented by an ordering on the given polynomial interpretation, thus they are removed:

take#(s(M), cons(N, IL))activate#(IL)

Problem 4: DependencyGraph



Dependency Pair Problem

Dependency Pairs

activate#(n__take(X1, X2))activate#(X1)activate#(n__take(X1, X2))activate#(X2)
activate#(n__take(X1, X2))take#(activate(X1), activate(X2))

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, tt, zeros, take, length, n__take, n__zeros, nil, and, cons

Strategy


The following SCCs where found

activate#(n__take(X1, X2)) → activate#(X1)activate#(n__take(X1, X2)) → activate#(X2)

Problem 5: PolynomialLinearRange4iUR



Dependency Pair Problem

Dependency Pairs

activate#(n__take(X1, X2))activate#(X1)activate#(n__take(X1, X2))activate#(X2)

Rewrite Rules

zeroscons(0, n__zeros)and(tt, X)activate(X)
length(nil)0length(cons(N, L))s(length(activate(L)))
take(0, IL)niltake(s(M), cons(N, IL))cons(N, n__take(M, activate(IL)))
zerosn__zerostake(X1, X2)n__take(X1, X2)
activate(n__zeros)zerosactivate(n__take(X1, X2))take(activate(X1), activate(X2))
activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, tt, zeros, take, length, n__take, n__zeros, nil, and, cons

Strategy


Polynomial Interpretation

There are no usable rules

The following dependency pairs are strictly oriented by an ordering on the given polynomial interpretation, thus they are removed:

activate#(n__take(X1, X2))activate#(X1)activate#(n__take(X1, X2))activate#(X2)